} else {
                echo MessageBox::info(_("Leider wurden keine Veranstaltungen gefunden!"));
            }
        }
    }
    ?>
    <br>
    </td>
    </tr>
    </table>
    <?
        //$template = $GLOBALS['template_factory']->open('layouts/base.php');
        //$template->content_for_layout = ob_get_clean();
        //echo $template->render();
        //page_close();
        //die;
    }
}

if ($SessSemName["class"] == "sem" && $SessSemName[1] && !$perm->have_studip_perm('tutor', $SessSemName[1])){
    //ob_start();

    parse_window('error§' . _("Sie haben keine ausreichende Zugriffsberechtigung!"), '§', _("Zugriff verweigert"));

    //$template = $GLOBALS['template_factory']->open('layouts/base.php');
    //$template->content_for_layout = ob_get_clean();
    //echo $template->render();
    //page_close();
    //die;
}
Example #2
0
PageLayout::setHelpKeyword("Basis.AnmeldungRegistrierung");
PageLayout::setTitle(_("Nutzungsbedingungen"));
// Start of Output
include 'lib/include/html_head.inc.php';
// Output of html head
include 'lib/include/header.php';
// Output of Stud.IP head
include 'lib/include/deprecated_tabs_layout.php';
require_once 'lib/msg.inc.php';
if (!$GLOBALS['ENABLE_SELF_REGISTRATION']) {
    parse_window("error§" . _("In dieser Installation ist die Möglichkeit zur Registrierung ausgeschaltet."), "§", _("Registrierung ausgeschaltet"), '<div style="margin:10px">' . $UNI_LOGIN_ADD . '</div>' . "<a href=\"index.php\"><b>&nbsp;" . sprintf(_("Hier%s geht es zur Startseite."), "</b></a>") . "<br>&nbsp;");
    page_close();
    die;
}
if ($auth->is_authenticated() && $user->id != "nobody") {
    parse_window("error§" . _("Sie sind schon als BenutzerIn am System angemeldet!"), "§", _("Bereits angemeldet"), "<a href=\"index.php\"><b>&nbsp;" . sprintf(_("Hier%s geht es zur Startseite."), "</b></a>") . "<br>&nbsp;");
} else {
    $auth->logout();
    ?>

<table width="100%" align="center" border=0 cellpadding=5 cellspacing=0>
<tr><td class="table_header_bold"><?php 
    echo Icon::create('door-enter', 'info_alt')->asImg();
    ?>
<b>&nbsp;<?php 
    echo _("Nutzungsbedingungen");
    ?>
</b></td></tr>
<tr><td class="blank">
<br><br>
<?php 
Example #3
0
        </td>
        <td width="270" class="blank" align="right" valign="top">
        <? print_infobox($infobox, "sidebar/learnmodule-sidebar.png"); ?>
        </td>
    </tr>
       <tr>
                <td class="blank" colspan="3">&nbsp;
                </td>
        </tr>
    </table>
<?

// terminate objects
    if (is_array($connected_cms))
        foreach($connected_cms as $system)
            $system->terminate();

}
else
{
    // Start of Output
    include ('lib/include/html_head.inc.php'); // Output of html head
    include ('lib/include/header.php');   // Output of Stud.IP head
    parse_window ("error§" . _("Die Schnittstelle für die Integration von Lernmodulen ist nicht aktiviert. Damit Lernmodule verwendet werden können, muss die Verbindung zu einem LCM-System in der Konfigurationsdatei von Stud.IP hergestellt werden. Wenden Sie sich bitte an die Admins."), "§",
                _("E-Learning-Schnittstelle nicht eingebunden"));
}
include ('lib/include/html_end.inc.php');
page_close();
?>
Example #4
0
$imt = Request::int('imt', time());

$js['function'] = 'insert_date' . $function_addition;

// mehr als einen Monat anzeigen?
if ($mcount > 3) {
    if ($mcount > 12)
        $mcount = 12;
    if ($mcount % 2 == 1)
        $mcount++; // nur gerade Werte erlaubt
    $mcounth = $mcount / 2;
    $atimex = getdate($imt);
    $i = 0;
    if (!$kalender && $preset_error != '') {
        parse_window('info§' . $preset_error, '§', '', '<div align="center">'. LinkButton::createCancel(_('schließen'), 'javascript:window.close();') .'</div>');
    } else {
        echo '<table class="blank" border=0 align="center"><tr valign=top>', "\n";
        while ($kalender && ($i < $mcount)) {
            if (($i % $mcounth == 0) && $i > 0)
                echo '</tr><tr valign=top>', "\n";
            echo '<td class="blank">';
            echo includeMonth(mktime(12, 0, 0, $atimex['mon'] + $i++, 10, $atimex['year']), 'javascript:void(0);//', 'NONAV', $js, $atime);
            echo '</td>';
        }
        if (!$kalender)
            echo '<td class="blank" colspan="', $mcounth, '">&nbsp;</td>';
        echo '</tr>', "\n";
        // time row
        if ($zeiten) {
            echo '<tr><td class="blank" colspan="', $mcounth, '" align=center><form name="TimeForm" action="javascript:void(0);">';
Example #5
0
            $xslt_process_done = true;
    }

    if (($export_error_num < 1) AND ($xslt_process_done) AND ($format == "fo"))
        include($GLOBALS['PATH_EXPORT']  . "/export_run_fop.inc.php");

    if (($export_error_num < 1) AND (!$start_done) AND ((!$xml_output_done) OR ($o_mode != "file")) AND (!$xslt_choose_done) AND (!$xslt_process_done))
    {
        $export_pagename = "Exportmodul - Fehler!";
        $export_error = _("Fehlerhafter Seitenaufruf");

    }

    include($GLOBALS['PATH_EXPORT']  . "/export_view.inc.php");
}
else
{
    //TODO: Globales Fehlertemplate erzeugen und nur die Fehlermeldung übergeben
    // Start of Output
    parse_window ("error§" . _("Das Exportmodul ist nicht eingebunden. Damit Daten im XML-Format exportiert werden können, muss das Exportmodul in den Systemeinstellungen freigeschaltet werden. Wenden Sie sich bitte an die Administratoren."), "§",
                _("Exportmodul nicht eingebunden"));
}
if (!in_array($o_mode, words('direct', 'passthrough'))) {
    $template = $GLOBALS['template_factory']->open('layouts/base.php');
    $template->content_for_layout = ob_get_clean();


    echo $template->render();
    page_close();
}
Example #6
0
$step = Request::int('step');
// set up user session
include 'lib/seminar_open.php';

if (!($GLOBALS['ENABLE_REQUEST_NEW_PASSWORD_BY_USER'] && in_array('Standard', $GLOBALS['STUDIP_AUTH_PLUGIN'])) || $auth->auth["uid"] != "nobody") {
    require_once ('lib/msg.inc.php');
    // Start of Output
    include ('lib/include/html_head.inc.php'); // Output of html head
    include ('lib/include/header.php');   // Output of Stud.IP head
    include ('lib/include/deprecated_tabs_layout.php');
    if($auth->auth["uid"] != "nobody") {
        $message = _("Sie können kein neues Passwort anfordern, wenn Sie bereits eingeloggt sind.");
    } else {
        $message = _("Das Anfordern eines neuen Passwortes durch den Benutzer ist in dieser Stud.IP-Installation nicht möglich.");
    }
    parse_window ("error§$message", "§", _("Passwortanforderung nicht möglich!"));
    include ('lib/include/html_end.inc.php');
    die();
}

require_once('lib/msg.inc.php');

class UserManagementRequestNewPassword extends UserManagement {

    function UserManagementRequestNewPassword ($user_id) {
        parent::UserManagement($user_id);
    }

    function setPassword () {

        // Can we reach the email?
Example #7
0
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.
*/
require '../lib/bootstrap.php';
require_once 'lib/msg.inc.php';
$my_auth = $GLOBALS['ENABLE_SELF_REGISTRATION'] ? "Seminar_Register_Auth" : "Seminar_Default_Auth";
page_open(array("sess" => "Seminar_Session", "auth" => $my_auth, "perm" => "Seminar_Perm", "user" => "Seminar_User"));
if (!$GLOBALS['ENABLE_SELF_REGISTRATION']) {
    include 'lib/include/html_head.inc.php';
    // Output of html head
    include 'lib/include/header.php';
    // Output of Stud.IP head
    include 'lib/include/deprecated_tabs_layout.php';
    parse_window("error§" . _("In dieser Installation ist die Möglichkeit zur Registrierung ausgeschaltet."), "§", _("Registrierung ausgeschaltet"), '<div style="margin:10px">' . $UNI_LOGIN_ADD . '</div>' . "<a href=\"index.php\"><b>&nbsp;" . sprintf(_("Hier%s geht es zur Startseite."), "</b></a>") . "<br>&nbsp;");
    page_close();
    die;
}
if ($auth->auth["uid"] == "nobody") {
    $auth->logout();
    header("Location: register2.php");
    page_close();
    die;
}
include 'lib/seminar_open.php';
// initialise Stud.IP-Session
// -- here you have to put initialisations for the current page
PageLayout::setHelpKeyword("Basis.AnmeldungRegistrierung");
PageLayout::setTitle(_("Registrierung erfolgreich"));
// Start of Output