?? edit_dir.tpl
字號:
{* $Id: edit_dir.tpl,v 1.40.2.1 2004/07/30 08:18:45 max Exp $ *}{if ($what_to_edit eq "files")}{include file="page_title.tpl" title=$lng.lbl_browse_files}{$lng.txt_browse_files_top_text}{else}{include file="page_title.tpl" title=$lng.lbl_browse_templates}{$lng.txt_browse_templates_top_text}{if $smarty.get.dir eq ""}<BR><BR>{$lng.txt_using_debug_console_note}<BR><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=&file=%2F{$skin_config}">{$lng.lbl_config_file} ({$skin_config})</A><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=&file=%2F{#CSSFile#}">{$lng.lbl_css_file} ({#CSSFile#})</A><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=%2Fbuttons">{$lng.lbl_buttons}</A><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=%2Fhelp">{$lng.lbl_help_files}</A><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=%2Fmain">{$lng.lbl_error_messages}</A><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=%2Fmail">{$lng.lbl_mail_templates}</A><BR><IMG src="{$ImagesDir}/rarrow.gif" width="9" height="9"> <A href="{$action_script}?dir=&file=%2Ftoday_news.tpl">{$lng.lbl_today_news}</A>{/if}{/if}<BR><BR>{capture name=dialog}<FORM method="POST" action="{$action_script}" name="fm_form" enctype="multipart/form-data"><INPUT type="hidden" name="dir" value="{if $smarty.get.dir ne ""}{$smarty.get.dir|escape:"html"}{else}{$smarty.post.dir|escape:"html"}{/if}"><INPUT type="hidden" name="mode"><INPUT type="hidden" name="MAX_FILE_SIZE" value="500000000"><INPUT type="hidden" name="my_files" value="{$my_files}"><TABLE border="0" cellpadding="3" cellspacing="1" width="100%"><TR valign="top"><TD width="50%">{section name=dir_entry loop=$dir_entries}{if $dir_entries[dir_entry].filetype eq "dir"}<INPUT type="radio" name="filename"{if $dir_entries[dir_entry].file eq ".."} disabled{/if} value="{$dir_entries[dir_entry].href}"><A href="{$action_script}?dir={$dir_entries[dir_entry].href|escape:"url"}" title="{$dir_entries[dir_entry].file}"><IMG src="{$ImagesDir}/folder.gif" width="16" height="16" border="0">{$dir_entries[dir_entry].file|truncate:35}/</A>{else}{if ($what_to_edit eq "files")}<INPUT type="radio" name="filename" value="{$dir_entries[dir_entry].href}"><A href="getfile.php?file={$dir_entries[dir_entry].href|replace:" ":"%20"}" title="{$dir_entries[dir_entry].file}"><IMG src="{$ImagesDir}/doc.gif" width="16" height="16" border="0">{$dir_entries[dir_entry].file|truncate:35}</A>{else}<INPUT type="radio" name="filename" value="{$dir_entries[dir_entry].href}"><A href="{$action_script}?dir={$smarty.get.dir|escape:"url"}&file={$dir_entries[dir_entry].href|escape:"url"}" title="{$dir_entries[dir_entry].file}"><IMG src="{$ImagesDir}/doc.gif" width="16" height="16" border="0">{$dir_entries[dir_entry].file|truncate:35}</A>{/if}{/if}<BR>{if ($smarty.section.dir_entry.index eq $dir_entries_half)}</TD><TD width="50%">{/if}{/section}</TD></TR></TABLE><HR width="100%" align="center">{if $is_writeable}<TABLE border="0" cellpadding="3" cellspacing="1"><TR><TD colspan="4"><INPUT type="button" value="{$lng.lbl_delete_selected}" onClick='javascript: if (confirm ("{$lng.txt_delete_file_warning|strip_tags}")) {ldelim}document.fm_form.mode.value="Delete"; document.fm_form.submit (){rdelim};'></TD></TR>{if ($what_to_edit ne "files")}<TR><TD colspan="4"><BR><BR>{include file="main/subheader.tpl" title=$lng.lbl_create_new_file sh_style="2"}</TD></TR><TR><TD class="FormButton" nowrap>New file name:</TD><TD><INPUT type="text" size="40" name="new_file" value=""></TD><TD colspan="2"><INPUT type="button" value="{$lng.lbl_create}" onClick='javascript: document.fm_form.mode.value="New file"; document.fm_form.submit ();'></TD></TR>{/if}<TR><TD colspan="4"><BR><BR>{include file="main/subheader.tpl" title=$lng.lbl_create_new_directory sh_style="2"}</TD></TR><TR><TD class="FormButton" nowrap>{$lng.lbl_new_directory_name}:</TD><TD><INPUT type="text" size="40" name="new_directory" value=""></TD><TD colspan="2"><INPUT type="button" value="{$lng.lbl_create}" onClick='javascript: document.fm_form.mode.value="New directory"; document.fm_form.submit ();'></TD></TR><TR><TD colspan="4"><BR><BR>{include file="main/subheader.tpl" title=$lng.copy_selected_file_to_ sh_style="2"}</TD></TR><TR><TD class="FormButton" nowrap>{$lng.lbl_copy_file_name}:</TD><TD><INPUT type="text" size="40" name="copy_file" value=""></TD><TD colspan="2"><INPUT type="button" value=" {$lng.lbl_copy} " onClick='javascript: document.fm_form.mode.value="Copy to"; document.fm_form.submit ();'></TD></TR><TR><TD colspan="4"><BR><BR>{include file="main/subheader.tpl" title=$lng.lbl_upload_file_to_directory sh_style="2"}</TD></TR><TR><TD colspan="2"><INPUT type="file" size="50" name="userfile"></TD><TD><INPUT type="button" value="{$lng.lbl_upload}" onClick='javascript: document.fm_form.mode.value="Upload"; document.fm_form.submit ();'></TD><TD><INPUT type="checkbox" name="rewrite_if_exists" value="Y" checked>{$lng.lbl_rewrite_file_if_exists}</TD></TR>{if $upload_max_filesize}<TR><TD colspan="3">{$lng.txt_max_file_size_warning|substitute:"size":$upload_max_filesize}</TD></TR>{/if}</TABLE></FORM>{if $what_to_edit eq "templates" and $smarty.get.dir eq ""}<FORM method="POST" action="{$action_script}" name="rc_form"><INPUT type="hidden" name="mode">{$lng.txt_restore_templates_text}<BR>{$lng.txt_restore_templates_note}<BR><INPUT type="button" value="{$lng.lbl_restore_all}" onClick='javascript: if (confirm("{$lng.txt_restore_templates_warning|strip_tags}")) {ldelim}document.rc_form.mode.value="restore_all"; document.rc_form.submit ();{rdelim}'><BR><BR>{$lng.txt_compile_templates}<BR><BR><INPUT type="button" value="{$lng.lbl_compile_templates}" onClick='javascript: if (confirm("{$lng.txt_compile_templates_warning|strip_tags}")) {ldelim}document.rc_form.mode.value="compile_all"; document.rc_form.submit ();{rdelim}'> {$lng.lbl_language}:<SELECT name="language">{section name=li loop=$languages}<OPTION value="{$languages[li].code}">{$languages[li].language}</OPTION>{/section}</SELECT><BR><BR>{$lng.txt_compile_templates_note}<BR>{/if}</FORM>{else}{$lng.txt_directory_is_not_writable}{/if}{/capture}{if ($what_to_edit eq "files")}{include file="dialog.tpl" title=$lng.lbl_browse_files content=$smarty.capture.dialog extra="width=100%"}{else}{include file="dialog.tpl" title=$lng.lbl_browse_templates content=$smarty.capture.dialog extra="width=100%"}{/if}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -