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

    r484 r495  
    4545                require_once(XOOPS_ROOT_PATH.'/modules/'.$mydirname.'/blocks/block_common.php'); 
    4646 
    47                 $form  = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 
     47                $form  = javascript_check(); 
     48                $form .= "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />\n"; 
    4849                $form .= block_template_setting($mydirname,'options[1]',htmlspecialchars($this_template,ENT_QUOTES)); 
    4950                $form .= "<br />" . yes_no_radio_option('options[2]', _MB_XP2_WIDGET_TITLE_SHOW , $title_show); 
Note: See TracChangeset for help on using the changeset viewer.