Ignore:
Timestamp:
01/06/13 02:09:29 (7 years ago)
Author:
julien1311
Message:

[pdf2tab] load admin.css only on admin pages

File:
1 edited

Legend:

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

    r19811 r19877  
    4444        global $template, $conf; 
    4545 
    46         //add a stylesheet 
    47         $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.PDF2TAB_PATH.'css/admin.css">'); 
     46        if (defined('IN_ADMIN') and IN_ADMIN) 
     47                $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="'.PDF2TAB_PATH.'css/admin.css">'); 
    4848} 
    4949?> 
Note: See TracChangeset for help on using the changeset viewer.