fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [14603] css


From: Sigurd Nes
Subject: [Fmsystem-commits] [14603] css
Date: Tue, 15 Dec 2015 10:42:52 +0000

Revision: 14603
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14603
Author:   sigurdne
Date:     2015-12-15 10:42:51 +0000 (Tue, 15 Dec 2015)
Log Message:
-----------
css

Modified Paths:
--------------
    branches/dev-syncromind/activitycalendarfrontend/templates/base/config.tpl
    branches/dev-syncromind/addressbook/templates/base/body_detail.tpl
    branches/dev-syncromind/addressbook/templates/base/config.tpl
    branches/dev-syncromind/addressbook/templates/base/form.tpl
    branches/dev-syncromind/admin/inc/class.uiaccounts.inc.php
    branches/dev-syncromind/admin/inc/class.uiasyncservice.inc.php
    branches/dev-syncromind/admin/templates/base/accesslog.tpl
    branches/dev-syncromind/admin/templates/base/cats.xsl
    branches/dev-syncromind/admin/templates/base/config.tpl
    branches/dev-syncromind/bim/templates/base/config.tpl
    branches/dev-syncromind/booking/templates/base/config.tpl
    branches/dev-syncromind/bookingfrontend/templates/base/config.tpl
    branches/dev-syncromind/calendar/templates/base/config.tpl
    branches/dev-syncromind/catch/templates/base/config.tpl
    branches/dev-syncromind/controller/templates/base/config.tpl
    branches/dev-syncromind/demo/templates/base/config.tpl
    branches/dev-syncromind/email/templates/base/config.tpl
    branches/dev-syncromind/emailadmin/templates/base/config.tpl
    branches/dev-syncromind/felamimail/templates/base/config.tpl
    branches/dev-syncromind/frontend/templates/base/config.tpl
    branches/dev-syncromind/helpdesk/templates/base/config.tpl
    branches/dev-syncromind/hrm/templates/base/config.tpl
    branches/dev-syncromind/logistic/templates/base/config.tpl
    branches/dev-syncromind/manual/templates/base/config.tpl
    branches/dev-syncromind/messenger/templates/base/config.tpl
    branches/dev-syncromind/mobilefrontend/templates/base/config.tpl
    branches/dev-syncromind/phpgwapi/templates/base/config.tpl
    branches/dev-syncromind/preferences/templates/base/admin_acl.xsl
    branches/dev-syncromind/property/templates/base/admin.xsl
    branches/dev-syncromind/property/templates/base/config.tpl
    branches/dev-syncromind/registration/templates/base/config.tpl
    branches/dev-syncromind/rental/templates/base/config.tpl
    branches/dev-syncromind/sms/templates/base/config.tpl

Modified: 
branches/dev-syncromind/activitycalendarfrontend/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/activitycalendarfrontend/templates/base/config.tpl  
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/activitycalendarfrontend/templates/base/config.tpl  
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center">
+       <table class="pure-table pure-table-bordered">
                <tr bgcolor="{th_bg}">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/addressbook/templates/base/body_detail.tpl
===================================================================
--- branches/dev-syncromind/addressbook/templates/base/body_detail.tpl  
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/addressbook/templates/base/body_detail.tpl  
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN detail_body -->
 <tr>
-<table width="100%" border="0" align="center" cellspacing="0" cellpadding="0">
+<table width="100%" class="pure-table">
   <tbody>
     <tr align="right">
       <td>
@@ -9,7 +9,7 @@
     </tr>
     <tr>
       <td>
-               <table width="100%" border="0" align="center" cellspacing="0" 
cellpadding="0">
+               <table width="100%" class="pure-table pure-table-bordered">
                <tbody>
                        <caption>{caption_detail}</caption>
                        {detail_body_set}

Modified: branches/dev-syncromind/addressbook/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/addressbook/templates/base/config.tpl       
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/addressbook/templates/base/config.tpl       
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center">
+<table class="pure-table pure-table-bordered">
    <tr bgcolor="{th_bg}">
           <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/addressbook/templates/base/form.tpl
===================================================================
--- branches/dev-syncromind/addressbook/templates/base/form.tpl 2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/addressbook/templates/base/form.tpl 2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,5 +1,5 @@
 <!-- BEGIN TABHOLDER -->
-<table width="80%" border="0" align="center" cellspacing="2" cellpadding="2">
+<table width="95%" border="0" align="center" cellspacing="2" cellpadding="2">
        <tbody>
                <tr>
                        {principal_tabs_inc}

Modified: branches/dev-syncromind/admin/inc/class.uiaccounts.inc.php
===================================================================
--- branches/dev-syncromind/admin/inc/class.uiaccounts.inc.php  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/admin/inc/class.uiaccounts.inc.php  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -26,7 +26,7 @@
           along with this program.  If not, see <http://www.gnu.org/licenses/>.
         */
 
-       phpgw::import_class('phpgwapi.yui');
+       phpgw::import_class('phpgwapi.jquery');
 
        /**
        * phpGroupWare Administration - Accounts User Interface
@@ -779,7 +779,6 @@
                                'data'  => array('label' => lang('group data'), 
'link' => '#group'),
                                'apps'  => array('label' => 
lang('applications'), 'link' => '#apps')
                        );
-                       phpgwapi_yui::tabview_setup('group_edit_tabview');
 
                        // this is in the api, so lets not waste loops looking 
for it the app tpl dirs
                        $GLOBALS['phpgw']->xslttpl->add_file('msgbox', 
PHPGW_TEMPLATE_DIR, 3);
@@ -811,7 +810,7 @@
                                'msgbox_data'           => $error_list,
                                'select_size'           => 5,
                                'value_account_name'=> $group->lid,
-                               'tabs'                          => 
phpgwapi_yui::tabview_generate($tabs, 'data')
+                               'tabs'                          => 
phpgwapi_jquery::tabview_generate($tabs, 'data','group_edit_tabview')
                        );
 
                        $GLOBALS['phpgw']->xslttpl->set_var('phpgw', 
array('group_edit' => $data));
@@ -1180,9 +1179,7 @@
                                'groups'        => array('label' => 
lang('groups'), 'link' => '#groups'),
                                'apps'  => array('label' => 
lang('applications'), 'link' => '#apps')
                        );
-                       phpgwapi_yui::tabview_setup('account_edit_tabview');
 
-
                        $data = array
                        (
                                'page_title'                    => $account_id 
? lang('edit user') : lang('add user'),
@@ -1225,7 +1222,7 @@
                                'app_list'                              => 
$app_list,
                                'url_contacts'                  => 
$url_contacts,
                                'url_contacts_text'             => 
$url_contacts_text,
-                               'tabs'                                  => 
phpgwapi_yui::tabview_generate($tabs, 'data')
+                               'tabs'                                  => 
phpgwapi_jquery::tabview_generate($tabs, 'data','account_edit_tabview')
                        );
 
                        /*

Modified: branches/dev-syncromind/admin/inc/class.uiasyncservice.inc.php
===================================================================
--- branches/dev-syncromind/admin/inc/class.uiasyncservice.inc.php      
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/admin/inc/class.uiasyncservice.inc.php      
2015-12-15 10:42:51 UTC (rev 14603)
@@ -236,7 +236,7 @@
                        echo '<hr><p><b>'.lang('Jobs').":</b>\n";
                        if ($jobs = $async->read('%'))
                        {
-                               echo "<table 
border=1>\n<tr>\n<th>Id</th><th>".lang('Next 
run').'</th><th>'.lang('Times').'</th><th>'.lang('Method').'</th><th>'.lang('Data')."</th><th>".lang('LoginID')."</th></tr>\n";
+                               echo "<table  class=\"pure-table  
pure-table-bordered\" border=1>\n<tr>\n<th>Id</th><th>".lang('Next 
run').'</th><th>'.lang('Times').'</th><th>'.lang('Method').'</th><th>'.lang('Data')."</th><th>".lang('LoginID')."</th></tr>\n";
                                foreach($jobs as $job)
                                {
                                        echo 
"<tr>\n<td>{$job['id']}</td><td>".$GLOBALS['phpgw']->common->show_date($job['next'])."</td><td>";

Modified: branches/dev-syncromind/admin/templates/base/accesslog.tpl
===================================================================
--- branches/dev-syncromind/admin/templates/base/accesslog.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/admin/templates/base/accesslog.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,62 +1,53 @@
 <!-- BEGIN list -->
-<p>
+<table class="pure-table">
+       <tr valign="bottom">
+               <td align="center" colspan="4">
+                       {lang_last_x_logins}
+               </td>
+       </tr>
+       <tr>
+               {nextmatchs_left}&nbsp;{nextmatchs_right}
+       </tr>
+</table>
+{showing}
 
-<div align="center">
-       <table border="0" width="95%">
+<table border="0" width="95%"  class="pure-table pure-table-bordered">
+       <thead
                <tr>
-                       {rows}
-                       <td>
-                               <div align="center">
-                                       <table border="0" width="100%">
-                                               <tr valign="bottom">
-                                                       <td align="left" 
colspan="2">
-                                                               
{lang_last_x_logins}
-                                                       </td>
-                                                       <td align="center" 
colspan="2">
-                                                               {showing}
-                                                       </td>
-                                                       <td align="right">
-                                                               <table 
border="0">
-                                                                       <tr>
-                                                                               
{nextmatchs_left}&nbsp;{nextmatchs_right}
-                                                                       </tr>
-                                                               </table>
-                                                       </td>
-                                               </tr>
-                                               <tr class="th">
-                                                       <td 
width="10%">{lang_loginid}</td>
-                                                       <td 
width="15%">{lang_ip}</td>
-                                                       <td 
width="20%">{lang_login}</td>
-                                                       <td 
width="30%">{lang_logout}</td>
-                                                       <td>{lang_total}</td>
-                                               </tr>
-                                               {rows_access}
-                                               <tr class="th">
-                                                       <td colspan="5" 
align="left">{footer_total}</td>
-                                               </tr>
-                                               <tr class="th">
-                                                       <td colspan="5" 
align="left">{lang_percent}</td>
-                                               </tr>
-                                       </table>
-                               </div>
-                       </td>
+                       <th width="10%">{lang_loginid}</th>
+                       <th width="15%">{lang_ip}</th>
+                       <th width="20%">{lang_login}</th>
+                       <th width="30%">{lang_logout}</th>
+                       <th>{lang_total}</th>
                </tr>
-       </table>
-</div>
+       </thead>
+       <tbody
+               {rows_access}
+               <tr class="th">
+                       <td colspan="5" align="left">{footer_total}</td>
+               </tr>
+       </tbody>
+       <tfoot>
+               <tr class="th">
+                       <td colspan="5" align="left">{lang_percent}</td>
+               </tr>
+       </tfoot>
+</table>
+
 <!-- END list -->
 
 <!-- BEGIN row -->
-       <tr class="{tr_class}">
-               <td>{row_loginid}</td>
-               <td>{row_ip}</td>
-               <td>{row_li}</td>
-               <td>{row_lo}&nbsp;</td>
-               <td>{row_total}&nbsp;</td>
-       </tr>
+<tr class="{tr_class}">
+       <td>{row_loginid}</td>
+       <td>{row_ip}</td>
+       <td>{row_li}</td>
+       <td>{row_lo}&nbsp;</td>
+       <td>{row_total}&nbsp;</td>
+</tr>
 <!-- END row -->
 
 <!-- BEGIN row_empty -->
-       <tr class="{tr_class}">
-               <td align="center" colspan="5">{row_message}</td>
-       </tr>
+<tr class="{tr_class}">
+       <td align="center" colspan="5">{row_message}</td>
+</tr>
 <!-- END row_empty -->

Modified: branches/dev-syncromind/admin/templates/base/cats.xsl
===================================================================
--- branches/dev-syncromind/admin/templates/base/cats.xsl       2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/admin/templates/base/cats.xsl       2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,140 +1,188 @@
 <!-- $Id$ -->
 
-       <xsl:template name="cats">
-               <xsl:choose>
-                       <xsl:when test="cat_list">
-                               <xsl:apply-templates select="cat_list"/>
-                       </xsl:when>
-                       <xsl:when test="cat_edit">
-                               <xsl:apply-templates select="cat_edit"/>
-                       </xsl:when>
-               </xsl:choose>
-       </xsl:template>
+<xsl:template name="cats">
+       <xsl:choose>
+               <xsl:when test="cat_list">
+                       <xsl:apply-templates select="cat_list"/>
+               </xsl:when>
+               <xsl:when test="cat_edit">
+                       <xsl:apply-templates select="cat_edit"/>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
 
 <!-- BEGIN cat_list -->
 
-       <xsl:template match="cat_list">
-               <center>
-                       <table border="0" cellspacing="2" cellpadding="2" 
class="pure-table pure-table-bordered">
-                               <tr>
-                                       <td colspan="5" width="100%">
-                                               <xsl:call-template 
name="nextmatchs"/>
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td colspan="5" width="100%" 
align="right">
-                                               <xsl:call-template 
name="search_field"/>
-                                       </td>
-                               </tr>
-                                       <xsl:apply-templates 
select="cat_header"/>
-                                       <xsl:apply-templates select="cat_data"/>
-                       </table>
-                       <xsl:apply-templates select="cat_add"/>
-               </center>
-       </xsl:template>
+<xsl:template match="cat_list">
+       <center>
+               <table border="0" cellspacing="2" cellpadding="2" 
class="pure-table pure-table-bordered">
+                       <tr>
+                               <td colspan="6" width="100%">
+                                       <xsl:call-template name="nextmatchs"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td colspan="6" width="100%" align="right">
+                                       <xsl:call-template name="search_field"/>
+                               </td>
+                       </tr>
+                       <xsl:apply-templates select="cat_header"/>
+                       <xsl:apply-templates select="cat_data"/>
+               </table>
+               <xsl:apply-templates select="cat_add"/>
+       </center>
+</xsl:template>
 
 <!-- BEGIN cat_header -->
 
-       <xsl:template match="cat_header">
-               <xsl:variable name="sort_name" select="sort_name"/>
-               <xsl:variable name="sort_descr" select="sort_descr"/>
-               <xsl:variable name="lang_sort_statustext" 
select="lang_sort_statustext"/>
-               <tr class="th">
-                       <td width="20%"><a href="{$sort_name}" 
title="{$lang_sort_statustext}" class="th_text"><xsl:value-of 
select="lang_name"/></a></td>
-                       <td width="32%"><a href="{$sort_descr}" 
title="{$lang_sort_statustext}" class="th_text"><xsl:value-of 
select="lang_descr"/></a></td>
-                       <td width="8%" align="center"><xsl:value-of 
select="lang_status"/></td>
-                       <td width="8%" align="center"><xsl:value-of 
select="lang_add_sub"/></td>
-                       <td width="8%" align="center"><xsl:value-of 
select="lang_edit"/></td>
-                       <td width="8%" align="center"><xsl:value-of 
select="lang_delete"/></td>
-               </tr>
-       </xsl:template>
+<xsl:template match="cat_header">
+       <xsl:variable name="sort_name" select="sort_name"/>
+       <xsl:variable name="sort_descr" select="sort_descr"/>
+       <xsl:variable name="lang_sort_statustext" 
select="lang_sort_statustext"/>
+       <tr class="th">
+               <td width="20%">
+                       <a href="{$sort_name}" title="{$lang_sort_statustext}" 
class="th_text">
+                               <xsl:value-of select="lang_name"/>
+                       </a>
+               </td>
+               <td width="32%">
+                       <a href="{$sort_descr}" title="{$lang_sort_statustext}" 
class="th_text">
+                               <xsl:value-of select="lang_descr"/>
+                       </a>
+               </td>
+               <td width="8%" align="center">
+                       <xsl:value-of select="lang_status"/>
+               </td>
+               <td width="8%" align="center">
+                       <xsl:value-of select="lang_add_sub"/>
+               </td>
+               <td width="8%" align="center">
+                       <xsl:value-of select="lang_edit"/>
+               </td>
+               <td width="8%" align="center">
+                       <xsl:value-of select="lang_delete"/>
+               </td>
+       </tr>
+</xsl:template>
 
 <!-- BEGIN cat_data -->
 
-       <xsl:template match="cat_data">
-               <xsl:variable name="lang_add_sub_statustext"><xsl:value-of 
select="lang_add_sub_statustext"/></xsl:variable>
-               <xsl:variable name="lang_edit_statustext"><xsl:value-of 
select="lang_edit_statustext"/></xsl:variable>
-               <xsl:variable name="lang_delete_statustext"><xsl:value-of 
select="lang_delete_statustext"/></xsl:variable>
-               <tr>
-                       <xsl:attribute name="class">
-                               <xsl:choose>
-                                       <xsl:when test="@class">
-                                               <xsl:value-of select="@class"/>
-                                       </xsl:when>
-                                       <xsl:when test="position() mod 2 = 0">
-                                               <xsl:text>row_off</xsl:text>
-                                       </xsl:when>
-                                       <xsl:otherwise>
-                                               <xsl:text>row_on</xsl:text>
-                                       </xsl:otherwise>
-                               </xsl:choose>
-                               <xsl:choose>
-                                       <xsl:when test="status != 1">
-                                               <xsl:text> inactive</xsl:text>
-                                       </xsl:when>
-                               </xsl:choose>
-                       </xsl:attribute>
+<xsl:template match="cat_data">
+       <xsl:variable name="lang_add_sub_statustext">
+               <xsl:value-of select="lang_add_sub_statustext"/>
+       </xsl:variable>
+       <xsl:variable name="lang_edit_statustext">
+               <xsl:value-of select="lang_edit_statustext"/>
+       </xsl:variable>
+       <xsl:variable name="lang_delete_statustext">
+               <xsl:value-of select="lang_delete_statustext"/>
+       </xsl:variable>
+       <tr>
+               <xsl:attribute name="class">
                        <xsl:choose>
-                               <xsl:when test="main = 'yes'">
-                                       <td class="alarm"><b><xsl:value-of 
disable-output-escaping="yes" select="name"/></b></td>
-                                       <td class="alarm"><b><xsl:value-of 
select="descr"/></b></td>
+                               <xsl:when test="@class">
+                                       <xsl:value-of select="@class"/>
                                </xsl:when>
+                               <xsl:when test="position() mod 2 = 0">
+                                       <xsl:text>row_off</xsl:text>
+                               </xsl:when>
                                <xsl:otherwise>
-                                       <td><xsl:value-of 
disable-output-escaping="yes" select="name"/></td>
-                                       <td><xsl:value-of select="descr"/></td>
+                                       <xsl:text>row_on</xsl:text>
                                </xsl:otherwise>
                        </xsl:choose>
-                       <td align="center"><xsl:value-of 
select="status_text"/></td>
-                       <td align="center">
-                               <xsl:variable name="add_sub_url" 
select="add_sub_url"/>
-                               <a href="{add_sub_url}" 
title="{$lang_add_sub_statustext}" class="th_text"><xsl:value-of 
select="lang_add_sub"/></a>
-                       </td>
-                       <td align="center">
-                               <xsl:variable name="edit_url" 
select="edit_url"/>
-                               <a href="{edit_url}" 
title="{$lang_edit_statustext}" class="th_text"><xsl:value-of 
select="lang_edit"/></a>
-                       </td>
-                       <td align="center">
-                               <xsl:variable name="delete_url" 
select="delete_url"/>
-                               <a href="{delete_url}" 
title="{$lang_delete_statustext}" class="th_text"><xsl:value-of 
select="lang_delete"/></a>
-                       </td>
-               </tr>
-       </xsl:template>
+                       <xsl:choose>
+                               <xsl:when test="status != 1">
+                                       <xsl:text> inactive</xsl:text>
+                               </xsl:when>
+                       </xsl:choose>
+               </xsl:attribute>
+               <xsl:choose>
+                       <xsl:when test="main = 'yes'">
+                               <td class="alarm">
+                                       <b>
+                                               <xsl:value-of 
disable-output-escaping="yes" select="name"/>
+                                       </b>
+                               </td>
+                               <td class="alarm">
+                                       <b>
+                                               <xsl:value-of select="descr"/>
+                                       </b>
+                               </td>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <td>
+                                       <xsl:value-of 
disable-output-escaping="yes" select="name"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="descr"/>
+                               </td>
+                       </xsl:otherwise>
+               </xsl:choose>
+               <td align="center">
+                       <xsl:value-of select="status_text"/>
+               </td>
+               <td align="center">
+                       <xsl:variable name="add_sub_url" select="add_sub_url"/>
+                       <a href="{add_sub_url}" 
title="{$lang_add_sub_statustext}" class="th_text">
+                               <xsl:value-of select="lang_add_sub"/>
+                       </a>
+               </td>
+               <td align="center">
+                       <xsl:variable name="edit_url" select="edit_url"/>
+                       <a href="{edit_url}" title="{$lang_edit_statustext}" 
class="th_text">
+                               <xsl:value-of select="lang_edit"/>
+                       </a>
+               </td>
+               <td align="center">
+                       <xsl:variable name="delete_url" select="delete_url"/>
+                       <a href="{delete_url}" 
title="{$lang_delete_statustext}" class="th_text">
+                               <xsl:value-of select="lang_delete"/>
+                       </a>
+               </td>
+       </tr>
+</xsl:template>
 
 <!-- BEGIN cat_add -->
 
-       <xsl:template match="cat_add">
-               <xsl:variable name="action_url"><xsl:value-of 
select="action_url"/></xsl:variable>
-               <form method="post" action="{$action_url}">
-                       <table>
-                               <tr height="50" valign="bottom">
-                                       <td colspan="2">
-                                       <xsl:variable 
name="lang_add"><xsl:value-of select="lang_add"/></xsl:variable>
-                                               <input type="submit" name="add" 
value="{$lang_add}">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="lang_add_statustext"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </td>
-                                       <td colspan="3" align="right">
-                                       <xsl:variable 
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
-                                               <input type="submit" 
name="done" value="{$lang_done}">
-                                                       <xsl:attribute 
name="title">
-                                                                       
<xsl:value-of select="lang_done_statustext"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </td>
-                               </tr>
-                       </table>
-               </form>
-       </xsl:template>
+<xsl:template match="cat_add">
+       <xsl:variable name="action_url">
+               <xsl:value-of select="action_url"/>
+       </xsl:variable>
+       <form method="post" action="{$action_url}">
+               <table>
+                       <tr height="50" valign="bottom">
+                               <td colspan="2">
+                                       <xsl:variable name="lang_add">
+                                               <xsl:value-of 
select="lang_add"/>
+                                       </xsl:variable>
+                                       <input type="submit" name="add" 
value="{$lang_add}">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="lang_add_statustext"/>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                               <td colspan="3" align="right">
+                                       <xsl:variable name="lang_done">
+                                               <xsl:value-of 
select="lang_done"/>
+                                       </xsl:variable>
+                                       <input type="submit" name="done" 
value="{$lang_done}">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="lang_done_statustext"/>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                       </tr>
+               </table>
+       </form>
+</xsl:template>
 
 <!-- END cat_list -->
 
 <!-- BEGIN cat_edit -->
 
-       <xsl:template match="cat_edit" xmlns:php="http://php.net/xsl";>
-               <xsl:variable name="edit_url" select="edit_url"/>
-               <form method="post" action="{$edit_url}">
+<xsl:template match="cat_edit" xmlns:php="http://php.net/xsl";>
+       <xsl:variable name="edit_url" select="edit_url"/>
+       <form method="post" action="{$edit_url}">
                <table cellpadding="2" cellspacing="2" align="center">
                        <tr>
                                <td colspan="3" align="center">
@@ -150,8 +198,10 @@
                                </td>
                        </tr>
                        <tr>
-                               <td colspan="2"><xsl:value-of 
select="lang_name"/>:</td>
-                               <td><input name="values[name]" size="50">
+                               <td colspan="2">
+                                       <xsl:value-of select="lang_name"/>:</td>
+                               <td>
+                                       <input name="values[name]" size="50">
                                                <xsl:attribute name="title">
                                                        <xsl:value-of 
select="lang_name_statustext"/>
                                                </xsl:attribute>
@@ -162,8 +212,10 @@
                                </td>
                        </tr>
                        <tr>
-                               <td colspan="2" valign="top"><xsl:value-of 
select="lang_descr"/>:</td>
-                               <td><textarea cols="60" rows="10" 
name="values[descr]" wrap="virtual" >
+                               <td colspan="2" valign="top">
+                                       <xsl:value-of 
select="lang_descr"/>:</td>
+                               <td>
+                                       <textarea cols="60" rows="10" 
name="values[descr]" wrap="virtual" >
                                                <xsl:attribute name="title">
                                                        <xsl:value-of 
select="lang_descr_statustext"/>
                                                </xsl:attribute>
@@ -172,14 +224,20 @@
                                </td>
                        </tr>
                        <tr>
-                               <td colspan="2"><label 
for="value_color"><xsl:value-of select="lang_color"/></label>:</td>
+                               <td colspan="2">
+                                       <label for="value_color">
+                                               <xsl:value-of 
select="lang_color"/>
+                                       </label>:</td>
                                <td>
                                        <input name="values[color]" 
id="value_color" value="{value_color}" />
                                        <img src="img_color_selector" 
onclick="colorSelector('colorSelector);" alt="{lang_color_selector}" 
title="lang_color_selector" />
                                </td>
                        </tr>
                        <tr>
-                               <td colspan="2"><label 
for="value_active"><xsl:value-of select="php:function('lang', 
'active')"/></label>:</td>
+                               <td colspan="2">
+                                       <label for="value_active">
+                                               <xsl:value-of 
select="php:function('lang', 'active')"/>
+                                       </label>:</td>
                                <td>
                                        <select name="values[active]" 
id="value_active">
                                                <xsl:apply-templates 
select="active_list/options"/>
@@ -189,8 +247,12 @@
 
                        <tr height="50" valign="bottom">
                                <td>
-                                       <xsl:variable 
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
-                                       <xsl:variable 
name="old_parent"><xsl:value-of select="old_parent"/></xsl:variable>
+                                       <xsl:variable name="lang_save">
+                                               <xsl:value-of 
select="lang_save"/>
+                                       </xsl:variable>
+                                       <xsl:variable name="old_parent">
+                                               <xsl:value-of 
select="old_parent"/>
+                                       </xsl:variable>
                                        <input type="hidden" 
name="values[old_parent]" value="{$old_parent}"/>
                                        <input type="submit" 
name="values[save]" value="{$lang_save}">
                                                <xsl:attribute name="title">
@@ -199,7 +261,7 @@
                                        </input>
                                </td>
                                <td>
-                               <xsl:variable name="lang_apply" 
select="lang_apply"/>
+                                       <xsl:variable name="lang_apply" 
select="lang_apply"/>
                                        <input type="submit" 
name="values[apply]" value="{$lang_apply}">
                                                <xsl:attribute name="title">
                                                        <xsl:value-of 
select="lang_apply_statustext"/>
@@ -207,7 +269,9 @@
                                        </input>
                                </td>
                                <td align="right">
-                               <xsl:variable name="lang_cancel"><xsl:value-of 
select="lang_cancel"/></xsl:variable>
+                                       <xsl:variable name="lang_cancel">
+                                               <xsl:value-of 
select="lang_cancel"/>
+                                       </xsl:variable>
                                        <input type="submit" 
name="values[cancel]" value="{$lang_cancel}">
                                                <xsl:attribute name="title">
                                                        <xsl:value-of 
select="lang_cancel_statustext"/>
@@ -216,15 +280,15 @@
                                </td>
                        </tr>
                </table>
-               </form>
-       </xsl:template>
+       </form>
+</xsl:template>
 
-       <xsl:template match="options">
-               <option value="{id}">
-                       <xsl:if test="selected != 0">
-                               <xsl:attribute name="selected" 
value="selected"/>
-                       </xsl:if>
-                       <xsl:value-of disable-output-escaping="yes" 
select="name"/>
-               </option>
-       </xsl:template>
+<xsl:template match="options">
+       <option value="{id}">
+               <xsl:if test="selected != 0">
+                       <xsl:attribute name="selected" value="selected"/>
+               </xsl:if>
+               <xsl:value-of disable-output-escaping="yes" select="name"/>
+       </option>
+</xsl:template>
        

Modified: branches/dev-syncromind/admin/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/admin/templates/base/config.tpl     2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/admin/templates/base/config.tpl     2015-12-15 
10:42:51 UTC (rev 14603)
@@ -3,7 +3,7 @@
        {error}
 </div>
 <form method="post" action="{action_url}">
-<table class = "pure-table">
+<table class="pure-table pure-table-bordered">
        <thead>
                <tr>
                        <th colspan="2">{title}</th>

Modified: branches/dev-syncromind/bim/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/bim/templates/base/config.tpl       2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/bim/templates/base/config.tpl       2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center" width="85%">
+<table class="pure-table pure-table-bordered">
 <!--
    <tr class="th">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>

Modified: branches/dev-syncromind/booking/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/booking/templates/base/config.tpl   2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/booking/templates/base/config.tpl   2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2">&nbsp;<b>{title}</b></td>
                </tr>

Modified: branches/dev-syncromind/bookingfrontend/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/bookingfrontend/templates/base/config.tpl   
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/bookingfrontend/templates/base/config.tpl   
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2">&nbsp;<b>{title}</b></td>
                </tr>

Modified: branches/dev-syncromind/calendar/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/calendar/templates/base/config.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/calendar/templates/base/config.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center">
+<table class="pure-table pure-table-bordered">
    <tr bgcolor="{th_bg}">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/catch/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/catch/templates/base/config.tpl     2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/catch/templates/base/config.tpl     2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center" width="85%">
+<table class="pure-table pure-table-bordered">
    <tr class="th">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/controller/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/controller/templates/base/config.tpl        
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/controller/templates/base/config.tpl        
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,7 +1,7 @@
 <!-- $Id$ -->
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/demo/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/demo/templates/base/config.tpl      2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/demo/templates/base/config.tpl      2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center" width="85%">
+<table class="pure-table pure-table-bordered">
 <!--
    <tr class="th">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>

Modified: branches/dev-syncromind/email/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/email/templates/base/config.tpl     2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/email/templates/base/config.tpl     2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center">
+<table class="pure-table pure-table-bordered">
    <tr bgcolor="{th_bg}">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/emailadmin/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/emailadmin/templates/base/config.tpl        
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/emailadmin/templates/base/config.tpl        
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center">
+<table class="pure-table pure-table-bordered">
    <tr bgcolor="{th_bg}">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/felamimail/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/felamimail/templates/base/config.tpl        
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/felamimail/templates/base/config.tpl        
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center">
+<table class="pure-table pure-table-bordered">
    <tr bgcolor="{th_bg}">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/frontend/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/frontend/templates/base/config.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/frontend/templates/base/config.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table width="95%" class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2">&nbsp;<b>{title}</b></td>
                </tr>

Modified: branches/dev-syncromind/helpdesk/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/helpdesk/templates/base/config.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/helpdesk/templates/base/config.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/hrm/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/hrm/templates/base/config.tpl       2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/hrm/templates/base/config.tpl       2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center" width="85%">
+<table class="pure-table pure-table-bordered">
 <!--
    <tr class="th">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>

Modified: branches/dev-syncromind/logistic/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/logistic/templates/base/config.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/logistic/templates/base/config.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,7 +1,7 @@
 <!-- $Id:$ -->
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/manual/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/manual/templates/base/config.tpl    2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/manual/templates/base/config.tpl    2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,7 +1,7 @@
 <!-- $Id$ -->
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/messenger/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/messenger/templates/base/config.tpl 2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/messenger/templates/base/config.tpl 2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="post" action="{action_url}">
-       <table border="0" align="center">
+       <table class="pure-table pure-table-bordered">
                <th>
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </th>

Modified: branches/dev-syncromind/mobilefrontend/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/mobilefrontend/templates/base/config.tpl    
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/mobilefrontend/templates/base/config.tpl    
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/phpgwapi/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/phpgwapi/templates/base/config.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/phpgwapi/templates/base/config.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table>
+<table class="pure-table pure-table-bordered">
        <thead>
                <tr>
                        <th colspan="2">{title}</th>

Modified: branches/dev-syncromind/preferences/templates/base/admin_acl.xsl
===================================================================
--- branches/dev-syncromind/preferences/templates/base/admin_acl.xsl    
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/preferences/templates/base/admin_acl.xsl    
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,57 +1,59 @@
 <!-- $Id$ -->
 
-       <xsl:template name="app_data">
+<xsl:template name="app_data">
+       <xsl:choose>
+               <xsl:when test="edit_id">
+                       <xsl:apply-templates select="edit_id"/>
+               </xsl:when>
+               <xsl:when test="contact_info">
+                       <xsl:apply-templates select="contact_info"/>
+               </xsl:when>
+               <xsl:otherwise>
+                       <xsl:apply-templates select="list_permission"/>
+               </xsl:otherwise>
+       </xsl:choose>
+</xsl:template>
+
+<xsl:template match="list_permission">
+       <table width="100%" cellpadding="2" cellspacing="2" align="center">
                <xsl:choose>
-                       <xsl:when test="edit_id">
-                               <xsl:apply-templates select="edit_id"/>
+                       <xsl:when test="msgbox_data != ''">
+                               <tr>
+                                       <td align="left" colspan="4">
+                                               <xsl:call-template 
name="msgbox"/>
+                                       </td>
+                               </tr>
                        </xsl:when>
-                       <xsl:when test="contact_info">
-                               <xsl:apply-templates select="contact_info"/>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <xsl:apply-templates select="list_permission"/>
-                       </xsl:otherwise>
                </xsl:choose>
-       </xsl:template>
-
-       <xsl:template match="list_permission">
-               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+               <tr>
+                       <td>
+                               <xsl:call-template name="filter_location"/>
+                       </td>
+                       <td align="center">
+                               <xsl:call-template name="cat_filter"/>
+                       </td>
+                               
                        <xsl:choose>
-                               <xsl:when test="msgbox_data != ''">
-                                       <tr>
-                                               <td align="left" colspan="4">
-                                                       <xsl:call-template 
name="msgbox"/>
-                                               </td>
-                                       </tr>
+                               <xsl:when test="is_admin != '' and grant= 1">
+                                       <td align="center">
+                                               <xsl:call-template 
name="group_filter"/>
+                                       </td>
                                </xsl:when>
                        </xsl:choose>
-                       <tr>
-                               <td>
-                                       <xsl:call-template 
name="filter_location"/>
-                               </td>
-                               <td align="center">
-                                       <xsl:call-template name="cat_filter"/>
-                               </td>
-                               
-                               <xsl:choose>
-                                       <xsl:when test="is_admin != '' and 
grant= 1">
-                                               <td align="center">
-                                                       <xsl:call-template 
name="group_filter"/>
-                                               </td>
-                                       </xsl:when>
-                               </xsl:choose>
-                               <td align="right">
-                                       <xsl:call-template name="search_field"/>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td colspan="4" width="100%">
-                                       <xsl:call-template name="nextmatchs"/>
-                               </td>
-                       </tr>
-               </table>
-               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
-               <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
+                       <td align="right">
+                               <xsl:call-template name="search_field"/>
+                       </td>
+               </tr>
+               <tr>
+                       <td colspan="4" width="100%">
+                               <xsl:call-template name="nextmatchs"/>
+                       </td>
+               </tr>
+       </table>
+       <table width="100%" cellpadding="2" cellspacing="2" align="center">
+               <xsl:variable name="form_action">
+                       <xsl:value-of select="form_action"/>
+               </xsl:variable>
                <form method="post" action="{$form_action}">
                        <tr height="30">
                                <td valign="top" align="left">
@@ -63,33 +65,39 @@
                        <tr class="th">
                                <xsl:choose>
                                        <xsl:when test="values_groups!=''">
-                                       <td class="th_text" width="10%" 
align="center">
-                                               <xsl:value-of 
select="lang_groups"/>
-                                       </td>
-                                       <td>
-                                       </td>
+                                               <td class="th_text" width="10%" 
align="center">
+                                                       <xsl:value-of 
select="lang_groups"/>
+                                               </td>
+                                               <td>
+                                               </td>
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
-                               <xsl:apply-templates select="values_groups"/>
+                       <xsl:apply-templates select="values_groups"/>
                        <tr class="th">
                                <xsl:choose>
                                        <xsl:when test="values_users!=''">
-                                       <td class="th_text" width="10%" 
align="center">
-                                               <xsl:value-of 
select="lang_users"/>
-                                       </td>
-                                       <td>
-                                       </td>
+                                               <td class="th_text" width="10%" 
align="center">
+                                                       <xsl:value-of 
select="lang_users"/>
+                                               </td>
+                                               <td>
+                                               </td>
                                        </xsl:when>
                                </xsl:choose>
                        </tr>
-                               <xsl:apply-templates select="values_users"/>
+                       <xsl:apply-templates select="values_users"/>
 
                        <tr height="50">
                                <td>
-                                       <xsl:variable 
name="location"><xsl:value-of select="location"/></xsl:variable>
-                                       <xsl:variable 
name="processed"><xsl:value-of select="processed"/></xsl:variable>
-                                       <xsl:variable 
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+                                       <xsl:variable name="location">
+                                               <xsl:value-of 
select="location"/>
+                                       </xsl:variable>
+                                       <xsl:variable name="processed">
+                                               <xsl:value-of 
select="processed"/>
+                                       </xsl:variable>
+                                       <xsl:variable name="lang_save">
+                                               <xsl:value-of 
select="lang_save"/>
+                                       </xsl:variable>
                                        <input type="hidden" name="location" 
value="{$location}" />
                                        <input type="hidden" name="processed" 
value="{$processed}" />
 
@@ -101,28 +109,32 @@
 
                                </td>
                        </tr>
-                       </form>
-                       <tr>
-                               <td>
-                                       <xsl:variable 
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
-                                       <xsl:variable 
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
-                                       <form method="post" 
action="{$done_action}">
-                                               <input type="submit" 
name="done" value="{$lang_done}">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="lang_done_statustext"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </form>
-                               </td>
-                       </tr>
-               </table>
+               </form>
+               <tr>
+                       <td>
+                               <xsl:variable name="done_action">
+                                       <xsl:value-of select="done_action"/>
+                               </xsl:variable>
+                               <xsl:variable name="lang_done">
+                                       <xsl:value-of select="lang_done"/>
+                               </xsl:variable>
+                               <form method="post" action="{$done_action}">
+                                       <input type="submit" name="done" 
value="{$lang_done}">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="lang_done_statustext"/>
+                                               </xsl:attribute>
+                                       </input>
+                               </form>
+                       </td>
+               </tr>
+       </table>
 
-       </xsl:template>
+</xsl:template>
 
 
-       <xsl:template match="values_groups">
-               <xsl:choose>
-                       <xsl:when test="account_id !=''">
+<xsl:template match="values_groups">
+       <xsl:choose>
+               <xsl:when test="account_id !=''">
                        <tr>
                                <xsl:attribute name="class">
                                        <xsl:choose>
@@ -142,30 +154,34 @@
                                        <xsl:value-of select="name"/>
                                </td>
                                <td>
-                               <table class="pure-table pure-table-bordered" 
width="100%" cellpadding="2" cellspacing="2" align="center">
-                                       <tr class="th">
-                                               <xsl:call-template 
name="value_header"/>
-                                       </tr>
-                                       <tr>
-                                               <xsl:call-template 
name="right"/>
-                                       </tr>
-                                       <tr>
-                                               <xsl:call-template name="mask"/>
-                                       </tr>
-                                       <tr>
-                                               <xsl:call-template 
name="result"/>
-                                       </tr>
-                               </table>
+                                       <table class="pure-table 
pure-table-bordered" width="100%" cellpadding="2" cellspacing="2" 
align="center">
+                                               <thead>
+
+                                                       <tr class="th">
+                                                               
<xsl:call-template name="value_header"/>
+                                                       </tr>
+                                               </thead>
+
+                                               <tr>
+                                                       <xsl:call-template 
name="right"/>
+                                               </tr>
+                                               <tr>
+                                                       <xsl:call-template 
name="mask"/>
+                                               </tr>
+                                               <tr>
+                                                       <xsl:call-template 
name="result"/>
+                                               </tr>
+                                       </table>
                                </td>
                                
                        </tr>
-                       </xsl:when>
-               </xsl:choose>
-       </xsl:template>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
 
-       <xsl:template match="values_users">
-               <xsl:choose>
-                       <xsl:when test="account_id !=''">
+<xsl:template match="values_users">
+       <xsl:choose>
+               <xsl:when test="account_id !=''">
                        <tr>
                                <xsl:attribute name="class">
                                        <xsl:choose>
@@ -185,520 +201,532 @@
                                        <xsl:value-of select="name"/>
                                </td>
                                <td>
-                               <table class="pure-table pure-table-bordered" 
width="100%" cellpadding="2" cellspacing="2" align="center">
-                                       <tr class="th">
-                                               <xsl:call-template 
name="value_header"/>
-                                       </tr>
-                                       <tr>
-                                               <xsl:call-template 
name="right"/>
-                                       </tr>
-                                       <tr>
-                                               <xsl:call-template name="mask"/>
-                                       </tr>
-                                       <tr>
-                                               <xsl:call-template 
name="result"/>
-                                       </tr>
-                               </table>
+                                       <table class="pure-table 
pure-table-bordered" width="100%" cellpadding="2" cellspacing="2" 
align="center">
+                                               <thead>
+                                                       <tr>
+                                                               
<xsl:call-template name="value_header"/>
+                                                       </tr>
+                                               </thead>
+                                               <tr>
+                                                       <xsl:call-template 
name="right"/>
+                                               </tr>
+                                               <tr>
+                                                       <xsl:call-template 
name="mask"/>
+                                               </tr>
+                                               <tr>
+                                                       <xsl:call-template 
name="result"/>
+                                               </tr>
+                                       </table>
                                </td>
                                
                        </tr>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
+
+<xsl:template name="value_header">
+       <td>
+       </td>
+       <td class="th_text" align="center">
+               <xsl:value-of select="lang_read"/>
+       </td>
+       <td class="th_text" align="center">
+               <xsl:value-of select="lang_add"/>
+       </td>
+       <td class="th_text" align="center">
+               <xsl:value-of select="lang_edit"/>
+       </td>
+       <td class="th_text" align="center">
+               <xsl:value-of select="lang_delete"/>
+       </td>
+       <xsl:choose>
+               <xsl:when test="//permission= 1">
+                       <td class="th_text" align="center">
+                               <xsl:value-of select="lang_manage"/>
+                       </td>
+               </xsl:when>
+       </xsl:choose>
+       <xsl:choose>
+               <xsl:when test="//location='.invoice' and //permission= 1 ">
+                       <td class="th_text" align="center">
+                               <xsl:value-of select="lang_janitor"/>
+                       </td>
+                       <td class="th_text" align="center">
+                               <xsl:value-of select="lang_supervisor"/>
+                       </td>
+                       <td class="th_text" align="center">
+                               <xsl:value-of select="lang_budget_responsible"/>
+                       </td>
+                       <td class="th_text" align="center">
+                               <xsl:value-of select="lang_initials"/>
+                       </td>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
+       
+<xsl:template name="right">
+       <td align="left">
+               <xsl:value-of select="lang_right"/>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="read_right = 'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="read_right = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
                        </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="read_right = 'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="read_right = 
'from_group'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
                </xsl:choose>
-       </xsl:template>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="add_right = 'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="add_right = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="add_right = 'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="add_right = 
'from_group'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="edit_right = 'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="edit_right = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="edit_right = 'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="edit_right = 
'from_group'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="delete_right = 
'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="delete_right = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="delete_right = 
'checked'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="delete_right = 
'from_group'">
+                                               <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <xsl:choose>
+               <xsl:when test="//permission= 1">
+                       <td align="center">
+                               <xsl:choose>
+                                       <xsl:when test="type = 'users'">
+                                               <xsl:choose>
+                                                       <xsl:when 
test="manage_right = 'checked'">
+                                                               <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" 
checked="checked" />
+                                                       </xsl:when>
+                                                       <xsl:when 
test="manage_right = 'from_group'">
+                                                               <input 
type="checkbox" name="" checked="checked" disabled="disabled" />
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" />
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="manage_right = 'checked'">
+                                                               <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" 
checked="checked" />
+                                                       </xsl:when>
+                                                       <xsl:when 
test="manage_right = 'from_group'">
+                                                               <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" 
checked="checked" />
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" />
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </td>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
 
-       <xsl:template name="value_header">
-                               <td>
-                               </td>
-                               <td class="th_text" align="center">
-                                       <xsl:value-of select="lang_read"/>
-                               </td>
-                               <td class="th_text" align="center">
-                                       <xsl:value-of select="lang_add"/>
-                               </td>
-                               <td class="th_text" align="center">
-                                       <xsl:value-of select="lang_edit"/>
-                               </td>
-                               <td class="th_text" align="center">
-                                       <xsl:value-of select="lang_delete"/>
-                               </td>
+<xsl:template name="mask">
+       <td align="left">
+               <xsl:value-of select="lang_mask"/>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
                                <xsl:choose>
-                                       <xsl:when test="//permission= 1">
-                                               <td class="th_text" 
align="center">
-                                                       <xsl:value-of 
select="lang_manage"/>
-                                               </td>
+                                       <xsl:when test="read_mask = 'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" checked="checked" />
                                        </xsl:when>
+                                       <xsl:when test="read_mask = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" />
+                                       </xsl:otherwise>
                                </xsl:choose>
+                       </xsl:when>
+                       <xsl:otherwise>
                                <xsl:choose>
-                                       <xsl:when test="//location='.invoice' 
and //permission= 1 ">
-                                               <td class="th_text" 
align="center">
-                                                       <xsl:value-of 
select="lang_janitor"/>
-                                               </td>
-                                               <td class="th_text" 
align="center">
-                                                       <xsl:value-of 
select="lang_supervisor"/>
-                                               </td>
-                                               <td class="th_text" 
align="center">
-                                                       <xsl:value-of 
select="lang_budget_responsible"/>
-                                               </td>
-                                               <td class="th_text" 
align="center">
-                                                       <xsl:value-of 
select="lang_initials"/>
-                                               </td>                           
                
+                                       <xsl:when test="read_mask = 'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" checked="checked" />
                                        </xsl:when>
+                                       <xsl:when test="read_mask = 
'from_group'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" />
+                                       </xsl:otherwise>
                                </xsl:choose>
-       </xsl:template>
-       
-       <xsl:template name="right">
-               <td align="left">
-                       <xsl:value-of select="lang_right"/>
-               </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="read_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="read_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="read_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="read_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_1]" value="1" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="add_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="add_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="add_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="add_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_2]" value="2" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="edit_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="edit_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="edit_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="edit_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_4]" value="4" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="delete_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="delete_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="delete_right = 
'checked'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="delete_right = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[right][{account_id}_8]" value="8" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </td>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
                <xsl:choose>
-                       <xsl:when test="//permission= 1">
-                               <td align="center">
-                                       <xsl:choose>
-                                               <xsl:when test="type = 'users'">
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="manage_right = 'checked'">
-                                                                       <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" 
checked="checked" />
-                                                               </xsl:when>
-                                                               <xsl:when 
test="manage_right = 'from_group'">
-                                                                       <input 
type="checkbox" name="" checked="checked" disabled="disabled" />
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                                       <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" />
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="manage_right = 'checked'">
-                                                                       <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" 
checked="checked" />
-                                                               </xsl:when>
-                                                               <xsl:when 
test="manage_right = 'from_group'">
-                                                                       <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" 
checked="checked" />
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                                       <input 
type="checkbox" name="values[right][{account_id}_16]" value="16" />
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </td>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="add_mask = 'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="add_mask = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
                        </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="add_mask = 'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="add_mask = 
'from_group'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
                </xsl:choose>
-       </xsl:template>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="edit_mask = 'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="edit_mask = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="edit_mask = 'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="edit_mask = 
'from_group'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="type = 'users'">
+                               <xsl:choose>
+                                       <xsl:when test="delete_mask = 
'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="delete_mask = 
'from_group'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <xsl:choose>
+                                       <xsl:when test="delete_mask = 
'checked'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:when test="delete_mask = 
'from_group'">
+                                               <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" checked="checked" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <xsl:choose>
+               <xsl:when test="//permission= 1">
+                       <td align="center">
+                               <xsl:choose>
+                                       <xsl:when test="type = 'users'">
+                                               <xsl:choose>
+                                                       <xsl:when 
test="manage_mask = 'checked'">
+                                                               <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" 
checked="checked" />
+                                                       </xsl:when>
+                                                       <xsl:when 
test="manage_mask = 'from_group'">
+                                                               <input 
type="checkbox" name="" checked="checked" disabled="disabled" />
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" />
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="manage_mask = 'checked'">
+                                                               <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" 
checked="checked" />
+                                                       </xsl:when>
+                                                       <xsl:when 
test="manage_mask = 'from_group'">
+                                                               <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" 
checked="checked" />
+                                                       </xsl:when>
+                                                       <xsl:otherwise>
+                                                               <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" />
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </td>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
 
-       <xsl:template name="mask">
-                               <td align="left">
-                                       <xsl:value-of select="lang_mask"/>
-                               </td>
-               <td align="center">
+<xsl:template name="result">
+       <td align="left">
+               <xsl:value-of select="lang_result"/>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="read_result = 'checked'">
+                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <input type="checkbox" name="" 
disabled="disabled" />
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="add_result = 'checked'">
+                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <input type="checkbox" name="" 
disabled="disabled" />
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="edit_result = 'checked'">
+                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <input type="checkbox" name="" 
disabled="disabled" />
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <td align="center">
+               <xsl:choose>
+                       <xsl:when test="delete_result = 'checked'">
+                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <input type="checkbox" name="" 
disabled="disabled" />
+                       </xsl:otherwise>
+               </xsl:choose>
+       </td>
+       <xsl:choose>
+               <xsl:when test="//permission= 1">
+                       <td align="center">
+                               <xsl:choose>
+                                       <xsl:when test="manage_result = 
'checked'">
+                                               <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
+                                       </xsl:when>
+                                       <xsl:otherwise>
+                                               <input type="checkbox" name="" 
disabled="disabled" />
+                                       </xsl:otherwise>
+                               </xsl:choose>
+                       </td>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
+
+<!-- edit_id -->       
+
+<xsl:template match="id_values">
+       <xsl:variable name="value">
+               <xsl:value-of select="value"/>
+       </xsl:variable>
+       <xsl:variable name="key_id">
+               <xsl:value-of select="key_id"/>
+       </xsl:variable>
+       <xsl:variable name="descr">
+               <xsl:value-of select="descr"/>
+       </xsl:variable>
+       <tr>
+               <xsl:attribute name="class">
                        <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="read_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="read_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
+                               <xsl:when test="@class">
+                                       <xsl:value-of select="@class"/>
                                </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="read_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="read_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_1]" value="1" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="add_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="add_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
+                               <xsl:when test="position() mod 2 = 0">
+                                       <xsl:text>row_off</xsl:text>
                                </xsl:when>
                                <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="add_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="add_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_2]" value="2" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
+                                       <xsl:text>row_on</xsl:text>
                                </xsl:otherwise>
                        </xsl:choose>
+               </xsl:attribute>
+
+               <td align="right">
+                       <input type="checkbox" name="values[select][{$key_id}]" 
value="true" />
                </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="edit_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="edit_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="edit_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="edit_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_4]" value="4" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
+               <td align="right">
+                       <xsl:value-of select="descr"/>
                </td>
+               <td>
+                       <input type="hidden" name="values[field][{$key_id}]" 
value="{$descr}" />
+                       <input type="text" name="values[{$key_id}]" 
value="{$value}" />
+               </td>
                <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="type = 'users'">
-                                       <xsl:choose>
-                                               <xsl:when test="delete_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="delete_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <xsl:choose>
-                                               <xsl:when test="delete_mask = 
'checked'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:when test="delete_mask = 
'from_group'">
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" checked="checked" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="values[mask][{account_id}_8]" value="8" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:otherwise>
-                       </xsl:choose>
+                       <xsl:value-of select="remark"/>
                </td>
-               <xsl:choose>
-                       <xsl:when test="//permission= 1">
-                               <td align="center">
-                                       <xsl:choose>
-                                               <xsl:when test="type = 'users'">
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="manage_mask = 'checked'">
-                                                                       <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" 
checked="checked" />
-                                                               </xsl:when>
-                                                               <xsl:when 
test="manage_mask = 'from_group'">
-                                                                       <input 
type="checkbox" name="" checked="checked" disabled="disabled" />
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                                       <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" />
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <xsl:choose>
-                                                               <xsl:when 
test="manage_mask = 'checked'">
-                                                                       <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" 
checked="checked" />
-                                                               </xsl:when>
-                                                               <xsl:when 
test="manage_mask = 'from_group'">
-                                                                       <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" 
checked="checked" />
-                                                               </xsl:when>
-                                                               <xsl:otherwise>
-                                                                       <input 
type="checkbox" name="values[mask][{account_id}_16]" value="16" />
-                                                               </xsl:otherwise>
-                                                       </xsl:choose>
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </td>
-                       </xsl:when>
-               </xsl:choose>
-       </xsl:template>
-
-       <xsl:template name="result">
-               <td align="left">
-                       <xsl:value-of select="lang_result"/>
+       </tr>
+</xsl:template>
+       
+<xsl:template match="id_table_header">
+       <tr class="th">
+               <td class="th_text" width="10%" align="right">
+                       <xsl:value-of select="lang_select"/>
                </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="read_result = 'checked'">
-                                       <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <input type="checkbox" name="" 
disabled="disabled" />
-                               </xsl:otherwise>
-                       </xsl:choose>
+               <td class="th_text" width="10%" align="right">
+                       <xsl:value-of select="lang_descr"/>
                </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="add_result = 'checked'">
-                                       <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <input type="checkbox" name="" 
disabled="disabled" />
-                               </xsl:otherwise>
-                       </xsl:choose>
+               <td class="th_text" width="40%">
+                       <xsl:value-of select="lang_value"/>
                </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="edit_result = 'checked'">
-                                       <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <input type="checkbox" name="" 
disabled="disabled" />
-                               </xsl:otherwise>
-                       </xsl:choose>
+               <td class="th_text" width="20%" align="center">
+                       <xsl:value-of select="lang_remark"/>
                </td>
-               <td align="center">
-                       <xsl:choose>
-                               <xsl:when test="delete_result = 'checked'">
-                                       <input type="checkbox" name="" 
checked="checked" disabled="disabled" />
-                               </xsl:when>
-                               <xsl:otherwise>
-                                       <input type="checkbox" name="" 
disabled="disabled" />
-                               </xsl:otherwise>
-                       </xsl:choose>
-               </td>
+       </tr>
+</xsl:template>
+
+<xsl:template match="edit_id">
+               
+       <table cellpadding="2" cellspacing="2" width="100%" align="center">
                <xsl:choose>
-                       <xsl:when test="//permission= 1">
-                               <td align="center">
-                                       <xsl:choose>
-                                               <xsl:when test="manage_result = 
'checked'">
-                                                       <input type="checkbox" 
name="" checked="checked" disabled="disabled" />
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       <input type="checkbox" 
name="" disabled="disabled" />
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </td>
+                       <xsl:when test="msgbox_data != ''">
+                               <tr>
+                                       <td align="left" colspan="3">
+                                               <xsl:call-template 
name="msgbox"/>
+                                       </td>
+                               </tr>
                        </xsl:when>
                </xsl:choose>
-       </xsl:template>
-
-<!-- edit_id -->       
-
-       <xsl:template match="id_values">
-                       <xsl:variable name="value"><xsl:value-of 
select="value"/></xsl:variable>
-                       <xsl:variable name="key_id"><xsl:value-of 
select="key_id"/></xsl:variable>
-                       <xsl:variable name="descr"><xsl:value-of 
select="descr"/></xsl:variable>
-                       <tr>
-                               <xsl:attribute name="class">
-                                       <xsl:choose>
-                                               <xsl:when test="@class">
-                                                       <xsl:value-of 
select="@class"/>
-                                               </xsl:when>
-                                               <xsl:when test="position() mod 
2 = 0">
-                                                       
<xsl:text>row_off</xsl:text>
-                                               </xsl:when>
-                                               <xsl:otherwise>
-                                                       
<xsl:text>row_on</xsl:text>
-                                               </xsl:otherwise>
-                                       </xsl:choose>
-                               </xsl:attribute>
-
-                               <td align="right">
-                                       <input type="checkbox" 
name="values[select][{$key_id}]" value="true" />
-                               </td>
-                               <td align="right">
-                                       <xsl:value-of select="descr"/>
-                               </td>
-                               <td>
-                                       <input type="hidden" 
name="values[field][{$key_id}]" value="{$descr}" />
-                                       <input type="text" 
name="values[{$key_id}]" value="{$value}" />
-                               </td>
-                               <td align="center">
-                                       <xsl:value-of select="remark"/>
-                               </td>
-                       </tr>
-       </xsl:template>
-       
-       <xsl:template match="id_table_header">
-                       <tr class="th">
-                               <td class="th_text" width="10%" align="right">
-                                       <xsl:value-of select="lang_select"/>
-                               </td>
-                               <td class="th_text" width="10%" align="right">
-                                       <xsl:value-of select="lang_descr"/>
-                               </td>
-                               <td class="th_text" width="40%">
-                                       <xsl:value-of select="lang_value"/>
-                               </td>
-                               <td class="th_text" width="20%" align="center">
-                                       <xsl:value-of select="lang_remark"/>
-                               </td>
-                       </tr>
-       </xsl:template>
-
-       <xsl:template match="edit_id">
-               
-               <table cellpadding="2" cellspacing="2" width="100%" 
align="center">
-                       <xsl:choose>
-                               <xsl:when test="msgbox_data != ''">
-                                       <tr>
-                                               <td align="left" colspan="3">
-                                                       <xsl:call-template 
name="msgbox"/>
-                                               </td>
-                                       </tr>
-                               </xsl:when>
-                       </xsl:choose>
-                       <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
-                       <form method="post" action="{$form_action}">
+               <xsl:variable name="form_action">
+                       <xsl:value-of select="form_action"/>
+               </xsl:variable>
+               <form method="post" action="{$form_action}">
                        <xsl:apply-templates select="id_table_header"/> 
                        <xsl:apply-templates select="id_values"/> 
                        <tr height="50">
                                <td>
-                                       <xsl:variable 
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
+                                       <xsl:variable name="lang_save">
+                                               <xsl:value-of 
select="lang_save"/>
+                                       </xsl:variable>
                                        <input type="submit" 
name="values[save]" value="{$lang_save}">
                                                <xsl:attribute name="title">
                                                        <xsl:value-of 
select="lang_save_statustext"/>
@@ -706,26 +734,30 @@
                                        </input>
                                </td>
                        </tr>
-                       </form>
-                       <tr>
-                               <td>
-                                       <xsl:variable 
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
-                                       <xsl:variable 
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
-                                       <form method="post" 
action="{$done_action}">
-                                               <input type="submit" 
name="done" value="{$lang_done}">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="lang_done_statustext"/>
-                                                       </xsl:attribute>
-                                               </input>
-                                       </form>
-                               </td>
-                       </tr>
-               </table>
-       </xsl:template>
+               </form>
+               <tr>
+                       <td>
+                               <xsl:variable name="done_action">
+                                       <xsl:value-of select="done_action"/>
+                               </xsl:variable>
+                               <xsl:variable name="lang_done">
+                                       <xsl:value-of select="lang_done"/>
+                               </xsl:variable>
+                               <form method="post" action="{$done_action}">
+                                       <input type="submit" name="done" 
value="{$lang_done}">
+                                               <xsl:attribute name="title">
+                                                       <xsl:value-of 
select="lang_done_statustext"/>
+                                               </xsl:attribute>
+                                       </input>
+                               </form>
+                       </td>
+               </tr>
+       </table>
+</xsl:template>
 
 
-       <xsl:template match="contact_info">
-               <div align="left">
+<xsl:template match="contact_info">
+       <div align="left">
                <table cellpadding="2" cellspacing="2" width="80%" 
align="center">
                        <xsl:choose>
                                <xsl:when test="msgbox_data != ''">
@@ -744,77 +776,93 @@
                                        <xsl:call-template 
name="user_id_filter"/>
                                </td>
                        </tr>
-                       <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
+                       <xsl:variable name="form_action">
+                               <xsl:value-of select="form_action"/>
+                       </xsl:variable>
                        <form method="post" name="form" action="{$form_action}">
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_email"/>
-                               </td>
-                               <td>
-                                       <input type="hidden" name="filter" 
value="{value_user_id}" />
-                                       <input type="hidden" 
name="values[old_email]" value="{value_old_email}" />
-                                       <input type="text" size = "30" 
name="values[email]" value="{value_email}">
-                                               <xsl:attribute name="title">
-                                                       <xsl:value-of 
select="lang_email_statustext"/>
-                                               </xsl:attribute>
-                                       </input>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of select="lang_phone"/>
-                               </td>
-                               <td>
-                                       <input type="hidden" 
name="values[old_phone]" value="{value_old_phone}" />
-                                       <input type="text" size = "30" 
name="values[phone]" value="{value_phone}">
-                                               <xsl:attribute name="title">
+                               <tr>
+                                       <td valign="top">
+                                               <xsl:value-of 
select="lang_email"/>
+                                       </td>
+                                       <td>
+                                               <input type="hidden" 
name="filter" value="{value_user_id}" />
+                                               <input type="hidden" 
name="values[old_email]" value="{value_old_email}" />
+                                               <input type="text" size = "30" 
name="values[email]" value="{value_email}">
+                                                       <xsl:attribute 
name="title">
+                                                               <xsl:value-of 
select="lang_email_statustext"/>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td valign="top">
+                                               <xsl:value-of 
select="lang_phone"/>
+                                       </td>
+                                       <td>
+                                               <input type="hidden" 
name="values[old_phone]" value="{value_old_phone}" />
+                                               <input type="text" size = "30" 
name="values[phone]" value="{value_phone}">
+                                                       <xsl:attribute 
name="title">
                                                                <xsl:value-of 
select="lang_phone_statustext"/>
-                                               </xsl:attribute>
-                                       </input>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_approval_from"/>
-                               </td>
-                               <td align="left">
-                                       <input type="hidden" 
name="values[old_approval_from]" value="{value_old_approval_from}" />
-                                       <xsl:variable 
name="lang_approval_from_statustext"><xsl:value-of 
select="lang_approval_from_statustext"/></xsl:variable>
-                                       <select name="values[approval_from]" 
class="forms" title="{$lang_approval_from_statustext}">
-                                               <option value=""><xsl:value-of 
select="lang_no_user"/></option>
-                                               <xsl:apply-templates 
select="approval_from"/>
-                                       </select>
-                               </td>
-                       </tr>
-                       <tr>
-                               <td valign="top">
-                                       <xsl:value-of 
select="lang_default_vendor_category"/>
-                               </td>
-                               <td align="left">
-                                       <input type="hidden" 
name="values[old_default_vendor_category]" 
value="{value_old_default_vendor_category}" />
-                                       <xsl:variable 
name="lang_default_vendor_category_statustext"><xsl:value-of 
select="lang_default_vendor_category_statustext"/></xsl:variable>
-                                       <select 
name="values[default_vendor_category]" class="forms" 
title="{$lang_default_vendor_category_statustext}">
-                                               <option value=""><xsl:value-of 
select="lang_no_cat"/></option>
-                                               <xsl:apply-templates 
select="vendor_category"/>
-                                       </select>
-                               </td>
-                       </tr>
-                       <tr height="50">
-                               <td>
-                                       <xsl:variable 
name="lang_save"><xsl:value-of select="lang_save"/></xsl:variable>
-                                       <input type="submit"  
name="values[save]" value="{$lang_save}">
-                                               <xsl:attribute name="title">
-                                                       <xsl:value-of 
select="lang_save_statustext"/>
-                                               </xsl:attribute>
-                                       </input>
-                               </td>
-                       </tr>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td valign="top">
+                                               <xsl:value-of 
select="lang_approval_from"/>
+                                       </td>
+                                       <td align="left">
+                                               <input type="hidden" 
name="values[old_approval_from]" value="{value_old_approval_from}" />
+                                               <xsl:variable 
name="lang_approval_from_statustext">
+                                                       <xsl:value-of 
select="lang_approval_from_statustext"/>
+                                               </xsl:variable>
+                                               <select 
name="values[approval_from]" class="forms" 
title="{$lang_approval_from_statustext}">
+                                                       <option value="">
+                                                               <xsl:value-of 
select="lang_no_user"/>
+                                                       </option>
+                                                       <xsl:apply-templates 
select="approval_from"/>
+                                               </select>
+                                       </td>
+                               </tr>
+                               <tr>
+                                       <td valign="top">
+                                               <xsl:value-of 
select="lang_default_vendor_category"/>
+                                       </td>
+                                       <td align="left">
+                                               <input type="hidden" 
name="values[old_default_vendor_category]" 
value="{value_old_default_vendor_category}" />
+                                               <xsl:variable 
name="lang_default_vendor_category_statustext">
+                                                       <xsl:value-of 
select="lang_default_vendor_category_statustext"/>
+                                               </xsl:variable>
+                                               <select 
name="values[default_vendor_category]" class="forms" 
title="{$lang_default_vendor_category_statustext}">
+                                                       <option value="">
+                                                               <xsl:value-of 
select="lang_no_cat"/>
+                                                       </option>
+                                                       <xsl:apply-templates 
select="vendor_category"/>
+                                               </select>
+                                       </td>
+                               </tr>
+                               <tr height="50">
+                                       <td>
+                                               <xsl:variable name="lang_save">
+                                                       <xsl:value-of 
select="lang_save"/>
+                                               </xsl:variable>
+                                               <input type="submit"  
name="values[save]" value="{$lang_save}">
+                                                       <xsl:attribute 
name="title">
+                                                               <xsl:value-of 
select="lang_save_statustext"/>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </td>
+                               </tr>
 
                        </form>
                        <tr>
                                <td>
-                                       <xsl:variable 
name="done_action"><xsl:value-of select="done_action"/></xsl:variable>
-                                       <xsl:variable 
name="lang_done"><xsl:value-of select="lang_done"/></xsl:variable>
+                                       <xsl:variable name="done_action">
+                                               <xsl:value-of 
select="done_action"/>
+                                       </xsl:variable>
+                                       <xsl:variable name="lang_done">
+                                               <xsl:value-of 
select="lang_done"/>
+                                       </xsl:variable>
                                        <form method="post" 
action="{$done_action}">
                                                <input type="submit" 
name="done" value="{$lang_done}">
                                                        <xsl:attribute 
name="title">
@@ -825,30 +873,42 @@
                                </td>
                        </tr>
                </table>
-               </div>
-       </xsl:template>
+       </div>
+</xsl:template>
 
-       <xsl:template match="approval_from">
-       <xsl:variable name="user_id"><xsl:value-of 
select="user_id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected">
-                               <option value="{$user_id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$user_id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
-       </xsl:template>
+<xsl:template match="approval_from">
+       <xsl:variable name="user_id">
+               <xsl:value-of select="user_id"/>
+       </xsl:variable>
+       <xsl:choose>
+               <xsl:when test="selected">
+                       <option value="{$user_id}" selected="selected">
+                               <xsl:value-of disable-output-escaping="yes" 
select="name"/>
+                       </option>
+               </xsl:when>
+               <xsl:otherwise>
+                       <option value="{$user_id}">
+                               <xsl:value-of disable-output-escaping="yes" 
select="name"/>
+                       </option>
+               </xsl:otherwise>
+       </xsl:choose>
+</xsl:template>
 
-       <xsl:template match="vendor_category">
-       <xsl:variable name="cat_id"><xsl:value-of 
select="cat_id"/></xsl:variable>
-               <xsl:choose>
-                       <xsl:when test="selected='selected'">
-                               <option value="{$cat_id}" 
selected="selected"><xsl:value-of disable-output-escaping="yes" 
select="name"/></option>
-                       </xsl:when>
-                       <xsl:otherwise>
-                               <option value="{$cat_id}"><xsl:value-of 
disable-output-escaping="yes" select="name"/></option>
-                       </xsl:otherwise>
-               </xsl:choose>
-       </xsl:template>
+<xsl:template match="vendor_category">
+       <xsl:variable name="cat_id">
+               <xsl:value-of select="cat_id"/>
+       </xsl:variable>
+       <xsl:choose>
+               <xsl:when test="selected='selected'">
+                       <option value="{$cat_id}" selected="selected">
+                               <xsl:value-of disable-output-escaping="yes" 
select="name"/>
+                       </option>
+               </xsl:when>
+               <xsl:otherwise>
+                       <option value="{$cat_id}">
+                               <xsl:value-of disable-output-escaping="yes" 
select="name"/>
+                       </option>
+               </xsl:otherwise>
+       </xsl:choose>
+</xsl:template>
 

Modified: branches/dev-syncromind/property/templates/base/admin.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/admin.xsl   2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/property/templates/base/admin.xsl   2015-12-15 
10:42:51 UTC (rev 14603)
@@ -815,6 +815,7 @@
 
        <!-- New template-->
        <xsl:template xmlns:php="http://php.net/xsl"; name="id_table_header">
+               <thead>
                <tr class="th">
                        <td class="th_text" width="10%" align="center">
                                <xsl:value-of select="php:function('lang', 
'select')"/>
@@ -829,6 +830,7 @@
                                <xsl:value-of select="php:function('lang', 
'date')"/>
                        </td>
                </tr>
+               </thead>
        </xsl:template>
 
        <!-- New template-->
@@ -837,7 +839,7 @@
                        <xsl:value-of select="form_action"/>
                </xsl:variable>
                <form method="post" action="{$form_action}">
-               <table cellpadding="2" cellspacing="2" width="90%" 
align="center">
+               <table width="90%" class="pure-table pure-table-bordered">
                        <xsl:choose>
                                <xsl:when test="msgbox_data != ''">
                                        <tr>

Modified: branches/dev-syncromind/property/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/property/templates/base/config.tpl  2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/property/templates/base/config.tpl  2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table class = "pure-table">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/registration/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/registration/templates/base/config.tpl      
2015-12-15 09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/registration/templates/base/config.tpl      
2015-12-15 10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center">
+<table class="pure-table pure-table-bordered">
    <tr bgcolor="{th_bg}">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>
    </tr>

Modified: branches/dev-syncromind/rental/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/rental/templates/base/config.tpl    2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/rental/templates/base/config.tpl    2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-       <table border="0" align="center" width="85%">
+       <table class="pure-table pure-table-bordered">
                <tr class="th">
                        <td colspan="2"><font 
color="{th_text}">&nbsp;<b>{title}</b></font></td>
                </tr>

Modified: branches/dev-syncromind/sms/templates/base/config.tpl
===================================================================
--- branches/dev-syncromind/sms/templates/base/config.tpl       2015-12-15 
09:21:32 UTC (rev 14602)
+++ branches/dev-syncromind/sms/templates/base/config.tpl       2015-12-15 
10:42:51 UTC (rev 14603)
@@ -1,6 +1,6 @@
 <!-- BEGIN header -->
 <form method="POST" action="{action_url}">
-<table border="0" align="center" width="85%">
+<table class="pure-table pure-table-bordered">
 <!--
    <tr class="th">
     <td colspan="2"><font color="{th_text}">&nbsp;<b>{title}</b></font></td>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]