Project

General

Profile

Revision 8611fdf2

Added by Jocelyn Dealande over 9 years ago

Even unconfigured panoramas can be displayed

View differences:

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) {

Also available in: Unified diff