forked from extern/egroupware
update xslt
This commit is contained in:
parent
b7dfc2ef9d
commit
4465aa63e6
@ -70,6 +70,9 @@
|
||||
{
|
||||
// eval("\$GLOBALS['obj']->$method();");
|
||||
execmethod($GLOBALS['HTTP_GET_VARS']['menuaction']);
|
||||
|
||||
$GLOBALS['phpgw']->common->stop_xslt_capture(); // send captured output to the xslttpl
|
||||
|
||||
unset($app);
|
||||
unset($obj);
|
||||
unset($class);
|
||||
|
@ -694,7 +694,6 @@
|
||||
{
|
||||
$GLOBALS['phpgw_info']['server']['template_set'] = 'default';
|
||||
}
|
||||
|
||||
/******** start temporarily code **************************************/
|
||||
/* this just makes sure the template set is updated to the new format */
|
||||
if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['server']['template_set'].'/phpgw.xsl'))
|
||||
@ -1073,7 +1072,7 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
function framework()
|
||||
{
|
||||
$this->navbar();
|
||||
|
||||
|
||||
$css = $this->get_css_url();
|
||||
$var = array
|
||||
(
|
||||
@ -1084,7 +1083,6 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
'phpgw_body' => $phpgw_body
|
||||
);
|
||||
|
||||
$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] = 'idsociety';
|
||||
$GLOBALS['phpgw']->xslttpl->add_file($this->get_tpl_dir('phpgwapi') . SEP . 'phpgw');
|
||||
|
||||
switch ($GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'])
|
||||
@ -1112,16 +1110,6 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$GLOBALS['strip_portion'] = $GLOBALS['phpgw_info']['server']['webserver_url'].'/';
|
||||
}
|
||||
|
||||
$var['home_link'] = $GLOBALS['phpgw_info']['navbar']['home']['url'];
|
||||
$var['prefs_link'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url'];
|
||||
$var['logout_link'] = $GLOBALS['phpgw_info']['navbar']['logout']['url'];
|
||||
$var['about_link'] = $GLOBALS['phpgw_info']['navbar']['about']['url'];
|
||||
|
||||
$var['home_title'] = $GLOBALS['phpgw_info']['navbar']['home']['title'];
|
||||
$var['prefs_title'] = $GLOBALS['phpgw_info']['navbar']['preferences']['title'];
|
||||
$var['logout_title'] = $GLOBALS['phpgw_info']['navbar']['logout']['title'];
|
||||
$var['about_title'] = $GLOBALS['phpgw_info']['navbar']['about']['title'];
|
||||
|
||||
if ($GLOBALS['phpgw_info']['flags']['currentapp'] != 'home')
|
||||
{
|
||||
$var['home_img'] = $this->image('phpgwapi','welcome2');
|
||||
@ -1163,8 +1151,27 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
|
||||
$var['logo_img'] = $this->image('phpgwapi','logo2');
|
||||
$var['nav_bar_left_top_bg_img'] = $this->image('phpgwapi','nav_bar_left_top_bg');
|
||||
break;
|
||||
|
||||
case 'verdilak':
|
||||
$app = $GLOBALS['phpgw_info']['flags']['currentapp'];
|
||||
$var['logo_img'] = $this->image('phpgwapi','logo');
|
||||
$var['home_img'] = $this->image('phpgwapi','welcome-'.($app=='home' ? 'red' : 'grey'));
|
||||
$var['prefs_img'] = $this->image('phpgwapi','preferences-'.($app=='preferences' ? 'red' : 'grey'));
|
||||
$var['logout_img'] = $this->image('phpgwapi','logout-grey');
|
||||
$var['about_img'] = $this->image('phpgwapi','help');
|
||||
$var['greybar'] = $this->image('phpgwapi','greybar.jpg');
|
||||
break;
|
||||
}
|
||||
$var['home_link'] = $GLOBALS['phpgw_info']['navbar']['home']['url'];
|
||||
$var['prefs_link'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url'];
|
||||
$var['logout_link'] = $GLOBALS['phpgw_info']['navbar']['logout']['url'];
|
||||
$var['about_link'] = $GLOBALS['phpgw_info']['navbar']['about']['url'];
|
||||
|
||||
$var['home_title'] = $GLOBALS['phpgw_info']['navbar']['home']['title'];
|
||||
$var['prefs_title'] = $GLOBALS['phpgw_info']['navbar']['preferences']['title'];
|
||||
$var['logout_title'] = $GLOBALS['phpgw_info']['navbar']['logout']['title'];
|
||||
$var['about_title'] = $GLOBALS['phpgw_info']['navbar']['about']['title'];
|
||||
|
||||
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) && isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
|
||||
{
|
||||
@ -1180,22 +1187,22 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
. $this->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
|
||||
$var['user_info'] = $var['user_info_name'] .' - ' .$var['user_info_date'];
|
||||
|
||||
while ($app = each($GLOBALS['phpgw_info']['navbar']))
|
||||
while (list($app,$data) = each($GLOBALS['phpgw_info']['navbar']))
|
||||
{
|
||||
if ($app[0] != 'home' && $app[0] != 'preferences' && $app[0] != 'about' && $app[0] != 'logout')
|
||||
if ($app != 'home' && $app != 'preferences' && $app != 'about' && $app != 'logout')
|
||||
{
|
||||
$var['applications'][] = array
|
||||
(
|
||||
'icon' => $app[1]['icon'],
|
||||
'title' => $app[1]['title'],
|
||||
'img_src_over' => $app[1]['icon_hover'],
|
||||
'url' => $app[1]['url'],
|
||||
'name' => str_replace('-','_',$app[0])
|
||||
'icon' => $data['icon'],
|
||||
'title' => $data['title'],
|
||||
'img_src_over' => $data['icon_hover'],
|
||||
'url' => $data['url'],
|
||||
'name' => str_replace('-','_',$app)
|
||||
);
|
||||
|
||||
if($app[1]['icon_hover'] != '')
|
||||
if($data['icon_hover'] != '')
|
||||
{
|
||||
$GLOBALS['phpgw_info']['flags']['preload_images'][] = $app[1]['icon_hover'];
|
||||
$GLOBALS['phpgw_info']['flags']['preload_images'][] = $data['icon_hover'];
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1415,6 +1422,8 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
{
|
||||
/* So far I dont have use for $forceheader and $forcenavbar */
|
||||
/* I only allow this to be run once by using the constant */
|
||||
|
||||
/* not longer needed für xslttpl and would require to load the phpgw template
|
||||
if(!defined('PHPGW_HEADER_RAN'))
|
||||
{
|
||||
define('PHPGW_HEADER_RAN',True);
|
||||
@ -1424,6 +1433,7 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$GLOBALS['phpgw']->template->set_block('phpgw','phpgw_head_javascript');
|
||||
$GLOBALS['phpgw']->template->pfp('out','phpgw_main_start');
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/*!
|
||||
@ -1465,6 +1475,32 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
}
|
||||
}
|
||||
|
||||
function start_xslt_capture()
|
||||
{
|
||||
if (!isset($GLOBALS['phpgw_info']['xslt_capture']))
|
||||
{
|
||||
$GLOBALS['phpgw_info']['xslt_capture'] = True;
|
||||
ob_start(); // capture the output
|
||||
}
|
||||
}
|
||||
|
||||
/* Note: need to be run BEFORE exit is called, as buffers get flushed automatically before
|
||||
* any registered shutdown-functions (eg. phpgw_footer) gets called
|
||||
*/
|
||||
function stop_xslt_capture()
|
||||
{
|
||||
if (isset($GLOBALS['phpgw_info']['xslt_capture']))
|
||||
{
|
||||
unset($GLOBALS['phpgw_info']['xslt_capture']);
|
||||
$output = ob_get_contents(); // get captured output
|
||||
ob_end_clean(); // stop capture and clean output-buffer
|
||||
if (!empty($output))
|
||||
{
|
||||
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('body_data' => $output));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function phpgw_footer()
|
||||
{
|
||||
if(!defined('PHPGW_FOOTER_RAN'))
|
||||
@ -1476,8 +1512,11 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$GLOBALS['phpgw_info']['flags']['currentapp'] != 'logout' &&
|
||||
!@$GLOBALS['phpgw_info']['flags']['noappfooter'])
|
||||
{
|
||||
$this->start_xslt_capture(); // if index already turned it off
|
||||
$this->phpgw_appfooter();
|
||||
}
|
||||
$this->stop_xslt_capture();
|
||||
|
||||
$GLOBALS['phpgw']->xslttpl->pp();
|
||||
$GLOBALS['phpgw']->db->disconnect();
|
||||
|
||||
@ -1496,41 +1535,6 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
}
|
||||
}
|
||||
|
||||
/*function phpgw_footer()
|
||||
{
|
||||
if(!defined('PHPGW_FOOTER_RAN'))
|
||||
{
|
||||
define('PHPGW_FOOTER_RAN',True);
|
||||
if (!isset($GLOBALS['phpgw_info']['flags']['nodisplay']) || !$GLOBALS['phpgw_info']['flags']['nodisplay'])
|
||||
{
|
||||
if($GLOBALS['phpgw_info']['flags']['currentapp'] != 'home' &&
|
||||
$GLOBALS['phpgw_info']['flags']['currentapp'] != 'login' &&
|
||||
$GLOBALS['phpgw_info']['flags']['currentapp'] != 'logout' &&
|
||||
!@$GLOBALS['phpgw_info']['flags']['noappfooter'])
|
||||
{
|
||||
$this->phpgw_appfooter();
|
||||
}
|
||||
$this->phpgw_header();
|
||||
$GLOBALS['phpgw']->template->pfp('out','phpgw_main_end');
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->db->disconnect();
|
||||
|
||||
//Clean up mcrypt
|
||||
if (@is_object($GLOBALS['phpgw']->crypto))
|
||||
{
|
||||
$GLOBALS['phpgw']->crypto->cleanup();
|
||||
unset($GLOBALS['phpgw']->crypto);
|
||||
}
|
||||
|
||||
if (DEBUG_TIMER)
|
||||
{
|
||||
$GLOBALS['debug_timer_stop'] = perfgetmicrotime();
|
||||
echo 'Page loaded in ' . ($GLOBALS['debug_timer_stop'] - $GLOBALS['debug_timer_start']) . ' seconds.';
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
function hex2bin($data)
|
||||
{
|
||||
$len = strlen($data);
|
||||
|
@ -163,7 +163,14 @@
|
||||
{
|
||||
while(list($key,$val) = each($value))
|
||||
{
|
||||
$this->vars[$name][$key] = $val;
|
||||
if (!is_array($val) && !is_array($this->vars[$name][$key]))
|
||||
{
|
||||
$this->vars[$name][$key] .= $val;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->vars[$name][$key] = array_merge($this->vars[$name][$key],$val);
|
||||
}
|
||||
}
|
||||
}
|
||||
//_debug_array($this->vars);
|
||||
|
@ -35,6 +35,8 @@
|
||||
|
||||
include(PHPGW_API_INC.'/common_functions.inc.php');
|
||||
|
||||
function parse_navbar() {} // just for compatibility with apps, which should run under 0.9.14 too
|
||||
|
||||
/*!
|
||||
@function lang
|
||||
@abstract function to handle multilanguage support
|
||||
@ -267,12 +269,16 @@
|
||||
define('PHPGW_ACL_PRIVATE',16);
|
||||
define('PHPGW_ACL_GROUP_MANAGERS',32);
|
||||
|
||||
/****************************************************************************\
|
||||
* Forcing all non-cooperating apps to send there output through the xslt-tpl *
|
||||
\****************************************************************************/
|
||||
$GLOBALS['phpgw']->common->start_xslt_capture();
|
||||
|
||||
/****************************************************************************\
|
||||
* Forcing the footer to run when the rest of the script is done. *
|
||||
\****************************************************************************/
|
||||
$footer_common = &$GLOBALS['phpgw']->common;
|
||||
register_shutdown_function(array(&$footer_common, 'phpgw_footer'));
|
||||
|
||||
register_shutdown_function(array($GLOBALS['phpgw']->common, 'phpgw_footer'));
|
||||
|
||||
/****************************************************************************\
|
||||
* Stuff to use if logging in or logging out *
|
||||
\****************************************************************************/
|
||||
|
@ -46,7 +46,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<xsl:value-of select="app_descr"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_descr"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -57,6 +57,15 @@
|
||||
<xsl:value-of select="developers"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<xsl:value-of select="lang_maintainer"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="app_maintainer"/><br/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_maintainer_email"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:value-of select="lang_version"/>
|
||||
@ -66,18 +75,34 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><xsl:value-of select="lang_based_on"/></td>
|
||||
<td><xsl:value-of select="app_source"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5"></td>
|
||||
<td>
|
||||
<a target="_blank">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="app_source_url"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="lang_app_source_url"/>
|
||||
</a>
|
||||
<xsl:value-of select="lang_license"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="app_license"/>
|
||||
</td>
|
||||
</tr>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_source">
|
||||
<tr>
|
||||
<td valign="top"><xsl:value-of select="lang_based_on"/></td>
|
||||
<td><xsl:value-of select="app_source"/></td>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_source_url">
|
||||
<tr>
|
||||
<td height="5"></td>
|
||||
<td>
|
||||
<a target="_blank">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="app_source_url"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="app_source_url_name"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
|
@ -8,7 +8,7 @@
|
||||
<xsl:variable name="logo_img"><xsl:value-of select="logo_img"/></xsl:variable>
|
||||
<xsl:variable name="nav_bar_left_top_bg_img"><xsl:value-of select="nav_bar_left_top_bg_img"/></xsl:variable>
|
||||
<xsl:variable name="home_link"><xsl:value-of select="home_link"/></xsl:variable>
|
||||
<xsl:variable name="prefs_link"><xsl:value-of select="preferences_link"/></xsl:variable>
|
||||
<xsl:variable name="prefs_link"><xsl:value-of select="prefs_link"/></xsl:variable>
|
||||
<xsl:variable name="logout_link"><xsl:value-of select="logout_link"/></xsl:variable>
|
||||
<xsl:variable name="about_link"><xsl:value-of select="about_link"/></xsl:variable>
|
||||
<xsl:variable name="home_img_hover"><xsl:value-of select="home_img_hover"/></xsl:variable>
|
||||
@ -161,8 +161,8 @@
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center" valign="middle" class="bottom">
|
||||
<tr valign="top">
|
||||
<td colspan="2" align="center" valign="top" class="bottom">
|
||||
<!-- BEGIN bottom_part -->
|
||||
<xsl:value-of select="lang_powered_by"/>
|
||||
<a href="http://www.phpgroupware.org" target="blank" onMouseout="window.status='';return true;">
|
||||
|
66
phpgwapi/templates/verdilak/css/fancy.css
Normal file
66
phpgwapi/templates/verdilak/css/fancy.css
Normal file
@ -0,0 +1,66 @@
|
||||
body,p,td,th,table,input,form,option
|
||||
{
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
a:link,a:active,a:visited
|
||||
{
|
||||
color: #336699;
|
||||
}
|
||||
|
||||
a:hover
|
||||
{
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.info
|
||||
{
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.login,.portal,.about
|
||||
{
|
||||
background-color: #FFE4C4;
|
||||
border-color: #000000;
|
||||
}
|
||||
|
||||
.portal_text
|
||||
{
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.th_bright,.app_header
|
||||
{
|
||||
background-color: #AABBCC;
|
||||
}
|
||||
|
||||
.row_on
|
||||
{
|
||||
background-color: #EEEEFF;
|
||||
}
|
||||
|
||||
.row_off
|
||||
{
|
||||
background-color: #FFFFEE;
|
||||
}
|
||||
|
||||
.th,.navbar
|
||||
{
|
||||
background-color: #FFE4C4;
|
||||
}
|
||||
|
||||
.cal_today
|
||||
{
|
||||
background-color: #D0DCE0;
|
||||
}
|
||||
|
||||
.cal_dayview
|
||||
{
|
||||
background-color: #C0C0C0;
|
||||
}
|
||||
|
||||
.email_folder
|
||||
{
|
||||
background-color: #7090FF;
|
||||
color: #FFFFFF;
|
||||
}
|
@ -82,3 +82,14 @@ table.login
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.left
|
||||
{
|
||||
background-image: url(../images/navbar_filler.jpg);
|
||||
}
|
||||
|
||||
.navbar
|
||||
{
|
||||
background-image: url(../images/bg_filler.png);
|
||||
}
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
<!-- BEGIN footer -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<td background="{img_root}/endbar.gif"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="{table_bg_color}">
|
||||
<tr>
|
||||
<td background="{img_root}/bg_filler.gif"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END footer -->
|
@ -1,48 +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'] . '" 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 .= ' topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0"';
|
||||
}
|
||||
|
||||
$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',
|
||||
'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);
|
||||
?>
|
@ -1,27 +0,0 @@
|
||||
<!-- BEGIN head -->
|
||||
<!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>
|
||||
</HEAD>
|
||||
<BODY {body_tags}>
|
||||
<!-- END Head -->
|
@ -1,67 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<HTML>
|
||||
<!-- BEGIN login_form -->
|
||||
<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 login screen">
|
||||
<META NAME="keywords" CONTENT="phpGroupWare login screen">
|
||||
|
||||
<TITLE>{website_title} - Login</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY bgcolor="#FFFFFF">
|
||||
<p> </p>
|
||||
<CENTER>{lang_message}</CENTER>
|
||||
<p> </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" valign="MIDDLE">
|
||||
<A href="http://www.phpgroupware.org"><img src="phpgwapi/templates/{template_set}/images/logo.gif" alt="phpGroupWare" border="0"></a>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR bgcolor="#e6e6e6">
|
||||
<TD valign="BASELINE">
|
||||
|
||||
<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}: </font></TD>
|
||||
<TD><input name="login" value="{cookie}"></TD>
|
||||
</TR>
|
||||
<TR bgcolor="#e6e6e6">
|
||||
<TD align="RIGHT"><font color="#000000">{lang_password}: </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>
|
||||
|
||||
<!-- END login_form -->
|
||||
</HTML>
|
@ -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 -->
|
@ -1,69 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<HTML>
|
||||
<!-- BEGIN login_form -->
|
||||
<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 login screen">
|
||||
<META NAME="keywords" CONTENT="phpGroupWare login screen">
|
||||
|
||||
<TITLE>{website_title} - Login</TITLE>
|
||||
</HEAD>
|
||||
|
||||
<BODY bgcolor="#FFFFFF">
|
||||
<p> </p>
|
||||
<CENTER>{lang_message}</CENTER>
|
||||
<p> </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" valign="MIDDLE">
|
||||
<A href="http://www.phpgroupware.org"><img src="phpgwapi/templates/{template_set}/images/logo.gif" alt="phpGroupWare" border="0"></a>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR bgcolor="#e6e6e6">
|
||||
<TD valign="BASELINE">
|
||||
|
||||
<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"> @ <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> </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>
|
||||
|
||||
<!-- END login_form -->
|
||||
</HTML>
|
@ -1,145 +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/verdilak/images';
|
||||
$var['table_bg_color'] = $GLOBALS['phpgw_info']['theme']['navbar_bg'];
|
||||
$applications = '';
|
||||
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')
|
||||
{
|
||||
if ($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'] != 'text')
|
||||
{
|
||||
$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')
|
||||
{
|
||||
$title .= '<br>' . lang($app[1]['title']);
|
||||
}
|
||||
$applications .= '<br><a href="' . $app[1]['url'] . '"';
|
||||
if (isset($GLOBALS['phpgw_info']['flags']['navbar_target']) &&
|
||||
$GLOBALS['phpgw_info']['flags']['navbar_target'])
|
||||
{
|
||||
$applications .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"';
|
||||
}
|
||||
$applications .= '>' . $title . '</a>';
|
||||
unset($title);
|
||||
}
|
||||
}
|
||||
$var['applications'] = $applications;
|
||||
|
||||
if (isset($GLOBALS['phpgw_info']['theme']['special_logo']))
|
||||
{
|
||||
$var['logo'] = $GLOBALS['phpgw_info']['theme']['special_logo'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$var['logo'] = 'logo.gif';
|
||||
}
|
||||
|
||||
$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'];
|
||||
|
||||
$ir = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/verdilak/images';
|
||||
if ($GLOBALS['phpgw_info']['flags']['currentapp'] == 'home')
|
||||
{
|
||||
$var['welcome_img'] = $ir . '/welcome-red.gif';
|
||||
}
|
||||
else
|
||||
{
|
||||
$var['welcome_img'] = $ir . '/welcome-grey.gif';
|
||||
}
|
||||
|
||||
if ($phpgw_info['flags']['currentapp'] == 'preferences')
|
||||
{
|
||||
$var['preferences_img'] = $ir . '/preferences-red.gif';
|
||||
}
|
||||
else
|
||||
{
|
||||
$var['preferences_img'] = $ir . '/preferences-grey.gif';
|
||||
}
|
||||
$var['logout_img'] = $ir . '/logout-grey.gif';
|
||||
|
||||
$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 where session_flags != 'A'");
|
||||
$db->next_record();
|
||||
$var['current_users'] = '<a style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12pt;" href="'
|
||||
. $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '"> '
|
||||
. 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').'">';
|
||||
}
|
||||
else if ($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);
|
||||
}
|
||||
$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/verdilak/images',
|
||||
'table_bg_color' => $GLOBALS['phpgw_info']['theme']['navbar_bg'],
|
||||
'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']
|
||||
);
|
||||
$tpl->set_var($var);
|
||||
$GLOBALS['phpgw']->hooks->process('navbar_end');
|
||||
echo $tpl->pfp('out','footer');
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
|
||||
<!-- BEGIN navbar -->
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="{table_bg_color}">
|
||||
<tr background="{img_root}/bg_filler.gif">
|
||||
<td background="{img_root}/bg_filler.gif" align="left" valign="bottom"><a href="http://www.phpgroupware.org" target="_new"><img src="{img_root}/{logo}" border="0" alt="phpGroupWare"></a></td>
|
||||
<td background="{img_root}/bg_filler.gif" align="center" valign="bottom" width="100%"><font color="FFFFFF" size="-1">{user_info}</font></td>
|
||||
<td background="{img_root}/bg_filler.gif" align="right" valign="bottom" rowspan="2" nowrap><a href="{home_link}"><img src="{welcome_img}" border="0" alt="Welcome"></a><a href="{preferences_link}"><img src="{preferences_img}" border="0" alt="Preferences"></a><a href="{logout_link}"><img src="{logout_img}" border="0" alt="Logout"></a><a href="{help_link}"><img src="{img_root}/help.gif" border="0" alt="Help"></a></td></tr>
|
||||
<tr background="{img_root}/bg_filler.gif">
|
||||
<td align="center" width="100%" valign="bottom" colspan="2"><img src="{img_root}/greybar.jpg" height="6" width="100%" alt="bar"></td></tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr valign="top">
|
||||
<td background="{img_root}/navbar_filler.jpg" align="left">
|
||||
{applications}
|
||||
</td>
|
||||
<td width="100%">
|
||||
<table border="0" cellspacing="1" cellpadding="1" width="100%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
{current_users}
|
||||
</td>
|
||||
<td align="right">
|
||||
<font style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12pt;">{powered_by}</font>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellpadding="5" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<center>{messages}</center>
|
||||
<!-- END navbar -->
|
@ -1 +0,0 @@
|
||||
<td align="center" width="{width}">{value}</td>
|
145
phpgwapi/templates/verdilak/phpgw.xsl
Normal file
145
phpgwapi/templates/verdilak/phpgw.xsl
Normal file
@ -0,0 +1,145 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<xsl:template match="phpgw">
|
||||
<xsl:variable name="phpgw_css_file"><xsl:value-of select="phpgw_css_file"/></xsl:variable>
|
||||
<xsl:variable name="theme_css_file"><xsl:value-of select="theme_css_file"/></xsl:variable>
|
||||
<xsl:variable name="charset"><xsl:value-of select="charset"/></xsl:variable>
|
||||
<xsl:variable name="logo_img"><xsl:value-of select="logo_img"/></xsl:variable>
|
||||
<xsl:variable name="home_link"><xsl:value-of select="home_link"/></xsl:variable>
|
||||
<xsl:variable name="prefs_link"><xsl:value-of select="prefs_link"/></xsl:variable>
|
||||
<xsl:variable name="logout_link"><xsl:value-of select="logout_link"/></xsl:variable>
|
||||
<xsl:variable name="about_link"><xsl:value-of select="about_link"/></xsl:variable>
|
||||
<xsl:variable name="home_img"><xsl:value-of select="home_img"/></xsl:variable>
|
||||
<xsl:variable name="prefs_img"><xsl:value-of select="prefs_img"/></xsl:variable>
|
||||
<xsl:variable name="logout_img"><xsl:value-of select="logout_img"/></xsl:variable>
|
||||
<xsl:variable name="about_img"><xsl:value-of select="about_img"/></xsl:variable>
|
||||
<xsl:variable name="home_title"><xsl:value-of select="home_title"/></xsl:variable>
|
||||
<xsl:variable name="prefs_title"><xsl:value-of select="prefs_title"/></xsl:variable>
|
||||
<xsl:variable name="logout_title"><xsl:value-of select="logout_title"/></xsl:variable>
|
||||
<xsl:variable name="about_title"><xsl:value-of select="about_title"/></xsl:variable>
|
||||
<xsl:variable name="phpgw_body"><xsl:value-of select="phpgw_body"/></xsl:variable>
|
||||
<xsl:variable name="greybar"><xsl:value-of select="greybar"/></xsl:variable>
|
||||
<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="noindex"/>
|
||||
<link rel="icon" href="favicon.ico" type="image/x-ico"/>
|
||||
<link rel="shortcut icon" href="favicon.ico"/>
|
||||
<title><xsl:value-of select="website_title"/></title>
|
||||
<link rel="stylesheet" type="text/css" href="{$phpgw_css_file}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="3" valign="top">
|
||||
<!-- BEGIN top_part -->
|
||||
<table class="navbar" width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td valign="bottom">
|
||||
<a href="http://www.phpgroupware.org" target="_blank">
|
||||
<img src="{$logo_img}" border="0"/></a>
|
||||
</td>
|
||||
<td class="portal_text" width="99%" valign="bottom" align="center">
|
||||
<xsl:value-of select="user_info"/>
|
||||
</td>
|
||||
<td valign="bottom" align="right" rowspan="2" nowrap="true">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td><a href="{$home_link}"><img src="{$home_img}" border="0" alt="{$home_title}" title="{$home_title}"/></a></td>
|
||||
<td><a href="{$prefs_link}"><img src="{$prefs_img}" border="0" alt="{$prefs_title}" title="{$prefs_title}"/></a></td>
|
||||
<td><a href="{$logout_link}"><img src="{$logout_img}" border="0" alt="{$logout_title}" title="{$logout_title}"/></a></td>
|
||||
<td><a href="{$about_link}"><img src="{$about_img}" border="0" alt="{$about_title}" title="{$about_title}"/></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="bottom">
|
||||
<td colspan="2" valign="bottom">
|
||||
<img src="{$greybar}" height="6" width="100%"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- END top_part -->
|
||||
</td>
|
||||
</tr>
|
||||
<!-- BEGIN top_part 2 -->
|
||||
<tr height="20" valign="top">
|
||||
<td class="left">
|
||||
</td>
|
||||
<td style="padding-left: 5px">
|
||||
<xsl:choose>
|
||||
<xsl:when test="current_users">
|
||||
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
|
||||
<a href="{$url_current_users}"><xsl:value-of select="current_users"/></a>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td align="right">
|
||||
<xsl:value-of select="lang_powered_by"/>
|
||||
<a href="http://www.phpgroupware.org" target="blank" onMouseout="window.status='';return true;">
|
||||
<xsl:attribute name="onMouseover">
|
||||
<xsl:text>window.status='</xsl:text>
|
||||
<xsl:value-of select="lang_phpgw_statustext"/>
|
||||
<xsl:text>'; return true;</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:text> phpGroupWare </xsl:text>
|
||||
</a>
|
||||
<xsl:text> </xsl:text><xsl:value-of select="lang_version"/><xsl:text> </xsl:text><xsl:value-of select="phpgw_version"/>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END top_part 2 -->
|
||||
<tr valign="top">
|
||||
<td class="left" width="32">
|
||||
<!-- BEGIN left_part -->
|
||||
<table cellspacing="0" cellpadding="0" valign="top" class="left">
|
||||
<xsl:apply-templates select="applications"/>
|
||||
</table>
|
||||
<!-- END left_part -->
|
||||
</td>
|
||||
<td width="100%" height="100%" valign="top" align="center" colspan="2" style="padding-left: 5px">
|
||||
<xsl:choose>
|
||||
<xsl:when test="msgbox_data">
|
||||
<xsl:call-template name="msgbox"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="home">
|
||||
<xsl:call-template name="portal"/>
|
||||
</xsl:when>
|
||||
<xsl:when test="about">
|
||||
<xsl:call-template name="about"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of disable-output-escaping="yes" select="body_data"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" class="navbar">
|
||||
<!-- BEGIN bottom_part -->
|
||||
|
||||
<!-- END bottom_part -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="applications">
|
||||
<xsl:variable name="url"><xsl:value-of select="url"/></xsl:variable>
|
||||
<xsl:variable name="name"><xsl:value-of select="name"/></xsl:variable>
|
||||
<xsl:variable name="img_src_over"><xsl:value-of select="img_src_over"/></xsl:variable>
|
||||
<xsl:variable name="icon"><xsl:value-of select="icon"/></xsl:variable>
|
||||
<xsl:variable name="title"><xsl:value-of select="title"/></xsl:variable>
|
||||
<tr>
|
||||
<td class="left">
|
||||
<a href="{$url}"><img src="{$icon}" border="0" alt="{$title}" title="{$title}" name="{$name}"/></a>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:template>
|
Loading…
Reference in New Issue
Block a user