removed double pix and old tpl files

This commit is contained in:
ceb 2002-11-18 00:51:21 +00:00
parent 5444c42b4c
commit 7c767314c9
37 changed files with 0 additions and 509 deletions

View File

@ -1,27 +0,0 @@
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="7" width="59"><img src="{img_root}/side_bar_bottom.gif" width="59" height="7"></td>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="7"><img src="{img_root}/menu_bar_left.gif" width="7" height="24"></td>
<td background="{img_root}/menu_bar_bg.gif" width="100%">&nbsp;</td>
<td width="9"><img src="{img_root}/menu_bar_right.gif" width="9" height="24"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="{img_root}/blue_filler.gif" height="20"><font color="ffffff">{user_info}</font></td>
</tr>
</table>

View File

@ -1,55 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare *
* 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. *
\**************************************************************************/
/* $Id$ */
$app_css = '';
if(@isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
{
list($app,$class,$method) = explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']);
if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['css'])
{
$app_css = $GLOBALS[$class]->css();
}
}
$bodyheader = 'BGCOLOR="'.$GLOBALS['phpgw_info']['theme']['bg_color'].'"';
if ($GLOBALS['phpgw_info']['server']['htmlcompliant'])
{
$bodyheader .= ' BGCOLOR="'.$GLOBALS['phpgw_info']['theme']['bg_color'].'" ALINK="'.$GLOBALS['phpgw_info']['theme']['alink'].'" LINK="'.$GLOBALS['phpgw_info']['theme']['link'].'" VLINK="'.$GLOBALS['phpgw_info']['theme']['vlink'].'"';
}
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_unknowns('remove');
$tpl->set_file(array('head' => 'head.tpl'));
$var = Array
(
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
'webserver_url' => $GLOBALS['phpgw_info']['server']['webserver_url'],
'home' => $GLOBALS['phpgw']->link('/index.php'),
'appt' => $GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'calendar.uicalendar.day')),
'todo' => $GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'todo.uitodo.add')),
'prefs' => $GLOBALS['phpgw']->link('/preferences/index.php'),
'email' => $GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'email.uipreferences.preferences')),
'calendar' => $GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'calendar.uipreferences.preferences')),
'addressbook' => $GLOBALS['phpgw']->link('/index.php',Array('menuaction'=>'addressbook.uiaddressbook.preferences')),
'charset' => lang('charset'),
'font_family' => $GLOBALS['phpgw_info']['theme']['font'],
'website_title' => $GLOBALS['phpgw_info']['server']['site_title'],
'body_tags' => $bodyheader,
'app_css' => $app_css
);
$tpl->set_var($var);
$tpl->pfp('out','head');
unset($tpl);
?>

View File

@ -1,80 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset={charset}">
<META name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org">
<META NAME="description" CONTENT="phpGroupWare">
<META NAME="keywords" CONTENT="phpGroupWare">
<meta name="robots" content="none">
<LINK REL="ICON" href="{img_icon}" type="image/x-ico">
<LINK REL="SHORTCUT ICON" href="{img_shortcut}">
<STYLE type="text/css">
<!--
a { text-decoration:none; }
A:link{ text-decoration:none }
A:visted{ text-decoration:none }
A:active{ text-decoration:none }
body { margin-top: 0px; margin-right: 0px; margin-left: 0px; font-family: {font_family} }
.tablink { color: #000000; }
{app_css}
-->
</STYLE>
<TITLE>{website_title}</TITLE>
<script type="text/javascript" language="javascript" src="{webserver_url}/phpgwapi/templates/justweb/navcond.js"></script>
<script type="text/javascript" language="javascript">
var myNavBar1 = new NavBar(0);
var dhtmlMenu;
//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below
dhtmlMenu = new NavBarMenu(60, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Home", "{home}"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(60, 140);
dhtmlMenu.addItem(new NavBarMenuItem("Edit", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Add new Appointment", "{appt}"));
dhtmlMenu.addItem(new NavBarMenuItem("Add new Todo", "{todo}"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(125, 140);
dhtmlMenu.addItem(new NavBarMenuItem("Preferences", ""));
dhtmlMenu.addItem(new NavBarMenuItem("General", "{prefs}"));
dhtmlMenu.addItem(new NavBarMenuItem("Email", "{email}"));
dhtmlMenu.addItem(new NavBarMenuItem("Calendar", "{calendar}"));
dhtmlMenu.addItem(new NavBarMenuItem("Addressbook", "{addressbook}"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(62, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Help", ""));
dhtmlMenu.addItem(new NavBarMenuItem("General", ""));
myNavBar1.addMenu(dhtmlMenu);
//set menu colors
myNavBar1.setColors("#343434", "#eeeeee", "#60707C", "#ffffff", "#888888", "#eeeeee", "#60707C", "#ffffff", "#777777")
myNavBar1.setFonts("Verdana", "Normal", "Normal", "10pt", "Verdana", "Normal", "Normal", "10pt");
//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")
var fullWidth;
function init() {
// Get width of window, need to account for scrollbar width in Netscape.
fullWidth = getWindowWidth()
- (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
myNavBar1.moveTo(10,36);
myNavBar1.resize(500 /*fullWidth*/);
myNavBar1.setSizes(0,1,1);
myNavBar1.create();
myNavBar1.setzIndex(2);
}
</script>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="init();" {body_tags}>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 B

View File

@ -1,61 +0,0 @@
<!-- BEGIN login_form -->
<html>
<head>
<title>{website_title} - Login</title>
</head>
<body bgcolor="#FFFFFF">
<a href="http://www.phpgroupware.org"><img src="phpGroupWare.jpg" alt="phpGroupWare" border="0"></a>
<p>&nbsp;</p>
<center>{lang_message}</center>
<p>&nbsp;</p>
<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0" width="40%" align="center">
<tr>
<td>
<table border="0" width="100%" bgcolor="#486591" cellpadding="2" cellspacing="1">
<tr bgcolor="#486591">
<td align="left">
<font color="#fefefe">&nbsp;{lang_phpgw_login}</font>
</td>
</tr>
<tr bgcolor="#e6e6e6">
<td valign="baselines">
<form method="post" action="{login_url}">
<table border="0" align="center" bgcolor="#486591" width="100%" cellpadding="0" cellspacing="0">
<tr bgcolor="#e6e6e6">
<td colspan="2" align="center">
{cd}
</td>
</tr>
<tr bgcolor="#e6e6e6">
<td align="right"><font color="#000000">{lang_username}:&nbsp;</font></td>
<td><input name="login" value="{cookie}"></td>
</tr>
<tr bgcolor="#e6e6e6">
<td align="right"><font color="#000000">{lang_password}:&nbsp;</font></td>
<td><input name="passwd" type="password" onChange="this.form.submit()"></td>
</tr>
<tr bgcolor="#e6e6e6">
<td colspan="2" align="center">
<input type="submit" value="{lang_login}" name="submitit">
</td>
</tr>
<tr bgcolor="#e6e6e6">
<td colspan="2" align="right">
<font color="#000000" size="-1">{version}</font>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</html>
<!-- END login_form -->

View File

@ -1,14 +0,0 @@
<!-- BEGIN form -->
<body bgcolor="FFFFFF">
<a href="http://www.phpgroupware.org"><img src="phpGroupWare.jpg" alt="phpGroupWare" border="0"></a>
<table border="0" height="94%" width="100%">
<tr>
<td align="center">
Opps! You caught us in the middle of a system upgrade.<br>Please, check back with us shortly.
</td>
</tr>
</table>
<!-- END form -->

View File

@ -1,63 +0,0 @@
<!-- BEGIN login_form -->
<html>
<head>
<title>{website_title} - Login</title>
</head>
<body bgcolor="#FFFFFF">
<a href="http://www.phpgroupware.org"><img src="phpGroupWare.jpg" alt="phpGroupWare" border="0"></a>
<p>&nbsp;</p>
<center>{lang_message}</center>
<p>&nbsp;</p>
<table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0" width="60%" align="center">
<tr>
<td>
<table border="0" width="100%" bgcolor="#486591" cellpadding="2" cellspacing="1">
<tr bgcolor="#486591">
<td align="left">
<font color="#fefefe">&nbsp;{lang_phpgw_login}</font>
</td>
</tr>
<tr bgcolor="#e6e6e6">
<td valign="baselines">
<form method="post" action="{login_url}">
<table border="0" align="center" bgcolor="#486591" width="100%" cellpadding="0" cellspacing="0">
<tr bgcolor="#e6e6e6">
<td colspan="3" align="center">
{cd}
</td>
</tr>
<tr bgcolor="#e6e6e6">
<td align="right"><font color="#000000">{lang_username}:</font></td>
<td align="right"><input name="login" value="{cookie}"></td>
<td align="left">&nbsp;@&nbsp;<select name="logindomain">{select_domain}</select></td>
</tr>
<tr bgcolor="#e6e6e6">
<td align="right"><font color="#000000">{lang_password}:</font></td>
<td align="right"><input name="passwd" type="password" onChange="this.form.submit()"></td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#e6e6e6">
<td colspan="3" align="center">
<input type="submit" value="{lang_login}" name="submitit">
</td>
</tr>
<tr bgcolor="#e6e6e6">
<td colspan="3" align="right">
<font color="#000000" size="-1">{version}</font>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
</html>
<!-- END login_form -->

View File

@ -1,168 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare *
* 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. *
\**************************************************************************/
/* $Id$ */
function parse_navbar($force = False)
{
$tpl = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_file(
array(
'navbar' => 'navbar.tpl'
)
);
$var['img_root'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/justweb/images';
$var['table_bg_color'] = $GLOBALS['phpgw_info']['theme']['navbar_bg'];
if ($GLOBALS['phpgw_info']['flags']['navbar_target'])
{
$target = ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
}
while ($app = each($GLOBALS['phpgw_info']['navbar']))
{
if ($app[1]['title'] != "Home" && $app[1]['title'] != 'preferences' && ! ereg('About',$app[1]['title']) && $app[1]['title'] != 'Logout')
{
$title = '<img src="' . $app[1]['icon'] . '" alt="' . lang($app[1]['title']) . '" title="'
. lang($app[1]['title']) . '" border="0">';
if ($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] == 'icons_and_text')
{
$title .= '<br>' . lang($app[1]['title']);
}
$applications .= '<br><a href="' . $app[1]['url'] . '"' . $target . '>' . $title . '</a>';
}
}
$var ['applications'] = $applications;
$var['home_link'] = $GLOBALS['phpgw_info']['navbar']['home']['url'];
$var['preferences_link'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url'];
$var['logout_link'] = $GLOBALS['phpgw_info']['navbar']['logout']['url'];
$var['help_link'] = $GLOBALS['phpgw_info']['navbar']['about']['url'];
if ($GLOBALS['phpgw_info']['flags']['currentapp'] == 'home')
{
$var['welcome_img'] = PHPGW_IMAGES_DIR . '/welcome-red.gif';
}
else
{
$var['welcome_img'] = PHPGW_IMAGES_DIR . '/welcome-grey.gif';
}
if ($GLOBALS['phpgw_info']['flags']['currentapp'] == 'preferences')
{
$var['preferences_img'] = PHPGW_IMAGES_DIR . '/preferences-red.gif';
}
else
{
$var['preferences_img'] = PHPGW_IMAGES_DIR . '/preferences-grey.gif';
}
$var['logout_img'] = PHPGW_IMAGES_DIR . '/logout-grey.gif';
/*
if ($GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 'top')
{
$var['powered_by'] = lang('Powered by phpGroupWare version x',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
}
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) && isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
{
$db = $GLOBALS['phpgw']->db;
$db->query("select count(session_id) from phpgw_sessions");
$db->next_record();
$var['current_users'] = '<a href="' . $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '">&nbsp;'
. lang('Current users') . ': ' . $db->f(0) . '</a>';
}
*/
$now = time();
$var['user_info'] = $GLOBALS['phpgw']->common->display_fullname() . ' - '
. lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' '
. $GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
// . lang($GLOBALS['phpgw']->common->show_date($now,'F')) . ' '
// . $GLOBALS['phpgw']->common->show_date($now,'d, Y');
/*
* Maybe we should create a common function in the phpgw_accounts_shared.inc.php file
* to get rid of duplicate code.
*/
/*
if ($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0)
{
$api_messages = lang('You are required to change your password during your first login')
. '<br> Click this image on the navbar: <img src="'
. $GLOBALS['phpgw']->common->image('preferences','navbar.gif').'">';
}
elseif ($GLOBALS['phpgw_info']['user']['lastpasswd_change'] < time() - (86400*30))
{
$api_messages = lang('it has been more then x days since you changed your password',30);
}
// This is gonna change
if (isset($cd))
{
$var['messages'] = $api_messages . "<br>" . checkcode($cd);
}
*/
if (! function_exists('display_section'))
{
//echo 'function was not found<br>';
/*
function display_section($appname,$title,$file)
{
$GLOBALS['prefs'][$appname]['title'] = $title;
$GLOBALS['prefs'][$appname]['file'][] = $file;
}
$temp_hooks = CreateObject('phpgwapi.hooks');
$temp_hooks->process('preferences',array('preferences'));
*/
//echo 'prefs<pre>';
//print_r($GLOBALS['prefs']);
//echo '</pre>';
//echo 'phpgw_info<pre>';
//print_r($GLOBALS['phpgw_info']);
//echo '</pre>';
}
// else {echo 'function was found<br>';}
//$temp_browser = CreateObject('phpgwapi.browser');
//echo 'agent: '.$temp_browser->get_agent().'<br>';
$tpl->set_var($var);
$tpl->pfp('out','navbar');
return;
}
function parse_navbar_end()
{
$tpl = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_file(
array(
'footer' => 'footer.tpl'
)
);
$var = Array(
'img_root' => $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/justweb/images',
'table_bg_color' => $GLOBALS['phpgw_info']['theme']['navbar_bg'],
'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],
'user_info' => $GLOBALS['phpgw']->common->display_fullname() . ' - '
. lang($GLOBALS['phpgw']->common->show_date(time(),'l')) . ' '
. lang($GLOBALS['phpgw']->common->show_date(time(),'F')) . ' '
. $GLOBALS['phpgw']->common->show_date(time(),'d, Y')
);
$tpl->set_var($var);
$GLOBALS['phpgw']->hooks->process('navbar_end');
echo $tpl->pfp('out','footer');
}

View File

@ -1,40 +0,0 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="218" height="33"><img src="{img_root}/logo.gif" alt="phpGroupWare"></td>
<td width="100%" valign="bottom" background="{img_root}/menu_filler.gif">&nbsp;</td>
<td valign="bottom" width="56" background="{img_root}/blue_filler.gif"><a href="{home_link}"><img src="{img_root}/tab_home.gif" width="56" height="23" border="0"></a></td>
<td valign="bottom" width="85" background="{img_root}/blue_filler.gif"><a href="{preferences_link}"><img src="{img_root}/tab_prefs.gif" width="85" height="23" border="0"></a></td>
<td valign="bottom" width="56" background="{img_root}/blue_filler.gif"><a href="{logout_link}"><img src="{img_root}/tab_logout.gif" width="56" height="23" border="0"></a></td>
<td valign="bottom" width="39" background="{img_root}/blue_filler.gif"><a href="{help_link}"><img src="{img_root}/tab_help.gif" width="39" height="23" border="0"></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="7"><img src="{img_root}/menu_bar_left.gif" width="7" height="24"></td>
<td background="{img_root}/menu_bar_bg.gif" width="100%">&nbsp;</td>
<td width="9"><img src="{img_root}/menu_bar_right.gif" width="9" height="24"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="100%" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td height="7" width="59"><img src="{img_root}/side_bar_top.gif" width="59" height="7"></td>
<td></td>
</tr>
<tr>
<td valign="top" align="center" background="{img_root}/side_bar_bg.gif" height="100%" width="59">{applications}</td>
<td width="100%" valign="top">
<table width="100%" border="0" cellspacing="15" cellpadding="15">
<tr>
<td valign="top">

View File

@ -1 +0,0 @@
<td align="center" width="{width}">{value}</td>