[pLog-svn] r6994 - plog/branches/lifetype-1.2/templates/admin
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Fri Apr 9 14:28:19 EDT 2010
Author: jondaley
Date: 2010-04-09 14:28:18 -0400 (Fri, 09 Apr 2010)
New Revision: 6994
Modified:
plog/branches/lifetype-1.2/templates/admin/newpost.template
Log:
firefox says getSelection is deprecated. Need to test if this works on IE and other browsers
Modified: plog/branches/lifetype-1.2/templates/admin/newpost.template
===================================================================
--- plog/branches/lifetype-1.2/templates/admin/newpost.template 2010-04-09 18:05:12 UTC (rev 6993)
+++ plog/branches/lifetype-1.2/templates/admin/newpost.template 2010-04-09 18:28:18 UTC (rev 6994)
@@ -216,7 +216,7 @@
<div class="field">
<br /><label for="bookmarklet">{$locale->tr("bookmarklet")}</label>
<div class="formHelp">{$locale->tr("bookmarklet_help")}</div>
- <a href="javascript:bm=document.selection?document.selection.createRange().text:document.getSelection();void(ltbm=window.open('{$url->getAdminUrl()}?op=newPost&sendTrackbacks=1&postText='+encodeURIComponent('<p>'+bm+' ... '+'<a href="'+window.location.href+'">'+'{$locale->tr("original_post")}'+'</a></p>'),'ltbm','toolbar=1,status=1,location=1,scrollbars=1,menubar=1,resizable=1'))" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("blogit_to_lifetype")}</a>
+ <a href="javascript:bm=document.selection?document.selection.createRange().text:window.getSelection();void(ltbm=window.open('{$url->getAdminUrl()}?op=newPost&sendTrackbacks=1&postText='+encodeURIComponent('<p>'+bm+' ... '+'<a href="'+window.location.href+'">'+'{$locale->tr("original_post")}'+'</a></p>'),'ltbm','toolbar=1,status=1,location=1,scrollbars=1,menubar=1,resizable=1'))" onclick="window.alert('{$locale->tr("bookmarklet_help")}');">{$locale->tr("blogit_to_lifetype")}</a>
</div>
</div>
More information about the pLog-svn
mailing list