I love to learn, feel free to tell me when I misspell something.
Using Xoops 2.0.16, FC4, PHP 5.0.4-10.5, Apache 2.0.54-10.4, mysql-4.1.20-1.FC4.1.
<?php
function multimenu_show($options) {
global $xoopsDB, $xoopsUser, $xoopsModule;
$myts =& MyTextSanitizer::getInstance();
$block = array();
include XOOPS_ROOT_PATH.'/modules/multiMenu/blocks/block.php';
return $block;
}
function multimenu_edit($options) {
include("edit.php");
// Menu concerné
$form.='<tr><td colspan="2">';
$form.= '<input type="hidden" name="options[]" value="'.$options[15].'">';
$form.= '<p align="center">';
$form.= '<a href="'.XOOPS_URL.'/modules/multiMenu/admin/index.php?op=help&Menu=&Help=04" target="_blank">';
$form.= _MB_MULTIMENU_HELP.'</a></p>';
$form.= '</td></tr>';
$form.= '
</tbody>
</tr>
</table>';
return $form;
}
?>
<{if $module.name == "news"}>
<b> News of mysite.com" </b>
<{elseif $module.name == "forum"}>
<b> Support Forums" </b>
<{/if}>