XPressME Integration Kit

Trac


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

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

File:
1 edited

Legend:

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

    r484 r495  
    3434                require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php'); 
    3535 
    36                 $form  = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 
     36                $form  = javascript_check(); 
     37                $form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 
    3738                $form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES)); 
    3839                $form .= "<br />"; 
Note: See TracChangeset for help on using the changeset viewer.