Changeset 857
- Timestamp:
- 12/08/06 09:30:14 (2 years ago)
- Files:
-
- branches/wheeljack/lib/MT/App/CMS.pm (modified) (2 diffs)
- branches/wheeljack/tmpl/cms/edit_entry.tmpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/lib/MT/App/CMS.pm
r852 r857 980 980 Type => 'asset', 981 981 Code => $hasher, 982 Template => $app->param('dialog_view') ? 'dialog_list_assets.tmpl' : '', 982 983 Params => { 983 984 ($blog ? ( … … 985 986 blog_name => $blog->name, 986 987 edit_blog_id => $blog_id, 988 dialog_view => $app->param('dialog_view') ? 1 : 0, 987 989 ) : ()), 988 990 class_loop => \@class_loop, branches/wheeljack/tmpl/cms/edit_entry.tmpl
r791 r857 540 540 write('<img title="<MT_TRANS phrase="Insert Email Link" escape="singlequotes">" onclick="return insertLink(document.entry_form.text, 1)" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/email.gif" alt="<MT_TRANS phrase="Insert Email Link" escape="singlequotes">" width="26" height="19" />'); 541 541 write('<img title="<MT_TRANS phrase="Quote" escape="singlequotes">" onclick="return formatStr(document.entry_form.text, \'blockquote\')" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/quote.gif" alt="<MT_TRANS phrase="Quote" escape="singlequotes">" width="26" height="19" />'); 542 write('<img title="<MT_TRANS phrase="Insert Link" escape="singlequotes">" onclick="return openDialog(document.entry_form, \'list_assets\', \'__type=asset&blog_id=<TMPL_VAR NAME=BLOG_ID>&dialog_view=1&filter=class&filter_val=image&return_args=<TMPL_VAR NAME=RETURN_ARGS ESCAPE=URL>\')" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/add_image.gif" alt="<MT_TRANS phrase="Insert Link" escape="singlequotes">" width="26" height="19" />'); 542 543 } 543 544 }
