diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/guiconfig.inc | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc index 48e288b..66b8afd 100644 --- a/src/usr/local/www/guiconfig.inc +++ b/src/usr/local/www/guiconfig.inc @@ -1171,8 +1171,29 @@ function alias_info_popup($alias_id) { { $alias_addresses = explode (" ", $alias['address']); $alias_details = explode ("||", $alias['detail']); + $idx = 0; + + $content .= "<table>\n"; + $content .= "<thead>\n"; + $content .= "<tr>\n"; + $content .= "<th>" . gettext("Value") . "</th><th style='padding-left: 10px;'>" . gettext("Description") . "</th></tr>\n"; + $content .= "</thead>\n"; + $content .= "<tbody>\n"; + + foreach ($alias_addresses as $ap) { + $content .= " <tr>\n"; + $content .= " <td>\n"; + $content .= $ap; + $content .= " </td>\n"; + $content .= " <td style='padding-left: 10px;'>\n"; + $content .= $alias_details[$idx]; + $content .= " </td>\n"; + $content .= " </tr>\n"; + $idx++; + } - $content .= '<ul><li>'. implode('</li><li>', $alias_addresses) .'</li></ul>'; + $content .= "</tbody>\n"; + $content .= "<table>\n"; } if (strlen($alias['descr']) >= $maxlength) |