@@ 213-218 (lines=6) @@ | ||
210 | } |
|
211 | } |
|
212 | ||
213 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_diff_name']) { |
|
214 | $form->addElement(new XoopsFormText(_ADSLIGHT_SUBMITTER, 'submitter', 50, 50, $member_uname), true); |
|
215 | } else { |
|
216 | $form->addElement(new XoopsFormLabel(_ADSLIGHT_SUBMITTER, $member_uname)); |
|
217 | $form->addElement(new XoopsFormHidden('submitter', $member_uname), true); |
|
218 | } |
|
219 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_diff_email']) { |
|
220 | $form->addElement(new XoopsFormText(_ADSLIGHT_EMAIL, 'email', 50, 50, $member_email), true); |
|
221 | } else { |
|
@@ 219-224 (lines=6) @@ | ||
216 | $form->addElement(new XoopsFormLabel(_ADSLIGHT_SUBMITTER, $member_uname)); |
|
217 | $form->addElement(new XoopsFormHidden('submitter', $member_uname), true); |
|
218 | } |
|
219 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_diff_email']) { |
|
220 | $form->addElement(new XoopsFormText(_ADSLIGHT_EMAIL, 'email', 50, 50, $member_email), true); |
|
221 | } else { |
|
222 | $form->addElement(new XoopsFormLabel(_ADSLIGHT_EMAIL, $member_email)); |
|
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); |
@@ 225-230 (lines=6) @@ | ||
222 | } |
|
223 | } |
|
224 | */ |
|
225 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_diff_name']) { |
|
226 | $form->addElement(new XoopsFormText(_ADSLIGHT_SUBMITTER, 'submitter', 50, 50, $member_uname), true); |
|
227 | } else { |
|
228 | $form->addElement(new XoopsFormLabel(_ADSLIGHT_SUBMITTER, $member_uname)); |
|
229 | $form->addElement(new XoopsFormHidden('submitter', $member_uname), true); |
|
230 | } |
|
231 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_diff_email']) { |
|
232 | $form->addElement(new XoopsFormText(_ADSLIGHT_EMAIL, 'email', 50, 50, $member_email), true); |
|
233 | } else { |
|
@@ 231-236 (lines=6) @@ | ||
228 | $form->addElement(new XoopsFormLabel(_ADSLIGHT_SUBMITTER, $member_uname)); |
|
229 | $form->addElement(new XoopsFormHidden('submitter', $member_uname), true); |
|
230 | } |
|
231 | if ('1' == $GLOBALS['xoopsModuleConfig']['adslight_diff_email']) { |
|
232 | $form->addElement(new XoopsFormText(_ADSLIGHT_EMAIL, 'email', 50, 50, $member_email), true); |
|
233 | } else { |
|
234 | $form->addElement(new XoopsFormLabel(_ADSLIGHT_EMAIL, $member_email)); |
|
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); |