From 20f1d45d9b7aa57f8e1ad27ed673a03884e8eebb Mon Sep 17 00:00:00 2001 From: Leberwurscht Date: Tue, 17 Apr 2012 00:01:30 +0200 Subject: [PATCH] jappixmini: combine included jappix scripts --- jappixmini/jappixmini.php | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/jappixmini/jappixmini.php b/jappixmini/jappixmini.php index 93689a1e..6840c1d9 100644 --- a/jappixmini/jappixmini.php +++ b/jappixmini/jappixmini.php @@ -260,11 +260,7 @@ function jappixmini_settings(&$a, &$s) { if (!$activate) { // load scripts if not yet activated so that password can be saved $a->page['htmlhead'] .= ''."\r\n"; - $a->page['htmlhead'] .= ''."\r\n"; - - $a->page['htmlhead'] .= ''."\r\n"; - $a->page['htmlhead'] .= ''."\r\n"; - $a->page['htmlhead'] .= ''."\r\n"; + $a->page['htmlhead'] .= ''."\r\n"; $a->page['htmlhead'] .= ''."\r\n"; } @@ -410,11 +406,7 @@ function jappixmini_script(&$a,&$s) { if (!$activate) return; $a->page['htmlhead'] .= ''."\r\n"; - $a->page['htmlhead'] .= ''."\r\n"; - - $a->page['htmlhead'] .= ''."\r\n"; - $a->page['htmlhead'] .= ''."\r\n"; - $a->page['htmlhead'] .= ''."\r\n"; + $a->page['htmlhead'] .= ''."\r\n"; $a->page['htmlhead'] .= ''."\r\n"; @@ -486,11 +478,8 @@ function jappixmini_login(&$a, &$o) { if (!file_exists("addon/jappixmini/jappix")) return; - // for setDB, needed by jappixmini_addon_set_client_secret - $a->page['htmlhead'] .= ''."\r\n"; - - // for str_sha1, needed by jappixmini_addon_set_client_secret - $a->page['htmlhead'] .= ''."\r\n"; + // for setDB and str_sha1, needed by jappixmini_addon_set_client_secret + $a->page['htmlhead'] .= ''."\r\n"; // for jappixmini_addon_set_client_secret $a->page['htmlhead'] .= ''."\r\n";