@@ 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']; |
@@ 238-242 (lines=5) @@ | ||
235 | $form->addElement(new XoopsFormHidden('email', $member_email), true); |
|
236 | } |
|
237 | $form->addElement(new XoopsFormText(_ADSLIGHT_TOWN, 'town', 50, 50, ''), false); |
|
238 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_use_country']) { |
|
239 | $form->addElement(new XoopsFormText(_ADSLIGHT_COUNTRY, 'country', 50, 50, ''), false); |
|
240 | } else { |
|
241 | $form->addElement(new XoopsFormHidden('country', ''), false); |
|
242 | } |
|
243 | $form->addElement(new XoopsFormText(_ADSLIGHT_TEL, 'tel', 50, 50, ''), false); |
|
244 | ||
245 | $cid = Request::getInt('cid', 0, 'GET'); |