コード例 #1
0
ファイル: show.php プロジェクト: anantace/Kursadministration
 public function search_action()
 {
     $this->results = AdminList::getInstance()->getSearchResults();
     $this->request = $_POST;
     $this->searchTermPost = $this->request['course_search'];
     if (Request::option('course_search')) {
         $this->searchTerm = Request::option('course_search');
     }
 }
コード例 #2
0
                            <? parse_msg($message); ?>
                        </td>
                    </tr>
                    <? endif; ?>
                </table>
            </form>
            <?
        //}

    // display Seminar-List
    //if ($_SESSION['links_admin_data']['srch_on'] || $auth->auth["perm"] =="tutor" || $auth->auth["perm"] == "dozent") {
        if(isset($admin_view)){
             URLHelper::bindLinkParam('admin_view',$admin_view);
        }
        //Suchresultate abholen:
        $results = AdminList::getInstance()->getSearchResults();

        ?>
        <form name="links_admin_action" action="<?php 
echo URLHelper::getLink();
?>
" method="POST">
        <?php 
echo CSRFProtection::tokenTag();
?>
        <table border=0  cellspacing=0 cellpadding=2 align=center width="99%">
        <?
        $show_rooms_check_url = $show_rooms_check == 'on' ? '&show_rooms_check=on' : null;
        // only show table header in case of hits
        if (count($results)) {
            ?>