| @@ 226-230 (lines=5) @@ | ||
| 223 | $form->addElement(new XoopsFormHidden('email', $member_email), true); |
|
| 224 | } |
|
| 225 | $form->addElement(new XoopsFormText(_ADSLIGHT_TOWN, 'town', 50, 50, ''), false); |
|
| 226 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_use_country']) { |
|
| 227 | $form->addElement(new XoopsFormText(_ADSLIGHT_COUNTRY, 'country', 50, 50, ''), false); |
|
| 228 | } else { |
|
| 229 | $form->addElement(new XoopsFormHidden('country', ''), false); |
|
| 230 | } |
|
| 231 | $form->addElement(new XoopsFormText(_ADSLIGHT_TEL, 'tel', 50, 50, ''), false); |
|
| 232 | ||
| 233 | // $cat_id = $_GET['cid']; |
|
| @@ 234-238 (lines=5) @@ | ||
| 231 | $form->addElement(new XoopsFormHidden('email', $member_email), true); |
|
| 232 | } |
|
| 233 | $form->addElement(new XoopsFormText(_ADSLIGHT_TOWN, 'town', 50, 50, ''), false); |
|
| 234 | if ($GLOBALS['xoopsModuleConfig']['adslight_use_country'] == '1') { |
|
| 235 | $form->addElement(new XoopsFormText(_ADSLIGHT_COUNTRY, 'country', 50, 50, ''), false); |
|
| 236 | } else { |
|
| 237 | $form->addElement(new XoopsFormHidden('country', ''), false); |
|
| 238 | } |
|
| 239 | $form->addElement(new XoopsFormText(_ADSLIGHT_TEL, 'tel', 50, 50, ''), false); |
|
| 240 | ||
| 241 | $cat_id = Request::getInt('cid', 0, 'GET'); |
|