Changeset 16014 for extensions/lmt/lmt_pip.class.inc.php
- Timestamp:
- Jun 24, 2012, 9:19:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lmt/lmt_pip.class.inc.php
r7560 r16014 46 46 if($this->config['lmt_licence_activated']=='y') 47 47 { 48 add_event_handler('loc_end_page_header', array(&$this->css_icn, 'applyCSS'));49 48 add_event_handler('loc_end_picture', array(&$this, 'manageLicenceElement')); 50 49 … … 56 55 } 57 56 58 57 public function loadCSS() 58 { 59 //parent::loadCSS(); -- don't call the ancestor! 60 GPCCore::addHeaderCSS('lmt_icn.css', 'plugins/'.$this->getDirectory().'/'.$this->getPluginNameFiles()."_icn.css"); 61 } 59 62 60 63 /* ------------------------------------------------------------------------- … … 110 113 if($url!="") 111 114 { 112 $text = "<table style='margin:auto;'><tr><td><a href='".$url."'".$target."><img $alternateText class='logo88x31' s tyle='top:-4px;' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></a></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>";115 $text = "<table style='margin:auto;'><tr><td><a href='".$url."'".$target."><img $alternateText class='logo88x31' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></a></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>"; 113 116 } 114 117 else 115 118 { 116 $text = "<table style='margin:auto;'><tr><td><img $alternateText class='logo88x31' s tyle='top:-4px;' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>";119 $text = "<table style='margin:auto;'><tr><td><img $alternateText class='logo88x31' src='". LMT_PATH."img/".strToLower($licence['licence'])."_88x31.png'></td><td>".$licence['aut_text1']."<br/>".$licence['aut_text2']."</td></tr></table>"; 117 120 } 118 121 break;
Note: See TracChangeset
for help on using the changeset viewer.