La funzione di DaoMediaHandler::addMedia ora setta il MainMedia

alla news quando aggiungo il media se la news non ha un MainMedia;
addMultimedia dopo aver aggiunto un media ora rimanda alla homeNotizia;
homePage in progress
This commit is contained in:
Lorenzo Giacomelli
2016-03-01 14:12:00 +01:00
parent 1dcc41b848
commit 460efea091
5 changed files with 85 additions and 63 deletions
+1
View File
@@ -47,6 +47,7 @@ class GUIHandler {
echo "<meta name=\"author\" content=\"$author\">\n";
echo "<meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\">";
echo '<link rel="shortcut icon" href="'.self::getImagesUrl().'/favicon.png">'."\n";
echo '<link href="http://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext" rel="stylesheet" type="text/css">'."\n";
foreach (self::$STYLESHEETS[self::STYLESHEET_GENERAL] as $file){
echo '<link type="text/css" rel="stylesheet" href="'.self::getStylesheetsUrl().$file.'"';