From: Leberwurscht Date: Mon, 16 Apr 2012 22:01:30 +0000 (+0200) Subject: jappixmini: combine included jappix scripts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20f1d45d9b7aa57f8e1ad27ed673a03884e8eebb;p=friendica-addons.git jappixmini: combine included jappix scripts --- 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";