[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] stocks index.php inc/class.uistock.inc.php inc/...
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] stocks index.php inc/class.uistock.inc.php inc/... |
Date: |
Wed, 24 Jan 2007 16:13:29 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: stocks
Changes by: Caeies <Caeies> 07/01/24 16:13:29
Modified files:
. : index.php
inc : class.uistock.inc.php hook_preferences.inc.php
Log message:
some call to link() fixed
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/stocks/index.php?cvsroot=phpgroupware&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/stocks/inc/class.uistock.inc.php?cvsroot=phpgroupware&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/stocks/inc/hook_preferences.inc.php?cvsroot=phpgroupware&r1=1.10&r2=1.11
Patches:
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/index.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- index.php 17 Jan 2005 16:02:16 -0000 1.11
+++ index.php 24 Jan 2007 16:13:28 -0000 1.12
@@ -8,7 +8,7 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
- /* $Id: index.php,v 1.11 2005/01/17 16:02:16 ceb Exp $ */
+ /* $Id: index.php,v 1.12 2007/01/24 16:13:28 Caeies Exp $ */
$GLOBALS['phpgw_info'] = array();
@@ -19,5 +19,5 @@
'nonavbar' => True
);
include('../header.inc.php');
-
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction=stocks.uistock.index');
+ $GLOBALS['phpgw']->redirect_link('/index.php', array('menuaction' =>
'stocks.uistock.index'));
?>
Index: inc/class.uistock.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/class.uistock.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- inc/class.uistock.inc.php 4 May 2005 13:39:58 -0000 1.3
+++ inc/class.uistock.inc.php 24 Jan 2007 16:13:29 -0000 1.4
@@ -25,7 +25,7 @@
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
\*******************************************************************/
- /* $Id: class.uistock.inc.php,v 1.3 2005/05/04 13:39:58 powerstat Exp $
*/
+ /* $Id: class.uistock.inc.php,v 1.4 2007/01/24 16:13:29 Caeies Exp $ */
class uistock
{
@@ -197,7 +197,7 @@
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('Stock Quotes') . ': ' . lang('display stock quotes');
$GLOBALS['phpgw']->template->set_var('country_list',$this->selected_country());
-
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.ui.index'));
+
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'stocks.ui.index')));
$GLOBALS['phpgw']->template->set_var('quotes',$this->return_quotes('page'));
$GLOBALS['phpgw']->template->pfp('out','quotes_list');
$this->save_sessiondata();
@@ -263,7 +263,7 @@
$link_data['menuaction'] = 'stocks.ui.edit_stock';
unset($link_data['stock_id']);
$GLOBALS['phpgw']->template->set_var('addurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
-
$GLOBALS['phpgw']->template->set_var('doneurl',$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.ui.index'));
+
$GLOBALS['phpgw']->template->set_var('doneurl',$GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'stocks.ui.index')));
$this->save_sessiondata();
$GLOBALS['phpgw']->template->pfp('out','stock_list_t',True);
}
@@ -323,7 +323,7 @@
$values['access'] = 'public';
$this->bostock->save_stock($values);
-
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction=stocks.ui.list_stocks');
+ $GLOBALS['phpgw']->redirect_link('/index.php',
array('menuaction' => 'stocks.ui.list_stocks'));
}
$this->display_app_header();
@@ -347,7 +347,7 @@
$GLOBALS['phpgw']->template->set_var('symbol',$GLOBALS['phpgw']->strip_html($stock['symbol']));
$GLOBALS['phpgw']->template->set_var('name',$GLOBALS['phpgw']->strip_html($stock['name']));
-
$GLOBALS['phpgw']->template->set_var('cancel_url',$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.ui.list_stocks'));
+
$GLOBALS['phpgw']->template->set_var('cancel_url',$GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'stocks.ui.list_stocks')));
$this->save_sessiondata();
$GLOBALS['phpgw']->template->pfp('out','edit');
}
Index: inc/hook_preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/stocks/inc/hook_preferences.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- inc/hook_preferences.inc.php 17 Jan 2005 16:02:16 -0000 1.10
+++ inc/hook_preferences.inc.php 24 Jan 2007 16:13:29 -0000 1.11
@@ -8,12 +8,12 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
- /* $Id: hook_preferences.inc.php,v 1.10 2005/01/17 16:02:16 ceb Exp $ */
+ /* $Id: hook_preferences.inc.php,v 1.11 2007/01/24 16:13:29 Caeies Exp
$ */
{
$file = Array
(
- 'Preferences' =>
$GLOBALS['phpgw']->link('/index.php','menuaction=stocks.uistock.preferences')
+ 'Preferences' => $GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'stocks.uistock.preferences'))
);
//Do not modify below this line
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] stocks index.php inc/class.uistock.inc.php inc/...,
Caeies <=