aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-05-31 03:52:54 +0100
committerThomas Willingham <founder@kakste.com>2013-05-31 03:52:54 +0100
commitdc6472e046ee6ac0afc934e8ad1edc1e281a3cb0 (patch)
tree3a6f1e3b0b38f267d46b9dbcc0110196407bc9e7 /boot.php
parent595c2a5e9d1288b1d5a1ee8c98368dc39b25f7de (diff)
downloadvolse-hubzilla-dc6472e046ee6ac0afc934e8ad1edc1e281a3cb0.tar.gz
volse-hubzilla-dc6472e046ee6ac0afc934e8ad1edc1e281a3cb0.tar.bz2
volse-hubzilla-dc6472e046ee6ac0afc934e8ad1edc1e281a3cb0.zip
Add a webpages tab, where we can edit published pages.
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php7
1 files changed, 7 insertions, 0 deletions
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