optimisations
authorGautier Thibault <gthibault@universcine.com>
Wed, 14 Apr 2010 16:15:54 +0200
changeset 46 19805b5868d6
parent 45 d1afbb16bf33
child 47 f736ee27a189
optimisations
web/thdProject/apps/frontend/modules/homepage/actions/components.class.php
web/thdProject/apps/frontend/modules/homepage/templates/_search.php
web/thdProject/apps/frontend/modules/homepage/templates/_sideBar.php
web/thdProject/apps/frontend/modules/search/actions/components.class.php
web/thdProject/apps/frontend/modules/search/templates/_search.php
web/thdProject/apps/frontend/modules/search/templates/_sideBar.php
--- a/web/thdProject/apps/frontend/modules/homepage/actions/components.class.php	Wed Apr 14 16:15:11 2010 +0200
+++ b/web/thdProject/apps/frontend/modules/homepage/actions/components.class.php	Wed Apr 14 16:15:54 2010 +0200
@@ -5,9 +5,6 @@
   public function executeSideBar() {
 
   }
-  public function executeSearch() {
-
-  }
   public function executeTagList() {
     // FIXME: Dummy value
     $this->tag = Array('score' => 3);
--- a/web/thdProject/apps/frontend/modules/homepage/templates/_search.php	Wed Apr 14 16:15:11 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<div id="search">
-	<h3 class="head">
-    Recherche classique :
-	</h3>
-  <form name="search-form" id="search-form" method="get" action="<?php echo url_for('@search') ?>">
-    <input type="text" name="text" value="tapez votre recherche..." class="field help search" />
-    <button type="submit" class="submit">chercher</button>
-  </form>
-</div>
\ No newline at end of file
--- a/web/thdProject/apps/frontend/modules/homepage/templates/_sideBar.php	Wed Apr 14 16:15:11 2010 +0200
+++ b/web/thdProject/apps/frontend/modules/homepage/templates/_sideBar.php	Wed Apr 14 16:15:54 2010 +0200
@@ -1,2 +1,7 @@
 <?php include_component( "homepage", "tagList" ) ?>
-<?php include_component( "homepage", "search" ) ?>
\ No newline at end of file
+<div id="search">
+	<h3 class="head">
+    Recherche classique :
+	</h3>
+	<?php include_component( "partials", "search" ) ?>	
+</div>
\ No newline at end of file
--- a/web/thdProject/apps/frontend/modules/search/actions/components.class.php	Wed Apr 14 16:15:11 2010 +0200
+++ b/web/thdProject/apps/frontend/modules/search/actions/components.class.php	Wed Apr 14 16:15:54 2010 +0200
@@ -5,9 +5,6 @@
   public function executeSideBar() {
 
   }
-  public function executeSearch() {
-
-  }
   
   public function executeSelectedFilm() {
 	
--- a/web/thdProject/apps/frontend/modules/search/templates/_search.php	Wed Apr 14 16:15:11 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<div id="search">
-	<h3 class="head">
-    Effectuer une autre recherche :
-	</h3>
-  <form name="search-form" id="search-form" method="get" action="<?php echo url_for('@search') ?>">
-    <input type="text" name="text" value="tapez votre recherche..." class="field help search" />
-    <button type="submit" class="submit">chercher</button>
-  </form>
-</div>
\ No newline at end of file
--- a/web/thdProject/apps/frontend/modules/search/templates/_sideBar.php	Wed Apr 14 16:15:11 2010 +0200
+++ b/web/thdProject/apps/frontend/modules/search/templates/_sideBar.php	Wed Apr 14 16:15:54 2010 +0200
@@ -1,1 +1,6 @@
-<?php include_component( "search", "search" ) ?>
\ No newline at end of file
+<div id="search">
+	<h3 class="head">
+    Effectuer une autre recherche :
+	</h3>
+	<?php include_component( "partials", "search" ) ?>
+</div>
\ No newline at end of file