[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/13: comment
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/13: comment |
Date: |
Sun, 07 Jun 2015 17:57:20 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 8da4cc78b2f10e8ec137ff5ce68c62b81a97ce65
Author: Dany De Bontridder <address@hidden>
Date: Fri Jun 5 12:04:58 2015 +0200
comment
---
include/ajax_admin.php | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/include/ajax_admin.php b/include/ajax_admin.php
index 97fac9e..36920ee 100644
--- a/include/ajax_admin.php
+++ b/include/ajax_admin.php
@@ -168,7 +168,7 @@ if (in_array($op, array('modele_drop', 'modele_modify',
'folder_modify', 'folder
$dossier=HtmlInput::default_value_get('p_dossier', 0);
$content=_('Erreur paramètre');
$status="NOK";
-
+ // check if we receive a valid parameter
if ($dossier==0||isNumber($dossier)==0)
{
//----------------------------------------------------------------
@@ -185,6 +185,7 @@ if (in_array($op, array('modele_drop', 'modele_modify',
'folder_modify', 'folder
echo $dom->saveXML();
exit();
}
+ // Modify the description or the name of folder
if ($op=='folder_modify')
{
$dos=new Dossier($dossier);
@@ -210,6 +211,7 @@ if (in_array($op, array('modele_drop', 'modele_modify',
'folder_modify', 'folder
}
else if ($op=='folder_drop')
{
+ // ask to confirm the removal a folder
$dos=new Dossier($dossier);
ob_start();
echo HtmlInput::title_box(_('Efface'), 'folder_admin_div');
@@ -234,6 +236,7 @@ if (in_array($op, array('modele_drop', 'modele_modify',
'folder_modify', 'folder
}
else if ($op=='modele_drop')
{
+ // ask to confirm the removal a folder
$cn=new Database();
$name=$cn->get_value('select mod_name from modeledef where mod_id=$1',
array($dossier));
ob_start();
@@ -258,6 +261,7 @@ if (in_array($op, array('modele_drop', 'modele_modify',
'folder_modify', 'folder
}
else if ($op=='modele_modify')
{
+ // Modify the description or the name of a template
$cn=new Database();
ob_start();
echo HtmlInput::title_box(_('Modification'), 'folder_admin_div');
- [Noalyss-commit] [noalyss] branch master updated (6abc662 -> 71a7a72), Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 01/13: Task #1126 - Réécriture de la partie administration Effacement des plugins et todo list, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 02/13: Task #1126 - Réécriture de la partie administration Cosmetic, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 03/13: Cosmetic, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 04/13: comment,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/13: Fix bug in todo list, add an empty table if nothing, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 07/13: Calendar : zoom and list mode, fix height, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 06/13: Calendar : zoom and list mode, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 08/13: Calendar : zoom and list mode, fix height, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 09/13: Calendar : highlight late action, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 11/13: Documentation, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 12/13: Esthétique, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 10/13: remove style for icon in menu, Dany De Bontridder, 2015/06/07
- [Noalyss-commit] [noalyss] 13/13: Task #1092 - Ageing report Balance agée : Possibilité d'entrer une date pour les opérations entrées après cette date, Dans les fiches, pour un seul client ou fournisseur Dans les catégories de fiches : pour une catégorie de clients ou de fournisseurs ou toutes les fiches Général pour toutes les fiches clients ou fournisseurs. export CSV, Dany De Bontridder, 2015/06/07