Sfoglia il codice sorgente

casing fix in search controller and whitespace in layout

raylu 14 anni fa
parent
commit
ad5794499b
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2 2
      controllers/SearchController.php
  2. 1 1
      views/layouts/default.html.php

+ 2 - 2
controllers/SearchController.php

@@ -38,7 +38,7 @@ class SearchController extends \lithium\action\Controller {
 											 'episode_count' => 'Episodes',
 											 'view_type' => 'Type', 'mal_score' => 'MAL Score');
 
-			case 'kdrama':
+			case 'Kdrama':
 			case 'Kdrama': $headers = array('title' => 'Title',
 											'episode_count' => 'Episodes');
 
@@ -54,4 +54,4 @@ class SearchController extends \lithium\action\Controller {
 			return array('content' => $search['content'], 'page' => $search['page'], 'headers' => $headers, 'total' => $search['total'], 'limit' => $search['limit']);
 		}
 	}
-}
+}

+ 1 - 1
views/layouts/default.html.php

@@ -66,7 +66,7 @@ use \lithium\security\Auth;
 	<br class="cl" />
 </header>
 <div id="page">
-  	<?php echo $this->content() ?>
+	<?php echo $this->content() ?>
 </div>
 <footer>
 	<p>Copyright ©2011, <a href="http://www.melenion.org">Melenion Dev Studios</a></p>