aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.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 /include/text.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 'include/text.php')
-rwxr-xr-xinclude/text.php18
1 files changed, 17 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 004efc08d..ac82e4429 100755
--- a/include/text.php
+++ b/include/text.php
@@ -1826,4 +1826,20 @@ function json_decode_plus($s) {
$x = json_decode(str_replace(array('\\"','\\\\'),array('"','\\'),$s),true);
return $x;
-} \ No newline at end of file
+}
+
+
+function design_tools() {
+// FIXME - this should be a template
+
+ $o = '<div class="widget design-tools">';
+ $o .= '<h3>' . t('Design') . '</h3>';
+ $o .= '<a href="blocks">' . t('Blocks') . '</a>' . EOL;
+ $o .= '<a href="menu">' . t('Menus') . '</a>' . EOL;
+ $o .= '<a href="layout">' . t('Layouts') . '</a>' . EOL;
+ $o .= '<a href="webpages">' . t('Pages') . '</a>' . EOL;
+ $o .= '</div>';
+ return $o;
+
+}
+