fixato dao delete
This commit is contained in:
@@ -29,6 +29,17 @@ class MenuGenerator {
|
||||
return $rval;
|
||||
}
|
||||
|
||||
public static function generateMenu(){
|
||||
$voices = self::getVoices();
|
||||
if (sizeof($voices)>0){
|
||||
echo "<div id=\"admin_menu\"><ul>";
|
||||
foreach ($voices as $voice){
|
||||
echo '<li><a href="'.$voice["page"].'">'.$voice["label"].'</a></li>';
|
||||
}
|
||||
echo "</ul></div>";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user