phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/inc class.browser_transform.inc.php,1.1


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/inc class.browser_transform.inc.php,1.1,1.2 class.module_calendar.inc.php,1.3,1.4class.module_hello.inc.php,1.2,1.3 class.module_lang_block.inc.php,1.1,1.2
Date: Tue, 04 Feb 2003 12:28:17 -0500

Update of /cvsroot/phpgroupware/sitemgr/inc
In directory subversions:/tmp/cvs-serv1412

Modified Files:
        class.browser_transform.inc.php class.module_calendar.inc.php 
        class.module_hello.inc.php class.module_lang_block.inc.php 
Log Message:
do not use REQUEST_URI in forms' action parameter, since they are redundant


Index: class.browser_transform.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.browser_transform.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.browser_transform.inc.php     17 Jan 2003 03:37:52 -0000      1.1
--- class.browser_transform.inc.php     4 Feb 2003 17:28:14 -0000       1.2
***************
*** 11,15 ****
        function apply_transform($title,$content)
        {
!               $result = '<form action="' . $_SERVER['REQUEST_URI'] . '" 
method="post">';
                $result .= $content;
                $result .= '<div align="center">';
--- 11,15 ----
        function apply_transform($title,$content)
        {
!               $result = '<form method="post">';
                $result .= $content;
                $result .= '<div align="center">';

Index: class.module_calendar.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.module_calendar.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.module_calendar.inc.php       19 Jan 2003 03:18:28 -0000      1.3
--- class.module_calendar.inc.php       4 Feb 2003 17:28:14 -0000       1.4
***************
*** 71,75 ****
                        'bgcolor2'                      =>      
$calui->theme['cal_dayview'],
                        'holiday_color' => $calui->holiday_color,
!                       'navig' => '<form action="' . $_SERVER['REQUEST_URI'] . 
'" method="post">' .
                                $this->build_post_element('prevmonth') . 
'&nbsp;&nbsp;' .
                                $this->build_post_element('nextmonth') . 
'</form>'
--- 71,75 ----
                        'bgcolor2'                      =>      
$calui->theme['cal_dayview'],
                        'holiday_color' => $calui->holiday_color,
!                       'navig' => '<form method="post">' .
                                $this->build_post_element('prevmonth') . 
'&nbsp;&nbsp;' .
                                $this->build_post_element('nextmonth') . 
'</form>'

Index: class.module_hello.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.module_hello.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.module_hello.inc.php  19 Jan 2003 03:18:28 -0000      1.2
--- class.module_hello.inc.php  4 Feb 2003 17:28:14 -0000       1.3
***************
*** 20,25 ****
        {
                $this->validate($arguments);
!               return lang('Hello') . ' ' . $arguments['name'] . '<br><form 
action="' . 
!                       $_SERVER['REQUEST_URI'] . '" method="post">' . 
                        $this->build_post_element('name',lang('Enter a name')) .
                        '</form>';
--- 20,24 ----
        {
                $this->validate($arguments);
!               return lang('Hello') . ' ' . $arguments['name'] . '<br><form 
method="post">' . 
                        $this->build_post_element('name',lang('Enter a name')) .
                        '</form>';

Index: class.module_lang_block.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.module_lang_block.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.module_lang_block.inc.php     17 Jan 2003 03:37:52 -0000      1.1
--- class.module_lang_block.inc.php     4 Feb 2003 17:28:14 -0000       1.2
***************
*** 15,19 ****
                        if ($GLOBALS['sitemgr_info']['sitelanguages'])
                        {
!                               $content = '<form name="langselect" 
action="'.$_SERVER['REQUEST_URI'].'" method="post">';
                                $content .= '<select 
onChange="this.form.submit()" name="language">';
                                foreach 
($GLOBALS['sitemgr_info']['sitelanguages'] as $lang)
--- 15,19 ----
                        if ($GLOBALS['sitemgr_info']['sitelanguages'])
                        {
!                               $content = '<form name="langselect" 
method="post">';
                                $content .= '<select 
onChange="this.form.submit()" name="language">';
                                foreach 
($GLOBALS['sitemgr_info']['sitelanguages'] as $lang)





reply via email to

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