svg
This commit is contained in:
parent
3988986d60
commit
ada20f01f6
|
@ -8,7 +8,7 @@ INSERT IGNORE INTO `niveau01` (`id`, `label`, `siren`) VALUES
|
|||
(-100, 'DRAAF', '130007107');
|
||||
|
||||
INSERT IGNORE INTO `user` (`id`, `niveau01_id`, `username`, `firstname`, `lastname`, `password`, `email`, `avatar`, `role`,`siren`,`authlevel`) VALUES
|
||||
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}NkKjK3fXfmGDKmwfTtA11qPwVFmE3SsW
|
||||
(-100, -100, 'admin', 'Administrateur', 'draaf', '{SSHA}/Ord89DmD7WPXj/gZEt7CEvzfhNztOLv
|
||||
', 'admin@transnum.cadol.es', 'admin.jpg', 'ROLE_ADMIN', '130007107', 'simple');
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ class FeedController extends Controller
|
|||
$feeds=[];
|
||||
$fs = new Filesystem();
|
||||
|
||||
if($fs->exists($directory."/invitation.json")) {
|
||||
$file=file_get_contents($directory."/invitation.json");
|
||||
$json = substr($file, 0, -2); // sup dernier ,
|
||||
$surveys = json_decode("{".$json."}", true);
|
||||
|
@ -29,6 +30,7 @@ class FeedController extends Controller
|
|||
"description"=>$survey["description"],
|
||||
"category"=>"limesurvey"]);
|
||||
}
|
||||
}
|
||||
|
||||
$response = new Response($this->renderView('CadolesPortalBundle:Feed:index.xml.twig',array(
|
||||
"feeds" => $feeds,
|
||||
|
|
|
@ -1530,6 +1530,7 @@ class PagewidgetController extends Controller
|
|||
$files=[];
|
||||
$fs = new Filesystem();
|
||||
|
||||
if($fs->exists($directory."/survey.json")) {
|
||||
$file=file_get_contents($directory."/survey.json");
|
||||
$json = substr($file, 0, -2); // sup dernier ,
|
||||
$surveys = json_decode("{".$json."}", true);
|
||||
|
@ -1538,6 +1539,7 @@ class PagewidgetController extends Controller
|
|||
array_push($items,["id"=>$id,"title"=>$survey["title"],"subtitle"=>"Sondage","url"=>$survey["url"],"itemcategory"=>$category,"color"=>"328637","icon"=>"icon_limesurvey.png"]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue