From: <te...@us...> - 2003-07-19 19:34:44
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1:/tmp/cvs-serv14403 Modified Files: Tag: release_eta_carinea_rc1 tiki-show_page.tpl Log Message: RFE #760844: cleaned up print wiki page Index: tiki-show_page.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-show_page.tpl,v retrieving revision 1.35.2.1 retrieving revision 1.35.2.2 diff -u -d -r1.35.2.1 -r1.35.2.2 --- tiki-show_page.tpl 18 Jul 2003 06:01:29 -0000 1.35.2.1 +++ tiki-show_page.tpl 19 Jul 2003 19:34:40 -0000 1.35.2.2 @@ -13,42 +13,43 @@ <small>(cached)</small> {/if} </td> -<td style="text-align:right;"> - +{if $print_page !== 'n'} + <td style="text-align:right;"> -{if !$lock and ($tiki_p_edit eq 'y' or $page eq 'SandBox') and $beingEdited ne 'y'} -<a title="{tr}edit{/tr}" href="tiki-editpage.php?page={$page|escape:"url"}"><img border="0" src="img/icons/edit.gif" alt='{tr}edit{/tr}' /></a> -{/if} + {if !$lock and ($tiki_p_edit eq 'y' or $page eq 'SandBox') and $beingEdited ne 'y'} + <a title="{tr}edit{/tr}" href="tiki-editpage.php?page={$page|escape:"url"}"><img border="0" src="img/icons/edit.gif" alt='{tr}edit{/tr}' /></a> + {/if} -{if $feature_backlinks eq 'y'} -<a title="{tr}backlinks{/tr}" href="tiki-backlinks.php?page={$page|escape:"url"}"><img border="0" src="img/icons/ico_link.gif" alt='{tr}backlinks{/tr}' /></a> -{/if} + {if $feature_backlinks eq 'y'} + <a title="{tr}backlinks{/tr}" href="tiki-backlinks.php?page={$page|escape:"url"}"><img border="0" src="img/icons/ico_link.gif" alt='{tr}backlinks{/tr}' /></a> + {/if} -{if $cached_page eq 'y'} -<a title="{tr}refresh{/tr}" href="tiki-index.php?page={$page|escape:"url"}&refresh=1"><img border="0" src="img/icons/ico_redo.gif" alt='{tr}refresh{/tr}' /></a> -{/if} + {if $cached_page eq 'y'} + <a title="{tr}refresh{/tr}" href="tiki-index.php?page={$page|escape:"url"}&refresh=1"><img border="0" src="img/icons/ico_redo.gif" alt='{tr}refresh{/tr}' /></a> + {/if} -<a title="{tr}print{/tr}" href="tiki-print.php?page={$page|escape:"url"}"><img border="0" src="img/icons/ico_print.gif" alt='{tr}print{/tr}' /></a> + <a title="{tr}print{/tr}" href="tiki-print.php?page={$page|escape:"url"}"><img border="0" src="img/icons/ico_print.gif" alt='{tr}print{/tr}' /></a> -{if $feature_wiki_pdf eq 'y'} -<a title="{tr}create pdf{/tr}" href="tiki-config_pdf.php?page={$page|escape:"url"}"><img border="0" src="img/icons/ico_pdf.gif" alt='{tr}pdf{/tr}' /></a> -{/if} + {if $feature_wiki_pdf eq 'y'} + <a title="{tr}create pdf{/tr}" href="tiki-config_pdf.php?page={$page|escape:"url"}"><img border="0" src="img/icons/ico_pdf.gif" alt='{tr}pdf{/tr}' /></a> + {/if} -{if $user and $feature_notepad eq 'y' and $tiki_p_notepad eq 'y'} -<a title="{tr}Save to notepad{/tr}" href="tiki-index.php?page={$page|escape:"url"}&savenotepad=1"><img border="0" src="img/icons/ico_save.gif" alt="{tr}save{/tr}" /></a> -{/if} + {if $user and $feature_notepad eq 'y' and $tiki_p_notepad eq 'y'} + <a title="{tr}Save to notepad{/tr}" href="tiki-index.php?page={$page|escape:"url"}&savenotepad=1"><img border="0" src="img/icons/ico_save.gif" alt="{tr}save{/tr}" /></a> + {/if} -{if $user and $feature_user_watches eq 'y'} - {if $user_watching_page eq 'n'} - <a href="tiki-index.php?page={$page|escape:"url"}&watch_event=wiki_page_changed&watch_object={$page|escape:"url"}&watch_action=add"><img border='0' alt='{tr}monitor this page{/tr}' title='{tr}monitor this page{/tr}' src='img/icons/icon_watch.png' /></a> - {else} - <a href="tiki-index.php?page={$page|escape:"url"}&watch_event=wiki_page_changed&watch_object={$page|escape:"url"}&watch_action=remove"><img border='0' alt='{tr}stop monitoring this page{/tr}' title='{tr}stop monitoring this page{/tr}' src='img/icons/icon_unwatch.png' /></a> + {if $user and $feature_user_watches eq 'y'} + {if $user_watching_page eq 'n'} + <a href="tiki-index.php?page={$page|escape:"url"}&watch_event=wiki_page_changed&watch_object={$page|escape:"url"}&watch_action=add"><img border='0' alt='{tr}monitor this page{/tr}' title='{tr}monitor this page{/tr}' src='img/icons/icon_watch.png' /></a> + {else} + <a href="tiki-index.php?page={$page|escape:"url"}&watch_event=wiki_page_changed&watch_object={$page|escape:"url"}&watch_action=remove"><img border='0' alt='{tr}stop monitoring this page{/tr}' title='{tr}stop monitoring this page{/tr}' src='img/icons/icon_unwatch.png' /></a> + {/if} {/if} + </td> {/if} -</td> </tr> </table> <div class="wikitext">{if $structure eq 'y'} |