Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32715
Modified Files:
admin.php day.php preferences.php print.php search.php
Log Message:
Updated to $_GET
Index: admin.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/admin.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** admin.php 2 Sep 2004 18:41:12 -0000 1.21
--- admin.php 2 Sep 2004 18:43:32 -0000 1.22
***************
*** 14,18 ****
// Load variables from forms and query strings into local scope
if($_POST) {extract($_POST, EXTR_PREFIX_SAME, "post_");}
! if($HTTP_GET_VARS) {extract($HTTP_GET_VARS, EXTR_PREFIX_SAME, "get_");}
if (!isset($action)) $action = '';
--- 14,18 ----
// Load variables from forms and query strings into local scope
if($_POST) {extract($_POST, EXTR_PREFIX_SAME, "post_");}
! if($_GET) {extract($_GET, EXTR_PREFIX_SAME, "get_");}
if (!isset($action)) $action = '';
Index: day.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/day.php,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -d -r1.120 -r1.121
*** day.php 1 Sep 2004 21:26:59 -0000 1.120
--- day.php 2 Sep 2004 18:43:32 -0000 1.121
***************
*** 1,5 ****
<?php
! if (isset($HTTP_GET_VARS['jumpto_day'])) {
! $jumpto_day_time = strtotime($HTTP_GET_VARS['jumpto_day']);
if ($jumpto_day_time == -1) {
$getdate = date('Ymd', strtotime("now + $second_offset seconds"));
--- 1,5 ----
<?php
! if (isset($_GET['jumpto_day'])) {
! $jumpto_day_time = strtotime($_GET['jumpto_day']);
if ($jumpto_day_time == -1) {
$getdate = date('Ymd', strtotime("now + $second_offset seconds"));
Index: preferences.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** preferences.php 2 Sep 2004 18:41:12 -0000 1.51
--- preferences.php 2 Sep 2004 18:43:33 -0000 1.52
***************
*** 15,20 ****
if ($allow_preferences == 'no') header("Location: $back_page");
! if (isset($HTTP_GET_VARS['action'])) {
! $action = $HTTP_GET_VARS['action'];
} else {
$action = '';
--- 15,20 ----
if ($allow_preferences == 'no') header("Location: $back_page");
! if (isset($_GET['action'])) {
! $action = $_GET['action'];
} else {
$action = '';
Index: print.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/print.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** print.php 1 Sep 2004 21:26:59 -0000 1.31
--- print.php 2 Sep 2004 18:43:33 -0000 1.32
***************
*** 10,14 ****
$end_week_time = $start_week_time + (6 * 25 * 60 * 60);
$parse_month = date ("Ym", strtotime($getdate));
! $printview = $HTTP_GET_VARS['printview'];
$cal_displayname = str_replace("32", " ", $cal);
$events_week = 0;
--- 10,14 ----
$end_week_time = $start_week_time + (6 * 25 * 60 * 60);
$parse_month = date ("Ym", strtotime($getdate));
! $printview = $_GET['printview'];
$cal_displayname = str_replace("32", " ", $cal);
$events_week = 0;
Index: search.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/search.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** search.php 12 Aug 2004 20:32:48 -0000 1.32
--- search.php 2 Sep 2004 18:43:33 -0000 1.33
***************
*** 16,21 ****
$search_valid = false;
! if (isset($HTTP_GET_VARS['query']) && $HTTP_GET_VARS['query'] != '') {
! $query = $HTTP_GET_VARS['query'];
$search_valid = true;
}
--- 16,21 ----
$search_valid = false;
! if (isset($_GET['query']) && $_GET['query'] != '') {
! $query = $_GET['query'];
$search_valid = true;
}
|