| Re: Q about Xmail ? |
| by Anonymous on 2006/3/4 16:07:56 code or crap?
|
| Re: Q about Xmail ? |
| by cman123 on 2006/3/4 15:29:06 I mean the code in the index.php like that: ------------------------------------------ // selecionar usu嫫io $userstart = isset($HTTP_GET_VARS['userstart']) ? intval($HTTP_GET_VARS['userstart']) : 0; $member_handler =& xoops_gethandler('member'); $usercount = $member_handler->getUserCount(); $nav = new XoopsPageNav($usercount, 200, $userstart, "userstart", "op=form"); $user_select = new XoopsFormSelect('', "user_id",null,5,true); $criteria = new CriteriaCompo(); $criteria->setSort('uname'); $criteria->setOrder('ASC'); $criteria->setLimit(200); $criteria->setStart($userstart); $user_select->addOption('0',"--------"); $user_select->addOptionArray($member_handler->getUserList($criteria)); $user_select_tray = new XoopsFormElementTray(_MD_XMAIL_SELUSER , "<br />"); $user_select_tray->addElement($user_select); $user_select_nav = new XoopsFormLabel('', $nav->renderNav(4)); $user_select_tray->addElement($user_select_nav); $sform->addElement($user_select_tray); ------------------------------------------ if I want the 'realname' show in the table(not 'uname'), which line should be changed? |
| Q about Xmail ? |
| by cman123 on 2006/3/2 2:09:46 how to use "name" instead of "uname" at the option "Select the user, if you want" in the index.php?op=form ? |