equal
deleted
inserted
replaced
62 } |
62 } |
63 // ... so we create is json like {"":""},{"Créateur":"Créateur"},{"Datation":"Datation"},... |
63 // ... so we create is json like {"":""},{"Créateur":"Créateur"},{"Datation":"Datation"},... |
64 $categories = json_encode($ar); |
64 $categories = json_encode($ar); |
65 // Management of profiles for the list of displayed columns and reorder tag button |
65 // Management of profiles for the list of displayed columns and reorder tag button |
66 $profile_array = $this->container->getParameter("wiki_tag.document_list_profile"); |
66 $profile_array = $this->container->getParameter("wiki_tag.document_list_profile"); |
|
67 #var_dump($profile_array[$profile_name]); |
67 $columns_array = null; |
68 $columns_array = null; |
68 if($profile_array!=null && $profile_name!=null && $profile_name!=""){ |
69 if($profile_array!=null && $profile_name!=null && $profile_name!=""){ |
69 $columns_array = $profile_array[$profile_name]; |
70 $columns_array = $profile_array[$profile_name]; |
70 } |
71 } |
71 return $this->render('WikiTagBundle:WikiTag:javascript.html.twig', array('categories' => $categories, 'tags_list' => $tags_list, 'columns' => $columns_array)); |
72 return $this->render('WikiTagBundle:WikiTag:javascript.html.twig', array('categories' => $categories, 'tags_list' => $tags_list, 'columns' => $columns_array)); |