ADD_MENU('member', getModeAction('member', getWhat()), getWhat());
} // END - if
+// Disable block-mode again
+enableBlockMode(false);
+
// Menu -> content
OUTPUT_HTML(" </td>
<td valign=\"top\" align=\"center\" rowspan=\"3\" class=\"member_content\">");
LOAD_TEMPLATE($mode . '_menu_title', false, $content);
// Sub menu
- $result_sub = SQL_QUERY_ESC("SELECT title AS sub_title, what AS sub_what FROM `{!_MYSQL_PREFIX!}_%s_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ".$AND." ORDER BY `sort`",
- array($mode, $content['action']), __FUNCTION__, __LINE__);
+ $result_sub = SQL_QUERY_ESC("SELECT `title` AS sub_title, `what` AS sub_what FROM `{!_MYSQL_PREFIX!}_%s_menu` WHERE `action`='%s' AND `what` != '' AND `what` IS NOT NULL ".$AND." ORDER BY `sort`",
+ array($mode, $content['action']), __FUNCTION__, __LINE__);
// Get number of rows
$ctl = SQL_NUMROWS($result_sub);
} else {
// This is a menu block... ;-)
enableBlockMode();
+
+ // Load menu block
$INC_BLOCK = sprintf("inc/modules/%s/action-%s.php", $mode, $content['action']);
if (isFileReadable($INC_BLOCK)) {
// Load include file