Ejemplo n.º 1
0
 private function renderLeftBlock()
 {
     $content = "<div style='border:1px solid #000; padding:5px; width:30%; clear:both; float:left;'>\n";
     $menus = AdminUtils::getMenuList();
     foreach ($menus as $id => $title) {
         if (!isset($this->menuTitle)) {
             $this->menuTitle = $title;
         }
         $content .= "<a href='/admin/menu/{$title}'>{$title}</a> <br />\n";
     }
     $content .= "</div>\n";
     $this->data["content"] .= $content;
 }