Author: gotar                        Date: Fri Oct  1 23:49:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- upgraded to 5.0-beta2

---- Files affected:
packages/phpPgAdmin:
   phpPgAdmin-calendar.patch (1.2 -> 1.3) , phpPgAdmin-config.patch (1.5 -> 
1.6) , phpPgAdmin.spec (1.80 -> 1.81) 

---- Diffs:

================================================================
Index: packages/phpPgAdmin/phpPgAdmin-calendar.patch
diff -u packages/phpPgAdmin/phpPgAdmin-calendar.patch:1.2 
packages/phpPgAdmin/phpPgAdmin-calendar.patch:1.3
--- packages/phpPgAdmin/phpPgAdmin-calendar.patch:1.2   Thu Sep 30 01:08:42 2010
+++ packages/phpPgAdmin/phpPgAdmin-calendar.patch       Sat Oct  2 01:49:39 2010
@@ -1,7 +1,7 @@
 diff -ur phpPgAdmin-4.2.2.orig/classes/database/Postgres.php 
phpPgAdmin-4.2.2/classes/database/Postgres.php
 --- phpPgAdmin-4.2.2.orig/classes/database/Postgres.php        2008-12-18 
06:28:57.000000000 +0100
 +++ phpPgAdmin-4.2.2/classes/database/Postgres.php     2010-09-30 
01:01:41.000000000 +0200
-@@ -303,6 +303,14 @@ class Postgres extends ADODB_base {
+@@ -302,6 +302,14 @@ class Postgres extends ADODB_base {
                                echo htmlspecialchars($value);
                                echo "</textarea>\n";
                                break;
@@ -14,12 +14,12 @@
 +                              echo "<script 
type=\"text/javascript\">Calendar.setup( { inputField: \"", 
htmlspecialchars($name), "\", button: \"trigger", htmlspecialchars($name), "\", 
showsTime: $showsTime, ifFormat: \"%Y-%m-%d$timeFormat\" }); </script>";
 +                              break;
                        default:
-                               echo "<input name=\"", htmlspecialchars($name), 
"\" value=\"", htmlspecialchars($value), "\" size=\"35\"{$action_str} {$extra} 
/>\n";
+                               echo "<input name=\"", htmlspecialchars($name), 
"\" value=\"", htmlspecialchars($value), "\" size=\"35\"{$extra_str} />\n";
                                break;
 diff -ur phpPgAdmin-4.2.2.orig/classes/Misc.php 
phpPgAdmin-4.2.2/classes/Misc.php
 --- phpPgAdmin-4.2.2.orig/classes/Misc.php     2008-12-18 06:28:57.000000000 
+0100
 +++ phpPgAdmin-4.2.2/classes/Misc.php  2009-04-13 17:22:01.000000000 +0200
-@@ -374,6 +374,12 @@
+@@ -395,6 +395,12 @@
                                echo "<meta http-equiv=\"Content-Type\" 
content=\"text/html; charset={$lang['appcharset']}\" />\n";
                                // Theme
                                echo "<link rel=\"stylesheet\" 
href=\"themes/{$conf['theme']}/global.css\" type=\"text/css\" />\n";
@@ -34,25 +34,28 @@
                                echo "<title>", htmlspecialchars($appName);
 diff -ur phpPgAdmin-4.2.2.orig/display.php phpPgAdmin-4.2.2/display.php
 --- phpPgAdmin-4.2.2.orig/display.php  2008-12-18 06:28:57.000000000 +0100
-+++ phpPgAdmin-4.2.2/display.php       2009-03-01 14:15:00.000000000 +0100
-@@ -73,6 +73,7 @@
++++ phpPgAdmin-4.2.2/display.php       2010-10-02 01:41:27.000000000 +0200
+@@ -61,6 +61,7 @@
                                echo "<th 
class=\"data\">{$lang['strnull']}</th><th 
class=\"data\">{$lang['strvalue']}</th></tr>";
  
                                $i = 0;
 +                              $shift=0;
                                while (!$attrs->EOF) {
-                                       $szValueName = 
"values[{$attrs->fields['attname']}]";
-                                       $szEvents = '';
-@@ -127,11 +128,12 @@
+ 
+                                       $attrs->fields['attnotnull'] = 
$data->phpBool($attrs->fields['attnotnull']);
+@@ -106,7 +107,7 @@
+                                       // keep track of which element offset 
we're up to.  We can't refer to the null checkbox by name
                                        // as it contains '[' and ']' 
characters.
                                        if (!$attrs->fields['attnotnull']) {
-                                               echo 
$data->printField($szValueName, $rs->fields[$attrs->fields['attname']], 
$attrs->fields['type'], 
--                                                                              
                        array('onChange' => 'elements[' . ($elements - 1) . 
'].checked = false;'),$szEvents) . $szDivPH;
-+                                                                              
                        array('onChange' => 'elements[' . ($elements - 1 + 
$shift) . '].checked = false;'),$szEvents) . $szDivPH;
-                                       }
-                                       else {
-                                               echo 
$data->printField($szValueName, $rs->fields[$attrs->fields['attname']], 
$attrs->fields['type'],array(),$szEvents) . $szDivPH;
+-                                              $extras['onChange'] = 
'elements[' . ($elements - 1) . '].checked = false;';
++                                              $extras['onChange'] = 
'elements[' . ($elements - 1 + $shift) . '].checked = false;';
                                        }
+ 
+                                       if (($fksprops !== false) && 
isset($fksprops['byfield'][$attrs->fields['attnum']])) {
+@@ -116,6 +117,7 @@
+ 
+                                       echo 
$data->printField("values[{$attrs->fields['attnum']}]", 
$rs->fields[$attrs->fields['attname']], $attrs->fields['type'], $extras);
+ 
 +                                      if 
(in_array(substr($attrs->fields['type'],0,9),array('date','timestamp'))) 
$shift++;
                                        echo "</td>";
                                        $elements++;

================================================================
Index: packages/phpPgAdmin/phpPgAdmin-config.patch
diff -u packages/phpPgAdmin/phpPgAdmin-config.patch:1.5 
packages/phpPgAdmin/phpPgAdmin-config.patch:1.6
--- packages/phpPgAdmin/phpPgAdmin-config.patch:1.5     Thu Sep 30 01:08:42 2010
+++ packages/phpPgAdmin/phpPgAdmin-config.patch Sat Oct  2 01:49:39 2010
@@ -1,6 +1,6 @@
 --- phpPgAdmin-4.0.1/libraries/lib.inc.php~    2005-12-02 17:19:47.000000000 
+0200
 +++ phpPgAdmin-4.0.1/libraries/lib.inc.php     2005-12-02 17:24:01.259851274 
+0200
-@@ -26,12 +26,12 @@
+@@ -27,12 +27,12 @@
                exit(sprintf('Version of PHP not supported. Please upgrade to 
version %s or later.', $phpMinVer));
  
        // Check to see if the configuration file exists, if not, explain
@@ -29,13 +29,12 @@
  
 --- phpPgAdmin-4.0.1/libraries/lib.inc.php     2005-12-02 17:38:56.000000000 
+0200
 +++ phpPgAdmin-4.0.1-org/libraries/lib.inc.php 2005-12-02 17:37:20.000000000 
+0200
-@@ -9,7 +9,7 @@
+@@ -10,7 +10,7 @@
        include_once('./lang/translations.php');
-       
+ 
        // Set error reporting level to max
 -      error_reporting(E_ALL);
 +      error_reporting(E_ALL & ~E_NOTICE);
-       ini_set('display_errors', 'on');
- 
-       // Application name 
-
+  
+       // Application name
+       $appName = 'phpPgAdmin';

================================================================
Index: packages/phpPgAdmin/phpPgAdmin.spec
diff -u packages/phpPgAdmin/phpPgAdmin.spec:1.80 
packages/phpPgAdmin/phpPgAdmin.spec:1.81
--- packages/phpPgAdmin/phpPgAdmin.spec:1.80    Thu Sep 30 01:23:31 2010
+++ packages/phpPgAdmin/phpPgAdmin.spec Sat Oct  2 01:49:39 2010
@@ -9,8 +9,8 @@
 Release:       0.2
 License:       GPL v2+
 Group:         Applications/Databases/Interfaces
-Source0:       
http://dl.sourceforge.net/phppgadmin/%{name}-%{version}-beta1.tar.bz2
-# Source0-md5: 7d026386eb3320be583f3710f3482eda
+Source0:       
http://dl.sourceforge.net/phppgadmin/%{name}-%{version}-beta2.tar.bz2
+# Source0-md5: 739247e0334a44ea4ee2c1754b7b1119
 Source1:       %{name}-apache.conf
 Source2:       %{name}-lighttpd.conf
 Source3:       http://www.quarto.pl/~gotar/%{name}-jscalendar.tar.bz2
@@ -48,7 +48,7 @@
 przełączniki, widoki i funkcje (procedury składowane).
 
 %prep
-%setup -q -a3 -n %{name}-%{version}-beta1
+%setup -q -a3 -n %{name}-%{version}-beta2
 %patch0 -p1
 #%patch1 -p1
 %patch2 -p1
@@ -174,6 +174,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81  2010/10/01 23:49:39  gotar
+- upgraded to 5.0-beta2
+
 Revision 1.80  2010/09/29 23:23:31  gotar
 - no more PHP < 5.0 support (and PostgreSQL < 7.4, but 8.4 and 9.0 are)
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phpPgAdmin/phpPgAdmin-calendar.patch?r1=1.2&r2=1.3&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phpPgAdmin/phpPgAdmin-config.patch?r1=1.5&r2=1.6&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/phpPgAdmin/phpPgAdmin.spec?r1=1.80&r2=1.81&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to