Subversion Repositories Applications.papyrus

Compare Revisions

Regard whitespace Rev 1015 → Rev 1016

/trunk/papyrus/applications/admin_application/langues/adap_langue_fr.inc.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: adap_langue_fr.inc.php,v 1.2 2005-03-09 10:40:37 alex Exp $
// CVS : $Id: adap_langue_fr.inc.php,v 1.3 2006-10-06 10:40:51 florian Exp $
/**
* Gestion des langues de l'application ADME
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.2 $
*@version $Revision: 1.3 $
// +------------------------------------------------------------------------------------------------------+
*/
 
41,25 → 41,27
// +------------------------------------------------------------------------------------------------------+
// | LISTE des CONSTANTES |
// +------------------------------------------------------------------------------------------------------+
define ("ADAP_NOM_APPL", "Nom de l'application") ;
define ("ADAP_MODIFIER", "Modifier") ;
define ("ADAP_SUPPRIMER", "Supprimer") ;
define ("ADAP_AJOUTER", "Ajouter une application") ;
define ('ADAP_NOM_APPL', 'Nom de l\'application') ;
define ('ADAP_MODIFIER', 'Modifier') ;
define ('ADAP_SUPPRIMER', 'Supprimer') ;
define ('ADAP_AJOUTER', 'Ajouter une application') ;
define ('ADAP_NOM_APPL_ALERTE', 'Vous devez spécifier un nom') ;
define ('ADAP_CHAMPS_REQUIS', 'Indique les champs requis') ;
define ('ADAP_DESCRIPTION', 'Abréviation') ;
define ('ADAP_IDENTIFIEZ_VOUS','Veuillez vous identifier pour accèder à ce menu.');
define ('ADAP_CHEMIN', 'Chemin vers l\'application') ;
define ('ADAP_CHEMIN_REQUIS', 'Le chemin vers l\'application est requis') ;
define ('ADAP_APPLETTE', 'L\'application est elle une applette') ;
define ('ADAP_ANNULER', 'Annuler') ;
define ('ADAP_VALIDER', 'Valider') ;
 
define ("ADAP_NOM_APPL_ALERTE", "Vous devez spécifier un nom") ;
define ("ADAP_CHAMPS_REQUIS", "Indique les champs requis") ;
define ("ADAP_DESCRIPTION", "Abréviation") ;
 
define ("ADAP_CHEMIN", "Chemin vers l'application") ;
define ("ADAP_CHEMIN_REQUIS", "Le chemin vers l'application est requis") ;
define ("ADAP_APPLETTE", "L'application est elle une applette") ;
define ("ADAP_ANNULER", "Annuler") ;
define ("ADAP_VALIDER", "Valider") ;
 
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2005/03/09 10:40:37 alex
* version initiale
*
* Revision 1.1 2004/12/13 18:07:38 alex
* version initiale
*
/trunk/papyrus/applications/admin_application/admin_application.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: admin_application.php,v 1.5 2006-09-07 13:28:39 jp_milcent Exp $
// CVS : $Id: admin_application.php,v 1.6 2006-10-06 10:40:51 florian Exp $
/**
* Application gérant les applications de Papyrus
*
31,7 → 31,7
//Auteur original :
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.5 $
*@version $Revision: 1.6 $
// +------------------------------------------------------------------------------------------------------+
*/
 
93,11 → 93,25
$url = $GLOBALS['_GEN_commun']['url'] ;
$auth = &$GLOBALS['_GEN_commun']['pear_auth'] ;
isset ($GLOBALS['action']) ? '' : $GLOBALS['action'] = '' ; // On déclare action si elle n'existe pas
$res='';
if (!$auth->getAuth()) {
return 'Identifiez-vous' ;
}
$res .= '<p class="zone_alert">'.ADAP_IDENTIFIEZ_VOUS.'</p>'."\n" ;
$res .= '<form id="form_connexion" style="clear:both;" class="form_identification" action="' ;
$res .= $url->getURL();
$res .= '" method="post">
<fieldset>
<legend>Identifiez vous</legend>
<label for="username">Courriel : </label>
<input type="text" id="username" name="username" maxlength="80" tabindex="1" value="courriel" />
<label for="password">Mot de passe : </label>
<input type="password" id="password" name="password" maxlength="80" tabindex="2" value="mot de passe" />
<input type="submit" id="connexion" name="connexion" tabindex="3" value="ok" />
</fieldset>
</form>';
return $res ;
} else {
// Le lien pour une nouvelle entrée
$res = '<a href="'.$url->getURL().'&amp;action=nouveau">'.ADAP_AJOUTER.'</a>'."\n<br />" ;
$res .= '<a href="'.$url->getURL().'&amp;action=nouveau">'.ADAP_AJOUTER.'</a>'."\n<br />" ;
// traitement de la suppression
if (isset ($GLOBALS['action']) && $GLOBALS['action'] == 'supprimer') adap_supprimer_application($GLOBALS['id_appl'], $db) ;
151,6 → 165,7
$liste->construireListe($tableau_appl) ;
$res .= $liste->toHTML();
return $res ;
}
}// Fin de la fonction afficherContenuCorps()
 
// +------------------------------------------------------------------------------------------------------+
162,6 → 177,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.5 2006/09/07 13:28:39 jp_milcent
* Mise en majuscule des termes SQL et trie des application par ordre alphabétique.
*
* Revision 1.4 2005/03/09 10:46:17 jpm
* Changement d'un nom de fichier.
*