aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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;
+
+}
+