diff --git a/materio_flag.pages.inc b/materio_flag.pages.inc index 5e4d51f9..65112aab 100755 --- a/materio_flag.pages.inc +++ b/materio_flag.pages.inc @@ -118,7 +118,7 @@ function materio_flag_createlist_form($type){ $return = drupal_render($form); $rep = array( - 'return'=>$return, + 'rendered_form'=>$return, ); if ($debug) { @@ -217,7 +217,7 @@ function materio_flag_editlist_form($type, $fid){ $return = drupal_render($form); $rep = array( - 'return'=>$return, + 'rendered_form'=>$return, ); }else{ $rep = array( @@ -478,11 +478,11 @@ function materio_flag_ajax_list($fid, $page = 0){ } elseif (isset($return)) { if (is_array($return)) { - $return = drupal_render($return); + $rendered = drupal_render($return); } $rep = array( - 'return' => $return, + 'rendered' => $rendered, 'path' => $path, 'title' => drupal_get_title(), ); diff --git a/materio_search_api.module b/materio_search_api.module index 0232962b..0b41b1a3 100755 --- a/materio_search_api.module +++ b/materio_search_api.module @@ -756,4 +756,5 @@ function materio_search_api_block_view_alter(&$data, $block) { } } } -} \ No newline at end of file +} + diff --git a/materio_search_api_ajax.pages.inc b/materio_search_api_ajax.pages.inc index 69849b47..37042677 100755 --- a/materio_search_api_ajax.pages.inc +++ b/materio_search_api_ajax.pages.inc @@ -105,7 +105,7 @@ function materio_search_api_ajax_search($page = 0){ 'keys'=>$keys, 'keys_encoded'=>$keys_encoded, 'search_path'=>$search_path, - 'return'=>$return, + 'returned'=>$return, 'active_types'=>$active_types, 'title' => drupal_get_title(), ); @@ -121,7 +121,6 @@ function materio_search_api_ajax_search($page = 0){ } } - } @@ -208,7 +207,7 @@ function materio_search_api_ajax_actuality($page = 0){ $rep = array( 'path' => $path, - 'return'=>$return, + 'returned'=>$return, 'title' => drupal_get_title(), ); diff --git a/templates/materio-didactique-home-block.tpl.php b/templates/materio-didactique-home-block.tpl.php index b2dcceba..639e7176 100755 --- a/templates/materio-didactique-home-block.tpl.php +++ b/templates/materio-didactique-home-block.tpl.php @@ -1,3 +1,3 @@ - + + \ No newline at end of file diff --git a/templates/materio-search-api-actuality.tpl.php b/templates/materio-search-api-actuality.tpl.php index 860277f4..30eea008 100755 --- a/templates/materio-search-api-actuality.tpl.php +++ b/templates/materio-search-api-actuality.tpl.php @@ -5,7 +5,8 @@

- + +