|
Revision 1309, 0.9 kB
(checked in by ddavis, 23 months ago)
|
|
standarize js comment tag escape. BugzID:58265
|
| Line | |
|---|
| 1 | <mt:IfArchiveTypeEnabled archive_type="Monthly"> |
|---|
| 2 | <mt:ArchiveList archive_type="Monthly"> |
|---|
| 3 | <mt:ArchiveListHeader> |
|---|
| 4 | <div class="widget-archive-monthly-dropdown widget-archive widget"> |
|---|
| 5 | <h3 class="widget-header"><a href="<$mt:BlogURL$>archives.html"><__trans phrase="Archives"></a></h3> |
|---|
| 6 | <div class="widget-content"> |
|---|
| 7 | <select onchange="nav(this)"> |
|---|
| 8 | <option><__trans phrase="Select a Month..."></option> |
|---|
| 9 | </mt:ArchiveListHeader> |
|---|
| 10 | <option value="<$mt:ArchiveLink$>"><$mt:ArchiveTitle$></option> |
|---|
| 11 | <mt:ArchiveListFooter> |
|---|
| 12 | </select> |
|---|
| 13 | </div> |
|---|
| 14 | </div> |
|---|
| 15 | <script type="text/javascript" charset="utf-8"> |
|---|
| 16 | /* <![CDATA[ */ |
|---|
| 17 | function nav(sel) { |
|---|
| 18 | if (sel.selectedIndex == -1) return; |
|---|
| 19 | var opt = sel.options[sel.selectedIndex]; |
|---|
| 20 | if (opt && opt.value) |
|---|
| 21 | location.href = opt.value; |
|---|
| 22 | } |
|---|
| 23 | /* ]]> */ |
|---|
| 24 | </script> |
|---|
| 25 | </mt:ArchiveListFooter> |
|---|
| 26 | </mt:ArchiveList> |
|---|
| 27 | </mt:IfArchiveTypeEnabled> |
|---|