Changeset 66097 in spip-zone


Ignore:
Timestamp:
Sep 20, 2012, 1:10:04 PM (8 years ago)
Author:
cedric@…
Message:

Declarer le champ 'notification' comme editable pour permettre de le poster depuis le form de forum

Location:
_plugins_/notifications/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/notifications/trunk/notifications_administrations.php

    r66062 r66097  
    1818function notifications_declarer_tables_objets_sql($tables){
    1919
    20         // champ notification :
     20        // champ notification (editable via le form de forum) :
    2121        // 0/1 (non abonne/abonne) defaut 1
    2222        $tables['spip_forum']['field']['notification'] = "tinyint NOT NULL default 1";
     23        $tables['spip_forum']['champs_editables'][] = 'notification';
    2324
    2425        // champ notification_email :
  • _plugins_/notifications/trunk/paquet.xml

    r66064 r66097  
    22        prefix="notifications"
    33        categorie="communication"
    4         version="2.2.0"
     4        version="2.2.1"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset for help on using the changeset viewer.