aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-10 18:50:01 -0700
committerzotlabs <mike@macgirvin.com>2017-10-10 18:50:01 -0700
commit09b4660c7d8d15cf2419202116199a725c7c109c (patch)
treedd2de88c0792e4cfecba69cead35c6705512f984
parent69394c1680cc72b5c4b43c8d321a5348ca75be35 (diff)
downloadvolse-hubzilla-09b4660c7d8d15cf2419202116199a725c7c109c.tar.gz
volse-hubzilla-09b4660c7d8d15cf2419202116199a725c7c109c.tar.bz2
volse-hubzilla-09b4660c7d8d15cf2419202116199a725c7c109c.zip
rename view/tpl/nav.tpl to navbar_default.tpl so that all navbar selection code is consistent
-rwxr-xr-xboot.php2
-rw-r--r--doc/member/member_guide.bb2
-rw-r--r--include/nav.php4
-rwxr-xr-xview/tpl/navbar_default.tpl (renamed from view/tpl/nav.tpl)0
4 files changed, 4 insertions, 4 deletions
diff --git a/boot.php b/boot.php
index 3feac5177..367fe7709 100755
--- a/boot.php
+++ b/boot.php
@@ -2090,7 +2090,7 @@ function construct_page() {
$installing = false;
- $navbar = get_config('system','navbar','nav');
+ $navbar = get_config('system','navbar','default');
if(App::$profile_uid) {
$navbar = get_pconfig(App::$profile_uid,'system','navbar',$navbar);
}
diff --git a/doc/member/member_guide.bb b/doc/member/member_guide.bb
index 0794f24d3..4a9262741 100644
--- a/doc/member/member_guide.bb
+++ b/doc/member/member_guide.bb
@@ -640,7 +640,7 @@ The condensed notation isn't part of Comanche itself but is recognised by $Proje
[navbar]tucson[/navbar]
[/code]
-Use the 'tucson' navbar template and CSS rules. By default the 'nav' navbar template will be used.
+Use the 'tucson' navbar template and CSS rules. By default the 'default' navbar template will be used.
[h4]Regions[/h4]
diff --git a/include/nav.php b/include/nav.php
index b5f713145..0d554fc84 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -6,7 +6,7 @@ require_once('include/security.php');
require_once('include/menu.php');
-function nav($template = 'nav') {
+function nav($template = 'default') {
/**
*
@@ -248,7 +248,7 @@ EOT;
}
if(! $tpl) {
- $tpl = get_markup_template('nav.tpl');
+ $tpl = get_markup_template('navbar_default.tpl');
}
App::$page['nav'] .= replace_macros($tpl, array(
diff --git a/view/tpl/nav.tpl b/view/tpl/navbar_default.tpl
index b6faad0c2..b6faad0c2 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/navbar_default.tpl