{strip} {if $gBitUser->hasPermission( 'p_users_view_icons_and_tools')}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo} {if $gBitSystem->isFeatureActive( 'wiki_like_pages' )} {booticon iname="fa-layer-group" iexplain="Similar Pages"} {/if} {if $gContent->isLocked()} {if $gContent->hasAdminPermission() or ($gContent->isOwner() and $gContent->hasUserPermission( 'p_wiki_lock_page' ) and $gBitSystem->isFeatureActive( 'wiki_usrlock' ))} {booticon iname="fa-lock" iexplain="Unlock this page"} {else} {booticon iname="fa-lock" iexplain="Locked"} {/if} {else} {assign var=format_guid value=$gContent->mInfo.format_guid} {if $gLibertySystem->mPlugins.$format_guid.is_active eq 'y' or $gContent->hasAdminPermission()} {if $gContent->hasUpdatePermission()} {if $gContent->hasAdminPermission() or ($gContent->isOwner() and $gContent->hasUserPermission( 'p_wiki_lock_page' ) and $gBitSystem->isFeatureActive( 'wiki_usrlock' ))} {booticon iname="fa-unlock" iexplain="Lock this page"} {/if} {booticon iname="fa-pen-to-square" iexplain="Edit"} {/if} {/if} {if $gBitSystem->isFeatureActive( 'wiki_undo' ) and $gContent->hasUserPermission('p_wiki_rollback')} {booticon ipackage=icons iname="fa-undo" iexplain="Undo last edit"} {/if} {if $gBitSystem->isFeatureActive( 'wiki_history' ) and $gContent->hasUserPermission('p_wiki_view_history')} {booticon iname="fa-clock" iexplain=History} {/if} {/if} {if !empty($structureInfo.structure_id) && ($gStructure->mInfo.creator_user_id == $gBitUser->mUserId || $gContent->hasUserPermission( 'p_wiki_admin_book' ))} {booticon iname="fa-gears" iexplain="Edit book"} {elseif is_a($gContent,'BitBook') && $gContent->hasUpdatePermission()} {booticon iname="fa-gears" iexplain="Edit book"} {/if} {if $gBitUser->isRegistered() and $gBitUser->mUserId && $gBitSystem->isFeatureActive( 'users_watches' ) } {if $user_watching_page eq 'y'} {booticon iname="fa-eye-slash" iexplain="Stop monitoring"} {else} {booticon iname="fa-eye" iexplain="Monitor"} {/if} {/if} {if $gBitSystem->isFeatureActive( 'users_watches' ) and $gContent->hasUserPermission('p_users_admin')} {booticon iname="fa-user" iexplain="Watches"} {/if} {* seem to be broken {if $gBitUser->hasPermission( 'p_wiki_admin' )}
  • {booticon iname="fa-arrow-up" iexplain="Export"}
  • {/if} *} {if $gBitSystem->isFeatureActive( 'wiki_uses_slides' )} {if $show_slideshow eq 'y'} {booticon iname="fa-video" iexplain="Slideshow"} {elseif $structure eq 'y'} {booticon iname="fa-video" iexplain="Slideshow"} {/if} {/if} {if $gContent->mInfo.title ne 'SandBox' && !$gContent->isLocked()} {if $gContent->isOwner() || $gContent->hasUserPermission( 'p_wiki_remove_page' )} {booticon iname="fa-trash" iexplain="Delete"} {/if} {/if} {if $gBitSystem->isFeatureActive( 'wiki_backlinks' ) and $backlinks}
    {/if} {if !empty($showstructs) && count($showstructs) gt 0} {/if}
    {/if} {/strip}