/[openfoncier]/trunk/sql/pgsql/consultation.inc.php
ViewVC logotype

Diff of /trunk/sql/pgsql/consultation.inc.php

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

revision 20 by fraynaud, Mon Jul 18 15:27:17 2011 UTC revision 242 by fraynaud, Wed Nov 23 19:39:04 2011 UTC
# Line 2  Line 2 
2  //$Id$  //$Id$
3  //gen openMairie le 10/02/2011 20:32  //gen openMairie le 10/02/2011 20:32
4  include('../gen/sql/pgsql/consultation.inc.php');  include('../gen/sql/pgsql/consultation.inc.php');
5  $table="consultation inner join service on consultation.service=service.service";  $table=DB_PREFIXE."consultation inner join ".DB_PREFIXE."service on consultation.service=service.service";
6  $champAffiche=array("consultation",  $champAffiche=array("consultation",
7                      "consultation.service",                      "consultation.service",
8                      "libelle",                      "libelle",
# Line 18  else Line 18  else
18  // =============================================================================  // =============================================================================
19  // href particulier pour edition d etat  // href particulier pour edition d etat
20  // =============================================================================  // =============================================================================
21  //if(isset($objsf) and isset($idx)){  
22          $href[3]['lien'] = "../pdf/pdfetat.php?idx=";  $href[3]['lien'] = "../pdf/pdfetat.php?idx=";
23          $href[3]['id']= "&obj=consultation";  $href[3]['id']= "&obj=consultation";
24          $href[3]['lib']= "<img src='../img/ico_pdf.png' border=0>";  $href[3]['lib']= "<span class=\"om-icon om-icon-16 om-icon-fix pdf-16\" title=\"".
25  //}else                      _("Edition")."\">"._("Edition")."</span>";
26  //    $href=array();  
27    // probleme lies a la gestion par nature
28    
29    if ($retourformulaire== 'service'){
30        $href[0] = array("lien" => "#", "id" => "", "lib" => "", );
31        $href[1] = array("lien" => "", "id" => "", "lib" => "", );
32        $href[2] = array("lien" => "#", "id" => "", "lib" => "", );
33        $selection=" where consultation.service ='".$idx."'";
34    }
35    
36  ?>  ?>

Legend:
Removed from v.20  
changed lines
  Added in v.242

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26