*headdesk*

git-svn-id: file:///home/shish/svn/shimmie2/trunk@909 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-06-25 00:25:22 +00:00
parent fc8cdce2fd
commit 87f99dee99

View file

@ -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='