aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-11 20:44:43 -0800
committerfriendica <info@friendica.com>2014-11-11 20:44:43 -0800
commit4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a (patch)
tree1f686a039ba61701513aef5b59b03edeb317b97d /include/text.php
parentb5af6679857eeafcb360d7dec69acf11af034c1d (diff)
downloadvolse-hubzilla-4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a.tar.gz
volse-hubzilla-4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a.tar.bz2
volse-hubzilla-4b9ec6645b79f4da1ad5e7dd20a04ca6ca4a3e4a.zip
cleanup
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 686dee4a2..d816fdb0a 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2023,10 +2023,12 @@ function json_decode_plus($s) {
function design_tools() {
$channel = get_app()->get_channel();
+ $sys = false;
if(get_app()->is_sys && is_site_admin()) {
require_once('include/identity.php');
$channel = get_sys_channel();
+ $sys = true;
}
$who = $channel['channel_address'];
@@ -2034,6 +2036,7 @@ function design_tools() {
return replace_macros(get_markup_template('design_tools.tpl'), array(
'$title' => t('Design'),
'$who' => $who,
+ '$sys' => $sys,
'$blocks' => t('Blocks'),
'$menus' => t('Menus'),
'$layout' => t('Layouts'),