Projet

Général

Profil

Révision f9a46a42 data/www/index.php

Voir les différences:

data/www/index.php
290 290
	 $title = "Photo ${x[1]}";
291 291

  
292 292
       //print "<p>On est ici : $galerievideo</p>";
293

  
294
       if($galerievideo) {
293
       //print "<p>On teste $gallery_dir/$galerie/webm/img-${x[1]}.webm</p>";
294
       if (file_exists("$gallery_dir/$galerie/webm/img-${x[1]}.webm")) {
295 295
	 print "   <a href=\"$ThisScript?galerie=$galerie&amp;video=${x[1]}\"";
296 296
       }
297 297
       else {
......
300 300
       print " title=\"$title, $NumOfComments\"";
301 301
       if ($class) print " class=\"$class\"";
302 302
       print ">";
303
       if (file_exists("$gallery_dir/$galerie/webm/img-${x[1]}.webm")) {
304
       print "<img src=\"applications-multimedia.png\" width=\"32\" height=\"32\" style=\"width: 32px; height:32px; position: fixed;\">";
305
       }
303 306
       print "<img ";
304 307
       if (isset($thumbsize)) {
305 308
	 print "width=\"120\" height=\"80\" ";
......
402 405

  
403 406
  if ($show_thumbs) {
404 407
    print "\n<!--mini thumbnail roll-->\n<div id=\"thumbs\" class=\"navigation\" style=\"visibility: hidden\"><ul class=\"thumbs noscript\" style=\"display:none\">";
405
    if($galerievideo) {
408
    if (file_exists("$gallery_dir/$galerie/webm/img-$snimek.webm")) {
406 409
      print "<a id=\"minus\" href=\"$ThisScript?galerie=$galerie&amp;video=$snimek";
407 410
    }
408 411
    else {

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux