function b_system_user_show()
{
global $xoopsUser;
if (is_object($xoopsUser)) {
$pm_handler =& xoops_gethandler('privmessage');
$block = array();
$block['lang_youraccount'] = _MB_SYSTEM_VACNT;
$block['lang_editaccount'] = _MB_SYSTEM_EACNT;
$block['lang_notifications'] = _MB_SYSTEM_NOTIF;
$block['uid'] = $xoopsUser->getVar('uid');
$block['lang_logout'] = _MB_SYSTEM_LOUT;
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $xoopsUser->getVar('uid')));
$block['new_messages'] = $pm_handler->getCount($criteria);
$block['lang_inbox'] = _MB_SYSTEM_INBOX;
$block['lang_adminmenu'] = _MB_SYSTEM_ADMENU;
return $block;
}
return false;
}
// this block is deprecated
------------------------------------------------------
after what to add that line:
$block['content'] = "<strong><big>·</big></strong> <a href='".XOOPS_URL."/modules/anni/'>Anniversaire</a><br />";
.??????
i`ve added after $block['lang_youraccount'] = _MB_SYSTEM_VACNT;
and is not showing anniversaire from user menu.......
after what to add it ?!
i cannot find in system blocks php that line:
$block['content'] = "<strong><big>·</big></strong> <a href='".XOOPS_URL."/user.php'>"._MB_SYSTEM_VACNT."</a><br />";
??????????????