mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-26 09:44:26 +02:00
#i62 - #i65
gone through every javascript invocation and making sure we adhere to our coding guidelines. git-svn-id: file:///svn/phpbb/trunk@8099 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<dl>
|
||||
<dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
|
||||
<dd>
|
||||
<select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = '{A_DEFAULT_DATEFORMAT}'; } else { document.getElementById('dateformat').value = this.value; }">
|
||||
<select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">
|
||||
{S_DATEFORMAT_OPTIONS}
|
||||
</select>
|
||||
</dd>
|
||||
@@ -106,8 +106,9 @@
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
// <![CDATA[
|
||||
var date_format = '{A_DATE_FORMAT}';
|
||||
var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
|
||||
|
||||
function customDates()
|
||||
{
|
||||
@@ -137,7 +138,7 @@
|
||||
}
|
||||
|
||||
customDates();
|
||||
//-->
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
<!-- INCLUDE ucp_footer.html -->
|
Reference in New Issue
Block a user