[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: wcm/wcm-site-link README,NONE,1.1 index.php,NONE
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: wcm/wcm-site-link README,NONE,1.1 index.php,NONE,1.1 |
Date: |
Tue, 27 Aug 2002 04:34:51 -0400 |
Update of /cvsroot/phpgroupware/wcm/wcm-site-link
In directory subversions:/tmp/cvs-serv32185/wcm-site-link
Added Files:
README index.php
Log Message:
added new coded from patricks team
--- NEW FILE ---
This just adds a menu icon to the website
--- NEW FILE ---
<?php
/**************************************************************************\
* phpGroupWare - Web Content Manager
*
* http://www.phpgroupware.org
*
* -----------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
it *
* under the terms of the GNU General Public License as published by
the *
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
$GLOBALS['phpgw_info']['flags'] = array
(
'currentapp' => 'wcm-pub',
'noheader' => True,
'nonavbar' => True,
'noapi' => False
);
include('../header.inc.php');
$pref_so = CreateObject('wcm.sitePreference_SO', True);
$location = $pref_so->getPreference('wcm-gen-url');
$dir = $pref_so->getPreference('wcm-gen-dir');
if ($location && file_exists($dir . '/config.inc.php'))
{
require_once ($dir . '/config.inc.php');
//echo wcm_link('/index.php','');
Header('Location: ' . wcm_link('/index.php'));
exit;
}
else
{
$GLOBALS['phpgw']->common->phpgw_header();
echo parse_navbar();
$aclbo = CreateObject('wcm.ACL_BO', True);
echo '<table width="50%"><tr><td>';
if ($aclbo->is_admin())
{
echo 'Before the public web site can be viewed, you
must configure the various locations and preferences. Please go to the wcm
setup page by following this link: <a href="' .
$GLOBALS['phpgw']->link('/index.php', 'menuaction=wcm.Common_UI.DisplayPrefs')
. '">wcm setup page</a>. Note that you may get this message if your
preferences are incorrect. For example, if config.inc.php is not found in the
directory that you specified.';
}
else
{
echo 'Your administrator has not yet setup the web
content manager for public viewing. Go bug your administrator to get their
butt in gear.';
}
echo '</td></tr></table>';
$GLOBALS['phpgw']->common->phpgw_footer();
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: wcm/wcm-site-link README,NONE,1.1 index.php,NONE,1.1,
Dan Kuykendall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: wcm/wcm-site/inc class.bo.inc.php,NONE,1.1 class.so.inc.php,NONE,1.1 class.ui.inc.php,NONE,1.1 meta.ui.inc.php,NONE,1.1 phpnuke.compat.inc.php,NONE,1.1
- Next by Date:
[Phpgroupware-cvs] CVS: wcm/wcm-site/themes/NukeNews/images corner-bottom-left.gif,NONE,1.1 corner-bottom-right.gif,NONE,1.1 corner-top-left.gif,NONE,1.1 corner-top-right.gif,NONE,1.1 index.html,NONE,1.1 leftbar.gif,NONE,1.1 logo.gif,NONE,1.1 mainbar.gif,NONE,1.1 maximize.gif,NONE,1.1 minimize.gif,NONE,1.1 pixel.gif,NONE,1.1 rightbar.gif,NONE,1.1
- Previous by thread:
[Phpgroupware-cvs] CVS: wcm/wcm-site/inc class.bo.inc.php,NONE,1.1 class.so.inc.php,NONE,1.1 class.ui.inc.php,NONE,1.1 meta.ui.inc.php,NONE,1.1 phpnuke.compat.inc.php,NONE,1.1
- Next by thread:
[Phpgroupware-cvs] CVS: wcm/wcm-site/themes/NukeNews/images corner-bottom-left.gif,NONE,1.1 corner-bottom-right.gif,NONE,1.1 corner-top-left.gif,NONE,1.1 corner-top-right.gif,NONE,1.1 index.html,NONE,1.1 leftbar.gif,NONE,1.1 logo.gif,NONE,1.1 mainbar.gif,NONE,1.1 maximize.gif,NONE,1.1 minimize.gif,NONE,1.1 pixel.gif,NONE,1.1 rightbar.gif,NONE,1.1
- Index(es):