diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BlogController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BlogController.php index 1d1953b9..27a0102f 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BlogController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/BlogController.php @@ -112,8 +112,9 @@ class BlogController extends Controller foreach($datas as $data) { $route=str_replace("_config_","_".$access."_",$this->routeprimary); $action = ""; + $action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; $action.="$data->getId()))."' data-method='delete'>"; - $action.="$data->getId()))."'>"; $user=""; if($data->getUser()) { diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/CalendarController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/CalendarController.php index 48f3fd6a..21b90872 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/CalendarController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/CalendarController.php @@ -109,8 +109,9 @@ class CalendarController extends Controller foreach($datas as $data) { $route=str_replace("_config_","_".$access."_",$this->routeprimary); $action = ""; + $action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; $action.="$data->getId()))."' data-method='delete'>"; - $action.="$data->getId()))."'>"; $user=""; if($data->getUser()) { diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PageController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PageController.php index 7ebc3683..23421f0e 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PageController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PageController.php @@ -123,8 +123,9 @@ class PageController extends Controller $route=str_replace("_config_","_".$access."_",$this->routeprimary); $action = ""; //$action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; $action.="$data->getId()))."' data-method='delete'>"; - $action.="$data->getId()))."'>"; $user=""; if($data->getUser()) { diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagetemplateController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagetemplateController.php index 4377507f..26f55706 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagetemplateController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagetemplateController.php @@ -102,9 +102,9 @@ class PagetemplateController extends Controller $route=str_replace("_config_","_".$access."_",$this->routeprimary); $action = ""; - //$action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; $action.="$data->getId()))."' data-method='delete'>"; - $action.="$data->getId()))."'>"; array_push($output["data"],[ $action, diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php index e94e3132..5cb7ee85 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/PagewidgetController.php @@ -1603,7 +1603,7 @@ class PagewidgetController extends Controller $entity = $em->getRepository($this->labelentity)->find($id); if (!$entity) throw $this->createNotFoundException('Unable to find entity.'); - $groupentity=$em->getRepository("CadolesCoreBundle:Group")->find($group); + if($group) $groupentity=$em->getRepository("CadolesCoreBundle:Group")->find($group); // Permissions if($access=="config") { diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/ProjectController.php b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/ProjectController.php index 896560e0..08c9c6d7 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/ProjectController.php +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Controller/ProjectController.php @@ -112,8 +112,10 @@ class ProjectController extends Controller foreach($datas as $data) { $route=str_replace("_config_","_".$access."_",$this->routeprimary); $action = ""; + $action.="$data->getId()))."'>"; + $action.="$data->getId()))."'>"; $action.="$data->getId()))."' data-method='delete'>"; - $action.="$data->getId()))."'>"; + $user=""; if($data->getUser()) { diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/list.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/list.html.twig index d6067700..a43be08d 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/list.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/list.html.twig @@ -24,7 +24,7 @@ - + diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/view.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/view.html.twig index 559e32d5..2f8b4faf 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/view.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Blog/view.html.twig @@ -6,7 +6,7 @@ {% if access=="config" %} diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/list.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/list.html.twig index 0f92d536..3833cb22 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/list.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/list.html.twig @@ -25,7 +25,7 @@
ActionAction Nom Propriétaire
- + diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/view.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/view.html.twig index 0b7b982b..f0fe5711 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/view.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Calendar/view.html.twig @@ -6,7 +6,7 @@ {% if access=="config" %} {% else %} diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/list.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/list.html.twig index 725c01a1..98b5da20 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/list.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/list.html.twig @@ -25,7 +25,7 @@
ActionAction Nom Propriétaire
- + diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/vieweditor.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/vieweditor.html.twig index aaf08c36..9f580b14 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/vieweditor.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/vieweditor.html.twig @@ -6,7 +6,7 @@ {% endif %} diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewurl.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewurl.html.twig index e4882547..56cf7101 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewurl.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewurl.html.twig @@ -16,7 +16,7 @@ {% endif %} diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewwidget.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewwidget.html.twig index 5d517012..8b7735f7 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewwidget.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Page/viewwidget.html.twig @@ -11,7 +11,7 @@ {{ entity.name }} - + @@ -25,7 +25,7 @@ diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagetemplate/list.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagetemplate/list.html.twig index 6016dc14..33344547 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagetemplate/list.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Pagetemplate/list.html.twig @@ -29,7 +29,7 @@
ActionAction Ordre Nom Catégorie
- + diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/list.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/list.html.twig index 278c4808..9fbb4c36 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/list.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/list.html.twig @@ -24,7 +24,7 @@
ActionAction Ordre Nom Pour
- + diff --git a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/view.html.twig b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/view.html.twig index 131ed7ef..4d8c8a0b 100644 --- a/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/view.html.twig +++ b/src/ninegate-1.0/src/Cadoles/PortalBundle/Resources/views/Project/view.html.twig @@ -7,7 +7,7 @@ {% if access=="config" %}
ActionAction Nom Propriétaire