XPressME Integration Kit

Trac


Ignore:
Timestamp:
Dec 22, 2009, 9:08:04 AM (14 years ago)
Author:
toemon
Message:

ブロックオプションでjavascriptの有効性チェック Fixes #274

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/blocks/block_common.php

    r484 r495  
    198198} 
    199199endif; 
     200if(!function_exists("javascript_check")): 
     201function javascript_check() 
     202{ 
     203        $out  = '<div id="JSNG"><p style="color: red"><b>' . _MB_XP2_NO_JSCRIPT . '</b></p><br /></div>'; 
     204        $out .= '<script>  document.getElementById("JSNG").style.display = "none";</script>'; 
     205        return $out; 
     206} 
     207endif; 
    200208 
    201209?> 
Note: See TracChangeset for help on using the changeset viewer.