X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fprofile.php;h=f8bf90c0c2a78e1664f184e97fed2ef32a870d1f;hb=91ebb7ff6485f03fcccfdf2142e997e44ee399b2;hp=b503016f2ea65fb6b7288ff386c2a4a4be069279;hpb=a33955e4d6c4e9eada507ddd29cfb45e42775804;p=platal.git diff --git a/modules/profile.php b/modules/profile.php index b503016..f8bf90c 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -221,7 +221,7 @@ class ProfileModule extends PLModule } $title = $user['prenom'] . ' ' . ( empty($user['nom_usage']) ? $user['nom'] : $user['nom_usage'] ); - $page->assign('xorg_title', $title); + $page->assign('pl_title', $title); // photo @@ -328,7 +328,7 @@ class ProfileModule extends PLModule . " la procédure de récupération de mot de passe si un jour tu le perdais"); } - $page->assign('xorg_title', 'Polytechnique.org - Mon Profil'); + $page->assign('pl_title', 'Polytechnique.org - Mon Profil'); } function handler_applis_js(&$page) @@ -560,7 +560,7 @@ class ProfileModule extends PLModule { require_once 'wiki.inc.php'; wiki_require_page('Docs.Emploi'); - $page->assign('xorg_title', 'Polytechnique.org - Conseil Pro'); + $page->assign('pl_title', 'Polytechnique.org - Conseil Pro'); //recuperation des noms de secteurs $res = XDB::iterRow("SELECT id, label FROM emploi_secteur"); @@ -682,7 +682,7 @@ class ProfileModule extends PLModule function handler_xnet(&$page) { $page->changeTpl('profile/groupesx.tpl'); - $page->assign('xorg_title', 'Polytechnique.org - Promo, Groupes X, Binets'); + $page->assign('pl_title', 'Polytechnique.org - Promo, Groupes X, Binets'); $req = XDB::query(' SELECT m.asso_id, a.nom, diminutif, a.logo IS NOT NULL AS has_logo, @@ -712,7 +712,7 @@ class ProfileModule extends PLModule function handler_admin_trombino(&$page, $uid = null, $action = null) { $page->changeTpl('profile/admin_trombino.tpl'); - $page->assign('xorg_title','Polytechnique.org - Administration - Trombino'); + $page->assign('pl_title','Polytechnique.org - Administration - Trombino'); $page->assign('uid', $uid); $q = XDB::query( @@ -748,7 +748,7 @@ class ProfileModule extends PLModule $page->assign('forlife', $forlife); } function handler_admin_binets(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title','Polytechnique.org - Administration - Binets'); + $page->assign('pl_title','Polytechnique.org - Administration - Binets'); $page->assign('title', 'Gestion des binets'); $table_editor = new PLTableEditor('admin/binets', 'binets_def', 'id'); $table_editor->add_join_table('binets_ins','binet_id',true); @@ -756,7 +756,7 @@ class ProfileModule extends PLModule $table_editor->apply($page, $action, $id); } function handler_admin_formations(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title','Polytechnique.org - Administration - Formations'); + $page->assign('pl_title','Polytechnique.org - Administration - Formations'); $page->assign('title', 'Gestion des formations'); $table_editor = new PLTableEditor('admin/formations','applis_def','id'); $table_editor->add_join_table('applis_ins','aid',true); @@ -765,21 +765,21 @@ class ProfileModule extends PLModule $table_editor->apply($page, $action, $id); } function handler_admin_sections(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title','Polytechnique.org - Administration - Sections'); + $page->assign('pl_title','Polytechnique.org - Administration - Sections'); $page->assign('title', 'Gestion des sections'); $table_editor = new PLTableEditor('admin/sections','sections','id'); $table_editor->describe('text','intitulé',true); $table_editor->apply($page, $action, $id); } function handler_admin_ss_secteurs(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title', 'Polytechnique.org - Administration - Sous-secteurs'); + $page->assign('pl_title', 'Polytechnique.org - Administration - Sous-secteurs'); $page->assign('title', 'Gestion des sous-secteurs'); $table_editor = new PLTableEditor('admin/ss_secteurs', 'emploi_ss_secteur', 'id', true); $table_editor->describe('label', 'intitulé', true); $table_editor->apply($page, $action, $id); } function handler_admin_fonctions(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title', 'Polytechnique.org - Administration - Fonctions'); + $page->assign('pl_title', 'Polytechnique.org - Administration - Fonctions'); $page->assign('title', 'Gestion des fonctions'); $table_editor = new PLTableEditor('admin/fonctions', 'fonctions_def', 'id', true); $table_editor->describe('fonction_fr', 'intitulé', true); @@ -788,14 +788,14 @@ class ProfileModule extends PLModule $table_editor->apply($page, $action, $id); } function handler_admin_secteurs(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title', 'Polytechnique.org - Administration - Secteurs'); + $page->assign('pl_title', 'Polytechnique.org - Administration - Secteurs'); $page->assign('title', 'Gestion des secteurs'); $table_editor = new PLTableEditor('admin/secteurs', 'emploi_secteur', 'id', true); $table_editor->describe('label', 'intitulé', true); $table_editor->apply($page, $action, $id); } function handler_admin_medals(&$page, $action = 'list', $id = null) { - $page->assign('xorg_title','Polytechnique.org - Administration - Distinctions'); + $page->assign('pl_title','Polytechnique.org - Administration - Distinctions'); $page->assign('title', 'Gestion des Distinctions'); $table_editor = new PLTableEditor('admin/medals','profile_medals','id'); $table_editor->describe('text', 'intitulé', true);