fmi...@adullact.net
unread,Nov 12, 2019, 4:30:44 AM11/12/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openmairie...@googlegroups.com
Author: fmichon
Date: 2019-11-12 10:30:43 +0100 (Tue, 12 Nov 2019)
New Revision: 4511
Modified:
openmairie_exemple/branches/4.10.0-develop/core/om_gen.class.php
Log:
* Suppression de la m?\195?\169thode inutile de la classe layout : display_table_start_class_default().
Modified: openmairie_exemple/branches/4.10.0-develop/core/om_gen.class.php
===================================================================
--- openmairie_exemple/branches/4.10.0-develop/core/om_gen.class.php 2019-11-07 09:04:37 UTC (rev 4510)
+++ openmairie_exemple/branches/4.10.0-develop/core/om_gen.class.php 2019-11-12 09:30:43 UTC (rev 4511)
@@ -4964,26 +4964,21 @@
"fieldset_class" => "startClosed",
"legend_content" => __("analyse du modele de donnees"),
));
-
- // Ouverture de la balise tableA VOIR POUR MOBILE
- $params = array(
+ $this->f->layout->display_table_start(array(
"idcolumntoggle" => "genanalyse",
"class" => "tab",
- );
- $this->f->layout->display_table_start($params);
+ ));
$array_entete = array("element","infos");
echo "<thead><tr class=\"ui-tabs-nav ui-accordion ui-state-default tab-title\">";
- $param = array(
- "key" => 0,
- "info" => $array_entete
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 0,
+ "info" => $array_entete,
+ ));
echo " Elements</th>";
- $param = array(
- "key" => 1,
- "info" => $array_entete
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 1,
+ "info" => $array_entete,
+ ));
echo " Infos</th>";
echo "</tr></thead>";
// tables de la base
@@ -5129,34 +5124,29 @@
"action" => OM_ROUTE_MODULE_GEN."&view=gen_generate&table=".$table,
"name" => "f1",
));
- // Ouverture de la balise table
- $params = array(
+ $this->f->layout->display_table_start(array(
"idcolumntoggle" => "generer",
"class" => "tab",
- );
- $this->f->layout->display_table_start($params);
+ ));
$array_entete_gen = array("selection","Nom Fichier","generer");
echo "<thead>\n";
echo "<tr class=\"ui-tabs-nav ui-accordion ui-state-default tab-title\">\n";
- $param = array(
- "key" => 0,
- "info" => $array_entete_gen
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 0,
+ "info" => $array_entete_gen,
+ ));
echo " ";
echo "</th>";
- $param = array(
- "key" => 1,
- "info" => $array_entete_gen
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 1,
+ "info" => $array_entete_gen,
+ ));
echo __("fichier");
echo "</th>";
- $param = array(
- "key" => 0,
- "info" => $array_entete_gen
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 0,
+ "info" => $array_entete_gen,
+ ));
echo __("informations");
echo "</th>\n";
echo "</tr>\n";
@@ -5313,34 +5303,29 @@
"action" => OM_ROUTE_MODULE_GEN."&view=gen_delete&table=".$table,
"name" => "f1",
));
- // Ouverture de la balise table
- $params = array(
+ $this->f->layout->display_table_start(array(
"idcolumntoggle" => "generer",
"class" => "tab",
- );
- $this->f->layout->display_table_start($params);
+ ));
$array_entete_gen = array("selection","Nom Fichier","generer");
echo "<thead>\n";
echo "<tr class=\"ui-tabs-nav ui-accordion ui-state-default tab-title\">\n";
- $param = array(
- "key" => 0,
- "info" => $array_entete_gen
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 0,
+ "info" => $array_entete_gen,
+ ));
echo " ";
echo "</th>";
- $param = array(
- "key" => 1,
- "info" => $array_entete_gen
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 1,
+ "info" => $array_entete_gen,
+ ));
echo __("fichier");
echo "</th>";
- $param = array(
- "key" => 0,
- "info" => $array_entete_gen
- );
- $this->f->layout->display_table_cellule_entete_colonnes($param);
+ $this->f->layout->display_table_cellule_entete_colonnes(array(
+ "key" => 0,
+ "info" => $array_entete_gen,
+ ));
echo __("informations");
echo "</th>\n";
echo "</tr>\n";