0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
3.2.0-5
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-show_page.tpl
{* $Id: tiki-show_page.tpl 18827 2009-05-15 12:58:10Z lphuberdeau $ *} {if $prefs.feature_ajax == 'y'} <script type="text/javascript" src="lib/wiki/wiki-ajax.js"></script> {/if} {if !$hide_page_header} {* display breadcrumbs here only if the feature is on and when site location feature is selected to appear above page in top of center column *} {if $prefs.feature_siteloc eq 'page' and $prefs.feature_breadcrumbs eq 'y'} {if $prefs.feature_siteloclabel eq 'y'}{tr}Location : {/tr}{/if} {breadcrumbs type="trail" loc="page" crumbs=$crumbs} {if $prefs.feature_page_title eq 'y'}{breadcrumbs type="pagetitle" loc="page" crumbs=$crumbs}{/if} {/if} {if $beingStaged eq 'y'} <div class="tocnav"> {if $approvedPageExists} {tr}This is the staging copy of{/tr} <a class="link" href="{$approvedPageName|sefurl}">{tr}the approved version of this page.{/tr}</a> {else} {tr}This is a new staging page that has not been approved before.{/tr} {/if} {if $outOfSync eq 'y'} {if $canApproveStaging == 'y'} {if $lastSyncVersion}<a class="link" href="tiki-pagehistory.php?page={$page|escape:'url'}&diff2={$lastSyncVersion}">{tr}View changes since last approval.{/tr}</a> {else}{tr}Viewing of changes since last approval is possible only after first approval.{/tr}{/if} <a class="link" href="tiki-approve_staging_page.php?page={$page|escape:'url'}">{tr}Approve changes.{/tr}</a> {elseif $approvedPageExists} {tr}Latest changes will be synchronized after approval.{/tr} {/if} {/if} </div> {/if} {if $needsFirstApproval == 'y' and $canApproveStaging == 'y'} <div class="tocnav"> {tr}This is a new staging page that has not been approved before. Edit and manually move it to the category for approved pages to approve it for the first time.{/tr} </div> {/if} {/if} {*hide_page_header*} {if !$prefs.wiki_topline_position or $prefs.wiki_topline_position eq 'top' or $prefs.wiki_topline_position eq 'both'} {include file=tiki-wiki_topline.tpl} {/if} {if $print_page ne 'y'} {if $prefs.page_bar_position eq 'top'} {include file=tiki-page_bar.tpl} {/if} {/if} {if isset($saved_msg) && $saved_msg neq ''} {remarksbox type="note" title="{tr}Note{/tr}"}{$saved_msg}{/remarksbox} {/if} <div class="navbar" style="clear: both; text-align: right"> {if $user and $prefs.feature_user_watches eq 'y'} {if $category_watched eq 'y'} {tr}Watched by categories{/tr}: {section name=i loop=$watching_categories} <a href="tiki-browse_categories.php?parentId={$watching_categories[i].categId}">{$watching_categories[i].name}</a> {/section} {/if} {/if} </div> {if $prefs.feature_urgent_translation eq 'y'} {section name=i loop=$translation_alert} <div class="cbox"> <div class="cbox-title"> {icon _id=information style="vertical-align:middle"} {tr}Content may be out of date{/tr} </div> <div class="cbox-data"> <p>{tr}An urgent request for translation has been sent. Until this page is updated, you can see a corrected version in the following pages:{/tr}</p> <ul> {section name=j loop=$translation_alert[i]} <li> <a href="{if $translation_alert[i][j].approvedPage && $hasStaging == 'y'}{$translation_alert[i][j].approvedPage|sefurl:wiki:with_next}{else}{$translation_alert[i][j].page|sefurl:wiki:with_next}{/if}bl=n">{if $translation_alert[i][j].approvedPage && $hasStaging == 'y'}{$translation_alert[i][j].approvedPage}{else}{$translation_alert[i][j].page}{/if}</a> ({$translation_alert[i][j].lang}) {if $editable and ($tiki_p_edit eq 'y' or $page|lower eq 'sandbox') and $beingEdited ne 'y' or $canEditStaging eq 'y'} <a href="tiki-editpage.php?page={if isset($stagingPageName) && $hasStaging == 'y'}{$stagingPageName|escape:'url'}{else}{$page|escape:'url'}{/if}&source_page={$translation_alert[i][j].page|escape:'url'}&oldver={$translation_alert[i][j].last_update|escape:'url'}&newver={$translation_alert[i][j].current_version|escape:'url'}&diff_style=htmldiff" title="{tr}update from it{/tr}">{icon _id=arrow_refresh alt="{tr}update from it{/tr}" style="vertical-align:middle"}</a> {/if} </li> {/section} </ul> </div> </div> {/section} {/if} <div class="wikitext"> {if !$hide_page_header} {if $prefs.feature_freetags eq 'y' and $tiki_p_view_freetags eq 'y' and isset($freetags.data[0]) and $prefs.freetags_show_middle eq 'y'} {include file="freetag_list.tpl"} {/if} {if $pages > 1 and $prefs.wiki_page_navigation_bar neq 'bottom'} <div align="center"> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$first_page}">{icon _id='resultset_first' alt="{tr}First page{/tr}"}</a> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$prev_page}">{icon _id='resultset_previous' alt="{tr}Previous page{/tr}"}</a> <small>{tr}page{/tr}:{$pagenum}/{$pages}</small> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$next_page}">{icon _id='resultset_next' alt="{tr}Next page{/tr}"}</a> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$last_page}">{icon _id='resultset_last' alt="{tr}Last page{/tr}"}</a> </div> {/if} {** * Page Title as h1 here when the feature is on *} {if $prefs.feature_page_title eq 'y'} <h1 class="pagetitle">{breadcrumbs type="pagetitle" loc="page" crumbs=$crumbs}</h1> {/if} {if $structure eq 'y'} <div class="tocnav"> <table> <tr> <td> {if $prev_info and $prev_info.page_ref_id}{if $prev_info.page_alias}{assign var=icon_title value=$prev_info.page_alias}{else}{assign var=icon_title value=$prev_info.pageName}{/if}<a href="{sefurl page=$prev_info.pageName structure=$home_info.pageName page_ref_id=$prev_info.page_ref_id}">{icon _id='resultset_previous' alt="{tr}Previous page{/tr}" title=$icon_title}</a>{else}<img src="img/icons2/8.gif" alt="" height="1" width="8" />{/if} {if $parent_info}{if $parent_info.page_alias}{assign var=icon_title value=$parent_info.page_alias}{else}{assign var=icon_title value=$parent_info.pageName}{/if}<a href="{sefurl page=$parent_info.pageName structure=$home_info.pageName page_ref_id=$parent_info.page_ref_id}">{icon _id='resultset_up' alt="{tr}Parent page{/tr}" title=$icon_title}</a>{else}<img src="img/icons2/8.gif" alt="" height="1" width="8" />{/if} {if $next_info and $next_info.page_ref_id}{if $next_info.page_alias}{assign var=icon_title value=$next_info.page_alias}{else}{assign var=icon_title value=$next_info.pageName}{/if}<a href="{sefurl page=$next_info.pageName structure=$home_info.pageName page_ref_id=$next_info.page_ref_id}">{icon _id='resultset_next' alt="{tr}Next page{/tr}" title=$icon_title}</a>{else}<img src="img/icons2/8.gif" alt="" height="1" width="8" />{/if} {if $home_info}{if $home_info.page_alias}{assign var=icon_title value=$home_info.page_alias}{else}{assign var=icon_title value=$home_info.pageName}{/if}<a href="{sefurl page=$home_info.pageName structure=$home_info.pageName page_ref_id=$home_info.page_ref_id}">{icon _id='house' alt="{tr}TOC{/tr}" title=$icon_title}</a>{/if} </td> <td> {if $tiki_p_edit_structures eq 'y' and $tiki_p_edit_structures eq 'y' and $struct_editable eq 'y'} <form action="tiki-editpage.php" method="post"> <input type="hidden" name="current_page_id" value="{$page_info.page_ref_id}" /> <input type="text" name="page" /> {* Cannot add peers to head of structure *} {if $page_info and !$parent_info } <input type="hidden" name="add_child" value="checked" /> {else} <input type="checkbox" name="add_child" /> {tr}Child{/tr} {/if} <input type="submit" name="insert_into_struct" value="{tr}Add Page{/tr}" /> </form> {/if} </td> </tr> <tr> <td colspan="2"> <a href="tiki-edit_structure.php?page_ref_id={$home_info.page_ref_id}">{icon _id='chart_organisation' alt="{tr}Structure{/tr}"}</a> ({$cur_pos}) {section loop=$structure_path name=ix} {if $structure_path[ix].parent_id} {$prefs.site_crumb_seper} {/if} <a href="{sefurl page=$structure_path[ix].pageName structure=$home_info.pageName page_ref_id=$structure_path[ix].page_ref_id}"> {if $structure_path[ix].page_alias} {$structure_path[ix].page_alias} {else} {$structure_path[ix].pageName} {/if} </a> {/section} </td> </tr> </table> </div> {/if} {if $prefs.feature_wiki_ratings eq 'y'}{include file="poll.tpl"}{/if} {/if} {*hide_page_header*} {if $pageLang eq 'ar' or $pageLang eq 'he'} <div style="direction:RTL; unicode-bidi:embed; text-align: right; {if $pageLang eq 'ar'}font-size: large;{/if}"> {$parsed} </div> {else} {$parsed} {/if} <hr style="clear:both; height:0px;"/> {* Information below the wiki content must not overlap the wiki content that could contain floated elements *} {if $pages > 1 and $prefs.wiki_page_navigation_bar neq 'top'} <br /> <div align="center"> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$first_page}">{icon _id='resultset_first' alt="{tr}First page{/tr}"}</a> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$prev_page}">{icon _id='resultset_previous' alt="{tr}Previous page{/tr}"}</a> <small>{tr 0=$pagenum 1=$pages}page: %0/%1{/tr}</small> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$next_page}">{icon _id='resultset_next' alt="{tr}Next page{/tr}"}</a> <a href="tiki-index.php?{if $page_info}page_ref_id={$page_info.page_ref_id}{else}page={$page|escape:"url"}{/if}&pagenum={$last_page}">{icon _id='resultset_last' alt="{tr}Last page{/tr}"}</a> </div> {/if} </div> {* End of main wiki page *} <!-- 1234 --> {if $has_footnote eq 'y'}<div class="wikitext" id="wikifootnote">{$footnote}</div>{/if} {if $wiki_authors_style neq 'none' || $prefs.wiki_feature_copyrights eq 'y'|| $print_page eq 'y'} <p class="editdate"> {* begining editdate *} {/if} {if isset($wiki_authors_style) && $wiki_authors_style eq 'business'} {tr}Last edited by{/tr} {$lastUser|userlink} {section name=author loop=$contributors} {if $smarty.section.author.first}, {tr}based on work by{/tr} {else} {if !$smarty.section.author.last}, {else} {tr}and{/tr} {/if} {/if} {$contributors[author]|userlink} {/section}.<br /> {tr}Page last modified on{/tr} {$lastModif|tiki_long_datetime}. {if $prefs.wiki_show_version eq 'y'}({tr}Version{/tr} {$lastVersion}){/if} {elseif isset($wiki_authors_style) && $wiki_authors_style eq 'collaborative'} {tr}Contributors to this page{/tr}: {$lastUser|userlink} {section name=author loop=$contributors} {if !$smarty.section.author.last}, {else} {tr}and{/tr} {/if} {$contributors[author]|userlink} {/section}.<br /> {tr 0=$lastModif|tiki_long_datetime 1=$lastUser|userlink}Page last modified on %0 by %1{/tr}. {if $prefs.wiki_show_version eq 'y'}({tr}Version{/tr} {$lastVersion}){/if} {elseif isset($wiki_authors_style) && $wiki_authors_style eq 'none'} {elseif isset($wiki_authors_style) && $wiki_authors_style eq 'lastmodif'} {tr}Page last modified on{/tr} {$lastModif|tiki_long_datetime} {else} {tr 0=$creator|userlink}Created by %0{/tr}. {tr 0=$lastModif|tiki_long_datetime 1=$lastUser|userlink}Last Modification: %0 by %1{/tr}. {if $prefs.wiki_show_version eq 'y'}({tr}Version{/tr} {$lastVersion}){/if} {/if} {if $prefs.wiki_feature_copyrights eq 'y' and $prefs.wikiLicensePage} {if $prefs.wikiLicensePage == $page} {if $tiki_p_edit_copyrights eq 'y'} <br /> {tr}To edit the copyright notices{/tr} <a href="copyrights.php?page={$copyrightpage}">{tr}Click Here{/tr}</a>. {/if} {else} <br /> {tr}The content on this page is licensed under the terms of the{/tr} <a href="{$prefs.wikiLicensePage|sefurl:wiki:with_next}copyrightpage={$page|escape:"url"}">{$prefs.wikiLicensePage}</a>. {/if} {/if} {if $print_page eq 'y'} <br /> {tr}The original document is available at{/tr} <a href="{$base_url}{$page|sefurl}">{$base_url}{$page|sefurl}</a> {/if} {if $wiki_authors_style neq 'none' || $prefs.wiki_feature_copyrights eq 'y'|| $print_page eq 'y'} </p> {* end editdate *} {/if} {if $is_categorized eq 'y' and $prefs.feature_categories eq 'y' and $prefs.feature_categoryobjects eq 'y' and $tiki_p_view_categories eq 'y'} {$display_catobjects} {/if} {if $prefs.wiki_topline_position eq 'bottom' or $prefs.wiki_topline_position eq 'both'} {include file=tiki-wiki_topline.tpl} {/if} {if $print_page ne 'y'} {if !$prefs.page_bar_position or $prefs.page_bar_position eq 'bottom' or $prefs.page_bar_position eq 'both'} {include file=tiki-page_bar.tpl} {/if} {/if}