mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
update xslt
This commit is contained in:
parent
6d2a19632f
commit
24aa900898
@ -98,8 +98,6 @@
|
||||
|
||||
function start_template($extra = '')
|
||||
{
|
||||
echo 'APPNAME: ' . $this->app_name;
|
||||
|
||||
if ($extra && $this->app_name)
|
||||
{
|
||||
$GLOBALS['phpgw']->xslttpl->add_file(array('portal',$GLOBALS['phpgw']->common->get_tpl_dir($this->app_name,'default') . SEP . 'extrabox'));
|
||||
|
@ -27,7 +27,7 @@
|
||||
$this->indentstring = $indentstring;
|
||||
if ($this->node_type == 'node')
|
||||
{
|
||||
if($name != '')
|
||||
if($name !== '')
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
@ -226,7 +226,8 @@
|
||||
$node->add_node($subnode);
|
||||
break;
|
||||
case 'array':
|
||||
if($new_index)
|
||||
list($first_key) = each($val); reset($val);
|
||||
if($new_index && is_int($first_key))
|
||||
{
|
||||
while (list ($subkey, $subval) = each ($val))
|
||||
{
|
||||
@ -251,6 +252,7 @@
|
||||
echo 'Halt: Invalid or unknown data type<br>';
|
||||
exit;
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
case 'object':
|
||||
@ -588,4 +590,5 @@
|
||||
return $this->add_node($root_node);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -142,7 +142,7 @@
|
||||
$this->vars[$name][$key] = $val;
|
||||
}
|
||||
}
|
||||
_debug_array($this->vars);
|
||||
//_debug_array($this->vars);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -102,6 +102,7 @@
|
||||
<td width="33%" class="info"><xsl:value-of select="user_info_name"/></td>
|
||||
<xsl:choose>
|
||||
<xsl:when test="current_users">
|
||||
<xsl:variable name="url_current_users"><xsl:value-of select="url_current_users"/></xsl:variable>
|
||||
<td width="33%" class="info"><a href="{$url_current_users}"><xsl:value-of select="current_users"/></a></td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
Loading…
Reference in New Issue
Block a user