* Rewrote global getTimeZones() method

* Rewrite client-side code for reformatting the time zone <select> element according to changes in global getTimeZones() method
 * Replaced “return false” with call for event.preventDefault() in client-side event-driven code
 * Rewrote global getDateFormats() and formatDate() methods – caution! getDateFormats() will be removed in the next commit because the dropdown menus in site preferences are obsolete; just committing the code for the record
This commit is contained in:
Tobi Schäfer 2011-05-16 16:35:41 +00:00
parent e5d037cded
commit 84fd98200e
3 changed files with 181 additions and 72 deletions

View file

@ -208,14 +208,10 @@ referrers.push(new Antville.Referrer("<% param.referrer %>",
<td><% site.select timeZone %></td>
</tr>
<tr>
<td class="small"><% gettext "Long Date Format" suffix=: %></td>
<td class="small"><% gettext "Date Format" suffix=: %></td>
<td><% site.select longDateFormat %></td>
</tr>
<tr>
<td class="small"><% gettext "Short Date Format" suffix=: %></td>
<td><% site.select shortDateFormat %></td>
</tr>
<tr>
<td class="small"><% gettext Notifications suffix=: %></td>
<td><% site.select notificationMode %></td>
</td>