- Timestamp:
- 2013/08/26 23:43:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/Smarty/templates/admin/contents/file_manager.tpl
r23066 r23129 32 32 for (var i in bread_crumbs) { 33 33 file_path += bread_crumbs[i] + '/'; 34 $('<a href="javascript:;" onclick=" fnFolderOpen(\'' + file_path + '\'); return false;" />')34 $('<a href="javascript:;" onclick="eccube.fileManager.openFolder(\'' + file_path + '\'); return false;" />') 35 35 .text(bread_crumbs[i]) 36 36 .appendTo($node); … … 39 39 }); 40 40 41 varIMG_FOLDER_CLOSE = "<!--{$TPL_URLPATH}-->img/contents/folder_close.gif"; // フォルダクローズ時画像42 varIMG_FOLDER_OPEN = "<!--{$TPL_URLPATH}-->img/contents/folder_open.gif"; // フォルダオープン時画像43 varIMG_PLUS = "<!--{$TPL_URLPATH}-->img/contents/plus.gif"; // プラスライン44 varIMG_MINUS = "<!--{$TPL_URLPATH}-->img/contents/minus.gif"; // マイナスライン45 varIMG_NORMAL = "<!--{$TPL_URLPATH}-->img/contents/space.gif"; // スペース41 eccube.fileManager.IMG_FOLDER_CLOSE = "<!--{$TPL_URLPATH}-->img/contents/folder_close.gif"; // フォルダクローズ時画像 42 eccube.fileManager.IMG_FOLDER_OPEN = "<!--{$TPL_URLPATH}-->img/contents/folder_open.gif"; // フォルダオープン時画像 43 eccube.fileManager.IMG_PLUS = "<!--{$TPL_URLPATH}-->img/contents/plus.gif"; // プラスライン 44 eccube.fileManager.IMG_MINUS = "<!--{$TPL_URLPATH}-->img/contents/minus.gif"; // マイナスライン 45 eccube.fileManager.IMG_NORMAL = "<!--{$TPL_URLPATH}-->img/contents/space.gif"; // スペース 46 46 //]]></script> 47 47 <form name="form1" method="post" action="?" enctype="multipart/form-data"> … … 63 63 <td> 64 64 <!--{if $arrErr.upload_file}--><span class="attention"><!--{$arrErr.upload_file}--></span><!--{/if}--> 65 <input type="file" name="upload_file" size="40" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> /><a class="btn-normal" href="javascript:;" onclick=" setTreeStatus('tree_status');eccube.setModeAndSubmit('upload','',''); return false;">アップロード</a>65 <input type="file" name="upload_file" size="40" <!--{if $arrErr.upload_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> /><a class="btn-normal" href="javascript:;" onclick="eccube.fileManager.setTreeStatus('tree_status');eccube.setModeAndSubmit('upload','',''); return false;">アップロード</a> 66 66 </td> 67 67 </tr> … … 70 70 <td> 71 71 <!--{if $arrErr.create_file}--><span class="attention"><!--{$arrErr.create_file}--></span><!--{/if}--> 72 <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');eccube.setModeAndSubmit('create','',''); return false;">作成</a>72 <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="eccube.fileManager.setTreeStatus('tree_status');eccube.setModeAndSubmit('create','',''); return false;">作成</a> 73 73 </td> 74 74 </tr> … … 85 85 </tr> 86 86 <!--{if !$tpl_is_top_dir}--> 87 <tr id="parent_dir" onclick="eccube.setValue('select_file', '<!--{$tpl_parent_dir|h}-->', 'form1'); fnSelectFile('parent_dir', '#808080');" onDblClick="setTreeStatus('tree_status');fnDbClick(arrTree, '<!--{$tpl_parent_dir|h}-->', true, '<!--{$tpl_now_dir|h}-->', true)" style="">87 <tr id="parent_dir" onclick="eccube.setValue('select_file', '<!--{$tpl_parent_dir|h}-->', 'form1'); eccube.fileManager.selectFile('parent_dir', '#808080');" onDblClick="eccube.fileManager.setTreeStatus('tree_status');eccube.fileManager.toggleTreeMenu('tree'+cnt, 'rank_img'+cnt, arrTree[cnt][2]);eccube.fileManager.doubleClick(arrTree, '<!--{$tpl_parent_dir|h}-->', true, '<!--{$tpl_now_dir|h}-->', true)" style=""> 88 88 <td> 89 89 <img src="<!--{$TPL_URLPATH}-->img/contents/folder_parent.gif" alt="フォルダ"> .. … … 99 99 <!--{assign var="id" value="select_file`$smarty.section.cnt.index`"}--> 100 100 <tr id="<!--{$id}-->" style=""> 101 <td class="file-name" 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)">101 <td class="file-name" onDblClick="eccube.fileManager.setTreeStatus('tree_status');eccube.fileManager.doubleClick(arrTree, '<!--{$arrFileList[cnt].file_path|h}-->', <!--{if $arrFileList[cnt].is_dir|h}-->true<!--{else}-->false<!--{/if}-->, '<!--{$tpl_now_dir|h}-->', false)"> 102 102 <!--{if $arrFileList[cnt].is_dir}--> 103 103 <img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="フォルダ" /> … … 115 115 <!--{if $arrFileList[cnt].is_dir}--> 116 116 <td class="center"> 117 <a href="javascript:;" onclick="eccube.setValue('tree_select_file', '<!--{$arrFileList[cnt].file_path}-->', 'form1'); fnSelectFile('<!--{$id}-->', '#808080');eccube.setModeAndSubmit('move','',''); return false;">表示</a>117 <a href="javascript:;" onclick="eccube.setValue('tree_select_file', '<!--{$arrFileList[cnt].file_path}-->', 'form1'); eccube.fileManager.selectFile('<!--{$id}-->', '#808080');eccube.setModeAndSubmit('move','',''); return false;">表示</a> 118 118 </td> 119 119 <!--{else}--> 120 120 <td class="center"> 121 <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1'); fnSelectFile('<!--{$id}-->', '#808080');eccube.setModeAndSubmit('view','',''); return false;">表示</a>121 <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1');eccube.fileManager.selectFile('<!--{$id}-->', '#808080');eccube.setModeAndSubmit('view','',''); return false;">表示</a> 122 122 </td> 123 123 <!--{/if}--> … … 127 127 <!--{else}--> 128 128 <td class="center"> 129 <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1'); fnSelectFile('<!--{$id}-->', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('download','',''); return false;">ダウンロード</a>129 <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1');eccube.fileManager.selectFile('<!--{$id}-->', '#808080');eccube.fileManager.setTreeStatus('tree_status');eccube.setModeAndSubmit('download','',''); return false;">ダウンロード</a> 130 130 </td> 131 131 <!--{/if}--> 132 132 <td class="center"> 133 <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1'); fnSelectFile('<!--{$id}-->', '#808080');setTreeStatus('tree_status');eccube.setModeAndSubmit('delete','',''); return false;">削除</a>133 <a href="javascript:;" onclick="eccube.setValue('select_file', '<!--{$arrFileList[cnt].file_path|h}-->', 'form1');eccube.fileManager.selectFile('<!--{$id}-->', '#808080');eccube.fileManager.setTreeStatus('tree_status');eccube.setModeAndSubmit('delete','',''); return false;">削除</a> 134 134 </td> 135 135 </tr>
Note: See TracChangeset
for help on using the changeset viewer.