Project

General

Profile

« Previous | Next » 

Revision 00335597

ID003355970fec0b59968572603b7cc7096a679149
Parent 2b7be83a
Child 3d3b31ae

Added by Jocelyn Delande about 9 years ago

simplification

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Changesets

addParams.php
8 8
   <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
9 9
   <link rel="stylesheet" media="screen" href="css/base.css" />
10 10
   <title>Positionnerment dun panoramique</title>
11

  
11 12
<?php
12 13
   // tableau de vérification de conformité
13 14
 $params = array('title' => array('name' => 'titre',
......
48 49
  }
49 50
}
50 51

  
51
if (isset($values['panorama'])) {
52
  $back_url = sprintf('panorama.php?panorama=%s', $values['panorama']);
53
  if (isset($values['dir'])) $back_url .= '&amp;dir='. $values['dir'];
54
} else {
55
  $back_url = '.';
56
}
57 52

  
58 53
if (count($wrong) == 0) {
59 54
	$pano = site_point::get($values['panorama']);
......
79 74

  
80 75
	echo "</dl>\n";
81 76
	echo '<p class="succes">Paramétrage terminé.</p>'."\n";
77
  printf('<a href="%s">Retour au panorama</a></p>'."\n", $panorama->get_url());
78

  
79

  
82 80
 } else {
83 81
	echo '<p class="error">Les valeurs suivantes sont incorrectes.</p>'."\n";
84 82
	echo "<dl>\n";
......
87 85
	}
88 86
	echo "</dl>\n";
89 87
}
90
printf('<a href="%s">Retour au panorama</a></p>'."\n", $back_url);
91

  
92 88
?>
93 89
</html>