- Timestamp:
- 2011/03/05 12:56:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/admin/system/plugin.tpl
r20407 r20515 31 31 <div id="system" class="contents-main"> 32 32 33 <h2>プラグイン登録</h2>34 <table class="form">35 <tr>36 <th>プラグイン<span class="attention"> *</span></th>37 <td>38 <!--{assign var=key value="plugin_file"}-->39 <span class="attention"><!--{$arrErr[$key]}--></span>40 <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr[$key]}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}-->>41 </td>42 </tr>43 </table>33 <h2>プラグイン登録</h2> 34 <table class="form"> 35 <tr> 36 <th>プラグイン<span class="attention"> *</span></th> 37 <td> 38 <!--{assign var=key value="plugin_file"}--> 39 <span class="attention"><!--{$arrErr[$key]}--></span> 40 <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr[$key]}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}-->> 41 </td> 42 </tr> 43 </table> 44 44 45 <div class="btn-area"> 46 <a class="btn-action" href="javascript:;" onclick="fnModeSubmit('upload', '', '');return false;"><span class="btn-next">この内容で登録する</span></a> 47 </div> 48 49 <!--▼プラグイン一覧ここから--> 50 <h2>プラグイン一覧</h2> 51 <!--{if count($plugins) > 0}--> 52 <span class="attention"><!--{$arrErr.plugin_error}--><!--{$arrErr.mode}--><!--{$arrErr.plugin_id}--><!--{$arrErr.plugin_code}--></span> 53 <table class="list" width="900"> 54 <colgroup width="15%"> 55 <colgroup width="10%"> 56 <colgroup width="25%"> 57 <colgroup width="28%"> 58 <colgroup width="7%"> 59 <colgroup width="10%"> 60 <colgroup width="5%"> 61 <tr> 62 <th >プラグイン名</th> 63 <th>作者</th> 64 <th>サイトURL</th> 65 <th>説明</th> 66 <th>ステータス</th> 67 <th>操作</th> 68 <th>設定</th> 69 </tr> 70 <!--{section name=data loop=$plugins}--> 71 <tr> 72 <td><!--{$plugins[data].plugin_name|default:$plugins[data].plugin_code|h}--><!--{if $plugins[data].plugin_version != ''}--><br /><!--{$plugins[data].plugin_version|h}--><!--{/if}--></td> 73 <td><!--{$plugins[data].author|default:'-'|h}--></td> 74 <td><!--{$plugins[data].plugin_site_url|default:'-'|h}--></td> 75 <td><!--{$plugins[data].plugin_description|default:'-'|h}--></td> 76 <td class="center"> 77 <!--{if $plugins[data].enable == $smarty.const.PLUGIN_ENABLE_TRUE}--> 78 有効 79 <!--{elseif $plugins[data].enable == $smarty.const.PLUGIN_ENABLE_FALSE}--> 80 無効 81 <!--{else}-->-<!--{/if}--> 82 </td> 83 <td class="center"> 84 <!--{if $plugins[data].status == $smarty.const.PLUGIN_STATUS_UPLOADED}--> 85 <a class="btn-normal" href="javascript:;" name="install" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('install','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">install</a> 86 <!--{else}--> 87 <!--{if $plugins[data].enable == $smarty.const.PLUGIN_ENABLE_TRUE}--> 88 <a class="btn-normal" href="javascript:;" name="disable" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('disable','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">disable</a><br /> 89 <!--{else}--> 90 <a class="btn-normal" href="javascript:;" name="enable" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('enable','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">enable</a><br /> 91 <!--{/if}--> 92 <a class="btn-normal" href="javascript:;" name="uninstall" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('uninstall','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">uninstall</a> 93 <!--{/if}--> 94 </td> 95 <td class="center"> 96 <!--{if $plugins[data].plugin_setting_path != ''}--> 97 <a href="?" onclick="win03('<!--{$plugins[data].plugin_setting_path}-->','plugin_setting','620','760'); return false;">設定</a> 98 <!--{else}-->-<!--{/if}--> 99 </td> 100 101 </tr> 102 <!--{/section}--> 103 </table> 104 <!--{else}--> 105 登録されているプラグインはありません。 106 <!--{/if}--> 45 <div class="btn-area"> 46 <a class="btn-action" href="javascript:;" onclick="fnModeSubmit('upload', '', '');return false;"><span class="btn-next">この内容で登録する</span></a> 47 </div> 48 49 <!--▼プラグイン一覧ここから--> 50 <h2>プラグイン一覧</h2> 51 <!--{if count($plugins) > 0}--> 52 <span class="attention"><!--{$arrErr.plugin_error}--><!--{$arrErr.mode}--><!--{$arrErr.plugin_id}--><!--{$arrErr.plugin_code}--></span> 53 <table class="list" width="900"> 54 <colgroup width="15%"> 55 <colgroup width="10%"> 56 <colgroup width="25%"> 57 <colgroup width="28%"> 58 <colgroup width="7%"> 59 <colgroup width="10%"> 60 <colgroup width="5%"> 61 <tr> 62 <th >プラグイン名</th> 63 <th>作者</th> 64 <th>サイトURL</th> 65 <th>説明</th> 66 <th>ステータス</th> 67 <th>操作</th> 68 <th>設定</th> 69 </tr> 70 <!--{section name=data loop=$plugins}--> 71 <tr> 72 <td><!--{$plugins[data].plugin_name|default:$plugins[data].plugin_code|h}--><!--{if $plugins[data].plugin_version != ''}--><br /><!--{$plugins[data].plugin_version|h}--><!--{/if}--></td> 73 <td><!--{$plugins[data].author|default:'-'|h}--></td> 74 <td><!--{$plugins[data].plugin_site_url|default:'-'|h}--></td> 75 <td><!--{$plugins[data].plugin_description|default:'-'|h}--></td> 76 <td class="center"> 77 <!--{if $plugins[data].enable == $smarty.const.PLUGIN_ENABLE_TRUE}--> 78 有効 79 <!--{elseif $plugins[data].enable == $smarty.const.PLUGIN_ENABLE_FALSE}--> 80 無効 81 <!--{else}-->-<!--{/if}--> 82 </td> 83 <td class="center"> 84 <!--{if $plugins[data].status == $smarty.const.PLUGIN_STATUS_UPLOADED}--> 85 <a class="btn-normal" href="javascript:;" name="install" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('install','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">install</a> 86 <!--{else}--> 87 <!--{if $plugins[data].enable == $smarty.const.PLUGIN_ENABLE_TRUE}--> 88 <a class="btn-normal" href="javascript:;" name="disable" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('disable','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">disable</a><br /> 89 <!--{else}--> 90 <a class="btn-normal" href="javascript:;" name="enable" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('enable','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">enable</a><br /> 91 <!--{/if}--> 92 <a class="btn-normal" href="javascript:;" name="uninstall" onclick="fnSetFormValue('plugin_id', '<!--{$plugins[data].plugin_id}-->'); fnModeSubmit('uninstall','plugin_code','<!--{$plugins[data].plugin_code}-->'); return false;">uninstall</a> 93 <!--{/if}--> 94 </td> 95 <td class="center"> 96 <!--{if $plugins[data].plugin_setting_path != ''}--> 97 <a href="?" onclick="win03('<!--{$plugins[data].plugin_setting_path}-->','plugin_setting','620','760'); return false;">設定</a> 98 <!--{else}--> 99 - 100 <!--{/if}--> 101 </td> 102 103 </tr> 104 <!--{/section}--> 105 </table> 106 <!--{else}--> 107 登録されているプラグインはありません。 108 <!--{/if}--> 107 109 108 110 </div>
Note: See TracChangeset
for help on using the changeset viewer.