Subversion Repositories Applications.papyrus

Rev

Rev 1695 | Rev 1846 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1695 Rev 1725
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: pap_menu.fonct.php,v 1.32 2007-11-19 09:54:49 ddelon Exp $
22
// CVS : $Id: pap_menu.fonct.php,v 1.33 2007-11-22 17:24:09 jp_milcent Exp $
23
/**
23
/**
24
* Bibliothèque de fonction sur le rendu.
24
* Bibliothèque de fonction sur le rendu.
25
*
25
*
26
* Cette bibliothèque contient des fonctions utilisé par le rendu des pages de Papyrus.
26
* Cette bibliothèque contient des fonctions utilisé par le rendu des pages de Papyrus.
27
*
27
*
Line 30... Line 30...
30
//Auteur original :
30
//Auteur original :
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
31
*@author        Jean-Pascal MILCENT <jpm@tela-botanica.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@author        Alexandre GRANIER <alexadandre@tela-botanica.org>
33
*@author        Alexandre GRANIER <alexadandre@tela-botanica.org>
34
*@copyright     Tela-Botanica 2000-2004
34
*@copyright     Tela-Botanica 2000-2004
35
*@version       $Revision: 1.32 $ $Date: 2007-11-19 09:54:49 $
35
*@version       $Revision: 1.33 $ $Date: 2007-11-22 17:24:09 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
*/
37
*/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
Line 638... Line 638...
638
            $requete .= 'gm_categorie LIKE "%'.$tab_categories[$i].'%" ';
638
            $requete .= 'gm_categorie LIKE "%'.$tab_categories[$i].'%" ';
639
        } else {
639
        } else {
640
            $requete .= 'OR gm_categorie LIKE "%'.$tab_categories[$i].'%" ';
640
            $requete .= 'OR gm_categorie LIKE "%'.$tab_categories[$i].'%" ';
641
        }
641
        }
642
    }
642
    }
-
 
643
    $requete .= 'ORDER BY gm_date_creation DESC';
643
    $aso_info =& $db->getAssoc($requete, false, array(), $mode, $groupe);
644
    $aso_info =& $db->getAssoc($requete, false, array(), $mode, $groupe);
644
    (PEAR::isError($aso_info)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $aso_info->getMessage(), $requete)) : '';
645
    (PEAR::isError($aso_info)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $aso_info->getMessage(), $requete)) : '';
Line 645... Line 646...
645
 
646
 
646
    return $aso_info;
647
    return $aso_info;
Line 997... Line 998...
997
 
998
 
998
 
999
 
-
 
1000
 
-
 
1001
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
1002
* $Log: not supported by cvs2svn $
999
 
1003
* Revision 1.32  2007-11-19 09:54:49  ddelon
1000
/* +--Fin du code ---------------------------------------------------------------------------------------+
1004
* Gestion des menus reservés à une langue
1001
* $Log: not supported by cvs2svn $
1005
*
1002
* Revision 1.31  2007-06-26 15:39:46  jp_milcent
1006
* Revision 1.31  2007-06-26 15:39:46  jp_milcent
1003
* Ajout de fonctions utiles pour la gestion du contenu des menus.
1007
* Ajout de fonctions utiles pour la gestion du contenu des menus.