aboutsummaryrefslogtreecommitdiffstats
path: root/mod/webpages.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-03 19:55:26 -0700
committerfriendica <info@friendica.com>2013-09-03 19:55:26 -0700
commitab1c9dc9c9ecc1f382b6c7512b014c11f08b6e5e (patch)
treed6b1b30ab6191156ff0e5150332612a2cf788dbe /mod/webpages.php
parent50d4206e9fa0713655d4737ebdeb404afac4984e (diff)
downloadvolse-hubzilla-ab1c9dc9c9ecc1f382b6c7512b014c11f08b6e5e.tar.gz
volse-hubzilla-ab1c9dc9c9ecc1f382b6c7512b014c11f08b6e5e.tar.bz2
volse-hubzilla-ab1c9dc9c9ecc1f382b6c7512b014c11f08b6e5e.zip
add design tool menu to appropriate pages
Diffstat (limited to 'mod/webpages.php')
-rw-r--r--mod/webpages.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/webpages.php b/mod/webpages.php
index d87bd4a86..04c2e07c5 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -41,6 +41,11 @@ function webpages_content(&$a) {
return;
}
+ if(local_user() && local_user() == $owner) {
+ $a->set_widget('design',design_tools());
+ }
+
+
$mimetype = get_config('system','page_mimetype');
if(! $mimetype)
$mimetype = 'choose';