[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site blockconfig.inc.php,1.2.2.
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site blockconfig.inc.php,1.2.2.1,1.2.2.2 functions.inc.php,1.2.2.3,1.2.2.4 index.php,1.4.2.1,1.4.2.2 |
Date: |
Fri, 22 Nov 2002 01:03:58 -0500 |
Update of /cvsroot/phpgroupware//sitemgr/sitemgr-site
In directory subversions:/tmp/cvs-serv23819
Modified Files:
Tag: Version-0_9_14-branch
blockconfig.inc.php functions.inc.php index.php
Log Message:
Various language updates and added support for center blocks
Index: blockconfig.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware//sitemgr/sitemgr-site/blockconfig.inc.php,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** blockconfig.inc.php 18 Oct 2002 23:22:22 -0000 1.2.2.1
--- blockconfig.inc.php 22 Nov 2002 06:03:55 -0000 1.2.2.2
***************
*** 13,19 ****
'blanguage' => '',
'blockfile' => 'block-Amazon.php',
! 'view' => 0 // 0=everybody, 1=admins 2=phpgw users
3=anonymous
);
*/
$blocks[]=array(
'title' => lang('Root Site Index'),
--- 13,29 ----
'blanguage' => '',
'blockfile' => 'block-Amazon.php',
! 'view' => 0 // 0=everybody, 1=phpgw users 2=admins
3=anonymous
);
*/
+
+
+ $blocks[]=array(
+ 'title' => lang('Choose language'),
+ 'blockfile' => 'block-Choose_lang.php',
+ 'position' => 'l',
+ 'refresh' => 0,
+ 'view' => 0
+ );
+
$blocks[]=array(
'title' => lang('Root Site Index'),
***************
*** 24,28 ****
$blocks[]=array(
'title' => lang('Table of Contents'),
! 'position' => 'l',
'blockfile' => 'block-Table_of_Contents.php',
'view' => 0
--- 34,38 ----
$blocks[]=array(
'title' => lang('Table of Contents'),
! 'position' => 'r',
'blockfile' => 'block-Table_of_Contents.php',
'view' => 0
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware//sitemgr/sitemgr-site/functions.inc.php,v
retrieving revision 1.2.2.3
retrieving revision 1.2.2.4
diff -C2 -r1.2.2.3 -r1.2.2.4
*** functions.inc.php 5 Nov 2002 05:17:00 -0000 1.2.2.3
--- functions.inc.php 22 Nov 2002 06:03:55 -0000 1.2.2.4
***************
*** 28,32 ****
// Change http://xyz/index.php?page_name=page1 to
! // http://xyz/page1/ i the htaccess stuff is enabled
$page_name = '';
if (!is_array($extravars))
--- 28,32 ----
// Change http://xyz/index.php?page_name=page1 to
! // http://xyz/page1/ if the htaccess stuff is enabled
$page_name = '';
if (!is_array($extravars))
***************
*** 53,59 ****
}
$url = $GLOBALS['sitemgr_info']['sitemgr-site_url'] . $url;
!
! $url = ereg_replace('([^:])//','\1/',$url);
// build the extravars string from a array
--- 53,61 ----
}
+ // In certain instances a url may look like this:
'http://xyz//hi.php' or
+ // like this: '//index.php?blahblahblah' -- so the code below
will remove
+ // the inappropriate double slashes and leave appropriate ones
$url = $GLOBALS['sitemgr_info']['sitemgr-site_url'] . $url;
! $url = substr(ereg_replace('([^:])//','\1/','s'.$url),1);
// build the extravars string from a array
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware//sitemgr/sitemgr-site/index.php,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -C2 -r1.4.2.1 -r1.4.2.2
*** index.php 1 Nov 2002 06:25:14 -0000 1.4.2.1
--- index.php 22 Nov 2002 06:03:55 -0000 1.4.2.2
***************
*** 33,36 ****
--- 33,38 ----
}
+ require_once('./functions.inc.php');
+ require_once('./blockconfig.inc.php');
include './inc/class.ui.inc.php';
***************
*** 39,53 ****
include './inc/class.Template2.inc.php';
$objui = new ui;
- require_once('./functions.inc.php');
- require_once('./blockconfig.inc.php');
-
! global $page_id;
! global $page_name;
! global $category_id;
! global $toc;
! global $index;
if ($page_name)
--- 41,53 ----
include './inc/class.Template2.inc.php';
+
$objui = new ui;
! $page_id = $_GET['page_id'];
! $page_name = $_GET['page_name'];
! $category_id = $_GET['category_id'];
! $toc = $_GET['toc'];
! $index = $_GET['index'];
if ($page_name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site blockconfig.inc.php,1.2.2.1,1.2.2.2 functions.inc.php,1.2.2.3,1.2.2.4 index.php,1.4.2.1,1.4.2.2,
Patrick Walsh <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: sitemgr/inc class.ManageTranslations_UI.inc.php,NONE,1.1.2.1 class.Admin_ManageCategories_UI.inc.php,1.5.2.2,1.5.2.3 class.Categories_BO.inc.php,1.4.2.1,1.4.2.2 class.Categories_SO.inc.php,1.10.2.1,1.10.2.2 class.Common_UI.inc.php,1.6.2.3,1.6.2.4 class.MainMenu_UI.inc.php,1.3.2.2,1.3.2.3 class.Page_SO.inc.php,1.3,1.3.2.1 class.Pages_BO.inc.php,1.2.2.1,1.2.2.2 class.Pages_SO.inc.php,1.8,1.8.2.1 class.admin_ManageSiteContent_UI.inc.php,1.1.1.1.2.2,1.1.1.1.2.3 class.contributor_ManagePage_UI.inc.php,1.7.2.3,1.7.2.4 class.headerFooter_BO.inc.php,1.1.1.1,1.1.1.1.2.1
- Next by Date:
[Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site/blocks block-Choose_lang.php,NONE,1.1.2.1
- Previous by thread:
[Phpgroupware-cvs] CVS: sitemgr/inc class.ManageTranslations_UI.inc.php,NONE,1.1.2.1 class.Admin_ManageCategories_UI.inc.php,1.5.2.2,1.5.2.3 class.Categories_BO.inc.php,1.4.2.1,1.4.2.2 class.Categories_SO.inc.php,1.10.2.1,1.10.2.2 class.Common_UI.inc.php,1.6.2.3,1.6.2.4 class.MainMenu_UI.inc.php,1.3.2.2,1.3.2.3 class.Page_SO.inc.php,1.3,1.3.2.1 class.Pages_BO.inc.php,1.2.2.1,1.2.2.2 class.Pages_SO.inc.php,1.8,1.8.2.1 class.admin_ManageSiteContent_UI.inc.php,1.1.1.1.2.2,1.1.1.1.2.3 class.contributor_ManagePage_UI.inc.php,1.7.2.3,1.7.2.4 class.headerFooter_BO.inc.php,1.1.1.1,1.1.1.1.2.1
- Next by thread:
[Phpgroupware-cvs] CVS: /sitemgr/sitemgr-site/blocks block-Choose_lang.php,NONE,1.1.2.1
- Index(es):