made template functions more flexible
* attention: incompatible to previous version! * introduced _tpl_action() (wrapper similar to tpl_action()) * improved discussion and user page functions * made them work independent from config * added full control to how the page links are built (with placeholders @ID@ and @USER@) * config option changes: removed 'discussNSreverse', renamed 'discussionNS' and 'userNS' to 'discussionPage' and 'userPage'
This commit is contained in:
parent
c21fe1fab8
commit
afe47fae3b
5 changed files with 42 additions and 34 deletions
|
|
@ -5,8 +5,7 @@
|
|||
*/
|
||||
|
||||
$lang['tagline'] = 'Tagline';
|
||||
$lang['discussionNS'] = 'Discussion namespace (leave empty to disable discussions)';
|
||||
$lang['discussNSreverse'] = 'Reverse discussion namespace? (e.g. "foo:bar:discussion" instead of "discussion:foo:bar")';
|
||||
$lang['userNS'] = 'User namespace (leave empty to disable user pages)';
|
||||
$lang['discussionPage'] = 'Discussion page (leave empty to disable discussions)';
|
||||
$lang['userPage'] = 'User page (leave empty to disable user pages)';
|
||||
$lang['sidebarID'] = 'page name of page included in sidebar';
|
||||
$lang['hideTools'] = 'Hide tools when not logged in?';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue