source: branches/version-2_5-dev/data/Smarty/templates/admin/system/plugin.tpl @ 20407

Revision 20407, 5.0 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

  • transactionid用hiddenタグをJavaScriptで生成しないように変更
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<!--<form name="form1" id="form1" method="post" action="?">-->
25<form name="form1" method="post" action="?" enctype="multipart/form-data">
26<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27<input type="hidden" name="mode" value="" />
28<input type="hidden" name="plugin_id" value="" />
29<input type="hidden" name="plugin_code" value="" />
30
31<div id="system" class="contents-main">
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>
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}-->
107
108</div>
109</form>
Note: See TracBrowser for help on using the repository browser.