source: branches/version-2_5-dev/data/Smarty/templates/admin/contents/file_manager.tpl @ 19873

Revision 19873, 5.6 KB checked in by tao, 13 years ago (diff)

#841 インストール画面のデザインの微修正と管理画面のファイルマネージャーのj修正

  • Property svn:eol-style set to LF
  • 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<script type="text/javascript">
25var IMG_FOLDER_CLOSE   = "<!--{$TPL_DIR}-->img/contents/folder_close.gif";      // フォルダクローズ時画像
26var IMG_FOLDER_OPEN    = "<!--{$TPL_DIR}-->img/contents/folder_open.gif";       // フォルダオープン時画像
27var IMG_PLUS           = "<!--{$TPL_DIR}-->img/contents/plus.gif";              // プラスライン
28var IMG_MINUS          = "<!--{$TPL_DIR}-->img/contents/minus.gif";             // マイナスライン
29var IMG_NORMAL         = "<!--{$TPL_DIR}-->img/contents/space.gif";             // スペース
30</script>
31<form name="form1" method="post" action="?"  enctype="multipart/form-data">
32<input type="hidden" name="mode" value="" />
33<input type="hidden" name="now_file" value="<!--{$tpl_now_dir}-->" />
34<input type="hidden" name="tree_select_file" value="" />
35<input type="hidden" name="tree_status" value="" />
36<input type="hidden" name="select_file" value="" />
37<div id="admin-contents" class="contents-main">
38<div id="contents-filemanager-tree">
39  ディレクトリ
40  <div id="tree"></div>
41</div>
42<div id="contents-filemanager-nowdir">
43  <div id="now_dir">
44    <img src="<!--{$TPL_DIR}-->img/contents/folder_open.gif" alt="フォルダ">
45    &nbsp;<!--{$tpl_now_file}-->
46  </div>
47  <div id="file_view">
48    <table id="contents-filemanager-filelist" class="list">
49      <tr>
50        <th>ファイル名</th>
51        <th>サイズ</th>
52        <th>更新日付</th>
53      </tr>
54      <!--{if !$tpl_is_top_dir}-->
55      <tr id="parent_dir" onclick="fnSetFormVal('form1', 'select_file', '<!--{$tpl_parent_dir|h}-->');fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$tpl_parent_dir|h}-->', true, '<!--{$tpl_now_dir|h}-->', true)" style="" onMouseOver="fnChangeBgColor('parent_dir', '#808080');" onMouseOut="fnChangeBgColor('parent_dir', '');">
56        <td>
57          <img src="<!--{$TPL_DIR}-->img/contents/folder_parent.gif" alt="フォルダ">&nbsp;..
58        </td>
59        <td class="right">&nbsp;</td>
60        <td>&nbsp;</td>
61      </tr>
62      <!--{/if}-->
63      <!--{section name=cnt loop=$arrFileList}-->
64      <!--{assign var="id" value="select_file`$smarty.section.cnt.index`"}-->
65      <tr id="<!--{$id}-->" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|h}-->');fnSelectFile('<!--{$id}-->', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$arrFileList[cnt].file_path|h}-->', <!--{if $arrFileList[cnt].is_dir|h}-->true<!--{else}-->false<!--{/if}-->, '<!--{$tpl_now_dir|h}-->', false)" style="" onMouseOver="fnChangeBgColor('<!--{$id}-->', '#808080');" onMouseOut="fnChangeBgColor('<!--{$id}-->', '');">
66        <td>
67          <!--{if $arrFileList[cnt].is_dir}-->
68          <img src="<!--{$TPL_DIR}-->img/contents/folder_close.gif" alt="フォルダ">
69          <!--{else}-->
70          <img src="<!--{$TPL_DIR}-->img/contents/file.gif">
71          <!--{/if}-->
72          <!--{$arrFileList[cnt].file_name|h}-->
73        </td>
74        <td class="right"><!--{$arrFileList[cnt].file_size|number_format}--></td>
75        <td><!--{$arrFileList[cnt].file_time|h}--></td>
76      </tr>
77      <!--{/section}-->
78    </table>
79  </div>
80  <div class="btn">
81    <a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('view','',''); return false;"><span>表示</span></a>
82    <a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;"><span>ダウンロード</span></a>
83    <a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;"><span>削除</span></a>
84  </div>
85</div>
86<div id="contents-filemanager-action">
87  <p>現在のディレクトリ&nbsp;:&nbsp;<!--{$tpl_now_dir|sfTrimURL}-->/</p>
88  <table class="form">
89    <tr>
90      <th>ファイルのアップロード</th>
91      <td>
92        <!--{if $arrErr.upload_file}--><span class="attention"><!--{$arrErr.upload_file}--></span><!--{/if}-->
93        <input type="file" name="upload_file" size="64" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}-->><a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('upload','',''); return false;">アップロード</a>
94      </td>
95    </tr>
96    <tr>
97      <th>フォルダ作成</th>
98      <td>
99        <!--{if $arrErr.create_file}--><span class="attention"><!--{$arrErr.create_file}--></span><!--{/if}-->
100        <input type="text" name="create_file" value="" style="width:336px;<!--{if $arrErr.create_file}--> background-color:<!--{$smarty.const.ERR_COLOR|h}--><!--{/if}-->"><a class="btn-normal" href="javascript:;" onclick="setTreeStatus('tree_status');fnModeSubmit('create','',''); return false;">作成</a>
101      </td>
102    </tr>
103  </table>
104</div>
105
106</div>
107</form>
Note: See TracBrowser for help on using the repository browser.