mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
added app_header via $GLOBALS['phpgw_info']['flags']['app_header']
This commit is contained in:
parent
1efbab7f62
commit
b69defa25b
@ -1236,7 +1236,7 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$var['about_statustext'] = $GLOBALS['phpgw_info']['navbar']['about']['title'];
|
||||
$var['help_statustext'] = $GLOBALS['phpgw_info']['navbar']['help']['title'];
|
||||
|
||||
if (isset($GLOBALS['phpgw_ifo']['navbar']['admin']) && isset($GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']))
|
||||
if (isset($GLOBALS['phpgw_info']['navbar']['admin']) && $GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers'])
|
||||
{
|
||||
$var['current_users'] = lang('Current users') . ': ' . $GLOBALS['phpgw']->session->total();
|
||||
$var['url_current_users'] = $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions');
|
||||
@ -1319,7 +1319,6 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$var['app_tpl'] = '';
|
||||
|
||||
$menuaction = get_var('menuaction',Array('GET'));
|
||||
|
||||
if ($menuaction && $GLOBALS['phpgw_info']['flags']['xslt_app'])
|
||||
{
|
||||
list($app,$class,$method) = explode('.',$menuaction);
|
||||
@ -1335,6 +1334,33 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$var['top_spacer_middle_img'] = $GLOBALS['phpgw']->common->image('phpgwapi','top_spacer_middle');
|
||||
$var['navbar_format'] = $GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format'];
|
||||
|
||||
if (isset($GLOBALS['phpgw_info']['flags']['app_header']))
|
||||
{
|
||||
$var['app_header'] = $GLOBALS['phpgw_info']['flags']['app_header'];
|
||||
}
|
||||
$var['java_script'] = $var['app_css'] = '';
|
||||
if (isset($_GET['menuaction']))
|
||||
{
|
||||
list($app,$class,$method) = explode('.',$_GET['menuaction']);
|
||||
$class = CreateObject("$app.$class");
|
||||
if (isset($class->public_functions['css']))
|
||||
{
|
||||
$var['app_css'] = $class->css();
|
||||
}
|
||||
if (isset($class->public_functions['java_script']))
|
||||
{
|
||||
$var['java_script'] = $class->java_script();
|
||||
}
|
||||
unset($class);
|
||||
}
|
||||
if (isset($GLOBALS['phpgw_info']['flags']['css']))
|
||||
{
|
||||
$var['app_css'] .= $GLOBALS['phpgw_info']['flags']['css'];
|
||||
}
|
||||
if (isset($GLOBALS['phpgw_info']['flags']['java_script']))
|
||||
{
|
||||
$var['java_script'] .= $GLOBALS['phpgw_info']['flags']['java_script'];
|
||||
}
|
||||
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',$var);
|
||||
}
|
||||
|
||||
@ -1626,6 +1652,7 @@ if (!@is_file(PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info'
|
||||
$this->stop_xslt_capture();
|
||||
}
|
||||
|
||||
$this->framework();
|
||||
$GLOBALS['phpgw']->xslttpl->pp();
|
||||
$GLOBALS['phpgw']->db->disconnect();
|
||||
|
||||
|
@ -404,8 +404,6 @@
|
||||
$GLOBALS['phpgw_info']['flags']['msgbox_data'][$message]=False;
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->common->framework();
|
||||
|
||||
$GLOBALS['phpgw']->template->set_root(PHPGW_APP_TPL);
|
||||
|
||||
$GLOBALS['phpgw']->xslttpl->set_root(PHPGW_APP_TPL);
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #000000;
|
||||
}
|
||||
@ -40,7 +40,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header,.portal,.about
|
||||
.row_on,.th_bright,.portal,.about
|
||||
{
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: blue;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #5A0000;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:active,a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #000099;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:active,a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover,a:active
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #003300;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:hover,a:active
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #80BBFF;
|
||||
}
|
||||
@ -34,7 +34,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #EEEEFF;
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ a:active,a:hover
|
||||
color: black;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #aaaaaa;
|
||||
color: #000000;
|
||||
@ -50,7 +50,7 @@ a:active,a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:active,a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #7090FF;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:active,a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:active,a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #486591;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:active,a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:active,a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #885522;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:active,a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCCCFF;
|
||||
}
|
||||
@ -49,7 +49,7 @@ a:hover
|
||||
background-color: #E4DFFF;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.bottom
|
||||
{
|
||||
background-color: #9999FF;
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #909090;
|
||||
}
|
||||
@ -50,7 +50,7 @@ a:hover
|
||||
background-color: #808080;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.bottom
|
||||
{
|
||||
background-color: #404040;
|
||||
color: #00FF33;
|
||||
|
@ -82,3 +82,14 @@ table.login
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.app_header
|
||||
{
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.app_body
|
||||
{
|
||||
padding: 5px;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #663366;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #9999FF;
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
@ -49,7 +49,7 @@ a:hover
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.bottom
|
||||
{
|
||||
background-color: #D3DCE3;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: red;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #bd524a;
|
||||
color: #000000;
|
||||
@ -40,7 +40,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #80BBFF;
|
||||
}
|
||||
@ -34,7 +34,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: #C5AA2B;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.bottom
|
||||
{
|
||||
background-color: #F7E58F;
|
||||
}
|
||||
@ -34,7 +34,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #C8A63B;
|
||||
}
|
||||
|
@ -35,6 +35,16 @@
|
||||
<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}"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="java_script"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_css">
|
||||
<style type="text/css">
|
||||
<xsl:text><!--</xsl:text>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_css"/>
|
||||
<xsl:text>--></xsl:text>
|
||||
</style>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</head>
|
||||
<body onLoad="{$onload}">
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
@ -60,17 +70,6 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr width="100%">
|
||||
<td width="25%" class="info"><xsl:value-of select="user_info_name"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="current_users">
|
||||
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
|
||||
<td width="25%" nowrap="nowrap" class="info"><a href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td width="25%"> </td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td width="25%" class="info" align="right"><xsl:value-of select="user_info_date"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="navbar_format = 'text'">
|
||||
<td align="right">
|
||||
@ -97,8 +96,21 @@
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- BEGIN app_header -->
|
||||
<tr valign="top">
|
||||
<td height="15" class="app_body">
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_header">
|
||||
<xsl:attribute name="class">app_header</xsl:attribute>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
|
||||
<hr/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END app_header -->
|
||||
<tr>
|
||||
<td width="100%" height="100%" valign="top" align="center">
|
||||
<td width="100%" height="100%" valign="top" align="center" class="app_body">
|
||||
<xsl:choose>
|
||||
<xsl:when test="msgbox_data">
|
||||
<xsl:call-template name="msgbox"/>
|
||||
@ -131,18 +143,35 @@
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td 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;">
|
||||
<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"/>
|
||||
<!-- END bottom_part -->
|
||||
<!-- BEGIN bottom_part -->
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" width="30%" class="info">
|
||||
<xsl:value-of select="user_info"/>
|
||||
</td>
|
||||
<td align="center" width="30%" class="info">
|
||||
<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}" class="info"><xsl:value-of select="current_users"/></a>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td align="right" width="30%" class="info">
|
||||
<xsl:value-of select="lang_powered_by"/>
|
||||
<a href="http://www.phpgroupware.org" class="info" 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>
|
||||
</table>
|
||||
<!-- END bottom_part -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -78,7 +78,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #ADADAD;
|
||||
}
|
||||
@ -93,7 +93,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header,td.app_header
|
||||
{
|
||||
background-color: #FFE000;
|
||||
}
|
||||
|
@ -125,3 +125,10 @@ table.login
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.app_header
|
||||
{
|
||||
padding: 5px;
|
||||
padding-bottom: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #ADADAD;
|
||||
}
|
||||
@ -93,7 +93,7 @@ a:hover.top_menu,a:link.top_menu_selected,a:active.top_menu_selected,a:visited.t
|
||||
background-color: #999999;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header
|
||||
{
|
||||
background-color: orange;
|
||||
}
|
||||
|
@ -37,6 +37,16 @@
|
||||
<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}"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="java_script"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_css">
|
||||
<style type="text/css">
|
||||
<xsl:text><!--</xsl:text>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_css"/>
|
||||
<xsl:text>--></xsl:text>
|
||||
</style>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</head>
|
||||
<body>
|
||||
<!-- BEGIN top_part -->
|
||||
@ -74,7 +84,7 @@
|
||||
<!-- END top_part -->
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<tr valign="top" width="100%">
|
||||
<td width="17%">
|
||||
<td width="17%" rowspan="2">
|
||||
<!-- BEGIN left_part -->
|
||||
<table valign="top" cellpadding="2" cellspacing="2">
|
||||
<xsl:apply-templates select="applications"/>
|
||||
@ -84,6 +94,18 @@
|
||||
</table>
|
||||
<!-- END left_part -->
|
||||
</td>
|
||||
<!-- BEGIN app_header -->
|
||||
<td height="15" colspan="2">
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_header">
|
||||
<xsl:attribute name="class">app_header</xsl:attribute>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<!-- END app_header -->
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td height="100%" width="80%" valign="top" align="center">
|
||||
<xsl:choose>
|
||||
<xsl:when test="msgbox_data">
|
||||
|
@ -25,7 +25,7 @@ a:hover
|
||||
background-color: #486591;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #fefefe;
|
||||
}
|
||||
@ -40,7 +40,7 @@ a:hover
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header
|
||||
{
|
||||
background-color: #486591;
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.th_bright,.app_header
|
||||
.th_bright
|
||||
{
|
||||
background-color: #AABBCC;
|
||||
}
|
||||
@ -50,7 +50,7 @@ a:hover
|
||||
background-color: #FFFFEE;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header
|
||||
{
|
||||
background-color: #FFE4C4;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
@ -44,7 +44,7 @@ a:hover
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header
|
||||
{
|
||||
background-color: #ADADAD;
|
||||
}
|
||||
|
@ -119,3 +119,9 @@ table.login
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.app_header
|
||||
{
|
||||
padding: 5px;
|
||||
padding-bottom:0px;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
@ -39,7 +39,7 @@ a:hover
|
||||
background-color: #DDF0FF;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header
|
||||
{
|
||||
background-color: #80BBFF;
|
||||
}
|
||||
|
@ -43,6 +43,16 @@
|
||||
<script type="text/javascript" language="javascript" src="{$webserver_url}/phpgwapi/templates/idsociety/scripts.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{$phpgw_css_file}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="java_script"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_css">
|
||||
<style type="text/css">
|
||||
<xsl:text><!--</xsl:text>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_css"/>
|
||||
<xsl:text>--></xsl:text>
|
||||
</style>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</head>
|
||||
<body onLoad="{$onload}">
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
@ -95,7 +105,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<td rowspan="2">
|
||||
<!-- BEGIN left_part -->
|
||||
<table cellspacing="0" cellpadding="0" valign="top" class="left" height="100%">
|
||||
<xsl:apply-templates select="applications"/>
|
||||
@ -105,6 +115,18 @@
|
||||
</table>
|
||||
<!-- END left_part -->
|
||||
</td>
|
||||
<!-- BEGIN app_header -->
|
||||
<td height="15">
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_header">
|
||||
<xsl:attribute name="class">app_header</xsl:attribute>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<!-- END app_header -->
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="100%" height="100%" valign="top" align="center">
|
||||
<xsl:choose>
|
||||
<xsl:when test="msgbox_data">
|
||||
|
@ -124,3 +124,10 @@ table.login
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.app_header
|
||||
{
|
||||
padding: 5px;
|
||||
padding-bottom: 0px;
|
||||
text-align: center;
|
||||
}
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.app_header
|
||||
{
|
||||
background-color: #80BBFF;
|
||||
}
|
||||
@ -34,7 +34,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
|
@ -39,6 +39,16 @@
|
||||
<script type="text/javascript" language="javascript" src="{$webserver_url}/phpgwapi/templates/justweb/scripts.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{$phpgw_css_file}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{$theme_css_file}"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="java_script"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_css">
|
||||
<style type="text/css">
|
||||
<xsl:text><!--</xsl:text>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_css"/>
|
||||
<xsl:text>--></xsl:text>
|
||||
</style>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</head>
|
||||
<body onLoad="init();">
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
@ -60,36 +70,9 @@
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" valign="top">
|
||||
<table width="100%" height="24" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="7" class="menubar_left"> </td>
|
||||
<td class="menubar" width="100%">
|
||||
<table width="100%" height="24" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="33%" class="menubar"> <xsl:value-of select="user_info_name"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="current_users">
|
||||
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
|
||||
<td width="33%" class="menubar"><a href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<td></td>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<td width="33%" align="right" class="menubar"><xsl:value-of select="user_info_date"/> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="9" class="menubar_right"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END top_part -->
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<td rowspan="2">
|
||||
<!-- BEGIN left_part -->
|
||||
<table width="59" cellspacing="0" cellpadding="0" height="100%" valign="top">
|
||||
<tr>
|
||||
@ -107,6 +90,18 @@
|
||||
</table>
|
||||
<!-- END left_part -->
|
||||
</td>
|
||||
<!-- BEGIN app_header -->
|
||||
<td height="15">
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_header">
|
||||
<xsl:attribute name="class">app_header</xsl:attribute>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<!-- END app_header -->
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td width="100%" height="100%" valign="top" align="center">
|
||||
<xsl:choose>
|
||||
<xsl:when test="msgbox_data">
|
||||
@ -138,31 +133,37 @@
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td colspan="2" align="center" valign="top">
|
||||
<!-- BEGIN bottom_part -->
|
||||
<table width="100%" height="24" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="7" class="menubar_left"> </td>
|
||||
<td class="menubar" width="100%"> </td>
|
||||
<td width="9" class="menubar_right"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="top" height="20" colspan="2" align="center">
|
||||
<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"/>
|
||||
<!-- END bottom_part -->
|
||||
<!-- BEGIN bottom_part -->
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" width="30%" class="info">
|
||||
<xsl:value-of select="user_info"/>
|
||||
</td>
|
||||
<td align="center" width="30%" class="info">
|
||||
<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}" class="info"><xsl:value-of select="current_users"/></a>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
<td align="right" width="30%" class="info">
|
||||
<xsl:value-of select="lang_powered_by"/>
|
||||
<a href="http://www.phpgroupware.org" class="info" 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>
|
||||
</table>
|
||||
<!-- END bottom_part -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -40,7 +40,7 @@ a:hover
|
||||
background-color: #bd524a;
|
||||
}
|
||||
|
||||
.th_bright,.app_header
|
||||
.th_bright
|
||||
{
|
||||
background-color: #AABBCC;
|
||||
}
|
||||
@ -55,7 +55,7 @@ a:hover
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.th
|
||||
.th,.app_header
|
||||
{
|
||||
background-color: #bd524a;
|
||||
}
|
||||
|
62
phpgwapi/templates/verdilak/css/greys.css
Normal file
62
phpgwapi/templates/verdilak/css/greys.css
Normal file
@ -0,0 +1,62 @@
|
||||
body,p,td,th,table,input,form,option
|
||||
{
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
a:link,a:active,a:visited
|
||||
{
|
||||
color: #336699;
|
||||
}
|
||||
|
||||
a:hover
|
||||
{
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.login,.portal,.about
|
||||
{
|
||||
background-color: #ADADAD;
|
||||
border-color: #000000;
|
||||
}
|
||||
|
||||
.portal_text
|
||||
{
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
|
||||
.row_off
|
||||
{
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.th,.navbar,.app_header
|
||||
{
|
||||
background-color: #ADADAD;
|
||||
}
|
||||
|
||||
.cal_today
|
||||
{
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
|
||||
.cal_dayview
|
||||
{
|
||||
background-color: #C0C0C0;
|
||||
}
|
||||
|
||||
.email_folder
|
||||
{
|
||||
background-color: #adadad;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.info,a.info
|
||||
{
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
}
|
@ -93,3 +93,10 @@ table.login
|
||||
background-image: url(../images/bg_filler.png);
|
||||
}
|
||||
|
||||
.app_header
|
||||
{
|
||||
text-align: center;
|
||||
padding: 2px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
|
@ -13,12 +13,12 @@ a:link,a:visited,a:active
|
||||
color: mediumblue;
|
||||
}
|
||||
|
||||
a:hover
|
||||
a:hover,a.info:hover
|
||||
{
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.app_header
|
||||
{
|
||||
background-color: #80BBFF;
|
||||
}
|
||||
@ -32,9 +32,15 @@ a:hover
|
||||
.portal_text,.info
|
||||
{
|
||||
color: #FFFFFF;
|
||||
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.info
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ a:hover
|
||||
color: #cc0000;
|
||||
}
|
||||
|
||||
.navbar,.th
|
||||
.navbar,.th,.app_header
|
||||
{
|
||||
background-color: #80BBFF;
|
||||
}
|
||||
@ -34,7 +34,7 @@ a:hover
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.row_on,.th_bright,.app_header
|
||||
.row_on,.th_bright
|
||||
{
|
||||
background-color: #CCEEFF;
|
||||
}
|
||||
@ -64,3 +64,8 @@ a:hover
|
||||
background-color: #7090FF;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
a.info,.info
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
@ -37,20 +37,26 @@
|
||||
<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}"/>
|
||||
<xsl:value-of disable-output-escaping="yes" select="java_script"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="app_css">
|
||||
<style type="text/css">
|
||||
<xsl:text><!--</xsl:text>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_css"/>
|
||||
<xsl:text>--></xsl:text>
|
||||
</style>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0">
|
||||
<!-- BEGIN top_part -->
|
||||
<tr height="30">
|
||||
<td colspan="2" valign="top">
|
||||
<!-- BEGIN top_part -->
|
||||
<table class="navbar" height="30" width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr valign="bottom">
|
||||
<td>
|
||||
<a href="http://www.phpgroupware.org" target="_blank" title="{$phpgw_statustext}">
|
||||
<img src="{$logo_img}" border="0"/></a>
|
||||
</td>
|
||||
<td class="info" width="99%" align="center">
|
||||
<xsl:value-of select="user_info"/>
|
||||
<td width="95%">
|
||||
<a href="http://www.phpgroupware.org" target="_blank" title="{$phpgw_statustext}"><img src="{$logo_img}" border="0"/></a>
|
||||
</td>
|
||||
<td rowspan="2" nowrap="nowrap">
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
@ -61,34 +67,31 @@
|
||||
</xsl:if>
|
||||
<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>
|
||||
<td><a href="{$help_link}" target="_blank"><img src="{$help_img}" border="0" alt="{$help_title}" title="{$help_title}"/></a></td>
|
||||
<td><a href="{$help_link}" target="_blank"><img src="{$help_img}" border="0" alt="{$help_title}" title="{$help_title}"/></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="bottom">
|
||||
<td colspan="2" valign="bottom">
|
||||
<img src="{$greybar}" height="6" width="100%"/>
|
||||
</td>
|
||||
<td 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 align="right">
|
||||
<!-- END top_part -->
|
||||
<!-- BEGIN app_header -->
|
||||
<tr valign="top">
|
||||
<td class="left"></td>
|
||||
<td height="15">
|
||||
<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 test="app_header">
|
||||
<xsl:attribute name="class">app_header</xsl:attribute>
|
||||
<xsl:value-of disable-output-escaping="yes" select="app_header"/>
|
||||
</xsl:when>
|
||||
</xsl:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- END top_part 2 -->
|
||||
<!-- END app_header -->
|
||||
<tr valign="top">
|
||||
<td class="left" width="32">
|
||||
<!-- BEGIN left_part -->
|
||||
@ -131,19 +134,36 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="navbar">
|
||||
<td colspan="2" align="center" class="info">
|
||||
<!-- BEGIN bottom_part -->
|
||||
<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"/>
|
||||
<!-- END bottom_part -->
|
||||
<td colspan="2">
|
||||
<!-- BEGIN bottom_part -->
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" width="30%" class="info">
|
||||
<xsl:value-of select="user_info"/>
|
||||
</td>
|
||||
<td align="center" width="30%" class="info">
|
||||
<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" width="30%" class="info">
|
||||
<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>
|
||||
</table>
|
||||
<!-- END bottom_part -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -23,20 +23,18 @@
|
||||
$n_passwd = get_var('n_passwd',Array('POST'));
|
||||
$n_passwd_2 = get_var('n_passwd_2',Array('POST'));
|
||||
|
||||
if (! $GLOBALS['phpgw']->acl->check('changepassword', 1))
|
||||
if (! $GLOBALS['phpgw']->acl->check('changepassword', 1) || $_POST['cancel'])
|
||||
{
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/preferences/index.php/'));
|
||||
$GLOBALS['phpgw_info']['flags']['nodisplay'] = True;
|
||||
exit;
|
||||
$GLOBALS['phpgw']->redirect_link('/preferences/index.php');
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->template->set_file(array(
|
||||
'form' => 'changepassword.tpl'
|
||||
));
|
||||
$GLOBALS['phpgw']->template->set_var('lang_changepassword',lang('Change your password'));
|
||||
$GLOBALS['phpgw']->template->set_var('lang_enter_password',lang('Enter your new password'));
|
||||
$GLOBALS['phpgw']->template->set_var('lang_reenter_password',lang('Re-enter your password'));
|
||||
$GLOBALS['phpgw']->template->set_var('lang_change',lang('Change'));
|
||||
$GLOBALS['phpgw']->template->set_var('lang_cancel',lang('Cancel'));
|
||||
$GLOBALS['phpgw']->template->set_var('form_action',$GLOBALS['phpgw']->link('/preferences/changepassword.php'));
|
||||
|
||||
if($GLOBALS['phpgw_info']['server']['auth_type'] != 'ldap')
|
||||
@ -45,7 +43,7 @@
|
||||
. 'need to be done manually.'));
|
||||
}
|
||||
|
||||
if(get_var('submit',Array('POST')))
|
||||
if(get_var('change',Array('POST')))
|
||||
{
|
||||
if($n_passwd != $n_passwd_2)
|
||||
{
|
||||
@ -65,13 +63,12 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
$o_passwd = $GLOBALS['phpgw_info']['user']['passwd'];
|
||||
$passwd_changed = $GLOBALS['phpgw']->auth->change_password($o_passwd, $n_passwd);
|
||||
if(!$passwd_changed)
|
||||
{
|
||||
// This need to be changed to show a different message based on the result
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/preferences/index.php','cd=38'));
|
||||
$GLOBALS['phpgw']->redirect_link('/preferences/index.php','cd=38');
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -80,12 +77,13 @@
|
||||
$GLOBALS['hook_values']['old_passwd'] = $o_passwd;
|
||||
$GLOBALS['hook_values']['new_passwd'] = $n_passwd;
|
||||
$GLOBALS['phpgw']->hooks->process('changepassword');
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/preferences/index.php','cd=18'));
|
||||
$GLOBALS['phpgw']->redirect_link('/preferences/index.php','cd=18');
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('Change your password');
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array(
|
||||
'body_data' => $GLOBALS['phpgw']->template->fp('out','form')
|
||||
|
@ -29,7 +29,6 @@
|
||||
$query = get_var('query',Array('GET','POST'));
|
||||
$s_groups = get_var('s_groups',Array('GET','POST'));
|
||||
$s_users = get_var('s_users',Array('GET','POST'));
|
||||
|
||||
$owner = get_var('owner',Array('POST','GET'));
|
||||
|
||||
if (! $acl_app)
|
||||
@ -37,6 +36,10 @@
|
||||
$acl_app = 'preferences';
|
||||
$acl_app_not_passed = True;
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw']->translation->add_app($acl_app);
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw_info']['flags']['currentapp'] = $acl_app;
|
||||
|
||||
@ -196,6 +199,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('%1 - Preferences',$GLOBALS['phpgw_info']['apps'][$acl_app]['title']).' - '.lang('acl').': '.$owner_name;
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
$this->template = CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir($acl_app));
|
||||
@ -224,10 +228,10 @@
|
||||
|
||||
$var = Array(
|
||||
'errors' => '',
|
||||
'title' => '<p><b>'.lang($GLOBALS['phpgw_info']['flags']['currentapp'].' preferences').' - '.lang('acl').': '.$owner_name.'</b><hr><p>',
|
||||
'title' => '<br>',
|
||||
'action_url' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=' . $acl_app),
|
||||
'bg_color' => $GLOBALS['phpgw_info']['theme']['th_bg'],
|
||||
'submit_lang' => lang('submit'),
|
||||
'submit_lang' => lang('Save'),
|
||||
'common_hidden_vars_form' => $common_hidden_vars
|
||||
);
|
||||
|
||||
|
@ -110,7 +110,8 @@
|
||||
{
|
||||
$edata = explode(',',$extra);
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = $GLOBALS['phpgw_info']['apps'][$cats_app]['title'].
|
||||
' '.lang('categories for').': '.$this->user;
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
$GLOBALS['phpgw']->template->set_file(array('cat_list_t' => 'listcats.tpl'));
|
||||
@ -203,6 +204,10 @@
|
||||
$GLOBALS['phpgw']->template->set_var('td_data',$this->cat_data($edata,$data));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw']->template->set_var('td_data','');
|
||||
}
|
||||
|
||||
if ($level == 0)
|
||||
{
|
||||
@ -304,11 +309,13 @@
|
||||
else
|
||||
{
|
||||
$this->cat_id = $this->bo->save_cat($values);
|
||||
$message = lang('Category x has been added !', $values['name']);
|
||||
$message = lang('Category %1 has been added !', $values['name']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('Add %1 category for',
|
||||
$GLOBALS['phpgw_info']['apps'][$cats_app]['title']).': '.$this->user;
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
$GLOBALS['phpgw']->template->set_file(array('cat_form' => 'category_form.tpl'));
|
||||
@ -319,7 +326,7 @@
|
||||
|
||||
$this->set_langs();
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('title_categories',lang('Add x category for',lang($cats_app)));
|
||||
$GLOBALS['phpgw']->template->set_var('title_categories',lang('Add %1 category for',lang($cats_app)));
|
||||
$GLOBALS['phpgw']->template->set_var('message',$message);
|
||||
$GLOBALS['phpgw']->template->set_var('lang_app',lang($cats_app));
|
||||
$GLOBALS['phpgw']->template->set_var('actionurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
@ -362,6 +369,10 @@
|
||||
$GLOBALS['phpgw']->template->fp('rows','data_row',True);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw']->template->set_var('rows','');
|
||||
}
|
||||
|
||||
$link_data['menuaction'] = 'preferences.uicategories.index';
|
||||
$GLOBALS['phpgw']->template->set_var('doneurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
@ -388,12 +399,16 @@
|
||||
|
||||
if (!$this->cat_id)
|
||||
{
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
$GLOBALS['phpgw']->link_redirect('/index.php',$link_data);
|
||||
}
|
||||
|
||||
$values = get_var('values',Array('POST'));
|
||||
$cat_data = get_var('cat_data',Array('POST'));
|
||||
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('Edit %1 category for',
|
||||
$GLOBALS['phpgw_info']['apps'][$cats_app]['title']).': '.$this->user;
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
if (get_var('submit',Array('POST')))
|
||||
{
|
||||
if (is_array($cat_data))
|
||||
@ -414,13 +429,11 @@
|
||||
else
|
||||
{
|
||||
$this->cat_id = $this->bo->save_cat($values);
|
||||
$message = lang('Category x has been updated !',$values['name']);
|
||||
$message = lang('Category %1 has been updated !',$values['name']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
$GLOBALS['phpgw']->template->set_file(array('cat_form' => 'category_form.tpl'));
|
||||
$GLOBALS['phpgw']->template->set_block('cat_form','data_row');
|
||||
$GLOBALS['phpgw']->template->set_block('cat_form','add');
|
||||
@ -431,7 +444,7 @@
|
||||
|
||||
$cats = $this->bo->cats->return_single($this->cat_id);
|
||||
|
||||
$GLOBALS['phpgw']->template->set_var('title_categories',lang('Edit x category for',lang($cats_app)));
|
||||
$GLOBALS['phpgw']->template->set_var('title_categories',lang('Edit %1 category for',lang($cats_app)));
|
||||
$GLOBALS['phpgw']->template->set_var('message',$message);
|
||||
$GLOBALS['phpgw']->template->set_var('lang_app',lang($cats_app));
|
||||
$GLOBALS['phpgw']->template->set_var('doneurl',$GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
@ -477,6 +490,10 @@
|
||||
$GLOBALS['phpgw']->template->fp('rows','data_row',True);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['phpgw']->template->set_var('rows','');
|
||||
}
|
||||
|
||||
if ($cats[0]['owner'] == $this->account)
|
||||
{
|
||||
@ -509,9 +526,9 @@
|
||||
'cats_level' => $cats_level
|
||||
);
|
||||
|
||||
if (!$this->cat_id)
|
||||
if (!$this->cat_id || $_POST['cancel'])
|
||||
{
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
|
||||
}
|
||||
|
||||
$this->bo->cats->app_name = $cats_app;
|
||||
@ -524,11 +541,9 @@
|
||||
{
|
||||
case 'move':
|
||||
$this->bo->delete(array('cat_id' => $this->cat_id,'modify_subs' => True));
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
break;
|
||||
case 'drop':
|
||||
$this->bo->delete(array('cat_id' => $this->cat_id,'drop_subs' => True));
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
break;
|
||||
default:
|
||||
$error_msg = lang('Please choose one of the methods to handle the subcategories');
|
||||
@ -538,10 +553,11 @@
|
||||
else
|
||||
{
|
||||
$this->bo->delete(array('cat_id' => $this->cat_id));
|
||||
Header('Location: ' . $GLOBALS['phpgw']->link('/index.php',$link_data));
|
||||
}
|
||||
$GLOBALS['phpgw']->redirect_link('/index.php',$link_data);
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = lang('Delete Categories');
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
$GLOBALS['phpgw']->template->set_file(array('category_delete' => 'delete.tpl'));
|
||||
|
||||
|
@ -377,14 +377,9 @@
|
||||
$GLOBALS['phpgw']->redirect_link('/preferences/preferences.php','appname='.$_GET['appname']);
|
||||
}
|
||||
|
||||
if ($_GET['appname'] == 'preferences')
|
||||
{
|
||||
$t->set_var('lang_title',lang('Preferences'));
|
||||
}
|
||||
else
|
||||
{
|
||||
$t->set_var('lang_title',lang('%1 - Preferences',$GLOBALS['phpgw_info']['apps'][$_GET['appname']]['title']));
|
||||
}
|
||||
$GLOBALS['phpgw_info']['flags']['app_header'] = $_GET['appname'] == 'preferences' ?
|
||||
lang('Preferences') : lang('%1 - Preferences',$GLOBALS['phpgw_info']['apps'][$_GET['appname']]['title']);
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
$t->set_var('action_url',$GLOBALS['phpgw']->link('/preferences/preferences.php','appname=' . $_GET['appname']));
|
||||
|
||||
|
@ -1,29 +1,32 @@
|
||||
%1 - preferences preferences de %1 - Einstellungen
|
||||
12 hour preferences de 12 Stunden
|
||||
24 hour preferences de 24 Stunden
|
||||
a template defines the layout of phpgroupware and it contains icons vor each application. preferences de
|
||||
a theme defines the colors and fonts used by the template. preferences de
|
||||
a template defines the layout of phpgroupware and it contains icons for each application. preferences de Die Benutzeroberfläche definert das Layout von phpGroupWare und enthält die Icons (Symbole) der Andwendungen.
|
||||
a theme defines the colors and fonts used by the template. preferences de Das Thema definiert die Farben und Schriftarten der Benuteroberfläche.
|
||||
acl grants have been updated preferences de ACL (Zugangskontrollliste) wurde upgedatet
|
||||
any listing in phpgw will show you this number or entries or lines per page.<br>to many slow down the page display, to less will cost you the overview. preferences de
|
||||
any listing in phpgw will show you this number of entries or lines per page.<br>to many slow down the page display, to less will cost you the overview. preferences de Jede Liste in phpGroupWare zeigt diese Anzahl Zeilen pro Seite.<br>Zu viele verlangsammen den Aufbau der Seite, zu wenige kosten den Überblick.
|
||||
are you sure you want to delete this category ? preferences de Sind sie sicher, dass sie diese Kategorie löschen wollen ?
|
||||
change your password preferences de Passwort ändern
|
||||
change your profile preferences de Profil ändern
|
||||
change your settings preferences de Einstellungen ändern
|
||||
country preferences de Land
|
||||
date format preferences de Datumsformat
|
||||
default application preferences de Standard-Anwendung
|
||||
default preferences preferences de Voreinstellungen
|
||||
delete categories preferences de Kategorie Löschen
|
||||
description can not exceed 255 characters in length ! preferences de Die Beschreibung darf nicht länger als 255 Zeichen sein !
|
||||
do you prefer a 24 hour time format, or a 12 hour one with am/pm attached. preferences de
|
||||
do you prefer a 24 hour time format, or a 12 hour one with am/pm attached. preferences de Bevorzugen sie ein 24 Stunden Zeit-Format, oder 12 Stunden mit angehangenem Vor-/Nachmittag.
|
||||
edit custom fields preferences de Benutzerdefinierte Felder editieren
|
||||
enter your new password preferences de Neues Passwort eingeben
|
||||
error: there was a problem finding the preference file for %1 in %2 preferences de Fehler: Es gab ein Problem die Einstellungen für %1 in %2 zu finden
|
||||
forced preferences preferences de Erzwungene Einstellungen
|
||||
help off preferences de Keine Hilfe
|
||||
hours preferences de Stunden
|
||||
how many hours are you in front or after the timezone of the server.<br>if you are in the same time zone as the server select 0 hours, else select your locale date and time. preferences de
|
||||
how should phpgroupware display dates for you. preferences de
|
||||
how many hours are you in front or after the timezone of the server.<br>if you are in the same time zone as the server select 0 hours, else select your locale date and time. preferences de Wieviele Stunden sind sie vor der Zeitzone des Servers.<br>Wenn sie in der gleichen Zeitzone wie der Server sind, wählen sie 0 Stunden, ansonsten wählen sie ihr lokales Datum und die Uhrzeit.
|
||||
how should phpgroupware display dates for you. preferences de Wie soll phpGroupWare das Datum für sie anzeigen?
|
||||
icons and text preferences de Icons und Text
|
||||
icons only preferences de nur Icons
|
||||
in which country are you. this is used to set certain defaults for you. preferences de
|
||||
in which country are you. this is used to set certain defaults for you. preferences de In welchen Land sind sie? Damit werden verschiedene Voreinstellungen für sie vorgenommen.
|
||||
interface/template selection preferences de Auswahl der Benutzeroberfläche
|
||||
language preferences de Sprache
|
||||
max matches per page preferences de maximale Treffer pro Seite
|
||||
@ -33,9 +36,9 @@ please, select a new theme preferences de Bitte ein neues Schema w
|
||||
re-enter your password preferences de Neues Passwort wiederholen
|
||||
select different theme preferences de anderes Schema wählen
|
||||
select one preferences de Bitte wählen
|
||||
select the language of texts and messages within phpgroupware.<br>some languages may not contain all messages, in that case you will see an english message. preferences de
|
||||
should the help messages always be shown when you enter the preferences or only on request. preferences de
|
||||
should the number of active sessions be displayed for you all the time. preferences de
|
||||
select the language of texts and messages within phpgroupware.<br>some languages may not contain all messages, in that case you will see an english message. preferences de Wählen sie die Sprache der Texte und Mitteilungen innerhalb der phpGroupWare.<br>Machne Sprachen enthalten evtl. nicht alle Texte, in diesem Fall wird der Englische Text angezeigt.
|
||||
should the help messages always be shown when you enter the preferences or only on request. preferences de Sollen die Hilfetexte immer angezeigt werden, wenn sie die Einstellungen aufrufen oder nur auf Anforderung.
|
||||
should the number of active sessions be displayed for you all the time. preferences de Soll die Anzahl aktiver Sitzungen permanent für sie angezeigt werden.
|
||||
show current users on navigation bar preferences de Anzahl gegenwärtiger Benutzer in der Navigationsleiste anzeigen
|
||||
show helpmessages by default preferences de Hilfetexte standardmässig anzeigen
|
||||
show high priority events on main screen preferences de Ereignisse mit hoher Priorität auf der Startseite anzeigen
|
||||
@ -44,13 +47,14 @@ show text on navigation icons preferences de Text zu Icons in der Navigationslei
|
||||
text only preferences de nur Text
|
||||
the two passwords are not the same preferences de Die beiden Passworte sind nicht identisch
|
||||
theme (colors/fonts) selection preferences de Auswahl des Themas (Farben/Schriften)
|
||||
this is the application which will be started when you enter phpgroupware or click on the homepage icon.<br>you can also have more than one applications showing up on the homepage, if you don't choose a specific application here (has to be configured in the preferences of each applicaton). preferences de
|
||||
this is the application which will be started when you enter phpgroupware or click on the homepage icon.<br>you can also have more than one application showing up on the homepage, if you don't choose a specific application here (has to be configured in the preferences of each application). preferences de Diese Anwendung wird gestartet, wenn sie phpGroupWare neu starten oder auf das Symbol der Startseite klicken. Sie können auch mehrere Anwendungen auf ihrer Startseite anzeigen, dazu wählen sie keine Anwendung aus. Welche Anwendungen dann angezeigt werden, wird in den Einstellungen der jeweiligen Anwendungen konfiguriert.
|
||||
this server is located in the %1 timezone preferences de Der Server befindet sich in der Zeitzone %1
|
||||
time format preferences de Zeitformat
|
||||
users choice preferences de Benutzerauswahl
|
||||
which currency symbole or name should be used in phpgroupware. preferences de
|
||||
you can show the applications as icons only, icons with app-name or both. preferences de
|
||||
which currency symbole or name should be used in phpgroupware. preferences de Welches Währungssymbol oder Name soll in phpGroupWare verwendet werden.
|
||||
you can show the applications as icons only, icons with app-name or both. preferences de Sie können die Anwendungen als Symbol (Icon), Text oder beides anzeigen.
|
||||
you do not have permission to set acl's in this mode! preferences de Sie haben keine Berechtigung die ACL in diesm Modus zu setzen.
|
||||
you do not have permission to set acl\'s in this mode! preferences de Sie haben keine Berechtigung ACL's in diesem Modus zu setzen!
|
||||
you must enter a password preferences de Sie müssen ein Passwort angeben
|
||||
your current theme is: %1 preferences de Ihr aktuelles Farbschema ist: %1
|
||||
your preferences preferences de Persönliche Einstellungen
|
||||
your preferences preferences de Persönliche Einstellungen
|
||||
|
@ -4,13 +4,16 @@
|
||||
a template defines the layout of phpgroupware and it contains icons vor each application. preferences en A template defines the layout of phpGroupWare and it contains icons vor each application.
|
||||
a theme defines the colors and fonts used by the template. preferences en A theme defines the colors and fonts used by the template.
|
||||
acl grants have been updated preferences en ACL grants have been updated
|
||||
any listing in phpgw will show you this number or entries or lines per page.<br>to many slow down the page display, to less will cost you the overview. preferences en Any listing in phpGW will show you this number or entries or lines per page.<br>To many slow down the page display, to less will cost you the overview.
|
||||
any listing in phpgw will show you this number of entries or lines per page.<br>to many slow down the page display, to less will cost you the overview. preferences en Any listing in phpGW will show you this number of entries or lines per page.<br>To many slow down the page display, to less will cost you the overview.
|
||||
are you sure you want to delete this category ? preferences en Are you sure you want to delete this category ?
|
||||
change your password preferences en Change your Password
|
||||
change your profile preferences en Change your profile
|
||||
change your settings preferences en Change your Settings
|
||||
country preferences en Country
|
||||
date format preferences en Date format
|
||||
default application preferences en Default application
|
||||
default preferences preferences en Default Preferences
|
||||
delete categories preferences en Delete Categories
|
||||
description can not exceed 255 characters in length ! preferences en Description can not exceed 255 characters in length !
|
||||
do you prefer a 24 hour time format, or a 12 hour one with am/pm attached. preferences en Do you prefer a 24 hour time format, or a 12 hour one with am/pm attached.
|
||||
edit custom fields preferences en edit custom fields
|
||||
@ -48,7 +51,7 @@ time format preferences en Time format
|
||||
users choice preferences en Users choice
|
||||
which currency symbole or name should be used in phpgroupware. preferences en Which currency symbole or name should be used in phpGroupWare.
|
||||
you can show the applications as icons only, icons with app-name or both. preferences en You can show the applications as icons only, icons with app-name or both.
|
||||
you do not have permission to set acl\'s in this mode! preferences en You do not have permission to set ACL\'s in this mode!
|
||||
you do not have permission to set acl's in this mode! preferences en You do not have permission to set ACL's in this mode!
|
||||
you must enter a password preferences en You must enter a password
|
||||
your current theme is: %1 preferences en your current theme is: %1
|
||||
your preferences preferences en Your Preferences
|
||||
|
@ -1,35 +1,28 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN form -->
|
||||
|
||||
<br>
|
||||
<center>
|
||||
<table border="0" width="80%" cellspacing="2" cellpadding="2">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#c9c9c9"><b>{title_categories}: {user_name}<b/></td>
|
||||
</tr>
|
||||
</table>
|
||||
{message}
|
||||
{message}<br>
|
||||
<table border="0" width="80%" cellspacing="2" cellpadding="2">
|
||||
<form name="form" action="{actionurl}" method="POST">
|
||||
<tr>
|
||||
<tr class="th">
|
||||
<td>{lang_parent}</td>
|
||||
<td><select name="values[parent]"><option value="">{lang_none}</option>{category_list}</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr class="row_on">
|
||||
<td>{lang_name}</td>
|
||||
<td><input name="values[name]" size="50" value="{cat_name}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr class="row_off">
|
||||
<td>{lang_descr}</td>
|
||||
<td><textarea name="values[descr]" rows="4" cols="50" wrap="virtual">{cat_description}</textarea></td>
|
||||
</tr>
|
||||
|
||||
{rows}
|
||||
|
||||
<tr>
|
||||
<tr class="row_on">
|
||||
<td>{lang_access}</td>
|
||||
<td><input type="checkbox" name="values[access]" value="True" {access}></td>
|
||||
</tr>
|
||||
{rows}
|
||||
</table>
|
||||
|
||||
{buttons}
|
||||
@ -40,15 +33,11 @@
|
||||
|
||||
<!-- BEGIN add -->
|
||||
|
||||
<table width="80%" border="0" cellspacing="2" cellpadding="2">
|
||||
<tr valign="bottom">
|
||||
<td height="50">
|
||||
<input type="submit" name="submit" value="{lang_save}"></td>
|
||||
<td height="50" align="center">
|
||||
<input type="reset" name="reset" value="{lang_reset}"></form></td>
|
||||
<td height="50" align="right">
|
||||
<form method="POST" action="{doneurl}">
|
||||
<input type="submit" name="done" value="{lang_done}"></form></td>
|
||||
<table width="80%" border="0" cellspacing="5">
|
||||
<tr valign="top">
|
||||
<td><input type="submit" name="submit" value="{lang_save}"></form></td>
|
||||
<td><form method="POST" action="{doneurl}"><input type="submit" name="done" value="{lang_done}"></form></td>
|
||||
<td width="80%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -56,16 +45,15 @@
|
||||
|
||||
<!-- BEGIN edit -->
|
||||
|
||||
<table width="80%" border="0" cellspacing="2" cellpadding="2">
|
||||
<tr valign="bottom">
|
||||
<td height="50">
|
||||
<table width="80%" border="0" cellspacing="5">
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<input type="hidden" name="values[old_parent]" value="{old_parent}">
|
||||
<input type="submit" name="submit" value="{lang_save}"></form></td>
|
||||
<td height="50" align="center">
|
||||
{delete}</td>
|
||||
<td height="50" align="right">
|
||||
<td>
|
||||
<form method="POST" action="{doneurl}">
|
||||
<input type="submit" name="done" value="{lang_done}"></form></td>
|
||||
<td width="80%" align="right">{delete}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -73,7 +61,7 @@
|
||||
|
||||
<!-- BEGIN data_row -->
|
||||
|
||||
<tr>
|
||||
<tr class="{tr_color}">
|
||||
<td>{lang_data}</td>
|
||||
<td>{td_data}</td>
|
||||
</tr>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<b>{lang_changepassword}</b><hr><p>
|
||||
<br>
|
||||
|
||||
<center>{messages}</center>
|
||||
|
||||
@ -22,10 +22,13 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" name="submit" value="{lang_change}">
|
||||
<table cellspacing="5"><tr>
|
||||
<td><input type="submit" name="change" value="{lang_change}"></td>
|
||||
<td><input type="submit" name="cancel" value="{lang_cancel}"></td>
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<br>
|
||||
<pre>{sql_message}</pre>
|
||||
<pre>{sql_message}</pre>
|
||||
|
@ -2,28 +2,21 @@
|
||||
|
||||
<!-- BEGIN form -->
|
||||
|
||||
<center>
|
||||
{error_msg}
|
||||
<table border="0" width="65%" cellpadding="2" cellspacing="2">
|
||||
<center><br>
|
||||
<form method="POST" action="{action_url}">
|
||||
<table border="0" width="65%" cellpadding="2" cellspacing="2">
|
||||
<tr>
|
||||
<td align="center" colspan="2">{deleteheader}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" colspan="2">{sub_select}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type="submit" name="confirm" value="{lang_yes}">
|
||||
</form>
|
||||
</td>
|
||||
<td align="right">
|
||||
<form method="POST" action="{nolink}">
|
||||
<input type="submit" name="cancel" value="{lang_no}">
|
||||
</form>
|
||||
</td>
|
||||
<tr height="50" valign="botton">
|
||||
<td align="center" width="50%"><input type="submit" name="confirm" value="{lang_yes}"></td>
|
||||
<td align="center" width="50%"><input type="submit" name="cancel" value="{lang_no}"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</center>
|
||||
|
||||
<!-- END form -->
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- BEGIN list -->
|
||||
<table border="0" width="100%" cellspacing="0" cellpadding="0">
|
||||
<table border="0" width="75%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align="left">{tabs}</td>
|
||||
</tr>
|
||||
|
@ -1,11 +1,9 @@
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- BEGIN cat_list -->
|
||||
<br>
|
||||
<center>
|
||||
<table border="0" cellspacing="2" cellpadding="2" width="87%">
|
||||
<tr>
|
||||
<td colspan="3" width="87%" align="center" bgcolor="#c9c9c9"><b>{lang_app} {title_categories}: {user_name}<b/></td>
|
||||
</tr>
|
||||
<table border="0" cellspacing="2" cellpadding="2" width="80%">
|
||||
<tr>
|
||||
<td colspan="3" align=left>
|
||||
<table border="0" width="100%">
|
||||
@ -25,7 +23,7 @@
|
||||
</form></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" cellspacing="2" cellpadding="2" width="87%">
|
||||
<table border="0" cellspacing="2" cellpadding="2" width="80%">
|
||||
<tr class="th">
|
||||
<td class="th">{sort_name}</td>
|
||||
<td class="th">{sort_description}</td>
|
||||
@ -41,17 +39,18 @@
|
||||
{rows}
|
||||
</table>
|
||||
|
||||
<table border="0" cellspacing="2" cellpadding="2" width="87%">
|
||||
<table border="0" cellspacing="5" width="80%">
|
||||
<tr valign="bottom">
|
||||
<td width="50%">
|
||||
<td>
|
||||
<form method="POST" action="{add_action}">
|
||||
<input type="submit" value="{lang_add}">
|
||||
</form></td>
|
||||
<td width="50%" align="right">
|
||||
<td>
|
||||
<form method="POST" action="{doneurl}">
|
||||
<input type="submit" name="done" value="{lang_done}">
|
||||
</form>
|
||||
</td>
|
||||
<td width="80%"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
<b>{lang_title}</b>
|
||||
<hr>
|
||||
<br>
|
||||
<center><b>{messages}</b></center>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user