Projet

Général

Profil

Révision eee84392 data/www/inc/funkce.inc.php

Voir les différences:

data/www/inc/funkce.inc.php
47 47

  
48 48
function readInfo ($infofile, $file) {
49 49
  global $galerieyear, $galeriemonth, $galerieday, $galeriedesc, $galerieauthor,
50
    $galeriename, $galerielogin, $galeriepw, $gallery_dir;
50
    $galeriename, $galerielogin, $galeriepw, $gallery_dir, $galerievideo;
51 51
	
52 52
  if (file_exists($infofile)) {
53 53
    //read from info.txt
54 54
    $info_array = infoParse($infofile);
55

  
56
    //video ?
57
    if($info_array["video"] == "true") {
58
      $galerievideo = true;
59
    }
60
    else {
61
      $galerievideo = false;
62
    }
63

  
55 64
    if ($info_array["date"]) {
56 65
      // try to be a little smarter about format
57 66
      if (ereg("([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{4})",

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux