theme_info = array( 'extends' => 'duepuntozero', ); set_template_engine($a, 'smarty3'); $a->page['htmlhead'] .= <<< EOT EOT; // get resize configuration $resize=false; $site_resize = get_config('freehaven', 'resize' ); if(local_user()) $resize = get_pconfig(local_user(), 'freehaven', 'resize' ); if ($resize===false) $resize=$site_resize; if ($resize===false) $resize=0; if (intval($resize) > 0) { //load jquery.ae.image.resize.js $imageresizeJS = $a->get_baseurl($ssl_state)."/view/theme/freehaven/js/jquery.ae.image.resize.js"; $a->page['htmlhead'] .= sprintf('', $imageresizeJS); $a->page['htmlhead'] .= ' ';} }