<commit_before><?php
/**
 * @var RISBaseController $this
 * @var string $content
 */
?>

<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="<?
    if ($this->html_description != "") echo CHtml::encode($this->html_description);
    else echo "Münchens Stadtpolitik einfach erklärt. Aktuelle Entscheidungen und Dokumente im alternativen Ratsinformationssystem.";
    ?>">
    <meta name="author" content="<NAME>, <NAME>">

    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png?1">
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png?1">
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png?1">
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png?1">
    <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png?1">
    <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png?1">
    <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png?1">
    <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png?1">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png?1">
    <link rel="icon" type="image/png" href="/favicon-96x96.png?1" sizes="96x96">
    <link rel="icon" type="image/png" href="/favicon-16x16.png?1" sizes="16x16">
    <link rel="icon" type="image/png" href="/favicon-32x32.png?1" sizes="32x32">
    <meta name="msapplication-TileColor" content="#0f9d58">
    <meta name="msapplication-TileImage" content="/mstile-144x144.png?1">
    <meta property="og:image" content="/images/fb-img2.png">

    <link rel="search" type="application/opensearchdescription+xml" title="<?= CHtml::encode(Yii::app()->params['projectTitle']) ?>" href="/OpenSearch.xml">
    <link rel="icon" type="image/png" href="/favicon-96x96.png?1">

    <title><?php
        echo CHtml::encode($this->pageTitle);
        if (strpos($this->pageTitle, "Transparent") === false) echo " (" . CHtml::encode(Yii::app()->params['projectTitle']) . ")";
        ?></title>


    <?
    if ($this->load_leaflet_css) {
        echo '<link rel="stylesheet" href="/js/leaflet/dist/leaflet.css">';
        echo '<link rel="stylesheet" href="/js/Leaflet.Control.Geocoder/Control.Geocoder.css">';
        echo '<link rel="stylesheet" href="/js/leaflet.locatecontrol/dist/L.Control.Locate.min.css">';
    }
    if ($this->load_mediaelement) {
        echo '<link rel="stylesheet" href="/js/mediaelement/build/mediaelementplayer.min.css">';
    }
    if ($this->load_leaflet_draw_css) echo '<link rel="stylesheet" href="/js/Leaflet.draw-0.2.3/dist/leaflet.draw.css">';
    if ($this->load_calendar) echo '<link rel="stylesheet" href="/js/fullcalendar/dist/fullcalendar.min.css">';
    if ($this->load_selectize_js) echo '<link rel="stylesheet" href="/css/selectizejs.ratsinformant.css">';

    if ($this->load_pdf_js) { ?>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="google" content="notranslate">
        <link rel="stylesheet" href="/pdfjs/viewer.css"/>
    <? } ?>

    <link rel="stylesheet" href="/css/jquery-ui-1.11.2.custom.min.css">
    <link rel="stylesheet" href="/css/styles_website.css">

    <?
    if ($this->inline_css != "") {
        echo '<style>' . $this->inline_css . '</style>';
    }
    ?>

    <!--[if lt IE 9]>
    <script src="/js/jquery-1.11.2.min.js"></script>
    <![endif]-->
    <!--[if gte IE 9]><!-->
    <script src="/js/jquery-2.1.3.min.js"></script>
    <!--<![endif]-->

    <!--[if lt IE 9]>
    <script src="/js/html5shiv.js"></script>
    <script src="/js/respond.min.js"></script>
    <![endif]-->

    <? if ($this->load_pdf_js) { ?>
        <link rel="resource" type="application/l10n" href="/pdfjs/locale/locale.properties"/>
        <script src="/pdfjs/viewer.min.js"></script>
    <? }
    if ($this->load_mediaelement) { ?>
        <script src="/js/mediaelement/build/mediaelement-and-player.min.js"></script>
    <? }
    ?>
</head>

<body>
<script src="/js/modernizr.js"></script>
<?
echo ris_intern_html_extra_headers();
?>
<img src="/images/fb-img2.png" alt="München Transparent" style="position: absolute; top: -1000px; left: -1000px;">
<a href="#page_main_content" class="sr-only">Zum Seiteninhalt</a>

<div class="over_footer_wrapper">
    <div class="clear"></div>

    <div class="navbar navbar-inverse navbar-fixed-top" id="main_navbar">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="sr-only">Menü</span>
                </button>
            </div>
            <div class="navbar-collapse collapse">
                <form class="navbar-form navbar-right" method="POST" action="<?= CHtml::encode($this->createUrl("index/suche")) ?>" id="quicksearch_form">
                    <label for="quicksearch_form_input" style="display: none;">Volltextsuche - Suchbegriff:</label>
                    <input type="text" name="suchbegriff" value="<?= CHtml::encode($this->suche_pre) ?>" placeholder="Volltextsuche" class="form-control"
                           id="quicksearch_form_input"
                           data-prefetch-url="<?= CHtml::encode($this->createUrl("index/quickSearchPrefetch")) ?>"
                           data-search-url="<?= CHtml::encode($this->createUrl("index/suche", array("suchbegriff" => "SUCHBEGRIFF"))) ?>">
                    <button type="submit" class="btn btn-success" id="quicksearch_form_submit"><span class="glyphicon glyphicon-search"></span><span class="sr-only">Suchen</span>
                    </button>
                </form>

                <ul class="nav navbar-nav">
                    <li><a href="<?= CHtml::encode(Yii::app()->createUrl("index/startseite")) ?>" style="font-weight: bold; color: white;">Startseite</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Stadtteile / BAs <span class="caret"></span></a>
                        <ul class="dropdown-menu" id="ba_nav_list">
                            <?
                            /** @var Bezirksausschuss[] $bas */
                            $bas = Bezirksausschuss::model()->findAll();
                            foreach ($bas as $ba) echo "<li>" . CHtml::link($ba->ba_nr . ": " . $ba->name, $ba->getLink()) . "</li>\n"
                            ?>
                        </ul>
                    </li>
                    <li  <? if ($this->top_menu == "benachrichtigungen") echo 'class="active"'; ?>><?= CHtml::link("Benachrichtigungen", $this->createUrl("benachrichtigungen/index")) ?></li>
                    <li class="<? if ($this->top_menu == "themen") echo ' active'; ?>"><?= CHtml::link("Themen", $this->createUrl("themen/index")) ?></li>
                    <li class="<? if ($this->top_menu == "termine") echo ' active'; ?>"><?= CHtml::link("Termine", $this->createUrl("termine/index")) ?></li>
                    <li class="<? if ($this->top_menu == "personen") echo ' active'; ?>"><?= CHtml::link("Personen", $this->createUrl("personen/index")) ?></li>
                    <?
                    $user = $this->aktuelleBenutzerIn();
                    if ($user && ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_CONTENT) || $user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_USER))) {
                        ?>
                        <li class="dropdown  <? if ($this->top_menu == "admin") echo 'active'; ?>">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <?
                                if ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_CONTENT)) { ?>
                                    <li><?= CHtml::link("StadträtInnen/Personen", $this->createUrl("admin/stadtraetInnenPersonen")) ?></li>
                                    <li><?= CHtml::link("StadträtInnen: Social-Media-Daten", $this->createUrl("admin/stadtraetInnenSocialMedia")) ?></li>
                                    <li><?= CHtml::link("StadträtInnen: Beschreibungen", $this->createUrl("admin/stadtraetInnenBeschreibungen")) ?></li>
                                <? }
                                if ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_USER)) { ?>
                                    <li><?= CHtml::link("StadträtInnen: Accounts", $this->createUrl("admin/stadtraetInnenBenutzerInnen")) ?></li>
                                <? }
                                if ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_TAG)) { ?>
                                    <li><?= CHtml::link("Tags", $this->createUrl("admin/tags")) ?></li>
                                <? }
                                ?>
                            </ul>
                        </li>
                    <? } ?>
                </ul>
            </div>
        </div>
        <a href="<?= CHtml::encode(Yii::app()->createUrl("infos/feedback")) ?>" id="ris_beta_badge">
            <h2>Beta</h2>

            <p>Fehler gefunden?</p>
        </a>
    </div>

    <? if ($this->msg_ok != "") { ?>
    <div class="alert alert-success" style="text-align: center">
        <?php echo $this->msg_ok; ?>
    </div>
    <? } ?>
    <? if ($this->msg_err != "") { ?>
    <div class="alert alert-danger" style="text-align: center">
        <?php echo $this->msg_err; ?>
    </div>
    <? } ?><commit_msg>x-Button zum Entfernen von msg_ok/msg_err hinzufügen (Werden im Moment noch vom RIS-Beta-Badge überdeckt<commit_after><?php
/**
 * @var RISBaseController $this
 * @var string $content
 */
?>

<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="<?
    if ($this->html_description != "") echo CHtml::encode($this->html_description);
    else echo "Münchens Stadtpolitik einfach erklärt. Aktuelle Entscheidungen und Dokumente im alternativen Ratsinformationssystem.";
    ?>">
    <meta name="author" content="<NAME>, <NAME>">

    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png?1">
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png?1">
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png?1">
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png?1">
    <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png?1">
    <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png?1">
    <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png?1">
    <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png?1">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png?1">
    <link rel="icon" type="image/png" href="/favicon-96x96.png?1" sizes="96x96">
    <link rel="icon" type="image/png" href="/favicon-16x16.png?1" sizes="16x16">
    <link rel="icon" type="image/png" href="/favicon-32x32.png?1" sizes="32x32">
    <meta name="msapplication-TileColor" content="#0f9d58">
    <meta name="msapplication-TileImage" content="/mstile-144x144.png?1">
    <meta property="og:image" content="/images/fb-img2.png">

    <link rel="search" type="application/opensearchdescription+xml" title="<?= CHtml::encode(Yii::app()->params['projectTitle']) ?>" href="/OpenSearch.xml">
    <link rel="icon" type="image/png" href="/favicon-96x96.png?1">

    <title><?php
        echo CHtml::encode($this->pageTitle);
        if (strpos($this->pageTitle, "Transparent") === false) echo " (" . CHtml::encode(Yii::app()->params['projectTitle']) . ")";
        ?></title>


    <?
    if ($this->load_leaflet_css) {
        echo '<link rel="stylesheet" href="/js/leaflet/dist/leaflet.css">';
        echo '<link rel="stylesheet" href="/js/Leaflet.Control.Geocoder/Control.Geocoder.css">';
        echo '<link rel="stylesheet" href="/js/leaflet.locatecontrol/dist/L.Control.Locate.min.css">';
    }
    if ($this->load_mediaelement) {
        echo '<link rel="stylesheet" href="/js/mediaelement/build/mediaelementplayer.min.css">';
    }
    if ($this->load_leaflet_draw_css) echo '<link rel="stylesheet" href="/js/Leaflet.draw-0.2.3/dist/leaflet.draw.css">';
    if ($this->load_calendar) echo '<link rel="stylesheet" href="/js/fullcalendar/dist/fullcalendar.min.css">';
    if ($this->load_selectize_js) echo '<link rel="stylesheet" href="/css/selectizejs.ratsinformant.css">';

    if ($this->load_pdf_js) { ?>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="google" content="notranslate">
        <link rel="stylesheet" href="/pdfjs/viewer.css"/>
    <? } ?>

    <link rel="stylesheet" href="/css/jquery-ui-1.11.2.custom.min.css">
    <link rel="stylesheet" href="/css/styles_website.css">

    <?
    if ($this->inline_css != "") {
        echo '<style>' . $this->inline_css . '</style>';
    }
    ?>

    <!--[if lt IE 9]>
    <script src="/js/jquery-1.11.2.min.js"></script>
    <![endif]-->
    <!--[if gte IE 9]><!-->
    <script src="/js/jquery-2.1.3.min.js"></script>
    <!--<![endif]-->

    <!--[if lt IE 9]>
    <script src="/js/html5shiv.js"></script>
    <script src="/js/respond.min.js"></script>
    <![endif]-->

    <? if ($this->load_pdf_js) { ?>
        <link rel="resource" type="application/l10n" href="/pdfjs/locale/locale.properties"/>
        <script src="/pdfjs/viewer.min.js"></script>
    <? }
    if ($this->load_mediaelement) { ?>
        <script src="/js/mediaelement/build/mediaelement-and-player.min.js"></script>
    <? }
    ?>
</head>

<body>
<script src="/js/modernizr.js"></script>
<?
echo ris_intern_html_extra_headers();
?>
<img src="/images/fb-img2.png" alt="München Transparent" style="position: absolute; top: -1000px; left: -1000px;">
<a href="#page_main_content" class="sr-only">Zum Seiteninhalt</a>

<div class="over_footer_wrapper">
    <div class="clear"></div>

    <div class="navbar navbar-inverse navbar-fixed-top" id="main_navbar">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="sr-only">Menü</span>
                </button>
            </div>
            <div class="navbar-collapse collapse">
                <form class="navbar-form navbar-right" method="POST" action="<?= CHtml::encode($this->createUrl("index/suche")) ?>" id="quicksearch_form">
                    <label for="quicksearch_form_input" style="display: none;">Volltextsuche - Suchbegriff:</label>
                    <input type="text" name="suchbegriff" value="<?= CHtml::encode($this->suche_pre) ?>" placeholder="Volltextsuche" class="form-control"
                           id="quicksearch_form_input"
                           data-prefetch-url="<?= CHtml::encode($this->createUrl("index/quickSearchPrefetch")) ?>"
                           data-search-url="<?= CHtml::encode($this->createUrl("index/suche", array("suchbegriff" => "SUCHBEGRIFF"))) ?>">
                    <button type="submit" class="btn btn-success" id="quicksearch_form_submit"><span class="glyphicon glyphicon-search"></span><span class="sr-only">Suchen</span>
                    </button>
                </form>

                <ul class="nav navbar-nav">
                    <li><a href="<?= CHtml::encode(Yii::app()->createUrl("index/startseite")) ?>" style="font-weight: bold; color: white;">Startseite</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Stadtteile / BAs <span class="caret"></span></a>
                        <ul class="dropdown-menu" id="ba_nav_list">
                            <?
                            /** @var Bezirksausschuss[] $bas */
                            $bas = Bezirksausschuss::model()->findAll();
                            foreach ($bas as $ba) echo "<li>" . CHtml::link($ba->ba_nr . ": " . $ba->name, $ba->getLink()) . "</li>\n"
                            ?>
                        </ul>
                    </li>
                    <li  <? if ($this->top_menu == "benachrichtigungen") echo 'class="active"'; ?>><?= CHtml::link("Benachrichtigungen", $this->createUrl("benachrichtigungen/index")) ?></li>
                    <li class="<? if ($this->top_menu == "themen") echo ' active'; ?>"><?= CHtml::link("Themen", $this->createUrl("themen/index")) ?></li>
                    <li class="<? if ($this->top_menu == "termine") echo ' active'; ?>"><?= CHtml::link("Termine", $this->createUrl("termine/index")) ?></li>
                    <li class="<? if ($this->top_menu == "personen") echo ' active'; ?>"><?= CHtml::link("Personen", $this->createUrl("personen/index")) ?></li>
                    <?
                    $user = $this->aktuelleBenutzerIn();
                    if ($user && ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_CONTENT) || $user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_USER))) {
                        ?>
                        <li class="dropdown  <? if ($this->top_menu == "admin") echo 'active'; ?>">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <?
                                if ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_CONTENT)) { ?>
                                    <li><?= CHtml::link("StadträtInnen/Personen", $this->createUrl("admin/stadtraetInnenPersonen")) ?></li>
                                    <li><?= CHtml::link("StadträtInnen: Social-Media-Daten", $this->createUrl("admin/stadtraetInnenSocialMedia")) ?></li>
                                    <li><?= CHtml::link("StadträtInnen: Beschreibungen", $this->createUrl("admin/stadtraetInnenBeschreibungen")) ?></li>
                                <? }
                                if ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_USER)) { ?>
                                    <li><?= CHtml::link("StadträtInnen: Accounts", $this->createUrl("admin/stadtraetInnenBenutzerInnen")) ?></li>
                                <? }
                                if ($user->hatBerechtigung(BenutzerIn::$BERECHTIGUNG_TAG)) { ?>
                                    <li><?= CHtml::link("Tags", $this->createUrl("admin/tags")) ?></li>
                                <? }
                                ?>
                            </ul>
                        </li>
                    <? } ?>
                </ul>
            </div>
        </div>
        <a href="<?= CHtml::encode(Yii::app()->createUrl("infos/feedback")) ?>" id="ris_beta_badge">
            <h2>Beta</h2>

            <p>Fehler gefunden?</p>
        </a>
    </div>

    <? if ($this->msg_ok != "") { ?>
    <div class="alert alert-success alert-dismissable " style="text-align: center">
        <?php echo $this->msg_ok; ?>
        <button type="button" class="close" data-dismiss="alert">×</button>
    </div>
    <? } ?>
    <? if ($this->msg_err != "") { ?>
    <div class="alert alert-danger alert-dismissable " style="text-align: center">
        <?php echo $this->msg_err; ?>
        <button type="button" class="close" data-dismiss="alert">×</button>
    </div>
    <? } ?>
{'fraction_non_alphanumeric': 0.19867056897663574, 'fraction_numerical': 0.017957239942457463, 'mean_word_length': 2.4776608590650335, 'pattern_counts': {'":': 2, '<': 403, '<?xml version=': 0, '>': 503, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7199093', 'n_tokens_mistral': 6664, 'n_tokens_neox': 6378, 'n_words': 964}