added td:width for meta HTML code;

fixed problem with module order and PHP5
This commit is contained in:
Roland Gruber 2005-07-05 12:46:53 +00:00
parent d82f21feff
commit 35d175450f
2 changed files with 5 additions and 1 deletions

View File

@ -949,6 +949,9 @@ rowspan attribute for td elements</li>
left/center/right/justify Like the HTML align attribute</li>
<li><span style="font-weight: bold;">valign:</span> top/middle/bottom
Like the HTML valign attribute</li>
<li><span style="font-weight: bold;">width:</span> Like the HTML
height attribute for td elements<br>
</li>
</ul>
<br>
<span style="font-weight: bold;">Example:</span><span

View File

@ -553,6 +553,7 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex
if (isset($input[$i][$j]['td']['valign'])) echo " valign=\"" . $input[$i][$j]['td']['valign'] . "\"";
if (isset($input[$i][$j]['td']['colspan'])) echo " colspan=\"" . $input[$i][$j]['td']['colspan'] . "\"";
if (isset($input[$i][$j]['td']['rowspan'])) echo " rowspan=\"" . $input[$i][$j]['td']['rowspan'] . "\"";
if (isset($input[$i][$j]['td']['width'])) echo " width=\"" . $input[$i][$j]['td']['width'] . "\"";
echo ">\n";
switch ($input[$i][$j]['kind']) {
// plain text
@ -1412,7 +1413,7 @@ class accountContainer {
}
}
// Write Module-Order in variable
$this->order = array_merge ('main' ,$order);
$this->order = array_unshift($order, 'main');
$profile = loadAccountProfile('default', $this->type);
// pass profile to each module
$modules = array_keys($this->module);