[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: developer_tools/inc class.bochangelogs.inc.php,1
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: developer_tools/inc class.bochangelogs.inc.php,1.3,1.4 class.bosf_project_tracker.inc.php,1.4,1.5 class.sosf_project_tracker.inc.php,1.4,1.5 class.uilangfile.inc.php,1.10,1.11 |
Date: |
Tue, 30 Apr 2002 14:39:55 -0400 |
Update of /cvsroot/phpgroupware/developer_tools/inc
In directory subversions:/tmp/cvs-serv31787/inc
Modified Files:
class.bochangelogs.inc.php class.bosf_project_tracker.inc.php
class.sosf_project_tracker.inc.php class.uilangfile.inc.php
Log Message:
Converting to get_var() for all HTTP_*_VARS.
Index: class.bochangelogs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/developer_tools/inc/class.bochangelogs.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.bochangelogs.inc.php 18 Nov 2001 08:01:50 -0000 1.3
--- class.bochangelogs.inc.php 30 Apr 2002 18:39:53 -0000 1.4
***************
*** 35,39 ****
function add()
{
! $fields = $GLOBALS['HTTP_POST_VARS']['fields'];
$this->ui =
createobject('developer_tools.uichangelogs');
--- 35,39 ----
function add()
{
! $fields = get_var('qfields',Array('POST'));
$this->ui =
createobject('developer_tools.uichangelogs');
Index: class.bosf_project_tracker.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/developer_tools/inc/class.bosf_project_tracker.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** class.bosf_project_tracker.inc.php 31 Aug 2001 08:52:39 -0000 1.4
--- class.bosf_project_tracker.inc.php 30 Apr 2002 18:39:53 -0000 1.5
***************
*** 55,59 ****
function preferences()
{
! $preferences =
$GLOBALS['HTTP_POST_VARS']['preferences'];
$ui =
createobject('developer_tools.uisf_project_tracker');
--- 55,59 ----
function preferences()
{
! $preferences = get_var('preferences',Array('POST'));
$ui =
createobject('developer_tools.uisf_project_tracker');
Index: class.sosf_project_tracker.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/developer_tools/inc/class.sosf_project_tracker.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** class.sosf_project_tracker.inc.php 31 Aug 2001 08:52:39 -0000 1.4
--- class.sosf_project_tracker.inc.php 30 Apr 2002 18:39:53 -0000 1.5
***************
*** 68,72 ****
// This might not work with the CGI binary or
webservers other then apache.
// I might move this part over to bo or ui, I am not
sure yet. (jengo)
! if ($GLOBALS['HTTP_SERVER_VARS']['HTTPS'])
{
$data =
ereg_replace('http://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net/images/ic',PHPGW_IMAGES,$data);
--- 68,72 ----
// This might not work with the CGI binary or
webservers other then apache.
// I might move this part over to bo or ui, I am not
sure yet. (jengo)
! if (get_var('HTTPS',Array('SERVER')))
{
$data =
ereg_replace('http://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net/images/ic',PHPGW_IMAGES,$data);
Index: class.uilangfile.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/developer_tools/inc/class.uilangfile.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** class.uilangfile.inc.php 16 Dec 2001 12:36:50 -0000 1.10
--- class.uilangfile.inc.php 30 Apr 2002 18:39:53 -0000 1.11
***************
*** 41,47 ****
function load()
{
! $app_name = $GLOBALS['HTTP_POST_VARS']['app_name'];
! $sourcelang = $GLOBALS['HTTP_POST_VARS']['sourcelang'];
! $targetlang = $GLOBALS['HTTP_POST_VARS']['targetlang'];
$GLOBALS['phpgw']->common->phpgw_header();
--- 41,47 ----
function load()
{
! $app_name = get_var('app_name',Array('POST'));
! $sourcelang = get_var('sourcelang',Array('POST'));
! $targetlang = get_var('targetlang',Array('POST'));
$GLOBALS['phpgw']->common->phpgw_header();
***************
*** 59,67 ****
function addphrase()
{
! $app_name = $GLOBALS['HTTP_POST_VARS']['app_name'];
! $sourcelang = $GLOBALS['HTTP_POST_VARS']['sourcelang'];
! $targetlang = $GLOBALS['HTTP_POST_VARS']['targetlang'];
! $entry = $GLOBALS['HTTP_POST_VARS']['entry'];
! $submit = $GLOBALS['HTTP_POST_VARS']['submit'];
$this->bo->read_sessiondata();
--- 59,67 ----
function addphrase()
{
! $app_name = get_var('app_name',Array('POST'));
! $sourcelang = get_var('sourcelang',Array('POST'));
! $targetlang = get_var('targetlang',Array('POST'));
! $entry = get_var('entry',Array('POST'));
! $submit = get_var('submit',Array('POST'));
$this->bo->read_sessiondata();
***************
*** 105,119 ****
function missingphrase()
{
! $app_name = $GLOBALS['HTTP_POST_VARS']['app_name'] ?
$GLOBALS['HTTP_POST_VARS']['app_name'] : $GLOBALS['HTTP_GET_VARS']['app_name'];
! $newlang = $GLOBALS['HTTP_POST_VARS']['newlang'];
! $sourcelang = $GLOBALS['HTTP_POST_VARS']['sourcelang'];
! $targetlang = $GLOBALS['HTTP_POST_VARS']['targetlang'];
! $dlsource = $GLOBALS['HTTP_POST_VARS']['dlsource'];
! $writesource =
$GLOBALS['HTTP_POST_VARS']['writesource'];
! $dltarget = $GLOBALS['HTTP_POST_VARS']['dltarget'];
! $writetarget =
$GLOBALS['HTTP_POST_VARS']['writetarget'];
! $update = $GLOBALS['HTTP_POST_VARS']['update'];
! $entry = $GLOBALS['HTTP_POST_VARS']['entry'];
! $submit = $GLOBALS['HTTP_POST_VARS']['submit'];
$this->bo->read_sessiondata();
--- 105,120 ----
function missingphrase()
{
! $app_name = get_var('app_name',Array('GET','POST'));
! $newlang = get_var('newlang',Array('POST'));
! $sourcelang = get_var('sourcelang',Array('POST'));
! $targetlang = get_var('targetlang',Array('POST'));
! $dlsource = get_var('dlsource',Array('POST'));
! $writesource = get_var('writesource',Array('POST'));
! $dltarget = get_var('dltarget',Array('POST'));
! $writetarget = get_var('writetarget',Array('POST'));
! $update = get_var('update',Array('POST'));
! $entry = get_var('entry',Array('POST'));
! $submit = get_var('submit',Array('POST'));
!
$this->bo->read_sessiondata();
***************
*** 139,143 ****
if ($update)
{
! $deleteme =
$GLOBALS['HTTP_POST_VARS']['delete'];
while (list($_mess,$_checked) =
@each($deleteme))
{
--- 140,144 ----
if ($update)
{
! $deleteme = get_var('delete',Array('POST'));
while (list($_mess,$_checked) =
@each($deleteme))
{
***************
*** 265,281 ****
function edit()
{
! $app_name = $GLOBALS['HTTP_POST_VARS']['app_name'] ?
$GLOBALS['HTTP_POST_VARS']['app_name'] : $GLOBALS['HTTP_GET_VARS']['app_name'];
! $newlang = $GLOBALS['HTTP_POST_VARS']['newlang'];
! $sourcelang = $GLOBALS['HTTP_POST_VARS']['sourcelang']
? $GLOBALS['HTTP_POST_VARS']['sourcelang'] :
$GLOBALS['HTTP_GET_VARS']['sourcelang'];
! $targetlang = $GLOBALS['HTTP_POST_VARS']['targetlang']
? $GLOBALS['HTTP_POST_VARS']['targetlang'] :
$GLOBALS['HTTP_GET_VARS']['targetlang'];
! $dlsource = $GLOBALS['HTTP_POST_VARS']['dlsource'];
! $writesource =
$GLOBALS['HTTP_POST_VARS']['writesource'];
! $dltarget = $GLOBALS['HTTP_POST_VARS']['dltarget'];
! $writetarget =
$GLOBALS['HTTP_POST_VARS']['writetarget'];
! $add_phrase = $GLOBALS['HTTP_POST_VARS']['add_phrase'];
! $update = $GLOBALS['HTTP_POST_VARS']['update'];
! $revert = $GLOBALS['HTTP_POST_VARS']['revert'];
! $entry = $GLOBALS['HTTP_POST_VARS']['entry'];
! $submit = $GLOBALS['HTTP_POST_VARS']['submit'];
if($add_phrase)
--- 266,282 ----
function edit()
{
! $app_name = get_var('app_name',Array('GET','POST'));
! $newlang = get_var('newlang',Array('POST'));
! $sourcelang =
get_var('sourcelang',Array('GET','POST'));
! $targetlang =
get_var('targetlang',Array('GET','POST'));
! $dlsource = get_var('dlsource',Array('POST'));
! $writesource = get_var('writesource',Array('POST'));
! $dltarget = get_var('dltarget',Array('POST'));
! $writetarget = get_var('writetarget',Array('POST'));
! $add_phrase = get_var('add_phrase',Array('POST'));
! $update = get_var('update',Array('POST'));
! $revert = get_var('revert',Array('POST'));
! $entry = get_var('entry',Array('POST'));
! $submit = get_var('submit',Array('POST'));
if($add_phrase)
***************
*** 410,416 ****
if ($update)
{
! $transapp =
$GLOBALS['HTTP_POST_VARS']['transapp'];
! $translations =
$GLOBALS['HTTP_POST_VARS']['translations'];
! $deleteme =
$GLOBALS['HTTP_POST_VARS']['delete'];
while (list($_mess,$_app) = each($transapp))
{
--- 411,417 ----
if ($update)
{
! $transapp =
get_var('transapp',Array('POST'));
! $translations =
get_var('translations',Array('POST'));
! $deleteme = get_var('delete',Array('POST'));
while (list($_mess,$_app) = each($transapp))
{
***************
*** 516,522 ****
function save($which,$userlang)
{
! $app_name = $GLOBALS['HTTP_POST_VARS']['app_name'];
! $sourcelang = $GLOBALS['HTTP_POST_VARS']['sourcelang'];
! $targetlang = $GLOBALS['HTTP_POST_VARS']['targetlang'];
$this->bo->write_file($which,$app_name,$userlang);
--- 517,523 ----
function save($which,$userlang)
{
! $app_name = get_var('app_name',Array('POST'));
! $newlang = get_var('newlang',Array('POST'));
! $sourcelang = get_var('sourcelang',Array('POST'));
$this->bo->write_file($which,$app_name,$userlang);
***************
*** 549,556 ****
function index()
{
! $start = $GLOBALS['HTTP_POST_VARS']['start'];
! $sort = $GLOBALS['HTTP_POST_VARS']['sort'];
! $order = $GLOBALS['HTTP_POST_VARS']['order'];
! $query = $GLOBALS['HTTP_POST_VARS']['query'];
$this->bo->save_sessiondata('','');
--- 550,557 ----
function index()
{
! $start = get_var('start',Array('POST'));
! $sort = get_var('sort',Array('POST'));
! $order = get_var('order',Array('POST'));
! $query = get_var('query',Array('POST'));
$this->bo->save_sessiondata('','');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: developer_tools/inc class.bochangelogs.inc.php,1.3,1.4 class.bosf_project_tracker.inc.php,1.4,1.5 class.sosf_project_tracker.inc.php,1.4,1.5 class.uilangfile.inc.php,1.10,1.11,
Mark A Peters <address@hidden> <=