phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] news_admin/inc class.uinews.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] news_admin/inc class.uinews.inc.php
Date: Tue, 25 Jul 2006 01:04:02 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    news_admin
Changes by:     Dave Hall <skwashd>     06/07/25 01:04:02

Modified files:
        inc            : class.uinews.inc.php 

Log message:
        fix redirects

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/news_admin/inc/class.uinews.inc.php?cvsroot=phpgroupware&r1=1.38&r2=1.39

Patches:
Index: class.uinews.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uinews.inc.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- class.uinews.inc.php        4 Apr 2006 11:58:47 -0000       1.38
+++ class.uinews.inc.php        25 Jul 2006 01:04:02 -0000      1.39
@@ -14,10 +14,10 @@
        * Many enhancements were sponsored by ecotrader.net                     
   *
        
\**************************************************************************/
 
-       /* $Id: class.uinews.inc.php,v 1.38 2006/04/04 11:58:47 skwashd Exp $ */
+/* $Id: class.uinews.inc.php,v 1.39 2006/07/25 01:04:02 skwashd Exp $ */
 
-       class uinews
-       {
+class uinews
+{
                var $start = 0;
                var $query = '';
                var $sort  = '';
@@ -322,7 +322,7 @@
                {
                        if ( isset($_POST['cancel']) )
                        {
-                               Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uinews.write_news'));
+                       $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'news_admin.uinews.write_news') );
                                exit;
                        }
                        if ( isset($_POST['submitit']) )
@@ -419,8 +419,8 @@
 
                        if ( isset($_POST['cancel']) && $_POST['cancel'] )
                        {
-                               Header('Location: ' . 
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uinews.write_news'));
-                               return;
+                       $GLOBALS['phpgw']->redirect_link('/index.php', 
array('menuaction' => 'news_admin.uinews.write_news') );
+                       exit;
                        }
                        if ( $_SERVER['REQUEST_METHOD'] == 'POST' )
                        {
@@ -561,7 +561,7 @@
                                        var oTabs;
                                        var strLinkURL = \'' . 
$config->config_data['more_link_url'] . '\';
                                        oLang = {
-                                                       read_more: "' . 
lang('read more') . ' >>"
+read_more: "' . lang('read more') . ' >>"
                                                }
                                //-->
                                </script>
@@ -903,5 +903,5 @@
                        }
                        return $selectlist;
                }
-       }
+}
 ?>




reply via email to

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