소스 검색

Fixed bug in code with template variables

Stephen Ficklin 10 년 전
부모
커밋
5d51137e57
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      tripal_project/tripal_project.module
  2. 2 2
      tripal_pub/tripal_pub.module

+ 1 - 1
tripal_project/tripal_project.module

@@ -211,8 +211,8 @@ function tripal_project_theme($existing, $type, $theme, $path) {
       'path' => "$path/theme/templates",
     ),
     'tripal_project_help' => array(
-      'variables' => 'tripal_project_help',
       'variables' =>  array(NULL),
+      'template' => 'tripal_project_help',
       'path' => "$path/theme/templates",
     ),
   );

+ 2 - 2
tripal_pub/tripal_pub.module

@@ -279,8 +279,8 @@ function tripal_pub_theme($existing, $type, $theme, $path) {
 
     // instructions page for the pub module
     'tripal_pub_help' => array(
-      'variables' => 'tripal_pub_help',
-      'arguments' =>  array(NULL),
+      'template' => 'tripal_pub_help',
+      'variables' =>  array(NULL),
       'path' => "$path/theme/templates",
     ),