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

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