/[openfoncier]/trunk/gen/obj/destination.class.php
ViewVC logotype

Diff of /trunk/gen/obj/destination.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by fraynaud, Thu Feb 10 20:46:18 2011 UTC revision 116 by fraynaud, Fri Sep 2 08:43:32 2011 UTC
# Line 1  Line 1 
1  <?php  <?php
2  //$Id$  //$Id$
3  //gen openMairie le 10/02/2011 20:32  //gen openMairie le 13/02/2011 22:23
4  require_once (PATH_OPENMAIRIE."formulairedyn.class.php");  require_once (PATH_OPENMAIRIE."formulairedyn.class.php");
5  require_once (PATH_OPENMAIRIE."dbformdyn.class.php");  require_once (PATH_OPENMAIRIE."dbformdyn.class.php");
6    
# Line 24  class destination_gen extends dbForm { Line 24  class destination_gen extends dbForm {
24          // verifier le 2eme champ si $verifier = 1 dans gen/dyn/form.inc          // verifier le 2eme champ si $verifier = 1 dans gen/dyn/form.inc
25                  $this->correct=True;                  $this->correct=True;
26                  $f="&nbsp!&nbsp;&nbsp;&nbsp;&nbsp;";                  $f="&nbsp!&nbsp;&nbsp;&nbsp;&nbsp;";
27                  $imgv="<img src='../img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";                  $imgv="<img src='../app/img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";
28                  if ($this->valF['libelle']==""){                  if ($this->valF['libelle']==""){
29                          $this->msg= $this->msg.$imgv._('libelle')."&nbsp;"._('obligatoire').$f;                          $this->msg= $this->msg.$imgv._('libelle')."&nbsp;"._('obligatoire').$f;
30                          $this->correct=False;                          $this->correct=False;
# Line 88  class destination_gen extends dbForm { Line 88  class destination_gen extends dbForm {
88          function cleSecondaire($id,&$db,$val,$debug) {          function cleSecondaire($id,&$db,$val,$debug) {
89                  $this->correct=True;                  $this->correct=True;
90                  $f="&nbsp!&nbsp;&nbsp;&nbsp;&nbsp;";                  $f="&nbsp!&nbsp;&nbsp;&nbsp;&nbsp;";
91                  $imgv="<img src='../img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";                  $imgv="<img src='../app/img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";
92                  // cle secondaire destination_shon                  // cle secondaire destination_shon
93                  $sql = "select * from public.destination_shon where destination ='".$id."'";                  $sql = "select * from public.destination_shon where destination ='".$id."'";
94                  $res = $db->query($sql);                  $res = $db->query($sql);

Legend:
Removed from v.3  
changed lines
  Added in v.116

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26