From: <xa...@us...> - 2006-05-16 15:31:25
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27891/templates Modified Files: tiki-export-sheets.tpl tiki-import-sheets.tpl Log Message: some links and "make up" added for usability Index: tiki-export-sheets.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-export-sheets.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- tiki-export-sheets.tpl 7 May 2006 17:32:31 -0000 1.6 +++ tiki-export-sheets.tpl 16 May 2006 15:31:22 -0000 1.7 @@ -5,17 +5,38 @@ {$description} </div> +{if $tiki_p_view_sheet eq 'y' || $tiki_p_sheet_admin eq 'y' || $tiki_p_admin eq 'y'} +<a href="tiki-sheets.php" class="linkbut">{tr}list sheets{/tr}</a> +{/if} +{if $tiki_p_view_sheet eq 'y' || $tiki_p_sheet_admin eq 'y' || $tiki_p_admin eq 'y'} +<a href="tiki-view_sheets.php?sheetId={$sheetId}" class="linkbut">{tr}view{/tr}</a> +{/if} +{if $tiki_p_edit_sheet eq 'y' || $tiki_p_sheet_admin eq 'y' || $tiki_p_admin eq 'y'} +<a href="tiki-view_sheets.php?sheetId={$sheetId}&readdate={$read_date}&mode=edit" class="linkbut">{tr}edit{/tr}</a> +{/if} +{if $tiki_p_view_sheet_history eq 'y' || $tiki_p_sheet_admin eq 'y' || $tiki_p_admin eq 'y'} +<a href="tiki-history_sheets.php?sheetId={$sheetId}" class="linkbut">{tr}history{/tr}</a> +{/if} +{if $tiki_p_sheet_admin eq 'y' || $tiki_p_admin eq 'y'} +<a href="tiki-import_sheet.php?sheetId={$sheetId}" class="linkbut">{tr}import{/tr}</a> +{/if} +{if $chart_enabled eq 'y'} +<a href="tiki-graph_sheet.php?sheetId={$sheetId}" class="linkbut">{tr}graph{/tr}</a> +{/if} + {if $page_mode eq 'submit'} {$grid_content} {else} <form method="post" action="tiki-export_sheet.php?mode=export&sheetId={$sheetId}" enctype="multipart/form-data"> + <h2>{tr}Export to file{/tr}</h2> + {tr}Format{/tr}: <select name="handler"> {section name=key loop=$handlers} <option value="{$handlers[key].class}">{$handlers[key].name} V. {$handlers[key].version}</option> {/section} </select> - {tr}Charset encoding{/tr}; + {tr}Charset encoding{/tr}: <select name="encoding"> <!--<option value="">{tr}Autodetect{/tr}</option>--> {section name=key loop=$charsets} Index: tiki-import-sheets.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-import-sheets.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- tiki-import-sheets.tpl 7 May 2006 17:32:31 -0000 1.6 +++ tiki-import-sheets.tpl 16 May 2006 15:31:22 -0000 1.7 @@ -30,18 +30,19 @@ {else} <form method="post" action="tiki-import_sheet.php?mode=import&sheetId={$sheetId}" enctype="multipart/form-data"> <h2>{tr}Import From File{/tr}</h2> + {tr}Format{/tr}: <select name="handler"> {section name=key loop=$handlers} <option value="{$handlers[key].class}">{$handlers[key].name} V. {$handlers[key].version}</option> {/section} </select> - {tr}Charset encoding{/tr}; + {tr}Charset encoding{/tr}: <select name="encoding"> <!--<option value="">{tr}Autodetect{/tr}</option>--> {section name=key loop=$charsets} <option value="{$charsets[key]}">{$charsets[key]}</option> {/section} - </select> + </select><br><br> <input type="file" name="file" /> <input type="submit" value="{tr}Import{/tr}" /> </form> |