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/search_block.php

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