Changeset 1339 for branches/release-29/tmpl/cms/list_comment.tmpl
- Timestamp:
- 01/25/08 02:37:54 (22 months ago)
- Files:
-
- 1 modified
-
branches/release-29/tmpl/cms/list_comment.tmpl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-29/tmpl/cms/list_comment.tmpl
r1309 r1339 113 113 var fld = getByID('filter-col'); 114 114 if (fld) { 115 if (choice == ' newentry')115 if (choice == 'status') 116 116 fld.selectedIndex = 0; 117 else if (choice == 'oldentry')118 fld.selectedIndex = 1;119 else if (choice == 'status')120 fld.selectedIndex = 2;121 else if (choice == 'commenter')122 fld.selectedIndex = 3;123 117 col_span = getByID("filter-text-col"); 124 118 if (fld.selectedIndex > -1 && col_span) … … 179 173 <__trans phrase="[_1] on entries created more than [_2] days ago" params="<$mt:var name="object_label_plural"$>%%<mt:var name="filter_val">"> 180 174 <mt:else> 181 <__trans phrase="[_1] where [_2] [_3]" params='<$mt:var name="object_label_plural"$>%%<span id="filter-text-col"> </span>%%<span id="filter-text-val"></span>'>175 <__trans phrase="[_1] where [_2] is [_3]" params='<$mt:var name="object_label_plural"$>%%<span id="filter-text-col"> </span>%%<span id="filter-text-val"></span>'> 182 176 </mt:if> 183 177 </mt:if> … … 185 179 <a href="<mt:var name="script_url">?__mode=<mt:var name="mode"><mt:if name="blog_id">&blog_id=<mt:var name="blog_id"></mt:if><mt:if name="is_power_edit">&is_power_edit=1</mt:if>">[ <__trans phrase="Remove filter"> ]</a> 186 180 </mt:if> 181 <div id="filter-select" class="page-title" style="display: none"> 182 <!-- start filter form --> 183 <select id="filter-col" name="filter" onchange="setFilterCol(this.options[this.selectedIndex].value);enableFilterButton(this)"> 184 <option value="status"><__trans phrase="status"></option> 185 </select> 186 <__trans phrase="is"> 187 <span id="filter-status" style="display: none"> 188 <select id="status-val" name="filter_val" onchange="enableFilterButton()"> 189 <option value="approved"><__trans phrase="approved"></option> 190 <option value="pending"><__trans phrase="pending"></option> 191 <option value="junk"><__trans phrase="spam"></option> 192 </select> 193 </span> 194 </div> 187 195 </mt:unless> 188 196 </div>
