Changeset 906
- Timestamp:
- 12/14/06 01:49:05 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/tmpl/cms/edit_entry.tmpl
r894 r906 322 322 } 323 323 324 function fixDialog() { 325 var el = getByID("dialog-container"); 326 el.style.position = 'fixed'; 327 } 328 324 329 //--> 325 330 </script> … … 541 546 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" />'); 542 547 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" />'); 543 write('<img title="<MT_TRANS phrase="Insert Image" escape="singlequotes">" onclick="return openDialog(document.entry_form, \'list_assets\', \'_type=asset&edit_field=text&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 Image" escape="singlequotes">" width="26" height="19" />'); 548 write('<img title="|" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/separator.gif" alt="|" width="7" height="19" />'); 549 write('<a href="javascript:void(0);" onclick="fixDialog(); openDialog(document.entry_form, \'list_assets\', \'_type=asset&edit_field=text&blog_id=<TMPL_VAR NAME=BLOG_ID>&dialog_view=1&filter=class&filter_val=image&return_args=<TMPL_VAR NAME=RETURN_ARGS ESCAPE=URL>\')"><img title="<MT_TRANS phrase="Insert Image" escape="singlequotes">" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/add_image.gif" alt="<MT_TRANS phrase="Insert Image" escape="singlequotes">" width="26" height="19" /></a>'); 544 550 } 545 551 } … … 584 590 write('<img title="<MT_TRANS phrase="Insert Email Link">" onclick="return insertLink(document.entry_form.text_more, 1)" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/email.gif" alt="<MT_TRANS phrase="Insert Email Link">" width="26" height="19" />'); 585 591 write('<img title="<MT_TRANS phrase="Quote">" onclick="return formatStr(document.entry_form.text_more, \'blockquote\')" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/quote.gif" alt="<MT_TRANS phrase="Quote">" width="26" height="19" />'); 586 write('<img title="<MT_TRANS phrase="Insert Image" escape="singlequotes">" onclick="return openDialog(document.entry_form, \'list_assets\', \'_type=asset&edit_field=text_more&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 Image" escape="singlequotes">" width="26" height="19" />'); 592 write('<img title="|" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/separator.gif" alt="|" width="7" height="19" />'); 593 write('<a href="javascript:void(0);" onclick="fixDialog(); openDialog(document.entry_form, \'list_assets\', \'_type=asset&edit_field=text&blog_id=<TMPL_VAR NAME=BLOG_ID>&dialog_view=1&filter=class&filter_val=image&return_args=<TMPL_VAR NAME=RETURN_ARGS ESCAPE=URL>\')"><img title="<MT_TRANS phrase="Insert Image" escape="singlequotes">" src="<TMPL_VAR NAME=STATIC_URI>images/formatting-icons/add_image.gif" alt="<MT_TRANS phrase="Insert Image" escape="singlequotes">" width="26" height="19" /></a>'); 587 594 } 588 595 }
