Changeset 19325


Ignore:
Timestamp:
Dec 8, 2012, 3:08:17 AM (8 years ago)
Author:
julien1311
Message:

change link to admin

Location:
extensions/Media_Icon
Files:
1 added
1 deleted
2 edited

Legend:

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

    r19311 r19325  
    1313define('MEDIA_ICON_DIR' , basename(dirname(__FILE__)));
    1414define('MEDIA_ICON_PATH' , PHPWG_PLUGINS_PATH.MEDIA_ICON_DIR.'/');
     15define('MEDIA_ICON_ADMIN',   get_root_url() . 'admin.php?page=plugin-media_icon');
    1516
    1617/* +-----------------------------------------------------------------------+
     
    2526                $menu, array(
    2627                        'NAME'  => 'Media Icon',
    27                         'URL'   => get_admin_plugin_menu_link(dirname(__FILE__)).'/admin/admin.php',
     28                        'URL'   => MEDIA_ICON_ADMIN,
    2829                )
    2930        );     
  • extensions/Media_Icon/thumbnails.php

    r19324 r19325  
    11<?php
     2add_event_handler('loc_end_page_header', 'media_icon_thumbnails_css');
    23add_event_handler('loc_end_index_thumbnails', 'media_icon_thumbnails');
    34
     
    67
    78        $conf_media_icon_advanced = unserialize($conf['media_icon_advanced']);
    8        
    9         add_event_handler('loc_end_page_header', 'media_icon_thumbnails_css');
    109       
    1110        $template->set_prefilter('index_thumbnails', 'media_icon_prefilter_thumbnails');
Note: See TracChangeset for help on using the changeset viewer.