Exemple #1
0
        <? if (is_object($GLOBALS['perm']) && $GLOBALS['perm']->have_perm('autor') && PersonalNotifications::isActivated()) : ?>
        STUDIP.jsupdate_enable = true;
        <? endif ?>
        STUDIP.URLHelper.parameters = <?php 
echo json_encode(studip_utf8encode(URLHelper::getLinkParams()));
?>
;
    </script>
    <?php 
// needs to be included in lib/include/html_head.inc.php as well
include 'app/views/WysiwygHtmlHead.php';
?>
</head>

<body id="<?php 
echo $body_id ? $body_id : PageLayout::getBodyElementId();
?>
">
<div id="layout_wrapper">
    <? SkipLinks::insertContainer() ?>
    <? SkipLinks::addIndex(_("Hauptinhalt"), 'layout_content', 100, true) ?>
    <?php 
echo PageLayout::getBodyElements();
?>

    <? include 'lib/include/header.php' ?>

    <div id="layout_page">
        <? if (PageLayout::isHeaderEnabled() && is_object($GLOBALS['user']) && $GLOBALS['user']->id != 'nobody' && Navigation::hasItem('/course') && Navigation::getItem('/course')->isActive() && $_SESSION['seminar_change_view_'.$GLOBALS['SessionSeminar']]) : ?>
            <?php 
echo $this->render_partial('change_view', array('changed_status' => $_SESSION['seminar_change_view_' . $GLOBALS['SessionSeminar']]));
Exemple #2
0
?>
";
        String.locale = "<?php 
echo htmlReady(strtr($_SESSION['_language'], '_', '-'));
?>
";
        <? if (is_object($GLOBALS['perm']) && PersonalNotifications::isActivated() && $GLOBALS['perm']->have_perm("autor")) : ?>
        STUDIP.jsupdate_enable = true;
        <? endif ?>
        STUDIP.URLHelper.parameters = <?php 
echo json_encode(studip_utf8encode(URLHelper::getLinkParams()));
?>
;
    </script>
    <?php 
// needs to be included in templates/layouts/base.php as well
include 'app/views/WysiwygHtmlHead.php';
?>
</head>

<body id="<?php 
echo PageLayout::getBodyElementId();
?>
">
<div id="layout_wrapper">
    <? SkipLinks::insertContainer() ?>
    <?php 
echo PageLayout::getBodyElements();
?>
    <? PageLayout::clearMessages() ?>