Skip to content
Extraits de code Groupes Projets
Valider d255a52a rédigé par cerdic's avatar cerdic
Parcourir les fichiers

configurer_preferences et configurer_langage en squelettes

parent fd597d1d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -136,9 +136,7 @@ ecrire/exec/charger_plugin_descr.php -text
ecrire/exec/config_contenu.php -text
ecrire/exec/config_fonctions.php -text
ecrire/exec/config_lang.php -text
ecrire/exec/config_langage.php -text
ecrire/exec/config_multilang.php -text
ecrire/exec/config_preferences.php -text
ecrire/exec/configuration.php -text
ecrire/exec/configurer.php -text
ecrire/exec/configurer_moderniseur_html.php -text
......@@ -437,8 +435,6 @@ prive/aide_menu.html -text
prive/box.css -text
prive/box_skins.css.html -text
prive/cfg.html -text
prive/configurer/langage.html -text
prive/configurer/preferences.html -text
prive/contenu/article.html -text
prive/contenu/breve.html -text
prive/contenu/item_rss_plugin.html -text
......@@ -782,11 +778,15 @@ prive/spip_pass.html -text
prive/spip_style.css -text
prive/squelettes/body.html -text
prive/squelettes/contenu/page-configurer_identite.html -text
prive/squelettes/contenu/page-configurer_langage.html -text
prive/squelettes/contenu/page-configurer_preferences.html -text
prive/squelettes/contenu/page-typo.html -text
prive/squelettes/extra/dist.html -text
prive/squelettes/head/dist.html -text
prive/squelettes/hierarchie/dist.html -text
prive/squelettes/hierarchie/page-configurer_identite.html -text
prive/squelettes/hierarchie/page-configurer_langage.html -text
prive/squelettes/hierarchie/page-configurer_preferences.html -text
prive/squelettes/hierarchie/page-typo.html -text
prive/squelettes/inclure/barre-nav.html -text
prive/squelettes/inclure/head.html -text
......
<?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2010 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
\***************************************************************************/
if (!defined("_ECRIRE_INC_VERSION")) return;
function exec_config_langage(){
$commencer_page = charger_fonction('commencer_page','inc');
echo $commencer_page(_T('titre_config_langage'));
echo barre_onglets('infos_perso', 'config_langage');
echo debut_gauche("configurer_langage",true);
echo debut_droite("configurer_langage",true);
echo recuperer_fond('prive/configurer/langage',$_GET);
echo fin_gauche(),fin_page();
}
?>
\ No newline at end of file
<?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2010 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
\***************************************************************************/
if (!defined("_ECRIRE_INC_VERSION")) return;
function exec_config_preferences(){
$commencer_page = charger_fonction('commencer_page','inc');
echo $commencer_page(_T('titre_configurer_preferences'));
echo barre_onglets('infos_perso', 'config_preferences');
echo debut_gauche("configurer_preferences",true);
echo debut_droite("configurer_preferences",true);
echo recuperer_fond('prive/configurer/preferences',$_GET);
echo fin_gauche(),fin_page();
}
?>
\ No newline at end of file
......@@ -224,7 +224,7 @@ function bando_identite(){
$moi = typo($GLOBALS['visiteur_session']['nom']);
$img_langue = find_in_theme('images/langues.png');
$url_aide = generer_url_ecrire('aide_index',"var_lang=".$GLOBALS['spip_lang']);
$url_lang = generer_url_ecrire('config_langage');
$url_lang = generer_url_ecrire('configurer_langage');
$res .= "<p class='session'>"
. "<a title='"._T('icone_informations_personnelles')."' href='".
......
......@@ -195,11 +195,11 @@
<icone>images/infos_perso-24.png</icone>
<titre>icone_mes_infos</titre>
</onglet>
<onglet id='config_langage' parent="infos_perso">
<onglet id='configurer_langage' parent="infos_perso">
<icone>images/ma_langue-24.png</icone>
<titre>icone_ma_langue</titre>
</onglet>
<onglet id='config_preferences' parent="infos_perso">
<onglet id='configurer_preferences' parent="infos_perso">
<icone>images/mes_preferences-24.png</icone>
<titre>icone_mes_preferences</titre>
</onglet>
......
[(#VAL{infos_perso}|barre_onglets{configurer_langage})]
\ No newline at end of file
[(#VAL{infos_perso}|barre_onglets{configurer_preferences})]
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter