[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 49/219: improve esthetic
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 49/219: improve esthetic |
Date: |
Mon, 18 Dec 2017 13:22:36 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit fbd1ed1d9815760292ba198410557dd38896b7e0
Author: Dany De Bontridder <address@hidden>
Date: Wed Sep 13 19:56:47 2017 +0200
improve esthetic
---
include/anc_pa.inc.php | 10 +++++-----
include/lib/manage_table_sql.class.php | 2 +-
scenario/scenario-1415995449.php | 20 --------------------
3 files changed, 6 insertions(+), 26 deletions(-)
diff --git a/include/anc_pa.inc.php b/include/anc_pa.inc.php
index 3cc09cd..dda0426 100644
--- a/include/anc_pa.inc.php
+++ b/include/anc_pa.inc.php
@@ -92,19 +92,20 @@ if ($sa=="pa_write")
// Update the PA
if ($sa=="pa_update")
{
- $new=new Anc_Plan($cn, $_GET['pa_id']);
+ $pa_id=$http->get("pa_id","numeric");
+
+ $new=new Anc_Plan($cn, $pa_id);
$new->name=$_POST['pa_name'];
$new->description=$_POST['pa_description'];
$new->update();
- $ret='<div class="content">';
- $ret.='<h2 class="info">'._('Mis à jour').'</h2>';
- $ret.="</div>";
$sa="anc_menu";
}
/* delete pa */
if ($sa=="pa_delete")
{
+ $pa_id=$http->get("pa_id","numeric");
+
$delete=new Anc_Plan($cn, $pa_id);
$delete->delete();
$sa="anc_menu";
@@ -122,7 +123,6 @@ if ($sa=="pa_detail")
$new->get();
$ret.= '<div class="content">';
- $ret.= '<h2 class="info">'._("Mise à jour").'</h2>';
$ret.= '<form method="post">';
$ret.=dossier::hidden();
diff --git a/include/lib/manage_table_sql.class.php
b/include/lib/manage_table_sql.class.php
index 087828e..8c63542 100644
--- a/include/lib/manage_table_sql.class.php
+++ b/include/lib/manage_table_sql.class.php
@@ -585,7 +585,7 @@ function check()
$virg=",";
}
}
- echo HtmlInput::filter_table("tb".$this->object_name, $result, 1);
+ echo _('Cherche')." ".HtmlInput::filter_table("tb".$this->object_name,
$result, 1);
printf('<table class="result" id="tb%s">', $this->object_name);
for ($i=0; $i<$nb; $i++)
{
diff --git a/scenario/scenario-1415995449.php b/scenario/scenario-1415995449.php
deleted file mode 100644
index 98fdd20..0000000
--- a/scenario/scenario-1415995449.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-//@description:CFGPCMN
-$_GET=array (
- 'ac' => 'PARAM/CFGPCMN',
- 'p_start' => '4',
- 'gDossier' => '42',
-);
-$_POST=array (
- 'p_valu' => '4519',
- 'p_libu' => 'Compte TVA',
- 'p_parentu' => '451',
- 'p_typeu' => 'PAS',
- 'p_oldu' => '4519',
- 'gDossier' => '42',
- 'update' => 'Sauve',
-);
-$_POST['gDossier']=$gDossierLogInput;
-$_GET['gDossier']=$gDossierLogInput;
- $_REQUEST=array_merge($_GET,$_POST);
-include 'param_pcmn.inc.php';
- [Noalyss-commit] [noalyss] 145/219: ANC : Bouton "recherche" sont des loupes, ajout title, (continued)
- [Noalyss-commit] [noalyss] 145/219: ANC : Bouton "recherche" sont des loupes, ajout title, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 168/219: Task #1476 : prevent the use of some accounting Code cleaning , remove obsolete files, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 161/219: Noalyss_SQL :: count add a space, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 107/219: task #0001272: Rendre possible l'appel de la calculatrice depuis le fin fond d'une page., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 164/219: Code cleaning : remove obsolete, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 83/219: NUM_FIELD = 40, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 129/219: Anc ODS : esthetic search analytic accounting, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 188/219: Plan Comptable : max longueur du poste = 40, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 69/219: HttpInput : do not use in_array but array_key_exists,, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 217/219: Acc_Account : add function , improve function verify, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 49/219: improve esthetic,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 136/219: Infobulle : avoid that the info balloon exceed limit of the display, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 24/219: Code improve : Replace HtmlInput::generate_id obsolete , fix bug in the filter for detail history, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 171/219: remove useless, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 61/219: Inplace_Edit : improve button + test, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 124/219: indentation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 21/219: Improve debugging and improve manage_table_sql element will be added at the right place Manage_Table_SQL can work also with a SQL query or a view Icon place can be modified, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 34/219: rename scenario files, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 31/219: Task #0001443: opérations rapprochées : bug quand on utilise des tva avec autoliquidation Documentation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 63/219: Analytic : change the name and description in Ajax, improve esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 116/219: Task #0001297: Perfectionnement menu COMPTA/ADV/OPEN, Dany De Bontridder, 2017/12/18