From dc6472e046ee6ac0afc934e8ad1edc1e281a3cb0 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 31 May 2013 03:52:54 +0100 Subject: Add a webpages tab, where we can edit published pages. --- boot.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 15e442d65..92e62d3ba 100755 --- a/boot.php +++ b/boot.php @@ -2034,6 +2034,13 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ 'title' => t('Events and Calendar'), 'id' => 'events-tab', ); + $tabs[] = array( + 'label' => t('Wepages'), + 'url' => $a->get_baseurl() . '/webpages', + 'sel' => ((argv(0) == 'webpages') ? 'active' : ''), + 'title' => t('Manage Webpages'), + 'id' => 'webpages-tab', + ); } else { // FIXME -- cgit v1.2.3 From 3f2829a062c9a6bedf7ebdc59db15e064b5a7446 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 10 Jul 2013 19:36:53 +0100 Subject: Minimum value webpages --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index a98cfdaf0..b7db7d999 100755 --- a/boot.php +++ b/boot.php @@ -2060,7 +2060,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ ); $tabs[] = array( 'label' => t('Wepages'), - 'url' => $a->get_baseurl() . '/webpages', + 'url' => $a->get_baseurl() . '/webpages' . $nickname, 'sel' => ((argv(0) == 'webpages') ? 'active' : ''), 'title' => t('Manage Webpages'), 'id' => 'webpages-tab', -- cgit v1.2.3 From 6b85e063e84359bf15140f59b24299eae459f09b Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 10 Jul 2013 19:46:06 +0100 Subject: Let's use the right files, plus a typo --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index b7db7d999..deeb87435 100755 --- a/boot.php +++ b/boot.php @@ -2060,7 +2060,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ ); $tabs[] = array( 'label' => t('Wepages'), - 'url' => $a->get_baseurl() . '/webpages' . $nickname, + 'url' => $a->get_baseurl() . '/webpage/' . $nickname, 'sel' => ((argv(0) == 'webpages') ? 'active' : ''), 'title' => t('Manage Webpages'), 'id' => 'webpages-tab', -- cgit v1.2.3 From 40a444f01b2d3e7cc9b9c8822a2e36c47e6a25f6 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 10 Jul 2013 19:53:11 +0100 Subject: One of those days... --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index deeb87435..8e6852f7a 100755 --- a/boot.php +++ b/boot.php @@ -2060,7 +2060,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ ); $tabs[] = array( 'label' => t('Wepages'), - 'url' => $a->get_baseurl() . '/webpage/' . $nickname, + 'url' => $a->get_baseurl() . '/webpages/' . $nickname, 'sel' => ((argv(0) == 'webpages') ? 'active' : ''), 'title' => t('Manage Webpages'), 'id' => 'webpages-tab', -- cgit v1.2.3