<install for="2.0"> <readme parsebbc="true">readme.txt</readme> <modification>modifications.xml</modification> </install> <uninstall for="2.0"> <readme parsebbc="true">readme.txt</readme> <modification reverse="true">modifications.xml</modification> </uninstall>
<install> <readme parsebbc="true">readme.txt</readme> <modification>modifications.xml</modification> </install> <uninstall> <readme parsebbc="true">readme.txt</readme> <modification reverse="true">modifications.xml</modification> </uninstall>
<dd> <select name="bday1" id="bday1" style="padding: 4px;"> <option value="00"', isset($context['member']['birth_date']['month']) && ($context['member']['birth_date']['month'] == '' || $context['member']['birth_date']['month'] == '00') ? ' selected="selected"' : '', '>', $txt['calendar_month'], ' </option>'; foreach ($txt['months_short'] as $key => $month) { echo '<option value="', $key, '"', !empty($context['member']['birth_date']['month']) && $context['member']['birth_date']['month'] == $key ? ' selected="selected"' : '', '>', $month, ' </option>'; } echo '</select> <select name="bday2" id="bday2" style="padding: 4px;"> <option value="00"', isset($context['member']['birth_date']['day']) && ($context['member']['birth_date']['day'] == '' || $context['member']['birth_date']['day'] == '00') ? ' selected="selected"' : '', '>', $txt['calendar_day'], ' </option>'; foreach ($days as $day) { echo '<option value="', $day, '"', !empty($context['member']['birth_date']['day']) && $context['member']['birth_date']['day'] == $day ? ' selected="selected"' : '', '>', $day, ' </option>'; } echo '</select>'; if (!empty($years)) { echo '<select name="bday3" id="bday2" style="padding: 4px;"> <option value="0000"', isset($context['member']['birth_date']['year']) && ($context['member']['birth_date']['year'] == '' || $context['member']['birth_date']['year'] == '0000') ? ' selected="selected"' : '', '>', $txt['calendar_year'], ' </option>'; foreach ($years as $key => $year) { echo '<option value="', $year, '"', !empty($context['member']['birth_date']['year']) && $context['member']['birth_date']['year'] == $year ? ' selected="selected"' : '', '', !empty($modSettings['coppaAge']) && $modSettings['coppaAge'] >= $year && $modSettings['coppaType'] == 0 ? ' disabled="disabled"' : '', '>', $year, ' </option>'; } echo '</select>'; } else { echo '<input type="text" name="bday3" size="4" maxlength="4" value"', $context['member']['birth_date']['year'], '" class="input_text" />'; } echo '</dd>';
<dd> <select name="bday2" id="bday2" style="padding: 4px;"> <option value="00"', isset($context['member']['birth_date']['day']) && ($context['member']['birth_date']['day'] == '' || $context['member']['birth_date']['day'] == '00') ? ' selected="selected"' : '', '>', $txt['calendar_day'], ' </option>'; foreach ($days as $day) { echo '<option value="', $day, '"', !empty($context['member']['birth_date']['day']) && $context['member']['birth_date']['day'] == $day ? ' selected="selected"' : '', '>', $day, ' </option>'; } echo '</select> <select name="bday1" id="bday1" style="padding: 4px;"> <option value="00"', isset($context['member']['birth_date']['month']) && ($context['member']['birth_date']['month'] == '' || $context['member']['birth_date']['month'] == '00') ? ' selected="selected"' : '', '>', $txt['calendar_month'], ' </option>'; foreach ($txt['months_short'] as $key => $month) { echo '<option value="', $key, '"', !empty($context['member']['birth_date']['month']) && $context['member']['birth_date']['month'] == $key ? ' selected="selected"' : '', '>', $month, ' </option>'; } echo '</select>'; if (!empty($years)) { echo '<select name="bday3" id="bday2" style="padding: 4px;"> <option value="0000"', isset($context['member']['birth_date']['year']) && ($context['member']['birth_date']['year'] == '' || $context['member']['birth_date']['year'] == '0000') ? ' selected="selected"' : '', '>', $txt['calendar_year'], ' </option>'; foreach ($years as $key => $year) { echo '<option value="', $year, '"', !empty($context['member']['birth_date']['year']) && $context['member']['birth_date']['year'] == $year ? ' selected="selected"' : '', '', !empty($modSettings['coppaAge']) && $modSettings['coppaAge'] >= $year && $modSettings['coppaType'] == 0 ? ' disabled="disabled"' : '', '>', $year, ' </option>'; } echo '</select>'; } else { echo '<input type="text" name="bday3" size="4" maxlength="4" value"', $context['member']['birth_date']['year'], '" class="input_text" />'; } echo '</dd>';