Changeset 1828 for branches/release-34/lib/MT/App/CMS.pm
- Timestamp:
- 04/10/08 02:18:49 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-34/lib/MT/App/CMS.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-34/lib/MT/App/CMS.pm
r1786 r1828 664 664 code => "${pkg}Template::clone_templates", 665 665 permission => 'edit_templates', 666 condition => sub { 667 my $app = MT->app; 668 my $tmpl_type = $app->param('filter_key'); 669 return $tmpl_type eq 'system_templates' ? 0 670 : $tmpl_type eq 'email_templates' ? 0 671 : 1; 672 }, 666 673 order => 400, 667 674 },
