Ignore:
Timestamp:
2008/07/10 14:29:55 (16 years ago)
Author:
Seasoft
Message:

変更(編集)でディレクトリ(USER_URL 配下にサブディレクトリ)を扱えるように改訂。ユーザが定義したレコードについても、URLを(ベースデータと同等に) SITE_URL 相当の部分を削って格納する仕様に変更。フロント機能は従来データと互換性あり。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/Smarty/templates/default/admin/design/main_edit.tpl

    r17414 r17416  
    7171  <!--{/if}--> 
    7272  URL:<!--{if $arrPageData.edit_flg == 2}--> 
    73       <!--{$smarty.const.SITE_URL}--><!--{$arrPageData.url|escape}--> 
    74       <input type="hidden" name="url" value="<!--{$arrPageData.filename|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" /> 
     73      <!--{$smarty.const.SITE_URL|escape}--><!--{$arrPageData.url|escape}--> 
     74      <input type="hidden" name="url" value="<!--{$arrPageData.filename|escape}-->" /> 
    7575    <!--{else}--> 
    76       <!--{$user_URL}--><input type="text" name="url" value="<!--{$arrPageData.directory|escape}--><!--{$arrPageData.filename|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.url != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> ime-mode: disabled;" size="40" class="box40" />.php<span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> 
     76      <!--{$user_URL|escape}--><input type="text" name="url" value="<!--{$arrPageData.directory|escape}--><!--{$arrPageData.filename|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.url != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> ime-mode: disabled;" size="40" class="box40" />.php<span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> 
    7777    <!--{/if}--><br /> 
    7878 
     
    9696  <table class="list center"> 
    9797    <!--{foreach key=key item=item from=$arrPageList}--> 
    98     <tr style="background-color:<!--{if $item.page_id == $page_id}--><!--{$smarty.const.SELECT_RGB}--><!--{else}-->#ffffff<!--{/if}-->;"> 
     98    <tr style="<!--{if $item.page_id == $page_id}-->background-color: <!--{$smarty.const.SELECT_RGB}-->;<!--{/if}-->"> 
    9999      <td> 
    100100        <a href="<!--{$smarty.server.PHP_SELF|escape}-->?page_id=<!--{$item.page_id}-->" ><!--{$item.page_name}--></a> 
Note: See TracChangeset for help on using the changeset viewer.