/[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 526 by nhaye, Tue Oct 16 16:50:50 2012 UTC revision 527 by vpihour, Fri Oct 19 16:14:11 2012 UTC
# Line 3  Line 3 
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    
6            if(isset($idx) ) {
7  if(isset($idx)) {      $premier = intval($premier);
8      $selection=" WHERE consultation.dossier ='".$idx."'";      $selection=" WHERE consultation.dossier ='".$idx."'";
9        $lien = "../app/consultation_multiple.php?obj=$obj&idx=$idx";
10        $id="";
11        //$lien = "../scr/sousform.php?obj=$obj&action=0&tri=&objsf=$obj";
12        //$id = "&premiersf=$premiersf&retourformulaire=$retourformulaire&idxformulaire=$idx&trisf=&retour=tab";
13        $right = array('list' => array($obj, $obj.'_ajouter'),'operator' => 'OR');
14  }  }
15    
16  if ($retourformulaire== 'service'){  if ($retourformulaire== 'service'){
# Line 17  if ($retourformulaire== 'service'){ Line 22  if ($retourformulaire== 'service'){
22  }  }
23    
24  /**  /**
25     * Création d'une nouvelle action du formulaire de consultation, l'ajout de plusieurs consultations en une seule fois
26     */
27    $tab_actions['corner']['ajouter_multiple'] = array (
28        'lien' => $lien,
29        'id' => $id,
30        'lib' => '<span class="om-icon om-icon-16 om-icon-fix mut-add-16" title="'._('Ajouter plusieurs').'">'._('Ajouter plusieurs').'</span>',
31        'right' => $right,
32    );
33    
34    /**
35   * Options   * Options
36   */   */
37    

Legend:
Removed from v.526  
changed lines
  Added in v.527

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26