Adds the possibility to forge an url linking to a profile page from networking addresses
[platal.git] / modules / profile.php
index a62c930..ba1a4f2 100644 (file)
@@ -826,13 +826,15 @@ class ProfileModule extends PLModule
         $table_editor = new PLTableEditor('admin/networking', 'profile_networking_enum', 'network_type');
         $table_editor->describe('name', 'intitulé', true);
         $table_editor->describe('icon', 'nom de l\'icône', false);
-        $table_editor->describe('filter', 'nom du filtre à appliquer', true);
+        $table_editor->describe('filter', 'filtre', true);
+        $table_editor->describe('link', 'lien web', true);
         $table_editor->apply($page, $action, $id);
     }
     function handler_admin_phones_format_display(&$page, $action = 'list', $id = null) {
         $page->assign('xorg_title', 'Polytechnique.org - Administration - Format d\'affichage des numéros de téléphone ');
         $page->assign('title', 'Gestion des formats d\'affichage des numéros de téléphone');
         $table_editor = new PLTableEditor('admin/phones_format_display', 'phone_formats', 'phoneprf',true);
+        $table_editor->describe('phoneprf', 'Préfixe International', true);
         $table_editor->describe('format', 'format d\'Affichage (ex: (+p) ### ## ## ##)', true);
         if ($action == 'update') {
             if ((Post::has('phoneprf')) && (Post::v('phoneprf') == $id)) {