Changeset 15809


Ignore:
Timestamp:
2007/09/20 21:39:26 (15 years ago)
Author:
adachi
Message:

template_codeに登録不可文字列を設定

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-templates/html/admin/design/up_down.php

    r15791 r15809  
    124124    } 
    125125 
    126     // Smarty¤Î¥³¥ó¥Ñ¥¤¥ë¥Ç¥£¥ì¥¯¥È¥ê¤ÈƱ°ì̾¤ÏÉԲĠ
    127     if(file_exists(COMPILE_DIR . '/' . $arrForm['template_code'])) { 
     126    // ÅÐÏ¿ÉԲĤÎʸ»úÎó¥Á¥§¥Ã¥¯ 
     127    $arrIgnoreCode = array( 
     128        'admin', 'mobile', 'default' 
     129    ); 
     130    if(in_array($arrForm['template_code'], $arrIgnoreCode)) { 
    128131        $arrErr['template_code'] = "¢¨ ¤³¤Î¥Æ¥ó¥×¥ì¡¼¥È¥³¡¼¥É¤Ï»ÈÍѤǤ­¤Þ¤»¤ó¡£<br/>"; 
    129132    } 
Note: See TracChangeset for help on using the changeset viewer.