forked from extern/egroupware
Creating Edge-IT's Template Repository
This commit is contained in:
parent
a202fb770a
commit
b83058ad07
33
phpgwapi/templates/edge-it/about.tpl
Executable file
33
phpgwapi/templates/edge-it/about.tpl
Executable file
@ -0,0 +1,33 @@
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<!-- <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> </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>
|
||||
-->
|
||||
<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>
|
||||
</table>
|
9
phpgwapi/templates/edge-it/css.tpl
Executable file
9
phpgwapi/templates/edge-it/css.tpl
Executable file
@ -0,0 +1,9 @@
|
||||
<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}; }
|
||||
{app_css}
|
||||
-->
|
||||
</style>
|
||||
{css_file}
|
13
phpgwapi/templates/edge-it/footer.tpl
Executable file
13
phpgwapi/templates/edge-it/footer.tpl
Executable file
@ -0,0 +1,13 @@
|
||||
</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>
|
||||
<!-- END footer.tpl -->
|
91
phpgwapi/templates/edge-it/head.inc.php
Normal file
91
phpgwapi/templates/edge-it/head.inc.php
Normal file
@ -0,0 +1,91 @@
|
||||
<?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$ */
|
||||
|
||||
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');
|
||||
|
||||
$app = $GLOBALS['phpgw_info']['flags']['currentapp'];
|
||||
$app = $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,
|
||||
'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);
|
||||
?>
|
25
phpgwapi/templates/edge-it/head.tpl
Normal file
25
phpgwapi/templates/edge-it/head.tpl
Normal file
@ -0,0 +1,25 @@
|
||||
<!-- BEGIN head --><?xml version="1.0" ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "XHTML1-f.dtd" >
|
||||
<html xmlns="http://www.w3.org/TR/1999/REC-html-in-xml" xml:lang="en" lang="en" >
|
||||
<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 -->
|
67
phpgwapi/templates/edge-it/hook_settings.inc.php
Normal file
67
phpgwapi/templates/edge-it/hook_settings.inc.php
Normal file
@ -0,0 +1,67 @@
|
||||
<?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$ */
|
||||
create_section('Preferences for the idots template set');
|
||||
|
||||
$start_and_logout_icons = array(
|
||||
'yes' => lang('yes'),
|
||||
'no' => lang('no')
|
||||
);
|
||||
|
||||
create_select_box(
|
||||
'Show home and logout button in main application bar?',
|
||||
'start_and_logout_icons',
|
||||
$start_and_logout_icons,
|
||||
'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.'
|
||||
);
|
||||
|
||||
create_input_box(
|
||||
'Max number of icons in navbar',
|
||||
'max_icons',
|
||||
'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
|
||||
);
|
||||
|
||||
create_check_box(
|
||||
'Autohide Sidebox menu\'s',
|
||||
'auto_hide_sidebox',
|
||||
'Automatically hide the Sidebox menu\'s?'
|
||||
);
|
||||
|
||||
$click_or_onmouseover = array(
|
||||
'click' => lang('Click'),
|
||||
'onmouseover' => lang('On Mouse Over')
|
||||
);
|
||||
|
||||
create_select_box(
|
||||
'Click or Mouse Over to show menus',
|
||||
'click_or_onmouseover',
|
||||
$click_or_onmouseover,
|
||||
'Click or Mouse Over to show menus?'
|
||||
);
|
||||
|
||||
create_check_box(
|
||||
'Disable slider effects',
|
||||
'disable_slider_effects',
|
||||
'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.'
|
||||
);
|
||||
|
||||
create_check_box(
|
||||
'Disable Internet Explorer png-image-bugfix',
|
||||
'disable_pngfix',
|
||||
'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?'
|
||||
);
|
||||
|
||||
create_check_box(
|
||||
'Show page generation time',
|
||||
'show_generation_time',
|
||||
'Show page generation time on the bottom of the page?'
|
||||
);
|
150
phpgwapi/templates/edge-it/login.tpl
Executable file
150
phpgwapi/templates/edge-it/login.tpl
Executable file
@ -0,0 +1,150 @@
|
||||
<!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="eGroupWare http://www.phpgroupware.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%"> </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> </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}: </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}: </td>
|
||||
<td align="left" colspan="2">{select_language}</td>
|
||||
</tr>
|
||||
<!-- END language_select -->
|
||||
<tr>
|
||||
<td align="right">{lang_password}: </td>
|
||||
<td align="left"><input name="passwd" type="password" onChange="this.form.submit()" style="width: 100px; border: 1px solid silver;"></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"> </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">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td class="divSideboxEntry">
|
||||
<img src="phpgwapi/templates/{template_set}/images/password.png" alt="keys" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<p> </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>
|
14
phpgwapi/templates/edge-it/login_denylogin.tpl
Executable file
14
phpgwapi/templates/edge-it/login_denylogin.tpl
Executable file
@ -0,0 +1,14 @@
|
||||
|
||||
<!-- 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 -->
|
405
phpgwapi/templates/edge-it/navbar.inc.php
Normal file
405
phpgwapi/templates/edge-it/navbar.inc.php
Normal file
@ -0,0 +1,405 @@
|
||||
<?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)
|
||||
{
|
||||
$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_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 != 'home' && $app != 'preferences' && $app != 'about' && $app != 'logout')
|
||||
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" />';
|
||||
|
||||
// 020204 ndee
|
||||
if($app == 'home') $title = lang('Home');
|
||||
|
||||
if($app=='home')
|
||||
{
|
||||
if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
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 .= '>' . $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 .= '>' . $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 .= ' >' . $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 .= '>' . $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'].'"></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.'"> </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
|
||||
{
|
||||
$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'] = '<img style="margin:0px 2px 0px 2px" src="'.$GLOBALS['phpgw']->common->image($app,$item_link['icon']).'"/>';
|
||||
}
|
||||
$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);
|
||||
$GLOBALS['idots_tpl']->pparse('out','extra_block_row');
|
||||
}
|
||||
}
|
||||
|
||||
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 phpGroupWare version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
|
||||
$GLOBALS['idots_tpl']->set_var($var);
|
||||
$GLOBALS['idots_tpl']->pfp('out','footer');
|
||||
}
|
123
phpgwapi/templates/edge-it/navbar.tpl
Normal file
123
phpgwapi/templates/edge-it/navbar.tpl
Normal file
@ -0,0 +1,123 @@
|
||||
<!-- BEGIN navbar_header -->
|
||||
<div id="divLogo"><a href="{logo_url}" target="_blank"><img src="{logo_file}" border="0" 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="98%" 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_spacer -->
|
||||
<tr class="divSideboxEntry">
|
||||
<td colspan="2" height="8" class="textSidebox"> </td>
|
||||
</tr>
|
||||
<!-- END extra_block_spacer -->
|
3
phpgwapi/templates/edge-it/navbar_app.tpl
Executable file
3
phpgwapi/templates/edge-it/navbar_app.tpl
Executable file
@ -0,0 +1,3 @@
|
||||
<!-- <TD width="10%" align=center><img src="{img_root}/admin.jpg" width="60" height="62"></TD>-->
|
||||
|
||||
<!--<td align="center" width="{width}">{value}</td>-->
|
99
phpgwapi/templates/edge-it/nextmatchs.tpl
Executable file
99
phpgwapi/templates/edge-it/nextmatchs.tpl
Executable file
@ -0,0 +1,99 @@
|
||||
<!-- 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 -->
|
||||
<td>
|
||||
{select}
|
||||
<noscript>
|
||||
<input type="submit" value="{lang_filter}">
|
||||
</noscript>
|
||||
</td>
|
||||
<!-- 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}" alt="{label}" name="start" value="{start}">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<!-- END form -->
|
||||
|
||||
|
||||
<!-- BEGIN icon -->
|
||||
<td width="2%" align="{align}"> {_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}" alt="{label}" hspace="2" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- END link -->
|
||||
|
||||
|
||||
<!-- BEGIN search -->
|
||||
<td>
|
||||
<input type="text" name="query" value="{query_value}"> {searchby}<input type="submit" name="Search" value="{lang_search}">
|
||||
</td>
|
||||
<!-- END search -->
|
||||
|
||||
<!-- BEGIN cats -->
|
||||
<td>
|
||||
{lang_category} <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">
|
||||
<input type="hidden" name="filter" value="{filter_value}">
|
||||
<input type="hidden" name="qfield" value="{qfield_value}">
|
||||
<input type="hidden" name="start" value="{start_value}">
|
||||
<input type="hidden" name="order" value="{order_value}">
|
||||
<input type="hidden" name="sort" value="{sort_value}">
|
||||
<input type="hidden" name="query" value="{query_value}">
|
||||
<tr>{search}<td> </td>{filter}
|
||||
</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">
|
||||
<input type="hidden" name="filter" value="{filter_value}">
|
||||
<input type="hidden" name="qfield" value="{qfield_value}">
|
||||
<input type="hidden" name="start" value="{start_value}">
|
||||
<input type="hidden" name="order" value="{order_value}">
|
||||
<input type="hidden" name="sort" value="{sort_value}">
|
||||
<input type="hidden" name="query" value="{query_value}">
|
||||
<tr>{cats}<td> </td>{search}<td> </td>{filter}
|
||||
</tr>
|
||||
</form>
|
||||
</table>
|
||||
<!-- END cats_search_filter -->
|
||||
|
70
phpgwapi/templates/edge-it/portal.tpl
Executable file
70
phpgwapi/templates/edge-it/portal.tpl
Executable file
@ -0,0 +1,70 @@
|
||||
<!-- 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"> <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 -->
|
Loading…
Reference in New Issue
Block a user