Exemple #1
0
    echo _("Es wurden noch keine Konfigurationen angelegt.");
    echo "</font>\n</blockquote>\n</td></tr>\n";
} else {
    echo "<tr><td height=\"20\" class=\"". $css_switcher->getHeaderClass() . "\" valign=\"bottom\">\n";
    echo "<font size=\"2\"><b>&nbsp;";
    echo _("Angelegte Konfigurationen");
    echo "</b></font>\n</td></tr>\n";
    $css_switcher->switchClass();
    echo "<tr><td" . $css_switcher->getFullClass() . ">&nbsp;</td></tr>\n";
    echo "<tr><td" . $css_switcher->getFullClass() . " valign=\"top\">\n";
    echo "<table width=\"90%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
    echo "<tr><td" . $css_switcher->getFullClass();
    echo ">&nbsp;&nbsp;&nbsp;&nbsp;</td>\n";
    echo "<td" . $css_switcher->getFullClass() . ">\n";

    $css_switcher_2 = new CssClassSwitcher("", "table_header_bold");

    foreach ($module_types_ordered as $order) {
        $module_type = $GLOBALS['EXTERN_MODULE_TYPES'][$order];
        if (isset($configurations[$module_type["module"]])) {
            $css_switcher_2->switchClass();
            echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
            echo "<tr>\n<td class=\"" . $css_switcher_2->getHeaderClass() . "\">";
            echo "<font size=\"2\"><b>&nbsp; ";

            if (isset($configurations[$module_type["module"]][$config_id])) {
                echo "<a name=\"anker\"></a>\n";
            }
            echo $module_type["name"];

            echo "</b></font>\n</td></tr>\n";
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or any later version.
// +---------------------------------------------------------------------------+
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
// +---------------------------------------------------------------------------+

$info = ExternConfig::GetInfo($range_id, $config_id);
$css_switcher = new CssClassSwitcher("", "");

echo "<tr><td class=\"blank\" width=\"100%\">";
echo "&nbsp;</td></tr>\n";
echo "<tr><td class=\"" . $css_switcher->getHeaderClass() . "\" height=\"20\" valign=\"bottom\">\n";
echo "<font size=\"2\"><b>&nbsp;" . _("Allgemeine Daten") . "</b></font></td></tr>\n";
$css_switcher->switchClass();
echo "<tr><td" . $css_switcher->getFullClass() . ">\n";
echo "<blockquote><font size=\"2\"><br><b>";
echo _("Modulname") . ':';
echo "</b>&nbsp " . $info["module_name"];
echo "<br><br>\n<font size=\"2\"><b>";
echo _("Name der Konfiguration") . ':';
echo "</b>&nbsp " . $info["name"];
echo "<br><br>\n<b>";
echo _("Erstellt am") . ':';