# HG changeset patch # User Gautier Thibault # Date 1270023376 -7200 # Node ID cae5b5ff4058f70683d6fd2c7ee08d96fb14d6a3 # Parent 1b5c6294e805cefb6d8f53adf48d2f5a2101d10b update left column and tag Editor diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/editor/actions/addFilmSegmentAction.class.php --- a/web/thdProject/apps/frontend/modules/editor/actions/addFilmSegmentAction.class.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/editor/actions/addFilmSegmentAction.class.php Wed Mar 31 10:16:16 2010 +0200 @@ -6,13 +6,12 @@ { if ($request->getMethodName() != sfWebRequest::POST) return sfView::ERROR; - $in=$request->getParameter('timein'); - $out=$request->getParameter('timeout'); + $in=$request->getParameter('frmIn'); + $out=$request->getParameter('frmOut'); $tag=addslashes($request->getParameter('usertag')); $user=addslashes($request->getParameter('username')); $refFilm=$request->getParameter('refFilm'); $film=$request->getParameter('film'); - // Get file Path $this->path = sfConfig::get('app_storage_uploads'); $this->format = sfConfig::get('app_storage_format'); @@ -28,7 +27,7 @@ // Create or Update the file $fp = fopen($file, "a"); - fwrite($fp,$line); + fputcsv($fp,$line); fclose($fp); return sfView::SUCCESS; diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/editor/config/view.yml --- a/web/thdProject/apps/frontend/modules/editor/config/view.yml Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/editor/config/view.yml Wed Mar 31 10:16:16 2010 +0200 @@ -2,4 +2,7 @@ stylesheets: [ /css/editor.css, /css/flashplayer.css ] - javascripts: [ /js/flowplayer/flowplayer-3.1.0.min.js, /js/flowplayer/uc.flowplayer.config.js, /js/segmentation/segments.js, /js/segmentation/tagtool.js] \ No newline at end of file + javascripts: [ /js/flowplayer/flowplayer-3.1.0.min.js, /js/flowplayer/uc.flowplayer.config.js, /js/segmentation/segments.js, /js/segmentation/tagtool.js] + + components: + sideBar: [ editor, leftPanel ] \ No newline at end of file diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/editor/templates/_player.php --- a/web/thdProject/apps/frontend/modules/editor/templates/_player.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/editor/templates/_player.php Wed Mar 31 10:16:16 2010 +0200 @@ -96,34 +96,28 @@ echo " {".$film->getOriginalTitle()."}"; } ?> - De - getDirectors(), 'name'); ?> + De getDirectors(), 'name'); ?>
-

- - - -

+
+ + + +
getRef()}&film_slug={$film->getSlugUrl()}");?>" method="post" id="segmentForm" class="ajax" style="display: none;">

Enregistrer votre segment

-

Vous aller créer un segment, entre 0 et 0.

-

+

Vous aller créer un segment, entre 0 secondes et 0 secondes.

+ Votre tag :   Nom d'utilisateur : - - - getSlugUrl(); ?>" /> - - -

+ + + getSlugUrl(); ?>" /> + + +
+
diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/editor/templates/indexSuccess.php --- a/web/thdProject/apps/frontend/modules/editor/templates/indexSuccess.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/editor/templates/indexSuccess.php Wed Mar 31 10:16:16 2010 +0200 @@ -1,9 +1,3 @@ -
- -
- -
-
- -
+
+
\ No newline at end of file diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/homepage/config/view.yml --- a/web/thdProject/apps/frontend/modules/homepage/config/view.yml Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/homepage/config/view.yml Wed Mar 31 10:16:16 2010 +0200 @@ -1,4 +1,8 @@ all: stylesheets: [ /css/flashplayer.css ] - javascripts: [ /js/flowplayer/flowplayer-3.1.0.min.js, /js/flowplayer/uc.flowplayer.config.js] \ No newline at end of file + javascripts: [ /js/flowplayer/flowplayer-3.1.0.min.js, /js/flowplayer/uc.flowplayer.config.js] + + components: + sideBar: [ homepage, sideBar ] + diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/homepage/templates/_lastTaggedList.php --- a/web/thdProject/apps/frontend/modules/homepage/templates/_lastTaggedList.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/homepage/templates/_lastTaggedList.php Wed Mar 31 10:16:16 2010 +0200 @@ -13,11 +13,11 @@ $video_file = $item->getVideos(); ?>
  • -
    ') no-repeat;" href=""> +
    De getDirectors(), 'name'); ?>
    - +
    • @@ -44,7 +44,7 @@
    - +
  • diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/homepage/templates/_mostTaggedList.php --- a/web/thdProject/apps/frontend/modules/homepage/templates/_mostTaggedList.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/homepage/templates/_mostTaggedList.php Wed Mar 31 10:16:16 2010 +0200 @@ -14,11 +14,11 @@ ?>
  • -
    ') no-repeat;" href="""> +
    De getDirectors(), 'name'); ?>
    - +
    • @@ -45,6 +45,7 @@
    +
  • diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/homepage/templates/_randomFilm.php --- a/web/thdProject/apps/frontend/modules/homepage/templates/_randomFilm.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/homepage/templates/_randomFilm.php Wed Mar 31 10:16:16 2010 +0200 @@ -21,10 +21,10 @@

    Regardez et annotez des extraits :

    - Anna M
    De Michel Spinosa + Anna M
    De Michel Spinosa
    - +
    @@ -61,4 +61,5 @@
    +
    diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/homepage/templates/_resultList.php --- a/web/thdProject/apps/frontend/modules/homepage/templates/_resultList.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/homepage/templates/_resultList.php Wed Mar 31 10:16:16 2010 +0200 @@ -16,7 +16,7 @@ $directors = json_decode($item->getDirectors(), true); ?>
  • -
    ') no-repeat;" href="""> +
    ') no-repeat;" href=""">
    De <
    diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/partials/actions/components.class.php --- a/web/thdProject/apps/frontend/modules/partials/actions/components.class.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/partials/actions/components.class.php Wed Mar 31 10:16:16 2010 +0200 @@ -2,7 +2,7 @@ user = $this->getUser(); if (!$this->user->isAuthenticated()) return sfView::NONE; diff -r 1b5c6294e805 -r cae5b5ff4058 web/thdProject/apps/frontend/modules/partials/templates/_navigation.php --- a/web/thdProject/apps/frontend/modules/partials/templates/_navigation.php Mon Mar 29 12:29:11 2010 +0200 +++ b/web/thdProject/apps/frontend/modules/partials/templates/_navigation.php Wed Mar 31 10:16:16 2010 +0200 @@ -2,7 +2,7 @@