<p class="success">{lang}wcf.global.form.add.success{/lang}</p>
{/if}
-<div class="contentNavigation">
- <nav>
- <ul>
- <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/list.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
- </ul>
- </nav>
-</div>
+{hascontent}
+ <div class="contentNavigation">
+ <nav>
+ <ul>
+ {content}
+ {if $__wcf->session->getPermission('admin.language.canDeleteLanguage') || $__wcf->session->getPermission('admin.language.canEditLanguage')}
+ <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/list.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtons'}
+ {/content}
+ </ul>
+ </nav>
+ </div>
+{/hascontent}
<form enctype="multipart/form-data" method="post" action="{link controller='LanguageAdd'}{/link}">
<div class="container containerPadding marginTop shadow">
<p class="success">{lang}wcf.acp.language.add.success{/lang}</p>
{/if}
-<div class="contentNavigation">
- <nav>
- <ul>
- <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/list.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
- </ul>
- </nav>
-</div>
+{hascontent}
+ <div class="contentNavigation">
+ <nav>
+ <ul>
+ {content}
+ {if $__wcf->session->getPermission('admin.language.canDeleteLanguage') || $__wcf->session->getPermission('admin.language.canEditLanguage')}
+ <li><a href="{link controller='LanguageList'}{/link}" title="{lang}wcf.acp.menu.link.language.list{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/list.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.language.list{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtons'}
+ {/content}
+ </ul>
+ </nav>
+ </div>
+{/hascontent}
<form enctype="multipart/form-data" method="post" action="{link controller='LanguageExport' id=$languageID}{/link}">
<div class="container containerPadding marginTop shadow">
<div class="contentNavigation">
{pages print=true assign=pagesLinks controller='LanguageList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
- {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
+ {hascontent}
<nav>
<ul>
- <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
-
- {event name='largeButtons'}
+ {content}
+ {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
+ <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtonsTop'}
+ {/content}
</ul>
</nav>
- {/if}
+ {/hascontent}
</div>
{if $objects|count}
<div class="contentNavigation">
{@$pagesLinks}
- {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
+ {hascontent}
<nav>
<ul>
- <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
-
- {event name='largeButtons'}
+ {content}
+ {if $__wcf->getSession()->getPermission('admin.language.canAddLanguage')}
+ <li><a href="{link controller='LanguageAdd'}{/link}" title="{lang}wcf.acp.language.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.language.add{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtonsBottom'}
+ {/content}
</ul>
</nav>
- {/if}
+ {/hascontent}
</div>
{/if}
<p class="success">{lang}wcf.acp.languageServer.{$action}.success{/lang}</p>
{/if}
-<div class="contentNavigation">
- <nav>
- <ul>
- <li><a href="{link controller='LanguageServerList'}{/link}" title="{lang}wcf.acp.menu.link.package.server.view{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/list.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.package.server.view{/lang}</span></a></li>
- </ul>
- </nav>
-</div>
+{hascontent}
+ <div class="contentNavigation">
+ <nav>
+ <ul>
+ {content}
+ {if $__wcf->session->getPermission('admin.language.canDeleteServer') || $__wcf->session->getPermission('admin.language.canEditServer')}
+ <li><a href="{link controller='LanguageServerList'}{/link}" title="{lang}wcf.acp.menu.link.language.server.list{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/list.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.menu.link.language.server.list{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtons'}
+ {/content}
+ </ul>
+ </nav>
+ </div>
+{/hascontent}
<form method="post" action="{if $action == 'add'}{link controller='LanguageServerAdd'}{/link}{else}{link controller='LanguageServerEdit' id=$languageServerID}{/link}{/if}">
<div class="container containerPadding marginTop shadow">
<div class="contentNavigation">
{pages print=true assign=pagesLinks controller='LanguageServerList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}
- {if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
+ {hascontent}
<nav>
<ul>
- <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
-
- {event name='largeButtons'}
+ {content}
+ {if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
+ <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtonsTop'}
+ {/content}
</ul>
</nav>
- {/if}
+ {/hascontent}
</div>
{if !$languageServers|count}
<div class="contentNavigation">
{@$pagesLinks}
- {if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
+ {hascontent}
<nav>
<ul>
- <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon16" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
-
- {event name='largeButtons'}
+ {content}
+ {if $__wcf->getSession()->getPermission('admin.language.canAddServer')}
+ <li><a href="{link controller='LanguageServerAdd'}{/link}" title="{lang}wcf.acp.languageServer.add{/lang}" class="button"><img src="{@$__wcf->getPath()}icon/add.svg" alt="" class="icon24" /> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
+ {/if}
+
+ {event name='contentNavigationButtonsBottom'}
+ {/content}
</ul>
</nav>
- {/if}
+ {/hascontent}
</div>
{/if}