diff options
| author | spiderr <spiderr@bitweaver.org> | 2025-08-04 12:18:25 -0400 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2025-08-04 12:18:25 -0400 |
| commit | f30999669b5e44acb71be0b2ad58f447c3987ef7 (patch) | |
| tree | 6d21d0348814a6000fc658a7918e98dc33103243 | |
| parent | 77f7026795768608b7830f2c62a9051d92817eeb (diff) | |
| download | wiki-f30999669b5e44acb71be0b2ad58f447c3987ef7.tar.gz wiki-f30999669b5e44acb71be0b2ad58f447c3987ef7.tar.bz2 wiki-f30999669b5e44acb71be0b2ad58f447c3987ef7.zip | |
tweak menu verbiage, list books
| -rw-r--r-- | templates/menu_wiki.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/menu_wiki.tpl b/templates/menu_wiki.tpl index 806d73d..8890614 100644 --- a/templates/menu_wiki.tpl +++ b/templates/menu_wiki.tpl @@ -2,7 +2,7 @@ {if $packageMenuTitle}<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>{/if} <ul class="{$packageMenuClass}"> {if $gBitUser->hasPermission( 'p_wiki_view_page' )} - <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}index.php">{booticon iname="fa-house" iexplain="`$smarty.const.WIKI_PKG_DIR` Home" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}index.php">{booticon iname="fa-house" iexplain="`$smarty.const.WIKI_PKG_DIR|ucwords` Home" ilocation=menu}</a></li> {/if} {if $gBitUser->hasPermission( 'p_wiki_list_pages' )} <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}list_pages.php">{booticon iname="fa-list-ul" iexplain="List Pages" ilocation=menu}</a></li> @@ -10,8 +10,8 @@ {if $gBitUser->hasPermission( 'p_wiki_create_page' )} <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}edit.php">{booticon iname="fa-file" iexplain="Create Page" ilocation=menu}</a></li> {/if} - {if $gBitUser->hasPermission( 'p_wiki_view_page' ) and $gBitSystem->isFeatureActive( 'wiki_books' )} - <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}books.php">{booticon iname="fa-book" iexplain="`$smarty.const.WIKI_PKG_DIR` Books" ilocation=menu}</a></li> + {if $gBitUser->hasPermission( 'p_wiki_list_pages' ) and $gBitSystem->isFeatureActive( 'wiki_books' )} + <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}books.php">{booticon iname="fa-book" iexplain="`$smarty.const.WIKI_PKG_DIR|ucwords` Books" ilocation=menu}</a></li> {/if} {if $gBitSystem->isFeatureActive( 'wiki_books' ) && $gBitUser->hasPermission( 'p_wiki_create_book' )} <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}edit_book.php">{booticon iname="fa-book-open" iexplain="Create Book" ilocation=menu}</a></li> @@ -23,7 +23,7 @@ <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}print_pages.php">{booticon iname="fa-print" iexplain="Print" ilocation=menu}</a></li> {/if} {if $gBitUser->hasPermission( 'p_wiki_list_pages' )} - <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}rankings.php">{booticon iname="fa-list-ul" iexplain="`$smarty.const.WIKI_PKG_DIR` Rankings" ilocation=menu}</a></li> + <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}rankings.php">{booticon iname="fa-list-ul" iexplain="`$smarty.const.WIKI_PKG_DIR|ucwords` Rankings" ilocation=menu}</a></li> {/if} {if $gBitSystem->isPackageActive( 'rss' )} <li><a title="{tr}Wiki Update RSS Feed{/tr}" href="{$smarty.const.RSS_PKG_URL}index.php?pkg=wiki">{booticon iname="fa-rss" ipackage=rss iexplain="Changes Feed" ilocation=menu}</a></li> |
