Changeset 2774
- Timestamp:
- 07/14/08 22:46:29 (2 months ago)
- Files:
-
- branches/release-41/lib/MT/CMS/User.pm (modified) (2 diffs)
- branches/release-41/tmpl/cms/list_author.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-41/lib/MT/CMS/User.pm
r2765 r2774 3 3 use strict; 4 4 5 use MT::Util qw( format_ts relative_date is_url encode_url );5 use MT::Util qw( format_ts relative_date is_url encode_url encode_html ); 6 6 use MT::Author; 7 7 … … 295 295 my $status = $app->param('saved_status'); 296 296 $param{"saved_status_$status"} = 1 if $status; 297 $param{unchanged} = $app->param('unchanged');297 $param{unchanged} = encode_html( $app->param('unchanged') ); 298 298 $app->load_list_actions( 'author', \%param ); 299 299 $param{page_actions} = branches/release-41/tmpl/cms/list_author.tmpl
r1559 r2774 37 37 id="unchanged" 38 38 class="success"> 39 <__trans phrase="Some ([_1]) of the selected user(s) could not be re-enabled because they were no longer found in the external directory." params="<mt:var name="unchanged">" >39 <__trans phrase="Some ([_1]) of the selected user(s) could not be re-enabled because they were no longer found in the external directory." params="<mt:var name="unchanged">" escape="html"> 40 40 </mtapp:statusmsg> 41 41 </mt:if> … … 131 131 tableSelect = new TC.TableSelect( "author-listing-table" ); 132 132 tableSelect.rowSelect = true; 133 setFilterCol(<mt:if name="filter">'<mt:var name="filter" >'<mt:else>'none'</mt:if>);<mt:if name="filter">134 setFilterVal('<mt:var name="filter_val" >');133 setFilterCol(<mt:if name="filter">'<mt:var name="filter" escape="js">'<mt:else>'none'</mt:if>);<mt:if name="filter"> 134 setFilterVal('<mt:var name="filter_val" escape="js">'); 135 135 </mt:if> 136 136 }
