Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 465 → Rev 466

/trunk/papyrus/applettes/menu/menu.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: menu.php,v 1.21 2005-09-22 14:02:49 ddelon Exp $
// CVS : $Id: menu.php,v 1.22 2005-09-27 08:42:49 ddelon Exp $
/**
* Applette : menu
*
38,7 → 38,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.21 $ $Date: 2005-09-22 14:02:49 $
*@version $Revision: 1.22 $ $Date: 2005-09-27 08:42:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
187,7 → 187,6
$pied = '';
// Récupération des infos sur sur l'entrée du menu à afficher
$menu_info = GEN_lireInfoMenu($objet_pear_db, $id_pere_menu_a_deployer, DB_FETCHMODE_ASSOC);
// Gestion des menus uniques
if ($menu_type == 'unique' && ($menu_info['gm_date_fin_validite'] == '0000-00-00 00:00:00' || strtotime($menu_info['gm_date_fin_validite']) > time() )) {
$retour .= afficherEntreeListeMenu( $objet_pear_db, $id_pere_menu_a_deployer, $i18n_url,
240,6 → 239,7
'ORDER BY GMR01.gmr_ordre ASC';
}
//$GLOBALS['_GEN_commun']['debogage_info'] .= $requete;
$resultat = $objet_pear_db->query($requete);
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
391,6 → 391,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.21 2005/09/22 14:02:49 ddelon
* nettoyage annuaire et php5
*
* Revision 1.20 2005/05/27 14:56:51 alex
* correction de bug d'affichage des menus communs
*
/trunk/papyrus/installation/papyrus_v0.23.sql
4,3 → 4,7
 
-- Eventuellement (pour afficher nom prenom sur annuaire interne)
UPDATE `gen_site_auth_bdd` SET `gsab_parametres` = 'chp_personne_prenom=ga_prenom chp_personne_nom=ga_nom' WHERE `gsab_id_auth_bdd` =1
 
-- Application projet
INSERT INTO `gen_application`
VALUES ( 16, 'Projets-forums', 'Application de gestion de projets et de listes de discussion associée.\r\n\r\nLes arguments :\r\nvue=liste/arbre', 'client/projet/projet.php', 0 )
/trunk/papyrus/applications/admin_menu/bibliotheque/adme_menu_commun.fonct.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: adme_menu_commun.fonct.php,v 1.18 2005-07-18 16:14:32 ddelon Exp $
// CVS : $Id: adme_menu_commun.fonct.php,v 1.19 2005-09-27 08:42:49 ddelon Exp $
/**
* Application de gestion des menus communs
*
38,7 → 38,7
*@author David Delon <david.delon@clapas.net>
*@author Laurent COUDOUNEAU <lc@gsite.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.18 $ $Date: 2005-07-18 16:14:32 $
*@version $Revision: 1.19 $ $Date: 2005-09-27 08:42:49 $
// +------------------------------------------------------------------------------------------------------+
*/
 
336,8 → 336,13
$resultat = $db->query($requete);
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
$nouveau_ordre_menu = $ligne->gmr_ordre + 1;
if ($resultat->numRows()>0) {
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
$nouveau_ordre_menu = $ligne->gmr_ordre + 1;
}
else {
$nouveau_ordre_menu=1;
}
$resultat->free();
$requete = 'INSERT INTO gen_menu_relation '.
364,8 → 369,14
$resultat = $db->query($requete);
(DB::isError($resultat)) ? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) : '';
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
$nouveau_ordre_commun = $ligne->gmr_ordre + 1;
if ($resultat->numRows()>0) {
$ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
$nouveau_ordre_commun = $ligne->gmr_ordre + 1;
}
else {
$nouveau_ordre_commun = 0;
}
$resultat->free();
$requete = 'INSERT INTO gen_menu_relation '.
1075,6 → 1086,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.18 2005/07/18 16:14:32 ddelon
* css admin + menu communs
*
* Revision 1.17 2005/07/08 22:01:25 ddelon
* Copyright
*
/trunk/sites/commun/generique/squelettes/defaut.html
1,16 → 1,22
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<!-- PAPYRUS_SITE_LANGUE -->" lang="<!-- PAPYRUS_SITE_LANGUE -->">
<head>
<!-- Papyrus Meta Http Equiv : -->
<!-- PAPYRUS_META_HTTP_EQUIV -->
<!-- Papyrus Titre Page : -->
<title>
<!-- PAPYRUS_TITRE_PAGE -->
</title>
<!-- Papyrus Meta Name : -->
<!-- PAPYRUS_META_NAME -->
<!-- Papyrus Meta Name DC : -->
<!-- PAPYRUS_META_NAME_DC -->
<link rel="shortcut icon" type="image/x-icon" href="sites/admin/generique/images/favicones/admin.ico" />
<link rel="icon" type="image/png" href="sites/admin/generique/images/favicones/admin.png" />
<link rel="stylesheet" type="text/css" media="screen" title="Defaut Papyrus" href="sites/commun/generique/styles/defaut.css" />
<!-- Papyrus Styles : -->
<!-- PAPYRUS_STYLES -->
<!-- Papyrus Scripts : -->
<!-- PAPYRUS_SCRIPTS -->
</head>
<body>
17,6 → 23,7
<div id="container">
<div id="zone_bandeau" >
<div id="selecteur_monde">
<!-- Papyrus Selecteur Site Xhtml : -->
<!-- PAPYRUS_SELECTEUR_SITES_XHTML -->
</div>
<div id="logo">
26,6 → 33,7
</div>
<div id="site_nom">
<h1>
<!-- Papyrus Site Nom : -->
<!-- PAPYRUS_SITE_NOM -->
</h1>
</div>
35,13 → 43,17
&nbsp;
</div>
<div id="zone_menu">
<!-- Menu Classsique Niveau 1 a 3 -->
<!-- PAPYRUS_MENU_CLASSIQUE_1_3 -->
<div id="menus_communs">
<!-- PAPYRUS_MENU_COMMUN -->
<!-- Papyrus Menu Commun Niveau 1 a 1-->
<!-- PAPYRUS_MENU_COMMUN_1_1 -->
</div>
<div id="identification">
<!-- Papyrus Identification -->
<!-- PAPYRUS_IDENTIFICATION -->
</div>
<!-- Papyrus Contenu Menu -->
<!-- PAPYRUS_CONTENU_MENU -->
</div>
<div id="zone_menu_bas">
49,19 → 61,23
</div>
</div>
<div id="onglets">
<!-- PAPYRUS_MENU_3_3 -->
<!-- Papyrus Contenu Navigation -->
<!-- PAPYRUS_CONTENU_NAVIGATION -->
&nbsp;
</div>
<div id="zone_contenu">
<p>Vous êtes ici : <!-- PAPYRUS_VOUS_ETES_ICI --></p>
<div id="zone_contenu_tete">
<!-- Papyrus Contenu Tete : -->
<!-- PAPYRUS_CONTENU_TETE -->
<!-- Papyrus Vous Etes Ici : -->
<p>Vous êtes ici : <!-- PAPYRUS_VOUS_ETES_ICI --></p>
</div>
<div id="zone_contenu_corps">
<!-- Papyrus Contenu Corps : -->
<!-- PAPYRUS_CONTENU_CORPS -->
</div>
<div id="zone_contenu_pied">
<!-- Papyrus Contenu Pied : -->
<!-- PAPYRUS_CONTENU_PIED -->
</div>
</div>
73,6 → 89,7
<br />
Site utilisant <a href="http://outils-reseaux.org/wiki_papyrus">Papyrus, le CMS coop&eacute;ratif</a>
</div>
<!-- Papyrus Debogage : -->
<!-- PAPYRUS_DEBOGAGE -->
</div>
</body>