phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.common.inc.php, 1.123.2.9.2.29


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.common.inc.php, 1.123.2.9.2.29
Date: Sat, 6 Nov 2004 16:34:26 +0100

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.common.inc.php

date: 2004/11/06 15:34:26;  author: powerstat;  state: Exp;  lines: +11 -11

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/inc/class.common.inc.php
diff -u phpgwapi/inc/class.common.inc.php:1.123.2.9.2.28 
phpgwapi/inc/class.common.inc.php:1.123.2.9.2.29
--- phpgwapi/inc/class.common.inc.php:1.123.2.9.2.28    Tue Mar  2 22:25:04 2004
+++ phpgwapi/inc/class.common.inc.php   Sat Nov  6 15:34:26 2004
@@ -16,7 +16,7 @@
        $d3 = strtolower(@substr(PHPGW_APP_INC,0,3));
        if($d1 == 'htt' || $d1 == 'ftp' || $d2 == 'htt' || $d2 == 'ftp' || $d3 
== 'htt' || $d3 == 'ftp')
        {
-               echo 'Failed attempt to break in via an old Security 
Hole!<br>'."\n";
+               echo 'Failed attempt to break in via an old Security Hole!<br 
/>'."\n";
                exit;
        }
        unset($d1);unset($d2);unset($d3);
@@ -197,7 +197,7 @@
                                $value = trim($value);
                                $pieces = explode('-', $value);
                                $value = $pieces[0];
-                               # print 'current lang $value<br>';
+                               # print 'current lang $value<br />';
                                if ($supportedLanguages[$value])
                                {
                                        $retValue=$value;
@@ -249,7 +249,7 @@
                                        $GLOBALS['phpgw']->log->commit();
                                }
 
-                               printf("<b>Error: Can't connect to LDAP server 
%s!</b><br>",$host);
+                               printf("<b>Error: Can't connect to LDAP server 
%s!</b><br />",$host);
                                return False;
                        }
                        if(! @ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 
3))//LDAP protocol v3 support
@@ -277,7 +277,7 @@
                                        $GLOBALS['phpgw']->log->commit();
                                }
 
-                               printf("<b>Error: Can't bind to LDAP server: 
%s!</b><br>",$dn);
+                               printf("<b>Error: Can't bind to LDAP server: 
%s!</b><br />",$dn);
                                return False;
                        }
 
@@ -1368,7 +1368,7 @@
                */
                function hook($location, $appname = '', $no_permission_check = 
False)
                {
-                       echo '$'."GLOBALS['phpgw']common->hook()".' has been 
replaced. Please change to the new $'."GLOBALS['phpgw']hooks->process()".'. For 
now this will act as a wrapper<br>';
+                       echo '$'."GLOBALS['phpgw']common->hook()".' has been 
replaced. Please change to the new $'."GLOBALS['phpgw']hooks->process()".'. For 
now this will act as a wrapper<br />';
                        return $GLOBALS['phpgw']->hooks->process($location, 
$order, $no_permission_check);
                }
 
@@ -1384,7 +1384,7 @@
                */
                function hook_single($location, $appname = '', 
$no_permission_check = False)
                {
-                       echo '$'."GLOBALS['phpgw']common->hook_single()".' has 
been replaced. Please change to the new $'."GLOBALS['phpgw']hooks->single()".'. 
For now this will act as a wrapper<br>';
+                       echo '$'."GLOBALS['phpgw']common->hook_single()".' has 
been replaced. Please change to the new $'."GLOBALS['phpgw']hooks->single()".'. 
For now this will act as a wrapper<br />';
                        return $GLOBALS['phpgw']->hooks->single($location, 
$order, $no_permission_check);
                }
 
@@ -1397,7 +1397,7 @@
                */
                function hook_count($location)
                {
-                       echo '$'."GLOBALS['phpgw']common->hook_count()".' has 
been replaced. Please change to the new $'."GLOBALS['phpgw']hooks->count()".'. 
For now this will act as a wrapper<br>';
+                       echo '$'."GLOBALS['phpgw']common->hook_count()".' has 
been replaced. Please change to the new $'."GLOBALS['phpgw']hooks->count()".'. 
For now this will act as a wrapper<br />';
                        return $GLOBALS['phpgw']->hooks->count($location);
                }
 
@@ -1677,7 +1677,7 @@
                                $prefs['email']['mail_server_type'] = 'nntp';
                        }
                        // DEBUG
-                       //echo "<br>prefs['email']['passwd']: " 
.$prefs['email']['passwd'] .'<br>';
+                       //echo "<br />prefs['email']['passwd']: " 
.$prefs['email']['passwd'] .'<br />';
                        return $prefs;
                }
                */
@@ -1722,8 +1722,8 @@
                                                . ',<br />' . lang('Please %1 
by hand',
                                                lang('rename')) . '<br /><br />'
                                                . lang('To correct this error 
for the future you will need to properly set the')
-                                               . '<br>' . lang('permissions to 
the files/users directory')
-                                               . '<br>' . lang('On *nix 
systems please type: %1','chmod 770 '
+                                               . '<br />' . lang('permissions 
to the files/users directory')
+                                               . '<br />' . lang('On *nix 
systems please type: %1','chmod 770 '
                                                . 
$GLOBALS['phpgw_info']['server']['files_dir'] . '/users/'); 
                                        break;
                                case 36:        $s .= lang('Account has been 
created') . '<p>'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]