Changeset 1960 for branches/release-35/lib/MT/CMS/Search.pm
- Timestamp:
- 04/18/08 00:02:45 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-35/lib/MT/CMS/Search.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-35/lib/MT/CMS/Search.pm
r1866 r1960 19 19 or return $app->error( $app->translate("No permissions") ); 20 20 } 21 return{21 my $types = { 22 22 'entry' => { 23 23 'order' => 100, … … 255 255 } 256 256 }; 257 257 return $types; 258 258 } 259 259 … … 293 293 qw( search replace do_replace case is_regex is_limited _type is_junk is_dateranged replace_ids datefrom_year datefrom_month datefrom_day dateto_year dateto_month dateto_day from to show_all do_search orig_search quicksearch ); 294 294 295 296 295 if ( !$type || ( 'category' eq $type ) || ( 'folder' eq $type ) ) { 297 296 $type = 'entry'; 298 297 } 299 298 if ( ( 'user' eq $type ) ) { 299 $type = 'author'; 300 } 301 300 302 foreach my $obj_type (qw( role association )) { 301 303 if ( $type eq $obj_type ) {
