# HG changeset patch # User Gautier Thibault # Date 1271271227 -7200 # Node ID c05892376a6c0e2baa4b4c8b0c66ca68ba2ae8f6 # Parent a0ac75dbce2ec790f8773489a9d1a116bdc4fc59 path to videos diff -r a0ac75dbce2e -r c05892376a6c web/thdProject/apps/frontend/modules/editor/templates/_player.php --- a/web/thdProject/apps/frontend/modules/editor/templates/_player.php Wed Apr 14 19:32:52 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/editor/templates/_player.php Wed Apr 14 20:53:47 2010 +0200 @@ -2,7 +2,7 @@ // Charge le player flowplayer("player", "", { - clip: {url: "", + clip: {url: "", autoPlay: false, autoBuffering: true, onSeek: function() { diff -r a0ac75dbce2e -r c05892376a6c web/thdProject/apps/frontend/modules/tag/actions/components.class.php --- a/web/thdProject/apps/frontend/modules/tag/actions/components.class.php Wed Apr 14 19:32:52 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/tag/actions/components.class.php Wed Apr 14 20:53:47 2010 +0200 @@ -27,17 +27,5 @@ return sfView::SUCCESS; } - public function executeSuggestionFilmList() { - $this->tag = Array('score' => 3); - $query = Doctrine_Query::create() - ->from('ThdFilm F') - ->leftJoin('F.images I ') - ->leftJoin('F.videos V') - //->where("cu.code='{$culture}' AND mo.code='{$module}' AND ms.code='{$section}'") - ->orderBy('F.ref ASC') - ->limit(0,10); - $this->mostTaggedFilms = $query->execute(); - $this->videoPath = sfConfig::get('app_player_videoPath'); - } - + } \ No newline at end of file diff -r a0ac75dbce2e -r c05892376a6c web/thdProject/apps/frontend/modules/tag/templates/_suggestionFilmList.php --- a/web/thdProject/apps/frontend/modules/tag/templates/_suggestionFilmList.php Wed Apr 14 19:32:52 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/tag/templates/_suggestionFilmList.php Wed Apr 14 20:53:47 2010 +0200 @@ -1,51 +1,14 @@

Les films suivants

diff -r a0ac75dbce2e -r c05892376a6c web/thdProject/apps/frontend/modules/tag/templates/viewTagListSuccess.php --- a/web/thdProject/apps/frontend/modules/tag/templates/viewTagListSuccess.php Wed Apr 14 19:32:52 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/tag/templates/viewTagListSuccess.php Wed Apr 14 20:53:47 2010 +0200 @@ -1,3 +1,3 @@

Résultats pour :

- + 'all', 'filmCount' => '10', 'mostTaggedFilms' => $mostTaggedFilms, 'pageIndex' => $pageIndex, 'pageNbItems' => $pageNbItems)); ?> diff -r a0ac75dbce2e -r c05892376a6c web/thdProject/lib/helper/ThdHtmlHelper.php --- a/web/thdProject/lib/helper/ThdHtmlHelper.php Wed Apr 14 19:32:52 2010 +0200 +++ b/web/thdProject/lib/helper/ThdHtmlHelper.php Wed Apr 14 20:53:47 2010 +0200 @@ -102,8 +102,8 @@ // Add forward actions if ($pageIndex < ($nbPages-1)) { - $itemsHtml[] = '
  • >>
  • '; - $itemsHtml[] = '
  • >
  • '; + $itemsHtml[] = '
  • >
  • '; + $itemsHtml[] = '
  • >>
  • '; } else { $itemsHtml[] = '
  • >>
  • '; $itemsHtml[] = '
  • >
  • ';