removed never working edge-it template

This commit is contained in:
Ralf Becker 2006-12-12 19:27:17 +00:00
parent d046f849fc
commit 3ee35ea278
14 changed files with 0 additions and 1343 deletions

View File

@ -1,41 +0,0 @@
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<!-- BEGIN egroupware -->
<tr>
<td align="left">
<a href="http://www.eGroupWare.org" target="_new"><img src="{phpgw_logo}" border="0" alt="eGroupWare"></a>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td align="left">{phpgw_version}</td>
</tr>
<tr>
<td align="left">{phpgw_message}</td>
</tr>
<tr>
<td height="3"><img src="phpgwapi/templates/default/images/spacer.gif" alt="spacer" height="3" /></td>
</tr>
<tr>
<td align="center"><div class="greyLine"></div></td>
</tr>
<!-- END egroupware -->
<!-- BEGIN application -->
<tr>
<td height="3"><img src="phpgwapi/templates/default/images/spacer.gif" alt="spacer" height="3" /></td>
</tr>
<tr>
<td align="left">
{phpgw_app_about}
</td>
</tr>
<!-- END application -->
</table>

View File

@ -1,10 +0,0 @@
<style type="text/css">
<!--
.row_on { color: {row_text}; background-color: {row_on}; }
.row_off { color: {row_text}; background-color: {row_off}; }
.th { color: {th_text}; background-color: {th_bg}; }
.narrow_column { width: 1%; white-space: nowrap; }
{app_css}
-->
</style>
{css_file}

View File

@ -1,12 +0,0 @@
</td></tr></table>
</div>
<!-- Applicationbox Column -->
</td>
</tr>
</table>
</div>
</div>
{page_generation_time}
<div id="divPoweredBy"><br/><span>{powered_by}</span></div>
</body>
</html>

View File

@ -1,97 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare *
* http://www.egroupware.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$ */
if($GLOBALS['phpgw_info']['user']['preferences']['common']['show_generation_time'])
{
$mtime = microtime();
$mtime = explode(' ',$mtime);
$mtime = $mtime[1] + $mtime[0];
$GLOBALS['page_start_time'] = $mtime;
}
// get used language code
$lang_code = $GLOBALS['phpgw_info']['user']['preferences']['common']['lang'];
$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'] . '"';
if(!$GLOBALS['phpgw_info']['server']['htmlcompliant'])
{
$bodyheader .= '';
}
#_debug_array($GLOBALS['phpgw_info']['user']['preferences']['common']);
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
if(!file_exists($theme_css))
{
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
}
//pngfix defaults to yes
if(!$GLOBALS['phpgw_info']['user']['preferences']['common']['disable_pngfix'])
{
$pngfix_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/pngfix.js';
$pngfix ='<!-- This solves the Internet Explorer PNG-transparency bug, but only for IE 5.5 and higher -->
<!--[if gte IE 5.5000]>
<script src="'.$pngfix_src.'" type="text/javascript">
</script>
<![endif]-->';
}
if(!$GLOBALS['phpgw_info']['user']['preferences']['common']['disable_slider_effects'])
{
$slider_effects_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/slidereffects.js';
$slider_effects = '<script src="'.$slider_effects_src.'" type="text/javascript">
</script>';
}
else
{
$simple_show_hide_src = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/simple_show_hide.js';
$simple_show_hide = '<script src="'.$simple_show_hide_src.'" type="text/javascript">
</script>';
}
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_unknowns('remove');
$tpl->set_file(array('_head' => 'head.tpl'));
$tpl->set_block('_head','head');
if ($GLOBALS['phpgw_info']['flags']['app_header'])
{
$app = $GLOBALS['phpgw_info']['flags']['app_header'];
}
else
{
$app = $GLOBALS['phpgw_info']['flags']['currentapp'];
$app = isset($GLOBALS['phpgw_info']['apps'][$app]) ? $GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app);
}
$var = Array(
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
'pngfix' => $pngfix,
'slider_effects'=> $slider_effects,
'simple_show_hide'=> $simple_show_hide,
'lang_code'=> $lang_code,
'charset' => $GLOBALS['phpgw']->translation->charset(),
'font_family' => $GLOBALS['phpgw_info']['theme']['font'],
'website_title' => $GLOBALS['phpgw_info']['server']['site_title']. ($app ? " [$app]" : ''),
'body_tags' => $bodyheader .' '. $GLOBALS['phpgw']->common->get_body_attribs(),
'theme_css' => $theme_css,
'css' => $GLOBALS['phpgw']->common->get_css(),
'java_script' => $GLOBALS['phpgw']->common->get_java_script(),
);
$tpl->set_var($var);
$tpl->pfp('out','head');
unset($tpl);
?>

View File

@ -1,25 +0,0 @@
<!-- BEGIN head --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="{lang_code}" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{website_title}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<meta name="keywords" content="eGroupWare" />
<meta name="description" content="eGroupware" />
<meta name="keywords" content="eGroupWare" />
<meta name="copyright" content="eGroupWare http://www.egroupware.org (c) 2003" />
<meta name="language" content="{lang_code}" />
<meta name="author" content="eGroupWare http://www.egroupware.org" />
<meta name="robots" content="none" />
<link rel="icon" href="{img_icon}" type="image/x-ico" />
<link rel="shortcut icon" href="{img_shortcut}" />
<link href="{theme_css}" type="text/css" rel="StyleSheet" />
{slider_effects}
{simple_show_hide}
{pngfix}
{css}
{java_script}
</head>
<!-- we don't need body tags anymore, do we?) we do!!! onload!! LK -->
<body {body_tags}>
<!-- END head -->

View File

@ -1,72 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare - Preferences *
* http://www.eGroupWare.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$ */
$start_and_logout_icons = array(
'yes' => lang('yes'),
'no' => lang('no')
);
$click_or_onmouseover = array(
'click' => lang('Click'),
'onmouseover' => lang('On Mouse Over')
);
$GLOBALS['settings'] = array(
'templ' => array(
'type' => 'section',
'title' => 'Preferences for the idots template set'
),
'start_and_logout_icons' => array(
'type' => 'select',
'label' => 'Show home and logout button in main application bar?',
'name' => 'start_and_logout_icons',
'values' => $start_and_logout_icons,
'help' => 'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.'
),
'max_icons' => array(
'type' => 'input',
'label' => 'Max number of icons in navbar',
'name' => 'max_icons',
'help' => 'How many icons should be shown in the navbar (top of the page). Additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar.','',3
),
'auto_hide_sidebox' => array(
'type' => 'check',
'label' => 'Autohide Sidebox menu\'s',
'name' => 'auto_hide_sidebox',
'help' => 'Automatically hide the Sidebox menu\'s?'
),
'click_or_onmouseover' => array(
'type' => 'select',
'label' => 'Click or Mouse Over to show menus',
'name' => 'click_or_onmouseover',
'values' => $click_or_onmouseover,
'help' => 'Click or Mouse Over to show menus?'
),
'disable_slider_effects' => array(
'type' => 'check',
'label' => 'Disable slider effects',
'name' => 'disable_slider_effects',
'help' => 'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.'
),
'disable_pngfix' => array(
'type' => 'check',
'label' => 'Disable Internet Explorer png-image-bugfix',
'name' => 'disable_pngfix',
'help' => 'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?'
),
'show_generation_time' => array(
'type' => 'check',
'label' => 'Show page generation time',
'name' => 'show_generation_time',
'help' => 'Show page generation time on the bottom of the page?'
)
);

View File

@ -1,150 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={charset}" />
<meta name="author" content="eGroupWare http://www.egroupware.org" />
<meta name="description" content="eGroupWare login screen" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<meta name="keywords" content="eGroupWare login screen" />
<link rel="stylesheet" href="phpgwapi/templates/{template_set}/css/idots.css" type="text/css" />
<link rel="icon" href="phpgwapi/templates/idots/images/favicon.ico" type="image/x-ico" />
<link rel="shortcut icon" href="phpgwapi/templates/idots/images/favicon.ico" />
<title>{website_title} - Login</title>
<style type="text/css">
/*body
{
height:100%;
}
*/
#divMain
{
height:85%;
}
</style>
<!-- this solves the internet explorer png-transparency bug, but only for ie 5.5 and higher -->
<!--[if gte ie 5.5000]>
<script src="./phpgwapi/templates/idots/js/pngfix.js" type=text/javascript>
</script>
<![endif]-->
</head>
<body bgcolor="#ffffff">
<div id="divLogo"><a href="{logo_url}" target="_blank"><img src="{logo_file}" border="0" alt="{logo_title}" title="{logo_title}"/></a></div>
<div id="divMain"style= "background-repeat:no-repeat;background-position: center center;background-image:url(./phpgwapi/templates/idots/images/login-background.jpg)">
<div id="divAppIconBar">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" valign="top" align="left"><img src="./phpgwapi/templates/idots/images/grey-pixel.png" width="1" height="69" alt="spacer" /></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><img src="./phpgwapi/templates/idots/images/spacer.gif" width="1" height="68" alt="spacer" /></td>
</tr>
<!-- <tr>
<td width="100%">&nbsp;</td>
</tr>-->
</table>
</td>
<td width="1" valign="top" align="right"><img src="./phpgwapi/templates/idots/images/grey-pixel.png" width="1" height="68" alt="spacer" /></td>
</tr>
</table>
</div>
<br/>
<!--</div>-->
<div id="containerDiv" >
<div id="centerBox">
<div align="center">{lang_message}</div>
<div align="center">{cd}</div>
<p>&nbsp;</p>
<form name="login_form" method="post" action="{login_url}">
<!-- <table class=sidebox cellspacing=1 cellpadding=0 border=1 align=center> -->
<table class="divLoginbox" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td colspan="2" class="divLoginboxHeader" style="border-bottom: #9c9c9c 1px solid;" align="center">{website_title}</td>
</tr>
<tr >
<td class="divSideboxEntry">
<table cellspacing=0 cellpadding=0 width="100%" border="0">
<tr>
<td colspan="3" align="left">
{register_link}<br/>
<img width="200" height="1" src="phpgwapi/templates/{template_set}/images/spacer.gif" alt="spacer" />
</td>
</tr>
<tr>
<td colspan="3">
<input type="hidden" name="passwd_type" value="text">
<input type="hidden" name="account_type" value="u">
</td>
</tr>
<tr>
<td align="right">{lang_username}:&nbsp;</td>
<td align="left"><input name="login" value="{cookie}" style="width: 100px; border: 1px solid silver;"></td>
<td align="left">{select_domain}</td>
</tr>
<!-- BEGIN language_select -->
<tr>
<td align="right">{lang_language}:&nbsp;</td>
<td align="left" colspan="2">{select_language}</td>
</tr>
<!-- END language_select -->
<tr>
<td align="right">{lang_password}:&nbsp;</td>
<td align="left"><input name="passwd" type="password" onChange="this.form.submit()" style="width: 100px; border: 1px solid silver;"></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" value="{lang_login}" name="submitit" style="border: 1px solid silver;">
</td>
</tr>
<tr>
<td colspan="3" align="center">
&nbsp;
</td>
</tr>
</table>
</td>
<td class="divSideboxEntry">
<img src="phpgwapi/templates/{template_set}/images/password.png" alt="keys" />
</td>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</form>
<script language="javascript1.2" type="text/javascript">
<!--
// position cursor in top form field
document.login_form.login.focus();
//-->
</script>
</div>
</div>
</div>
<div style="bottom:10px;left:10px;position:absolute;visibility:hidden;">
<img src="phpgwapi/templates/{template_set}/images/valid-html401.png" border="0" alt="Valid HTML 4.01">
<img src="phpgwapi/templates/{template_set}/images/vcss.png" border="0" alt="Valid CSS">
</div>
<div id="divPoweredBy" align="center">
<br/>
<a href="http://www.egroupware.org" target="_blank">eGroupWare</a> {version}</div>
</body>
</html>

View File

@ -1,14 +0,0 @@
<!-- BEGIN form -->
<body bgcolor="#ffffff">
<a href="http://www.egroupware.org"><img src="phpgwapi/templates/idots/images/logo.png" alt="eGroupWare" border="0"></a>
<table border="0" width="100%">
<tr>
<td align="center">
{deny_msg}
</td>
</tr>
</table>
<!-- END form -->

View File

@ -1,411 +0,0 @@
<?php
/**************************************************************************\
* eGroupWare *
* http://www.egroupware.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)
{
$GLOBALS['idots_tpl'] = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$GLOBALS['idots_tpl']->set_file(
array(
'navbar' => 'navbar.tpl'
)
);
$GLOBALS['idots_tpl']->set_block('navbar','navbar_header','navbar_header');
$GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_header','extra_block_header');
$GLOBALS['idots_tpl']->set_block('navbar','extra_block_row','extra_block_row');
$GLOBALS['idots_tpl']->set_block('navbar','extra_block_row_raw','extra_block_row_raw');
$GLOBALS['idots_tpl']->set_block('navbar','extra_block_row_no_link','extra_block_row_no_link');
$GLOBALS['idots_tpl']->set_block('navbar','extra_block_spacer','extra_block_spacer');
$GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_footer','extra_blocks_footer');
$GLOBALS['idots_tpl']->set_block('navbar','sidebox_hide_header','sidebox_hide_header');
$GLOBALS['idots_tpl']->set_block('navbar','sidebox_hide_footer','sidebox_hide_footer');
$GLOBALS['idots_tpl']->set_block('navbar','appbox','appbox');
$GLOBALS['idots_tpl']->set_block('navbar','navbar_footer','navbar_footer');
$var['img_root'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images';
$var['table_bg_color'] = $GLOBALS['phpgw_info']['theme']['navbar_bg'];
if($GLOBALS['phpgw_info']['user']['preferences']['common']['click_or_onmouseover']=='onmouseover')
{
$show_menu_event = 'onMouseOver';
}
else
{
$show_menu_event = 'onClick';
}
$applications = '';
// == 'icons_and_text')
$max_icons=$GLOBALS['phpgw_info']['user']['preferences']['common']['max_icons'];
if(!$max_icons)
{
$max_icons=200;
}
foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data)
{
if($app != 'preferences' && $app != 'about' && $app != 'logout')
{
$title = $GLOBALS['phpgw_info']['apps'][$app]['title'];
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" />';
if($app=='home')
{
$title = lang('home');
$icon = '<img src="' . $app_data['icon'] . '" alt="' . lang('home') . '" title="' . lang('home') . '" border="0" />';
}
if($i<$max_icons)
{
if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no')
{
$tdwidth = 100/($max_icons);
}
else
{
$tdwidth = 100/($max_icons+2);
}
$app_icons .= '<td width="'.$tdwidth.'%" height="66" valign="bottom" align="center" style="text-align:center"><a href="' . $app_data['url'] . '"';
if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
{
$app_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
}
$app_icons .= $app_data['target'].'>' . $icon . '</a></td>';
$app_titles .= '<td align="center" valign="top" class="appTitles" style="text-align:center"><a href="'.$app_data['url'] . '"';
if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
{
$app_titles .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
}
$app_titles .= $app_data['target'].'>' . $title . '</a></td>';
}
// else // generate extra icon layer | always shows icons and text
else // generate extra icon layer shows icons and/or text
{
// check for small icon version else use default and let the browser resize
$icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" width="16" title="'. $title . '" border="0" />';
$app_extra_icons .= '<tr>';
if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text')
{
$app_extra_icons .= '<td class="extraIconsRow"><a href="' . $app_data['url'] . '"';
if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
{
$app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
}
$app_extra_icons .= $app_data['target'].' >' . $icon . '</a></td>';
}
// $app_extra_icons .= '<tr><td><a href="' . $app_data['url'] . '"';
// if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
// {
// $app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
// }
// $app_extra_icons .= '>' . $icon . '</a></td>';
$app_extra_icons .= '<td align="left" class="extraIconsRow" style=""><a href="'.$app_data['url'] . '"';
if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target'])
{
$app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
}
$app_extra_icons .= $app_data['target'].'>' . $title . '</a></td></tr>';
}
unset($icon);
unset($title);
$i++;
}
}
if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']!='no')
{
$app_icons .= '<td width="'.$tdwidth.'%" height="32" valign="bottom" align="center" style="text-align:center"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'"><img src="'.$GLOBALS['phpgw_info']['navbar']['logout']['icon'].'" title="'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'" alt="'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'"></a></td>';
$app_titles .= '<td align="center" valign="top" class="appTitles" style="text-align:center"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'">'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'</a></td>';
}
// $var['app_icons'] = $app_icons;
if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text')
{
$var['app_icons'] = $app_icons;
}
if($i > $max_icons)
{
// table width=100% fixed layout bug (ndee130204)
$app_extra_icons_div = '
<script language="javascript">
new ypSlideOutMenu("menu1", "down", 10, 114, 160, 200,\'right\')
</script>
<div id="menu1Container">
<div id="menu1Content" style="position: relative; left: 0; text-align: left;">
<div id="extraIcons">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr><td colspan="2" nowrap="nowrap" align="right" style="background-color:#dddddd;padding:1px;">
<a href="#" '.$show_menu_event.'="ypSlideOutMenu.hide(\'menu1\')" title="'.lang('close').'">
<img style="" border="0" src="'.$var['img_root'].'/close.png"/></a></td></tr>
'.$app_extra_icons.'</table>
</div>
</div>
</div>
';
$var['app_extra_icons_div']= $app_extra_icons_div;
// $var['app_extra_icons_icon']= '<td width="26" valign="top" align="right" style="padding-right:3px;padding-top:50px;"><a title="'.lang('show_more_apps').'" href="javascript:void(0);" onClick="HideShow(\'extraIcons\');"><img src="'.$var['img_root'].'/extra_icons.png" border="0" /></a></td>';
$var['app_extra_icons_icon']= '<td width="26" valign="top" align="right" style="padding-right:3px;padding-top:50px;"><a title="'.lang('show_more_apps').'" href="#" '.$show_menu_event.'="ypSlideOutMenu.showMenu(\'menu1\')"><img src="'.$var['img_root'].'/extra_icons.png" border="0" /></a></td>';
}
if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='icons')
{
$var['app_titles'] = $app_titles;
}
else
{
$var['app_titles'] = '<td colspan="'.$max_icons.'">&nbsp;</td>';
}
if(isset($GLOBALS['phpgw_info']['flags']['app_header']))
{
$var['current_app_title'] = $GLOBALS['phpgw_info']['flags']['app_header'];
}
else
{
$var['current_app_title']=$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title'];
}
if(isset($GLOBALS['phpgw_info']['navbar']['admin']) && $GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers'])
{
$var['current_users'] = '<a href="'
. $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '">'
. lang('Current users') . ': ' . $GLOBALS['phpgw']->session->total() . '</a>';
}
$now = time();
$var['user_info'] = '<b>'.$GLOBALS['phpgw']->common->display_fullname() .'</b>'. ' - '
. lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' '
. $GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
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 %1 days since you changed your password',30);
}
// This is gonna change
if(isset($cd))
{
$var['messages'] = $api_messages . '<br>' . checkcode($cd);
}
if (substr($GLOBALS['phpgw_info']['server']['login_logo_file'],0,4) == 'http')
{
$var['logo_file'] = $GLOBALS['phpgw_info']['server']['login_logo_file'];
}
else
{
$var['logo_file'] = $GLOBALS['phpgw']->common->image('phpgwapi',$GLOBALS['phpgw_info']['server']['login_logo_file']?$GLOBALS['phpgw_info']['server']['login_logo_file']:'logo');
}
$var['logo_url'] = $GLOBALS['phpgw_info']['server']['login_logo_url']?$GLOBALS['phpgw_info']['server']['login_logo_url']:'http://www.eGroupWare.org';
if (substr($var['logo_url'],0,4) != 'http')
{
$var['logo_url'] = 'http://'.$var['logo_url'];
}
$var['logo_title'] = $GLOBALS['phpgw_info']['server']['login_logo_title']?$GLOBALS['phpgw_info']['server']['login_logo_title']:'www.eGroupWare.org';
$GLOBALS['idots_tpl']->set_var($var);
$GLOBALS['idots_tpl']->pfp('out','navbar_header');
/******************************************************\
* The sidebox menu's *
\******************************************************/
$menu_title = lang('General Menu');
$file['Home'] = $GLOBALS['phpgw_info']['navbar']['home']['url'];
if($GLOBALS['phpgw_info']['user']['apps']['preferences'])
{
$file['Preferences'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url'];
}
$file += array(
array(
'text' => lang('About %1',$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']),
'no_lang' => True,
'link' => $GLOBALS['phpgw_info']['navbar']['about']['url']
),
'Logout'=>$GLOBALS['phpgw_info']['navbar']['logout']['url']
);
if($GLOBALS['phpgw_info']['user']['preferences']['common']['auto_hide_sidebox']==1)
{
$GLOBALS['idots_tpl']->set_var('show_menu_event',$show_menu_event);
$GLOBALS['idots_tpl']->set_var('lang_show_menu',lang('show menu'));
$GLOBALS['idots_tpl']->pparse('out','sidebox_hide_header');
display_sidebox('',$menu_title,$file);
$GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']);
$GLOBALS['idots_tpl']->pparse('out','sidebox_hide_footer');
$var['sideboxcolstart']='';
$GLOBALS['idots_tpl']->set_var($var);
$GLOBALS['idots_tpl']->pparse('out','appbox');
$var['remove_padding'] = 'style="padding-left:0px;"';
$var['sideboxcolend'] = '';
}
else
{
$var['menu_link'] = '';
$var['sideboxcolstart'] = '<td id="tdSidebox" valign="top">';
$var['remove_padding'] = '';
$GLOBALS['idots_tpl']->set_var($var);
$GLOBALS['idots_tpl']->pparse('out','appbox');
display_sidebox('',$menu_title,$file);
$GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']);
$var['sideboxcolend'] = '</td>';
}
$GLOBALS['idots_tpl']->set_var($var);
$GLOBALS['idots_tpl']->pparse('out','navbar_footer');
// If the application has a header include, we now include it
if(!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($_GET['menuaction']))
{
list($app,$class,$method) = explode('.',$_GET['menuaction']);
if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header'])
{
$GLOBALS[$class]->header();
}
}
$GLOBALS['phpgw']->hooks->process('after_navbar');
return;
}
function display_sidebox($appname,$menu_title,$file)
{
if(!$appname || ($appname==$GLOBALS['phpgw_info']['flags']['currentapp'] && $file))
{
$var['lang_title']=$menu_title;//$appname.' '.lang('Menu');
$GLOBALS['idots_tpl']->set_var($var);
$GLOBALS['idots_tpl']->pfp('out','extra_blocks_header');
foreach($file as $text => $url)
{
sidebox_menu_item($url,$text);
}
$GLOBALS['idots_tpl']->pparse('out','extra_blocks_footer');
}
}
function sidebox_menu_item($item_link='',$item_text='')
{
if($item_text === '_NewLine_' || $item_link === '_NewLine_')
{
$GLOBALS['idots_tpl']->pparse('out','extra_block_spacer');
}
else
{
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
return;
}
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
$var['target'] = '';
if(is_array($item_link))
{
if(isset($item_link['icon']))
{
$app = isset($item_link['app']) ? $item_link['app'] : $GLOBALS['phpgw_info']['flags']['currentapp'];
$var['icon_or_star'] = $item_link['icon'] ? '<img style="margin:0px 2px 0px 2px" src="'.$GLOBALS['phpgw']->common->image($app,$item_link['icon']).'"/>' : False;
}
$var['lang_item'] = isset($item_link['no_lang']) && $item_link['no_lang'] ? $item_link['text'] : lang($item_link['text']);
$var['item_link'] = $item_link['link'];
if ($item_link['target'])
{
$var['target'] = ' target="' . $item_link['target'] . '"';
}
}
else
{
$var['lang_item'] = lang($item_text);
$var['item_link'] = $item_link;
}
$GLOBALS['idots_tpl']->set_var($var);
$block = 'extra_block_row';
if ($var['item_link'] === False)
{
$block .= $var['icon_or_star'] === False ? '_raw' : '_no_link';
}
$GLOBALS['idots_tpl']->pparse('out',$block);
}
}
function parse_navbar_end()
{
$GLOBALS['idots_tpl'] = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$GLOBALS['idots_tpl']->set_file(
array(
'footer' => 'footer.tpl'
)
);
$var = Array(
'img_root' => $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images',
'table_bg_color' => $GLOBALS['phpgw_info']['theme']['navbar_bg'],
'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']
);
$GLOBALS['phpgw']->hooks->process('navbar_end');
if($GLOBALS['phpgw_info']['user']['preferences']['common']['show_generation_time'])
{
$mtime = microtime();
$mtime = explode(' ',$mtime);
$mtime = $mtime[1] + $mtime[0];
$tend = $mtime;
$totaltime = ($tend - $GLOBALS['page_start_time']);
$var['page_generation_time'] = '<div id="divGenTime"><br/><span>'.lang('Page was generated in %1 seconds',$totaltime).'</span></div>';
}
$var['powered_by'] = lang('Powered by eGroupWare version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
$GLOBALS['idots_tpl']->set_var($var);
$GLOBALS['idots_tpl']->pfp('out','footer');
}

View File

@ -1,134 +0,0 @@
<!-- BEGIN navbar_header -->
<div id="divLogo"><a href="{logo_url}" target="_blank"><img src="{logo_file}" border="0" title="{logo_title}" alt="eGroupWare"/></a></div>
{app_extra_icons_div}
<div id="divMain">
<div id="divAppIconBar">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" valign="top" align="left"><img src="{img_root}/grey-pixel.png" width="1" height="68" alt="spacer" /></td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{app_icons}
</tr>
<tr>
{app_titles}
</tr>
</table>
</td>
{app_extra_icons_icon}
<td width="1" valign="top" align="right"><img src="{img_root}/grey-pixel.png" width="1" height="68" alt="spacer" /></td>
</tr>
</table>
</div>
<div id="divStatusBar"><table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td align="left" id="user_info">{user_info}</td><td align="right" id="admin_info">{current_users}</td></tr></table></div>
<!-- END navbar_header -->
<!-- BEGIN appbox -->
<div id="divSubContainer">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<!-- Sidebox Column -->
{sideboxcolstart}
<!-- <td id="{tdsiteboxid}" valign="top">-->
<!-- END appbox -->
<!-- BEGIN sidebox_hide_header -->
<!--<script language="javascript" src="SlideOut.js"></script>-->
<script language="javascript">
new ypSlideOutMenu("menu2", "right", 0, 165, 160, 200)
</script>
<div id="sideboxdragarea" style="position:absolute;left:0px;top:175px">
<a href="#" {show_menu_event}="ypSlideOutMenu.showMenu('menu2')" onmouseover="//ypSlideOutMenu.showMenu('menu2')" title="{lang_show_menu}"><img src="{img_root}/dragarea_right.png" /></a>
</div>
<div id="menu2Container">
<div id="menu2Content" style="position: relative; left: 0; text-align: left;">
<table cellspacing="0" cellpadding="0">
<tr><td>
<div style="background-color:#ffffff;border: #9c9c9c 1px solid;padding:5px;">
<!-- END sidebox_hide_header -->
<!-- BEGIN sidebox_hide_footer -->
</div>
</td><td style="padding-top:10px" valign="top">
<a href="#" onClick="ypSlideOutMenu.hide('menu2')" ><img src="{img_root}/dragarea_left.png" align="right" /></a>
</td></tr></table>
</div>
</div>
<!-- END sidebox_hide_footer -->
<!-- BEGIN navbar_footer -->
{sideboxcolend}
<!-- End Sidebox Column -->
<!-- Applicationbox Column -->
<td id="tdAppbox" valign="top" {remove_padding}>
<div id="divAppboxHeader">{current_app_title}</div>
<div id="divAppbox">
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td>
<!-- END navbar_footer -->
<!-- BEGIN extra_blocks_header -->
<div class="divSidebox">
<div class="divSideboxHeader"><span>{lang_title}</span></div>
<div>
<table width="100%" cellspacing="0" cellpadding="0">
<!-- END extra_blocks_header -->
<!-- BEGIN extra_blocks_footer -->
</table>
</div>
</div>
<div class="sideboxSpace"></div>
<!-- END extra_blocks_footer -->
<!-- BEGIN extra_block_row -->
<tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox">{icon_or_star}</td><td class="textSidebox"><a class="textSidebox" href="{item_link}"{target}>{lang_item}</a></td>
</tr>
<!-- END extra_block_row -->
<!-- BEGIN extra_block_row_raw -->
<tr class="divSideboxEntry">
<td colspan="2" class="textSidebox">{lang_item}</td>
</tr>
<!-- END extra_block_row_raw -->
<!-- BEGIN extra_block_row_no_link -->
<tr class="divSideboxEntry">
<td width="20" align="center" valign="middle" class="textSidebox">{icon_or_star}</td><td class="textSidebox">{lang_item}</td>
</tr>
<!-- END extra_block_row_no_link -->
<!-- BEGIN extra_block_spacer -->
<tr class="divSideboxEntry">
<td colspan="2" height="8" class="textSidebox">&nbsp;</td>
</tr>
<!-- END extra_block_spacer -->

View File

@ -1,3 +0,0 @@
<!-- <TD width="10%" align=center><img src="{img_root}/admin.jpg" width="60" height="62"></TD>-->
<!--<td align="center" width="{width}">{value}</td>-->

View File

@ -1,93 +0,0 @@
<!-- BEGIN nextmatchs -->
<table width="{table_width}" border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0" cols="5">
<tr> {left}
<td align="center" bgcolor="{th_bg}" valign="top" width="92%">{cats_search_filter_data}</td>{right}
</tr>
</table>
<br/>
<!-- END nextmatchs -->
<!-- BEGIN filter -->
{select}
<noscript>
<input type="submit" value="{lang_filter}">
</noscript>
<!-- END filter -->
<!-- BEGIN form -->
<td width="2%" align="{align}" valign="top">
<form method="POST" action="{action}" name="{form_name}">
{hidden}
<table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
<tr>
<td align="{align}">
<input type="image" src="{img}" border="{border}" title="{label}" name="start" value="{start}">
</td>
</tr>
</table>
</form>
</td>
<!-- END form -->
<!-- BEGIN icon -->
<td width="2%" align="{align}">&nbsp;{_link}</td>
<!-- END icon -->
<!-- BEGIN link -->
<td width="2%" align="{align}" valign="top">
<table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
<tr>
<td align="{align}"><img src="{img}" border="{border}" title="{label}" hspace="2" /></td>
</tr>
</table>
</td>
<!-- END link -->
<!-- BEGIN search -->
<input type="text" name="query" value="{query_value}">&nbsp;{searchby}<input type="submit" name="Search" value="{lang_search}">
<!-- END search -->
<!-- BEGIN cats -->
<td>
{lang_category}&nbsp;&nbsp;<select name="{cat_field}" onChange="this.form.submit();">
<option value="0">{lang_all}</option>
{categories}
</select>
<noscript><input type="submit" name="cats" value="{lang_select}"></noscript>
</td>
<!-- END cats -->
<!-- BEGIN search_filter -->
<table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
<form method="POST" action="{form_action}" name="filter">
{hidden}
<tr>
<td>{search}</td>
<td>&nbsp;</td>
<td>{filter}</td>
</tr>
</form>
</table>
<!-- END search_filter -->
<!-- BEGIN cats_search_filter -->
<table border="0" bgcolor="{th_bg}" cellspacing="0" cellpadding="0">
<form method="POST" action="{form_action}" name="filter">
{hidden}
<tr>
{cats}
<td>&nbsp;</td>
<td>{search}</td>
<td>&nbsp;&nbsp;</td>
<td>{filter}</td>
</tr>
</form>
</table>
<!-- END cats_search_filter -->

View File

@ -1,70 +0,0 @@
<!-- BEGIN portal_box -->
<p>
<div style="border: #9c9c9c 1px solid;">
<table border="0" cellpadding="0" cellspacing="0" width="{outer_width}">
<tr nowrap align="center">
<td align="left">
<div class="divSideboxHeader" style="height: 15px; padding-top: 0px">
<table border="0" cellpadding="1" cellspacing="0" width="{outer_width}">
<tr>
<td align="left">&nbsp;<strong>{title}</strong></td>{portal_controls}
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<table border="0" cellpadding="0" cellspacing="0" width="{inner_width}" bgcolor="#eeeeee">
{row}
</table>
</td>
</tr>
</table>
</div>
</p>
<!-- END portal_box -->
<!-- BEGIN portal_row -->
<tr>
<td>
{output}
</td>
</tr>
<!-- END portal_row -->
<!-- BEGIN portal_listbox_header -->
<tr>
<td>
<ul>
<!-- END portal_listbox_header -->
<!-- BEGIN portal_listbox_link -->
<li><a href="{link}">{text}</a></li>
<!-- END portal_listbox_link -->
<!-- BEGIN portal_listbox_footer -->
</ul>
</td>
</tr>
<!-- END portal_listbox_footer -->
<!-- BEGIN portal_control -->
<td valign="middle" align="right" nowrap="nowrap">{control_link}</td>
<!-- END portal_control -->
<!-- BEGIN link_field -->
{link_field_data}
<!-- END link_field -->

View File

@ -1,211 +0,0 @@
<!-- $Id$ -->
<script LANGUAGE="JavaScript">
window.focus();
function addOption(id,label,value)
{
opener.addOption(id,label,value);
selectBox = document.getElementById('uiaccountsel_popup_selection');
if (selectBox) {
for (i=0; i < selectBox.length; i++) {
if (selectBox.options[i].value == value) {
selectBox.options[i].selected = true;
break;
}
}
if (i >= selectBox.length) {
selectBox.options[selectBox.length] = new Option(label,value,false,true);
}
}
}
function removeSelectedOptions(id)
{
openerSelectBox = opener.document.getElementById(id);
if (openerSelectBox == null) window.close();
selectBox = document.getElementById('uiaccountsel_popup_selection');
for (i=0; i < selectBox.length; i++) {
if (selectBox.options[i].selected) {
for (j=0; j < openerSelectBox.length; j++) {
if (openerSelectBox[j].value == selectBox.options[i].value) {
openerSelectBox.removeChild(openerSelectBox[j]);
}
}
selectBox.options[i--] = null;
}
}
}
function copyOptions(id)
{
openerSelectBox = opener.document.getElementById(id);
selectBox = document.getElementById('uiaccountsel_popup_selection');
for (i=0; i < openerSelectBox.length; i++) {
with (openerSelectBox.options[i]) {
if (selected) {
selectBox.options[selectBox.length] = new Option(text,value);
}
}
}
}
</script>
<style type="text/css">
.letter_box,.letter_box_active {
background-color: #E8F0F0;
width: 15px;
border: 1px solid white;
text-align: center;
cursor: pointer;
cusror: hand;
}
.letter_box_active {
font-weight: bold;
background-color: #D3DCE3;
}
.letter_box_active,.letter_box:hover {
border: 1px solid black;
background-color: #D3DCE3;
}
</style>
<div id="divMain">
<table border="0" width="100%">
<tr>
<td width="20%" rowspan="3">{accountsel_icon}</td>
<td align="right" colspan="5">
<form method="POST" action="{search_action}">
<select name="query_type" >
<option value="firstname">{lang_firstname}</option>
<option value="lastname">{lang_lastname}</option>
</select>
<!-- {query_type} -->
<input type="text" name="query" value="{prev_query}">
<input type="submit" name="search" value="{lang_search}">
</form>
</td>
</tr>
<tr>
<td colspan="5">
<table width="100%"><tr>
<!-- BEGIN letter_search -->
<td class="{class}" onclick="location.href='{link}';">{letter}</td>
<!-- END letter_search -->
</tr></table>
</td>
</tr>
<tr>
{left}
<td align="center">{lang_showing}</td>
{right}
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="20%">
<table border="0" width="100%" cellpadding="2" cellspacing="2">
<tr>
<td class="th" colspan="2" align="center"><b>{lang_groups}</b></td>
</tr>
<!-- BEGIN bla_intro -->
<tr>
<td class="th" colspan="2">{lang_perm}</td>
</tr>
<!-- END bla_intro -->
<!-- BEGIN other_intro -->
<tr>
<td class="th" colspan="2">{lang_perm}</td>
</tr>
<!-- END other_intro -->
<!-- BEGIN group_cal -->
<tr class="{tr_color}">
<td><a href="{link_user_group}" title="{lang_list_members}">{name_user_group}</a></td>
<td align="center">
<input type="image" src="{img}" onclick="{onclick}; return false;" title="{lang_select_group}">
</td>
</tr>
<!-- END group_cal -->
<!-- BEGIN group_other -->
<tr class="{tr_color}">
<td><a href="{link_user_group}" title="{lang_list_members}">{name_user_group}</a></td>
</tr>
<!-- END group_other -->
<!-- BEGIN all_intro -->
<tr height="5">
<td>&nbsp;</td>
</tr>
<tr>
<td class="th" colspan="2">{lang_nonperm}</td>
</tr>
<!-- END all_intro -->
<!-- BEGIN group_all -->
<tr class="{tr_color}">
<td colspan="2"><a href="{link_all_group}" title="{lang_list_members}">{name_all_group}</a></td>
</tr>
<!-- END group_all -->
</table>
</td>
<td valign="top">
<table border="0" width="100%" cellpadding="2" cellspacing="2">
<tr class="th">
<td width="100%" class="th" align="center" colspan="3"><b>{lang_accounts}</b></td>
</tr>
<tr class="th">
<!-- <td align="center">{sort_lid}</td> -->
<td align="center">{sort_firstname}</td>
<td align="center">{sort_lastname}</td>
<td width="10%">&nbsp;</td>
</tr>
<!-- BEGIN accounts_list -->
<tr class="{tr_color}">
<!-- <td>{lid}</td> -->
<td>{firstname}</td>
<td>{lastname}</td>
<td align="center">
<input type="image" src="{img}" onclick="{onclick}; return false;" title="{lang_select_user}">
</td>
</tr>
<!-- END accounts_list -->
</table>
</td>
<td valign="top">
<table border="0" width="100%" cellpadding="2" cellspacing="2">
<tr class="th">
<td align="center" colspan="2"><b>{lang_selection}</b> {remove}</td>
</tr>
<tr class="row_off">
<td align="center">
{selection}
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="button" name="close" value="{lang_close}" onClick="window.close()">
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>