Projet

Général

Profil

Révision 8611fdf2

Ajouté par Jocelyn Dealande il y a plus de 9 ans

Even unconfigured panoramas can be displayed

Voir les différences:

index.php
38 38
      $cmt = sprintf('<samp>%s</samp>', $pos_file);
39 39
      $title = '';
40 40
    }
41
    printf ('<li%s>%s : <a href="%s">photo panoramique</a> / <a href="%s">carte</a></li>'."\n", $title, $cmt, $pt->get_url(), $pt->get_map_url());
41
    printf ('<li%s>%s : <a href="%s">photo panoramique</a>', $title, $cmt, $pt->get_url());
42
    if (isset($params['titre'])) {
43
       printf('/ <a href="%s">carte</a></li>'."\n", $pt->get_map_url());
44
    }
42 45
  }
43 46
  echo "</ul>\n";
44 47
  } catch (Exception $e) {

Formats disponibles : Unified diff