source: branches/feature-module-update/data/Smarty/templates/default/admin/contents/file_manager.tpl @ 16582

Revision 16582, 8.7 KB checked in by nanasess, 17 years ago (diff)

ライセンス表記変更

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 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<!--★★メインコンテンツ★★-->
25<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
26<form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"  enctype="multipart/form-data">
27<input type="hidden" name="mode" value="">
28<input type="hidden" name="now_file" value="<!--{$tpl_now_dir}-->">
29<input type="hidden" name="tree_select_file" value="">
30<input type="hidden" name="tree_status" value="">
31<input type="hidden" name="select_file" value="">
32    <tr valign="top">
33        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
34            <!--▼SUB NAVI-->
35            <!--{include file=$tpl_subnavi}-->
36            <!--▲SUB NAVI-->
37        </td>
38        <td class="mainbg">
39            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
40                <!--メインエリア-->
41                <tr>
42                    <td align="center">
43                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
44                            <tr><td height="14"></td></tr>
45                            <tr>
46                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
47                            </tr>
48                            <tr valign="top">
49                                <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
50                                <td bgcolor="#cccccc">
51                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
52                                    <tr>
53                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
54                                    </tr>
55                                    <tr>
56                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
57                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->ファイル管理</span></td>
58                                        <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
59                                    </tr>
60                                    <tr>
61                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
62                                    </tr>
63                                    <tr>
64                                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
65                                    </tr>
66                                </table>
67                                <!--▼ファイル管理テーブルここから-->
68                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
69                                    <tr class="fs12n" bgcolor="#f2f1ec">
70                                        <td>ディレクトリ</td>
71                                        <td>
72                                            <div id="now_dir">
73                                            <img src="<!--{$TPL_DIR}-->img/admin/contents/folder_open.gif" alt="フォルダ">
74                                            &nbsp;<!--{$tpl_now_file}-->
75                                            </div>
76                                        </td>
77                                    </tr>
78                                    <tr class="fs12n" bgcolor="#ffffff">
79                                        <td>
80                                            <div id="tree"></div>
81                                        </td>
82                                        <td><span class="red"><!--{$arrErr.select_file}--></span>
83                                            <div id="file_view">
84                                                <table border="0" cellspacing="0" cellpadding="2" summary=" ">
85                                                    <tr class="fs12n" bgcolor="#f2f1ec">
86                                                        <td>ファイル名</td>
87                                                        <td align="right">サイズ</td>
88                                                        <td>更新日付</td>
89                                                    </tr>
90                                                    <!--{if !$tpl_is_top_dir}-->
91                                                    <tr class="fs12n" id="parent_dir" onclick="fnSetFormVal('form1', 'select_file', '<!--{$tpl_parent_dir|escape}-->');fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$tpl_parent_dir|escape}-->', true, '<!--{$tpl_now_dir|escape}-->', true)" style="" onMouseOver="fnChangeBgColor('parent_dir', '#808080');" onMouseOut="fnChangeBgColor('parent_dir', '');">
92                                                        <td>
93                                                            <img src="<!--{$TPL_DIR}-->img/admin/contents/folder_parent.gif" alt="フォルダ">&nbsp;..
94                                                        </td>
95                                                        <td align="right"></td>
96                                                        <td></td>
97                                                    </tr>
98                                                    <!--{/if}-->
99                                                    <!--{section name=cnt loop=$arrFileList}-->
100                                                    <!--{assign var="id" value="select_file`$smarty.section.cnt.index`"}-->
101                                                    <tr class="fs12n" id="<!--{$id}-->" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|escape}-->');fnSelectFile('<!--{$id}-->', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$arrFileList[cnt].file_path|escape}-->', <!--{if $arrFileList[cnt].is_dir|escape}-->true<!--{else}-->false<!--{/if}-->, '<!--{$tpl_now_dir|escape}-->', false)" style="" onMouseOver="fnChangeBgColor('<!--{$id}-->', '#808080');" onMouseOut="fnChangeBgColor('<!--{$id}-->', '');">
102                                                        <td>
103                                                            <!--{if $arrFileList[cnt].is_dir}-->
104                                                            <img src="<!--{$TPL_DIR}-->img/admin/contents/folder_close.gif" alt="フォルダ">
105                                                            <!--{else}-->
106                                                            <img src="<!--{$TPL_DIR}-->img/admin/contents/file.gif">
107                                                            <!--{/if}-->
108                                                            <!--{$arrFileList[cnt].file_name|escape}-->
109                                                        </td>
110                                                        <td align="right"><!--{$arrFileList[cnt].file_size|number_format}--></td>
111                                                        <td><!--{$arrFileList[cnt].file_time|escape}--></td>
112                                                    </tr>
113                                                    <!--{/section}-->
114                                                </table>
115                                            </div>
116                                            <table border="0" cellspacing="0" cellpadding="5" summary=" ">
117                                                <tr>
118                                                    <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('view','',''); return false;" value="表示"></td>
119                                                    <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;" value="ダウンロード"></td>
120                                                    <td><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;" value="削除"></td>
121                                                </tr>
122                                            </table>
123                                        </td>
124                                    </tr>
125                                </table>
126                                <table width="678" border="1" cellspacing="1" cellpadding="8" summary=" ">
127                                    <tr class="fs12n">
128                                        <td>現在のディレクトリ&nbsp;:&nbsp;<!--{$tpl_now_dir|sfTrimURL}-->/</td>
129                                    </tr>
130                                </table>
131                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
132                                    <tr class="fs12n">
133                                        <td bgcolor="#f2f1ec">ファイルのアップロード</td>
134                                        <td bgcolor="#ffffff"><span class="red"><!--{$arrErr.upload_file}--></span><input type="file" name="upload_file" size="64" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('upload','',''); return false;" value="アップロード"></td>
135                                    </tr>
136                                    <tr class="fs12n">
137                                        <td bgcolor="#f2f1ec">フォルダ作成</td>
138                                        <td bgcolor="#ffffff"><span class="red"><!--{$arrErr.create_file}--></span><input type="text" name="create_file" value="" style="width:336px;<!--{if $arrErr.create_file}--> background-color:<!--{$smarty.const.ERR_COLOR|escape}--><!--{/if}-->"><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('create','',''); return false;" value="作成"></td>
139                                    </tr>
140                                    <thead>
141                                </table>
142                                <!--▲ファイル管理テーブルここまで-->
143                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
144                                    <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
145                                </table>
146
147                                </td>
148                                <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
149                            </tr>
150                            <tr>
151                                <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
152                            </tr>
153                            <tr><td height="30"></td></tr>
154                        </table>
155                    </td>
156                </tr>
157                <!--メインエリア-->
158            </table>
159        </td>
160    </tr>
161</form>
162</table>
163<!--★★メインコンテンツ★★-->
Note: See TracBrowser for help on using the repository browser.