Ignore:
Timestamp:
Mar 4, 2011, 5:57:52 PM (13 years ago)
Author:
flop25
Message:

[adult_content]
bug:0001900

admin page added, the menu block can be disabled just for guest or for all.
translation needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/adult_content/main.inc.php

    r7269 r9530  
    2121
    2222include_once(dirname(__FILE__).'/class.inc.php');
    23 //add_event_handler('get_admin_plugin_menu_links', array(&$adult_content, 'ac_lien_menu') );
     23add_event_handler('get_admin_plugin_menu_links', array(&$adult_content, 'ac_lien_menu') );
    2424add_event_handler('register_user', array(&$adult_content, 'on_register') );
    2525// Ajout une entrée dans le menubar
     
    2727add_event_handler('blockmanager_apply', array(&$adult_content, 'placer_identification'));
    2828//block on index
    29 //add_event_handler('loc_begin_index', array(&$adult_content, 'set_block_on_index'));
    3029
     30/*
     31global $conf;
     32add_event_handler('loc_begin_index', array(&$adult_content, 'set_block_on_index'));
     33*/
    3134
    3235add_event_handler('loc_end_picture', 'comment_manage');
Note: See TracChangeset for help on using the changeset viewer.