mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
[ticket/11303] rename attribute to timezone-preselect
PHPBB3-11303
This commit is contained in:
@@ -13,7 +13,7 @@ $(document).ready(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$(document).ready(
|
$(document).ready(
|
||||||
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('data-is-registration') == 'true')
|
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('timezone-preselect') == 'true')
|
||||||
);
|
);
|
||||||
|
|
||||||
})(jQuery); // Avoid conflicts with other libraries
|
})(jQuery); // Avoid conflicts with other libraries
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
<option value="">{L_SELECT_CURRENT_TIME}</option>
|
<option value="">{L_SELECT_CURRENT_TIME}</option>
|
||||||
{S_TZ_DATE_OPTIONS}
|
{S_TZ_DATE_OPTIONS}
|
||||||
</select>
|
</select>
|
||||||
<input type="button" id="tz_select_date_suggest" class="button2" style="display: none;" data-is-registration="<!-- IF S_TZ_PRESELECT -->true<!-- ELSE -->false<!-- ENDIF -->" data-l-suggestion="{L_TIMEZONE_DATE_SUGGESTION}" value="{L_TIMEZONE_DATE_SUGGESTION}" />
|
<input type="button" id="tz_select_date_suggest" class="button2" style="display: none;" timezone-preselect="<!-- IF S_TZ_PRESELECT -->true<!-- ELSE -->false<!-- ENDIF -->" data-l-suggestion="{L_TIMEZONE_DATE_SUGGESTION}" value="{L_TIMEZONE_DATE_SUGGESTION}" />
|
||||||
</dd>
|
</dd>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dd>
|
<dd>
|
||||||
|
@@ -13,7 +13,7 @@ $(document).ready(
|
|||||||
);
|
);
|
||||||
|
|
||||||
$(document).ready(
|
$(document).ready(
|
||||||
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('data-is-registration') == 'true')
|
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('timezone-preselect') == 'true')
|
||||||
);
|
);
|
||||||
|
|
||||||
})(jQuery); // Avoid conflicts with other libraries
|
})(jQuery); // Avoid conflicts with other libraries
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
<option value="">{L_SELECT_CURRENT_TIME}</option>
|
<option value="">{L_SELECT_CURRENT_TIME}</option>
|
||||||
{S_TZ_DATE_OPTIONS}
|
{S_TZ_DATE_OPTIONS}
|
||||||
</select><br />
|
</select><br />
|
||||||
<input type="button" id="tz_select_date_suggest" class="btnlite" style="display: none;" data-is-registration="<!-- IF S_TZ_PRESELECT -->true<!-- ELSE -->false<!-- ENDIF -->" data-l-suggestion="{L_TIMEZONE_DATE_SUGGESTION}" value="{L_TIMEZONE_DATE_SUGGESTION}" />
|
<input type="button" id="tz_select_date_suggest" class="btnlite" style="display: none;" timezone-preselect="<!-- IF S_TZ_PRESELECT -->true<!-- ELSE -->false<!-- ENDIF -->" data-l-suggestion="{L_TIMEZONE_DATE_SUGGESTION}" value="{L_TIMEZONE_DATE_SUGGESTION}" />
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<select name="tz" id="timezone" class="autowidth tz_select">
|
<select name="tz" id="timezone" class="autowidth tz_select">
|
||||||
|
Reference in New Issue
Block a user