XPressME Integration Kit

Trac


Ignore:
Timestamp:
Nov 27, 2009, 3:27:01 PM (14 years ago)
Author:
toemon
Message:

ブロックオプションでテンプレートの指定が行えるようにし、ブロック複製時別テンプレートが使えるようにする。 Fixes #247

File:
1 edited

Legend:

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

    r232 r463  
    2828 
    2929                $form  = "MyDirectory <input type='text' name='options[0]' value='" . $mydirname . "' /><br />"; 
    30             $form .= "<input type='hidden' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 
     30            $form .= _MB_XP2_THISTEMPLATE . "<input type='text' size='50' name='options[1]' id='this_template' value='".htmlspecialchars($this_template,ENT_QUOTES)."' /><br />"; 
    3131                $form .= "<br />"; 
    3232                $a_month = _MB_XP2_ARC_MONTH ; 
     
    6262                $form .=  "</select><br/>"; 
    6363                 
    64                 $form .= "<br />" . _MB_XP2_COUNT_ZERO_ALL . "  <input type='text' name='options[3]' value='" . $limit . "' />"; 
     64                $form .= "<br />" . _MB_XP2_COUNT_ZERO_ALL . "  <input type='text' size='3' name='options[3]' value='" . $limit . "' />"; 
    6565                $form .= "<br />" . yes_no_radio_option('options[4]', _MB_XP2_SHOW_NUM_OF_POST , $show_post_count); 
    6666                $form .= "<br />" . yes_no_radio_option('options[5]', _MB_XP2_SHOW_DROP_DOWN , $drop_down); 
Note: See TracChangeset for help on using the changeset viewer.