Beispiel #1
0
            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";
            echo "<tr><td width=\"100%\" style=\"border-style:solid; border-width:1px; border-color:#000000;\">\n";

            echo "<table width=\"100%\" cellspacing=\"0\" cellpadding=\"2\" border=\"0\">\n";
            $css_switcher_2->resetClass();

            foreach ($configurations[$module_type["module"]] as $configuration) {
                $css_switcher_2->switchClass();
                echo "<tr><td" . $css_switcher_2->getFullClass() . " width=\"65%\"><font size=\"2\">";
                echo "&nbsp;" . $configuration["name"] . "</font></td>\n";

                ?>
                <td <?php 
echo $css_switcher_2->getFullClass();
?>
 width="5%">
                    <a href="<?php 
echo URLHelper::getLink('?com=download_config&config_id=' . $configuration['id'] . '&module=' . $module_type["module"]);
?>
">
                        <?php 
echo Icon::create('download', 'clickable', ['title' => _("Konfigurationsdatei herunterladen")])->asImg(16, ["alt" => _("Konfigurationsdatei herunterladen")]);
?>
                    </a>
// 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") . ':';
echo "</b>&nbsp " . $info["make_date"];
echo "&nbsp; &nbsp; &nbsp; <b>";
echo _("Letzte Änderung") . ':';
echo "</b>&nbsp " . $info["change_date"];
echo "<br><br>\n<b>";
echo _("Beschreibung") . ':';
echo "</b>&nbsp " . $EXTERN_MODULE_TYPES[$info["module_type"]]["description"];