[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: wiki config.php,1.1.3.1,1.2 index.php,1.2,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: wiki config.php,1.1.3.1,1.2 index.php,1.2,1.3 |
Date: |
Mon, 03 Mar 2003 09:16:25 -0500 |
Update of /cvsroot/phpgroupware/wiki
In directory subversions:/tmp/cvs-serv15091
Modified Files:
config.php index.php
Log Message:
first version of phpgw port, includes:
- automatic install by setup(3)
- some example data
Index: config.php
===================================================================
RCS file: /cvsroot/phpgroupware/wiki/config.php,v
retrieving revision 1.1.3.1
retrieving revision 1.2
diff -C2 -r1.1.3.1 -r1.2
*** config.php 3 Mar 2003 13:07:22 -0000 1.1.3.1
--- config.php 3 Mar 2003 14:16:23 -0000 1.2
***************
*** 20,55 ****
// If $DBPersist is not 0, persistent database connections will be used.
// Note that this is not supported by all hosting providers.
! $DBPersist = 0;
// $DBServer indicates the hostname of the database server. It may be
// set to '' for the local host.
! $DBServer = 'localhost';
// $DBName indicates the name of the database that the wiki should use.
! $DBName = 'axiswiki';
// $DBUser indicates the name of the database user.
! $DBUser = 'axisgroupware';
// $DBPasswd indicates the password to use for database access.
! $DBPasswd = 'password';
// $DBTablePrefix is used to start table names for the wiki's tables. If your
// hosting provider only allows you one database, you can set up multiple
// wikis in the same database by creating tables that have different prefixes.
! $DBTablePrefix = '';
// $WikiName determines the name of your wiki. This name is used in the
// browser title bar. Often, it will be the same as $HomePage.
! $WikiName = 'AxisWiki';
// $HomePage determines the "main" page of your wiki. If browsers do not ask
// to see a specific page they will be shown the home page. This should be
// a wiki page name, like 'AcmeProjectWiki'.
! $HomePage = 'AxisWiki';
// $InterWikiPrefix determines what interwiki prefix you recommend other
// wikis use to link to your wiki. Usually it is similar to your WikiName.
! $InterWikiPrefix = 'Axis';
// If $EnableFreeLinks is set to 1, links of the form "((page name))" will be
--- 20,55 ----
// If $DBPersist is not 0, persistent database connections will be used.
// Note that this is not supported by all hosting providers.
! $DBPersist = $GLOBALS['phpgw_info']['server']['db_persistent'];
// $DBServer indicates the hostname of the database server. It may be
// set to '' for the local host.
! $DBServer = $GLOBALS['phpgw_info']['server']['db_host'];
// $DBName indicates the name of the database that the wiki should use.
! $DBName = $GLOBALS['phpgw_info']['server']['db_name'];
// $DBUser indicates the name of the database user.
! $DBUser = $GLOBALS['phpgw_info']['server']['db_user'];
// $DBPasswd indicates the password to use for database access.
! $DBPasswd = $GLOBALS['phpgw_info']['server']['db_pass'];
// $DBTablePrefix is used to start table names for the wiki's tables. If your
// hosting provider only allows you one database, you can set up multiple
// wikis in the same database by creating tables that have different prefixes.
! $DBTablePrefix = 'phpgw_wiki_';
// $WikiName determines the name of your wiki. This name is used in the
// browser title bar. Often, it will be the same as $HomePage.
! $WikiName = 'PhpGroupWareWiki';
// $HomePage determines the "main" page of your wiki. If browsers do not ask
// to see a specific page they will be shown the home page. This should be
// a wiki page name, like 'AcmeProjectWiki'.
! $HomePage = 'PhpGroupWareWiki';
// $InterWikiPrefix determines what interwiki prefix you recommend other
// wikis use to link to your wiki. Usually it is similar to your WikiName.
! $InterWikiPrefix = 'PhpGroupWare';
// If $EnableFreeLinks is set to 1, links of the form "((page name))" will be
***************
*** 65,84 ****
// the full URL of the main index.php script itself.
# simply set the relative directory here for phpgw support
! $ScriptBase = $GLOBALS['phpgw']->link("/axiswiki/index.php");
// $AdminScript indicates the location of your admin wiki script. It should
// indicate the full URL of the admin/index.php script itself.
! $AdminScript = $GLOBALS['phpgw']->link("/axiswiki/admin/index.php");
// $WikiLogo determines the location of your wiki logo.
! $WikiLogo = $GLOBALS['phpgw']->link("/axiswiki/logo.gif");
// $MetaKeywords indicates what keywords to report on the meta-keywords tag.
// This is useful to aid search engines in indexing your wiki.
! $MetaKeywords = 'axis documentation wiki';
// $MetaDescription should be a sentence or two describing your wiki. This
// is useful to aid search engines in indexing your wiki.
! $MetaDescription = 'Axis Documentation Wiki';
// TemplateDir indicates what directory your wiki templates are located in.
--- 65,84 ----
// the full URL of the main index.php script itself.
# simply set the relative directory here for phpgw support
! $ScriptBase = $GLOBALS['phpgw']->link('/wiki/index.php');
// $AdminScript indicates the location of your admin wiki script. It should
// indicate the full URL of the admin/index.php script itself.
! $AdminScript = $GLOBALS['phpgw']->link('/wiki/admin/index.php');
// $WikiLogo determines the location of your wiki logo.
! $WikiLogo =
$GLOBALS['phpgw']->link('/wiki/templates/default/images/navbar.gif');
// $MetaKeywords indicates what keywords to report on the meta-keywords tag.
// This is useful to aid search engines in indexing your wiki.
! $MetaKeywords = 'phpgw documentation wiki';
// $MetaDescription should be a sentence or two describing your wiki. This
// is useful to aid search engines in indexing your wiki.
! $MetaDescription = 'phpGroupWare Documentation Wiki';
// TemplateDir indicates what directory your wiki templates are located in.
Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/wiki/index.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** index.php 3 Mar 2003 13:37:05 -0000 1.2
--- index.php 3 Mar 2003 14:16:23 -0000 1.3
***************
*** 4,8 ****
switch ($action) {
case 'edit':
! $phpgw_info["flags"] = array ("currentapp" => "axiswiki",
"enable_nextmatchs_class" => True );
$GLOBALS['phpgw_info']['cursor_focus'] =
"document.editform.document.focus();";
--- 4,8 ----
switch ($action) {
case 'edit':
! $phpgw_info["flags"] = array ("currentapp" => "wiki",
"enable_nextmatchs_class" => True );
$GLOBALS['phpgw_info']['cursor_focus'] =
"document.editform.document.focus();";
***************
*** 10,18 ****
case 'save':
if ($HTTP_POST_VARS['Preview'] == 'Preview') {
! $phpgw_info["flags"] = array ("currentapp" =>
"axiswiki",
"enable_nextmatchs_class" => True );
$GLOBALS['phpgw_info']['cursor_focus'] =
"document.editform.document.focus();";
} else {
! $phpgw_info["flags"] = array ("currentapp" =>
"axiswiki",
"enable_nextmatchs_class" => True,
"noheader" => True );
--- 10,18 ----
case 'save':
if ($HTTP_POST_VARS['Preview'] == 'Preview') {
! $phpgw_info["flags"] = array ("currentapp" =>
"wiki",
"enable_nextmatchs_class" => True );
$GLOBALS['phpgw_info']['cursor_focus'] =
"document.editform.document.focus();";
} else {
! $phpgw_info["flags"] = array ("currentapp" =>
"wiki",
"enable_nextmatchs_class" => True,
"noheader" => True );
***************
*** 22,29 ****
case 'prefs':
if (empty($Save)) {
! $phpgw_info["flags"] = array ("currentapp" =>
"axiswiki",
"enable_nextmatchs_class" => True );
} else {
! $phpgw_info["flags"] = array ("currentapp" =>
"axiswiki",
"enable_nextmatchs_class" => True,
"noheader" => True );
--- 22,29 ----
case 'prefs':
if (empty($Save)) {
! $phpgw_info["flags"] = array ("currentapp" =>
"wiki",
"enable_nextmatchs_class" => True );
} else {
! $phpgw_info["flags"] = array ("currentapp" =>
"wiki",
"enable_nextmatchs_class" => True,
"noheader" => True );
***************
*** 32,36 ****
break;
default:
! $phpgw_info["flags"] = array ("currentapp" => "axiswiki",
"enable_nextmatchs_class" => True );
$GLOBALS['phpgw_info']['cursor_focus'] =
"document.thesearch.find.focus();";
--- 32,36 ----
break;
default:
! $phpgw_info["flags"] = array ("currentapp" => "wiki",
"enable_nextmatchs_class" => True );
$GLOBALS['phpgw_info']['cursor_focus'] =
"document.thesearch.find.focus();";
***************
*** 51,55 ****
if ($account_lid == $admin1 or $account_lid == $admin2) {
echo "<br><a href=\"";
! echo $GLOBALS['phpgw']->link("/mis/axiswiki/admin/index.php");
echo "\">Admin Page</a><br><br>";
} */
--- 51,55 ----
if ($account_lid == $admin1 or $account_lid == $admin2) {
echo "<br><a href=\"";
! echo $GLOBALS['phpgw']->link("/wiki/admin/index.php");
echo "\">Admin Page</a><br><br>";
} */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: wiki config.php,1.1.3.1,1.2 index.php,1.2,1.3,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: wiki/doc cvs-import,NONE,1.1
- Next by Date:
[Phpgroupware-cvs] CVS: wiki/setup default_records.inc.php,NONE,1.1 phpgw_de.lang,NONE,1.1 phpgw_en.lang,NONE,1.1 setup.inc.php,NONE,1.1 tables_current.inc.php,NONE,1.1
- Previous by thread:
[Phpgroupware-cvs] CVS: wiki/doc cvs-import,NONE,1.1
- Next by thread:
[Phpgroupware-cvs] CVS: wiki/setup default_records.inc.php,NONE,1.1 phpgw_de.lang,NONE,1.1 phpgw_en.lang,NONE,1.1 setup.inc.php,NONE,1.1 tables_current.inc.php,NONE,1.1
- Index(es):