Webmastersite.net
Register Log In

some extensions to template register

Title some extensions to template register
Message Text Hi,

if you are using some own styles, templates or languages for internal use only and you have deselected the switches, following extension in register.tpl will honorate the switches for new users (and they can not select your internal workings environment):

...
<IF not {SWITCH_QUICKREGISTRATION}>
<IF {SWITCH_STYLESELECT}>
<tr>
<td class="labelscolumn"><span class="labels">{LANG_REGISTRATION_STYLE}:</span></td>
<td class="optionscolumn"><select name="stylesheet">{STYLEOPTIONS}</select></td>
</tr>
</IF>
<IF {SWITCH_TEMPLATESELECT}>
<tr>
<td class="labelscolumn"><span class="labels">{LANG_REGISTRATION_TEMPLATESET}:</span></td>
<td class="optionscolumn"><select name="thetemplate">{TEMPLATEOPTIONS}</select></td>
</tr>
</IF>
<IF {SWITCH_LANGUAGESELECTOR}>
<tr>
<td class="labelscolumn"><span class="labels">{LANG_REGISTRATION_LANGUAGE}:</span></td>
<td class="optionscolumn"><select name="thelanguage">{LANGUAGEOPTIONS}</select></td>
</tr>
</IF>
...

I Hope it is a needed extension suggestion.

Regards,
Frank
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership frankbeckers
Views 421 views. Averaging 0 views per day.
Similar Topics
Submission Date Jan 10, 2008 - 12:09 PM