Пример #1
0
        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";
            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"]);
?>
">
Пример #2
0
        echo "<tr><td" . $css_switcher->getFullClass() . ">\n";
        echo "<blockquote>\n<font size=\"2\"><br>";
        echo _("Der unten aufgeführte Textblock ermöglicht Ihnen den Zugriff auf die Stud.IP-Remote-Include-Schnittstelle (SRI).");
        echo "</font><blockquote>\n<b><pre>" . $info["sri"] . "</pre></b></blockquote>\n<font size=\"2\">";
        echo _("Kopieren Sie dieses Code-Schnipsel in eine beliebige Stelle im HTML-Quelltext einer Seite Ihrer Website.");
        echo "\n<br>";
        echo _("Durch eine spezielle Art des Seitenaufrufs, wird an dieser Stelle die Ausgabe des Moduls eingefügt.");
        echo "<br></font></blockquote>\n</td></tr>\n";
        echo "<tr><td" . $css_switcher->getFullClass() . ">&nbsp;</td></tr>\n";
        
        echo "<tr><td class=\"" . $css_switcher->getHeaderClass() . "\" height=\"20\" valign=\"bottom\">\n";
        echo "<font size=\"2\"><b>&nbsp;" . _("Link zur SRI-Schnittstelle") . "</b></font></td></tr>\n";
        echo "<tr><td" . $css_switcher->getFullClass() . ">\n";
        echo "<blockquote>\n<font size=\"2\"><br>";
        echo _("Über diesen Link erreichen Sie die SRI-Schnittstelle:");
        echo "<blockquote><b>" . $info["link_sri"] . "</b></blockquote>\n";
        printf (_("Ersetzen Sie %s durch die URL der Seite, in die Sie die Ausgabe des Moduls einfügen wollen. Diese Seite muss obigen Code-Schnipsel enthalten."),
                _("URL_DER_INCLUDE_SEITE"));
        echo "<br></font></blockquote>\n</td></tr>\n";
    }
}

$css_switcher->resetClass();
$css_switcher->switchClass();

echo "<tr><td" . $css_switcher->getFullClass() . " align=\"center\">&nbsp;<br>\n";
echo LinkButton::create('<<  ' . _('Zurück'), URLHelper::getURL('', array('list' => TRUE)));
echo "</a><br>&nbsp;</td></tr>\n";

?>