OSDN Git Service

Change the height of bookmarklet
authorkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Tue, 30 Oct 2007 19:05:20 +0000 (19:05 +0000)
committerkmorimatsu <kmorimatsu@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Tue, 30 Oct 2007 19:05:20 +0000 (19:05 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/branches/branch-3-3@350 1ca29b6e-896d-4ea0-84a5-967f57386b96

utf8/nucleus/libs/ITEMACTIONS.php
utf8/nucleus/libs/globalfunctions.php
utf8/nucleus/styles/bookmarklet.css

index fe03a99..f484340 100644 (file)
@@ -14,8 +14,8 @@
  *
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: ITEMACTIONS.php,v 1.5.2.2 2007-10-30 16:43:30 shizuki Exp $
- * @version $NucleusJP: ITEMACTIONS.php,v 1.5.2.1 2007/09/05 06:59:47 kimitake Exp $
+ * @version $Id: ITEMACTIONS.php,v 1.5.2.3 2007-10-30 19:05:20 kmorimatsu Exp $
+ * @version $NucleusJP: ITEMACTIONS.php,v 1.5.2.2 2007/10/30 16:43:30 shizuki Exp $
  */
 class ITEMACTIONS extends BaseActions {
 
@@ -405,7 +405,7 @@ class ITEMACTIONS extends BaseActions {
        }
 
        function parse_editpopupcode() {
-               echo "if (event &amp;&amp; event.preventDefault) event.preventDefault();winbm=window.open(this.href,'nucleusbm','scrollbars=yes,width=600,height=500,left=10,top=10,status=yes,resizable=yes');winbm.focus();return false;";
+               echo "if (event &amp;&amp; event.preventDefault) event.preventDefault();winbm=window.open(this.href,'nucleusbm','scrollbars=yes,width=600,height=550,left=10,top=10,status=yes,resizable=yes');winbm.focus();return false;";
        }
 
        // helper functions
index 2007644..64af8d4 100755 (executable)
@@ -13,8 +13,8 @@
 /**
  * @license http://nucleuscms.org/license.txt GNU General Public License
  * @copyright Copyright (C) 2002-2007 The Nucleus Group
- * @version $Id: globalfunctions.php,v 1.23.2.2 2007-10-23 07:13:56 kimitake Exp $
- * $NucleusJP: globalfunctions.php,v 1.23.2.1 2007/09/05 06:26:17 kimitake Exp $
+ * @version $Id: globalfunctions.php,v 1.23.2.3 2007-10-30 19:05:20 kmorimatsu Exp $
+ * $NucleusJP: globalfunctions.php,v 1.23.2.2 2007/10/23 07:13:56 kimitake Exp $
  */
 
 // needed if we include globalfunctions from install.php
@@ -1960,7 +1960,7 @@ function getBookmarklet($blogid) {
        $document = 'document';
        $bookmarkletline = "javascript:Q='';x=".$document.";y=window;if(x.selection){Q=x.selection.createRange().text;}else if(y.getSelection){Q=y.getSelection();}else if(x.getSelection){Q=x.getSelection();}wingm=window.open('";
        $bookmarkletline .= $CONF['AdminURL'] . "bookmarklet.php?blogid=$blogid";
-       $bookmarkletline .="&logtext='+escape(Q)+'&loglink='+escape(x.location.href)+'&loglinktitle='+escape(x.title),'nucleusbm','scrollbars=yes,width=600,height=500,left=10,top=10,status=yes,resizable=yes');wingm.focus();";
+       $bookmarkletline .="&logtext='+escape(Q)+'&loglink='+escape(x.location.href)+'&loglinktitle='+escape(x.title),'nucleusbm','scrollbars=yes,width=600,height=550,left=10,top=10,status=yes,resizable=yes');wingm.focus();";
 
        return $bookmarkletline;
 }
index 403c68d..f204d2f 100755 (executable)
@@ -1,8 +1,8 @@
 /* 
        style definitions for the bookmarklet 
        
-       $Id: bookmarklet.css,v 1.6 2007-01-30 07:35:20 kimitake Exp $
-       $NucleusJP: bookmarklet.css,v 1.5 2006/07/17 20:03:45 kimitake Exp $
+       $Id: bookmarklet.css,v 1.6.2.1 2007-10-30 19:05:20 kmorimatsu Exp $
+       $NucleusJP: bookmarklet.css,v 1.6 2007/01/30 07:35:20 kimitake Exp $
 */
 
 body {
@@ -54,7 +54,7 @@ h1 {
 
 .contentblock {
        /*background: #ddd;*/
-       height: 400px;
+       height: 450px;
        overflow: auto; /* temporary removed, to make the select box work in Mozilla */
        padding: 1px;
     margin: 0px;