Project

General

Profile

« Previous | Next » 

Revision 8611fdf2

ID8611fdf298707120aee43024805d2973fab0efd6
Parent 651f2478
Child 36daa381

Added by Jocelyn Dealande about 8 years ago

Even unconfigured panoramas can be displayed

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Changesets

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