*headdesk*
git-svn-id: file:///home/shish/svn/shimmie2/trunk@909 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
fc8cdce2fd
commit
87f99dee99
1 changed files with 1 additions and 5 deletions
|
@ -8,11 +8,7 @@
|
|||
class PicLens extends Extension {
|
||||
public function receive_event($event) {
|
||||
if(is_a($event, 'PageRequestEvent')) {
|
||||
global $config;
|
||||
if(strlen($config->get_string("site_description")) > 0) {
|
||||
$description = $config->get_string("site_description");
|
||||
$event->page->add_header("<script type=\"text/javascript\" src=\"http://lite.piclens.com/current/piclens.js\"></script>");
|
||||
}
|
||||
$event->page->add_header("<script type=\"text/javascript\" src=\"http://lite.piclens.com/current/piclens.js\"></script>");
|
||||
}
|
||||
if(is_a($event, 'PostListBuildingEvent')) {
|
||||
$foo='
|
||||
|
|
Reference in a new issue