Changeset 943
- Timestamp:
- 12/19/06 00:01:19 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/App/CMS.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/App/CMS.pm
r939 r943 992 992 edit_field => $app->param('edit_field') || '', 993 993 dialog_view => $app->param('dialog_view') ? 1 : 0, 994 is_image => $app->param('filter_val') eq 'image' ? 1 : 0, 994 995 ) : ()), 995 996 class_loop => \@class_loop, … … 5493 5494 sub asset_insert { 5494 5495 my $app = shift; 5495 5496 # Just insert text if there are arguments, unless one is5497 # 'is_image' otherwise we are definitely uploading.5498 5496 my $text = $app->_process_post_upload(); 5499 5497 return unless defined $text; 5500 5501 5498 $app->build_page('asset_insert.tmpl', { 5502 5499 upload_html => $text || '',
