source: temp/trunk/data/Smarty/templates/admin/contents/file_manager.tpl @ 9755

Revision 9755, 9.2 KB checked in by uehara, 20 years ago (diff)

blank

  • Property svn:mime-type set to application/octet-stream
Line 
1<!--{*
2/*
3 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
4 *
5 * http://www.lockon.co.jp/
6 */
7*}-->
8
9¢£¥¨¥é¡¼
10<!--{foreach key=key item=item from=$arrErr}-->
11    <!--{$key}-->¡§<!--{$item}--><br/>
12<!--{/foreach}--><br/><br/>
13
14
15<!--{*
16/*
17 * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved.
18 *
19 * http://www.lockon.co.jp/
20 */
21*}-->
22<script type="text/javascript">
23<!--
24
25function func_regist(url) {
26    res = confirm('¤³¤ÎÆâÍÆ¤Ç<!--{if $edit_mode eq "on"}-->ÊÔ½¸<!--{else}-->ÅÐÏ¿<!--{/if}-->¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');
27    if(res == true) {
28        document.form1.mode.value = 'regist';
29        document.form1.submit();
30        return false;
31    }
32    return false;
33}
34
35function func_edit(news_id) {
36    document.form1.mode.value = "search";
37    document.form1.news_id.value = news_id;
38    document.form1.submit();
39}
40
41function func_del(news_id) {
42    res = confirm('¤³¤Î¿·Ãå¾ðÊó¤òºï½ü¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');
43    if(res == true) {
44        document.form1.mode.value = "delete";
45        document.form1.news_id.value = news_id;
46        document.form1.submit();
47    }
48    return false;
49}
50
51function func_rankMove(term,news_id) {
52    document.form1.mode.value = "move";
53    document.form1.news_id.value = news_id;
54    document.form1.term.value = term;
55    document.form1.submit();
56}
57
58function moving(news_id,rank, max_rank) {
59
60    var val;
61    var ml;
62    var len;
63
64    ml = document.move;
65    len = document.move.elements.length;
66    j = 0;
67    for( var i = 0 ; i < len ; i++) {
68        if ( ml.elements[i].name == 'position' && ml.elements[i].value != "" ) {
69            val = ml.elements[i].value;
70            j ++;
71        }
72    }
73   
74    if ( j > 1) {
75        alert( '°Üư½ç°Ì¤Ï£±¤Ä¤À¤±ÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
76        return false;
77    } else if( ! val ) {
78        alert( '°Üư½ç°Ì¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
79        return false;
80    } else if( val.length > 4){
81        alert( '°Üư½ç°Ì¤Ï4·å°ÊÆâ¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
82        return false;
83    } else if( val.match(/[0-9]+/g) != val){
84        alert( '°Üư½ç°Ì¤Ï¿ô»ú¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
85        return false;
86    } else if( val == rank ){
87        alert( '°Üư¤µ¤»¤ëÈֹ椬½ÅÊ£¤·¤Æ¤¤¤Þ¤¹¡£' );
88        return false;
89    } else if( val == 0 ){
90        alert( '°Üư½ç°Ì¤Ï0°Ê¾å¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
91        return false;
92    } else if( val > max_rank ){
93        alert( 'ÆþÎϤµ¤ì¤¿½ç°Ì¤Ï¡¢ÅÐÏ¿¿ô¤ÎºÇÂçÃͤòͤ¨¤Æ¤¤¤Þ¤¹¡£' );
94        return false;   
95    } else {
96        ml.moveposition.value = val;
97        ml.rank.value = rank;
98        ml.news_id.value = news_id;
99        ml.submit();
100        return false;
101    }
102}
103
104//-->
105</script>
106
107<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
108<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
109    <tr valign="top">
110        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
111            <!--¢§SUB NAVI-->
112            <!--{include file=$tpl_subnavi}-->
113            <!--¢¥SUB NAVI-->
114        </td>
115        <td class="mainbg">
116            <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
117            <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
118                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
119                <tr>
120                    <td align="center">
121                        <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
122                       
123                            <tr><td height="14"></td></tr>
124                            <tr>
125                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
126                            </tr>
127                            <tr>
128                                <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
129                                <td bgcolor="#cccccc">
130                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
131                                    <tr>
132                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
133                                    </tr>
134                                    <tr>
135                                        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
136                                        <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Õ¥¡¥¤¥ë´ÉÍý</span></td>
137                                        <td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
138                                    </tr>
139                                    <tr>
140                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
141                                    </tr>
142                                    <tr>
143                                        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
144                                    </tr>
145                                </table>
146
147                                <!--¢§¥Õ¥¡¥¤¥ë´ÉÍý¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
148                                <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"  enctype="multipart/form-data">
149                                <input type="hidden" name="mode" value="">
150                                <input type="hidden" name="now_file" value="<!--{$tpl_now_dir}-->">
151                                <input type="hidden" name="tree_select_file" value="">
152                                <input type="hidden" name="tree_status" value="">
153                                <input type="hidden" name="select_file" value="">   
154                               
155                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
156                                    <thead>
157                                    <tr class="fs12n" bgcolor="#f2f1ec">
158                                        <td>¥Ç¥£¥ì¥¯¥È¥ê</td>
159                                        <td>
160                                            <div id="now_dir">
161                                            <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/folder_open.gif" alt="¥Õ¥©¥ë¥À">
162                                            &nbsp;<!--{$tpl_now_file}-->
163                                            </div>
164                                        </td>
165                                    </tr>
166                                    <tr class="fs12n" bgcolor="#ffffff">                               
167                                        <td>
168                                            <div id="tree"></div>
169                                        </td>
170                                        <td>
171                                            <div id="file_view">
172                                                <table  border="0" cellspacing="0" cellpadding="5" summary=" ">
173                                                    <tr class="fs12n" bgcolor="#f2f1ec">
174                                                        <td>¥Õ¥¡¥¤¥ë̾</td>
175                                                        <td align="right">¥µ¥¤¥º</td>
176                                                        <td>¹¹¿·ÆüÉÕ</td>
177                                                    </tr>
178                                                    <!--{section name=cnt loop=$arrFileList}-->
179                                                    <!--{assign var="id" value="select_file`$smarty.section.cnt.index`"}-->
180                                                    <tr class="fs12n" id="<!--{$id}-->" onclick="fnSetFormVal('form1', 'select_file', '<!--{$arrFileList[cnt].file_path|escape}-->');fnSelectFile('<!--{$id}-->', '#3333FF');" style="" onMouseOver="fnChangeBgColor('<!--{$id}-->', '#3333FF');" onMouseOut="fnChangeBgColor('<!--{$id}-->', '');">
181                                                        <td>
182                                                            <!--{if $arrFileList[cnt].is_dir}-->
183                                                            <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/folder_close.gif" alt="¥Õ¥©¥ë¥À">
184                                                            <!--{else}-->
185                                                            <img src="<!--{$smarty.const.URL_DIR}-->img/admin/contents/space.gif">
186                                                            <!--{/if}-->
187                                                            <!--{$arrFileList[cnt].file_name|escape}-->
188                                                        </td>
189                                                        <td align="right"><!--{$arrFileList[cnt].file_size|escape}--></td>
190                                                        <td><!--{$arrFileList[cnt].file_time|escape}--></td>
191                                                    </tr>
192                                                    <!--{/section}-->
193                                                </table>
194                                            </div>
195                                            <input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('view','',''); return false;" value="ɽ¼¨">
196                                            <input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('download','',''); return false;" value="¥À¥¦¥ó¥í¡¼¥É">
197                                            <input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('delete','',''); return false;" value="ºï½ü">
198                                        </td>
199                                    </tr>
200                                    <thead>
201                                </table>
202                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
203                                    <tr class="fs12n">
204                                        <td><!--{$tpl_now_dir}--></td>
205                                    </tr>
206                                </table>
207                                <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
208                                    <tr class="fs12n">
209                                        <td bgcolor="#f2f1ec">¥Õ¥¡¥¤¥ë¤Î¥¢¥Ã¥×¥í¡¼¥É</td>
210                                        <td bgcolor="#ffffff"><input type="file" name="upload_file" class="box60"><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('upload','',''); return false;" value="¥¢¥Ã¥×¥í¡¼¥É"></td>
211                                    </tr>
212                                    <tr class="fs12n">
213                                        <td bgcolor="#f2f1ec">¥Õ¥©¥ë¥ÀºîÀ®</td>
214                                        <td bgcolor="#ffffff"><input type="text" name="create_file" value="" class="box68"><input type="button" onclick="setTreeStatus('tree_status');fnModeSubmit('create','',''); return false;" value="ºîÀ®"></td>
215                                    </tr>
216                                    <thead>
217                                </table>
218                                </form>
219                                <!--¢¥¥Õ¥¡¥¤¥ë´ÉÍý¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
220                                                               
221                                <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
222                                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
223                                </table>
224                                   
225                                </td>
226                                <td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
227                            </tr>
228                            <tr>
229                                <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
230                            </tr>
231                            <tr><td height="30"></td></tr>
232                        </table>
233                    </td>
234                </tr>
235                <!--¥á¥¤¥ó¥¨¥ê¥¢-->
236            </table>
237            <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
238        </td>
239    </tr>
240</table>
241<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
242
243
Note: See TracBrowser for help on using the repository browser.