The branch, QA_3_3 has been updated
via ca18fad776bd845fff3db5d3381434a7384e24d5 (commit)
from 4a234050f27806b98d0c8718bf9b8ebcaea9ec38 (commit)
- Log -----------------------------------------------------------------
commit ca18fad776bd845fff3db5d3381434a7384e24d5
Author: Martin Schönberger <mad05(a)users.sourceforge.net>
Date: Mon Aug 30 10:07:11 2010 -0400
improved patch
-----------------------------------------------------------------------
Summary of changes:
pdf_pages.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pdf_pages.php b/pdf_pages.php
index 7b0d6a8..4ec0601 100644
--- a/pdf_pages.php
+++ b/pdf_pages.php
@@ -326,6 +326,7 @@ $page_query = 'SELECT * FROM ' .
PMA_backquote($GLOBALS['cfgRelation']['db']) .
$page_rs = PMA_query_as_controluser($page_query, FALSE, $query_default_option);
$array_sh_page = array();
$draginit = '';
+$draginit2 = '';
$reset_draginit = '';
$i = 0;
while ($temp_sh_page = @PMA_DBI_fetch_assoc($page_rs)) {
@@ -349,7 +350,7 @@ foreach ($array_sh_page AS $key => $temp_sh_page) {
$drag_x = $temp_sh_page['x'];
$drag_y = $temp_sh_page['y'];
- $draginit2 = ' Drag.init(getElement("table_' . $i . '"), null,
0, parseInt(myid.style.width)-2, 0, parseInt(myid.style.height)-5);' .
"\n";
+ $draginit2 .= ' Drag.init(getElement("table_' . $i . '"),
null, 0, parseInt(myid.style.width)-2, 0, parseInt(myid.style.height)-5);' .
"\n";
$draginit .= ' getElement("table_' . $i . '").onDrag =
function (x, y) { document.edcoord.elements["c_table_' . $i .
'[x]"].value = parseInt(x); document.edcoord.elements["c_table_' . $i .
'[y]"].value = parseInt(y) }' . "\n";
$draginit .= ' getElement("table_' . $i .
'").style.left = "' . $drag_x . 'px";' . "\n";
$draginit .= ' getElement("table_' . $i .
'").style.top = "' . $drag_y . 'px";' . "\n";
hooks/post-receive
--
phpMyAdmin