Skip to content

Commit

Permalink
Configuring the menu
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Aug 18, 2013
1 parent 2848db6 commit 8119516
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion conf/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

$conf['discussionPage'] = 'discussion:@ID@';
$conf['userPage'] = 'user:@USER@:';
$conf['hideTools'] = 0;
$conf['hideTools'] = 1;
$conf['tagline'] = 'This is the tagline - explaining what this site is about.';
$conf['sidebarID'] = 'sidebar';
$conf['menuID'] = 'menu';
1 change: 1 addition & 0 deletions conf/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
$meta['hideTools'] = array('onoff');
$meta['tagline'] = array('string');
$meta['sidebarID'] = array('string');
$meta['menuID'] = array('string');
4 changes: 2 additions & 2 deletions header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
</div>
<div id="top">
<?php
tpl_include_page('menu2');
tpl_include_page(tpl_getConf('menuID'));
?>
</div>
</div>
1 change: 1 addition & 0 deletions lang/de/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
$lang['hideTools'] = 'Tools abschalten, wenn der Benutzer nicht angemeldet ist?';
$lang['tagline'] = 'Tagline (<strong>veraltet</strong>, nuten Sie die Basiseinstellung "tagline" - verfügbar seit Adora Belle)';
$lang['sidebarID'] = 'Seitenname der Sidebar (<strong>veraltet</strong>, nutzen Sie die Basiseinstellung "sidebar" - verfügbar seit Adora Belle)';
$lang['menuID'] = 'Seitenname des Menus';
1 change: 1 addition & 0 deletions lang/en/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
$lang['hideTools'] = 'Hide tools when not logged in?';
$lang['tagline'] = 'Tagline (<strong>deprecated</strong>, use core &quot;tagline&quot; setting since Adora Belle)';
$lang['sidebarID'] = 'page name of page included in sidebar (<strong>deprecated</strong>, use core &quot;sidebar&quot; setting since Adora Belle)';
$lang['menuID'] = 'page to be included as menu';

0 comments on commit 8119516

Please sign in to comment.