Ignore:
Timestamp:
Jun 14, 2011, 3:15:38 PM (9 years ago)
Author:
mistic100
Message:

change functions names (avoid errors if Captcha is also loaded)

File:
1 edited

Legend:

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

    r11316 r11370  
    4242if (script_basename() == 'admin')
    4343{
    44   add_event_handler('get_admin_plugin_menu_links', 'crypto_plugin_admin_menu' );
    45 }
     44  add_event_handler('get_admin_plugin_menu_links', 'crypto_plugin_admin_menu');
    4645
    47 function crypto_plugin_admin_menu($menu)
    48 {
    49         global $page,$conf;
     46  function crypto_plugin_admin_menu($menu)
     47  {
     48    global $page,$conf;
    5049
    51         array_push(
    52     $menu,
    53     array(
    54       'NAME' => 'CryptograPHP',
    55       'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__))
    56       )
    57                 );
    58         return $menu;
     50    array_push(
     51      $menu,
     52      array(
     53        'NAME' => 'CryptograPHP',
     54        'URL' => get_root_url().'admin.php?page=plugin-'.basename(dirname(__FILE__))
     55        )
     56      );
     57    return $menu;
     58  }
    5959}
    6060
Note: See TracChangeset for help on using the changeset viewer.