Doc: documentation doxygen

This commit is contained in:
Laurent Destailleur 2005-01-09 18:22:15 +00:00
parent bfc043efbc
commit 8efdb9ea64

View File

@ -1,7 +1,7 @@
<?php <?php
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -21,7 +21,7 @@
* $Source$ * $Source$
*/ */
/*! \file htdocs/admin/dict.php /** \file htdocs/admin/dict.php
\ingroup setup \ingroup setup
\brief Page d'administration des dictionnaires de données \brief Page d'administration des dictionnaires de données
\version $Revision$ \version $Revision$
@ -195,8 +195,8 @@ if ($_POST["actionadd"]) {
if ($_GET["action"] == 'delete') // delete if ($_GET["action"] == 'delete') // delete
{ {
if ($tabrowid[$_GET["id"]]) $rowidcol=$tabrowid[$_GET["id"]]; if ($tabrowid[$_GET["id"]]) { $rowidcol=$tabrowid[$_GET["id"]]; }
else $rowidcol="rowid"; else { $rowidcol="rowid"; }
$sql = "DELETE from ".$tabname[$_GET["id"]]." WHERE $rowidcol=".$_GET["rowid"]; $sql = "DELETE from ".$tabname[$_GET["id"]]." WHERE $rowidcol=".$_GET["rowid"];
@ -209,8 +209,8 @@ if ($_GET["action"] == 'delete') // delete
if ($_GET["action"] == $acts[0]) // activate if ($_GET["action"] == $acts[0]) // activate
{ {
if ($tabrowid[$_GET["id"]]) $rowidcol=$tabrowid[$_GET["id"]]; if ($tabrowid[$_GET["id"]]) { $rowidcol=$tabrowid[$_GET["id"]]; }
else $rowidcol="rowid"; else { $rowidcol="rowid"; }
if ($_GET["rowid"] >0) { if ($_GET["rowid"] >0) {
$sql = "UPDATE ".$tabname[$_GET["id"]]." SET active = 1 WHERE $rowidcol=".$_GET["rowid"]; $sql = "UPDATE ".$tabname[$_GET["id"]]." SET active = 1 WHERE $rowidcol=".$_GET["rowid"];
@ -228,8 +228,8 @@ if ($_GET["action"] == $acts[0]) // activate
if ($_GET["action"] == $acts[1]) // disable if ($_GET["action"] == $acts[1]) // disable
{ {
if ($tabrowid[$_GET["id"]]) $rowidcol=$tabrowid[$_GET["id"]]; if ($tabrowid[$_GET["id"]]) { $rowidcol=$tabrowid[$_GET["id"]]; }
else $rowidcol="rowid"; else { $rowidcol="rowid"; }
if ($_GET["rowid"] >0) { if ($_GET["rowid"] >0) {
$sql = "UPDATE ".$tabname[$_GET["id"]]." SET active = 0 WHERE $rowidcol=".$_GET["rowid"]; $sql = "UPDATE ".$tabname[$_GET["id"]]." SET active = 0 WHERE $rowidcol=".$_GET["rowid"];