add design tool menu to appropriate pages
This commit is contained in:
+17
-1
@@ -1826,4 +1826,20 @@ function json_decode_plus($s) {
|
||||
$x = json_decode(str_replace(array('\\"','\\\\'),array('"','\\'),$s),true);
|
||||
return $x;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user