diff --git a/facebook.tgz b/facebook.tgz index 18392c78c..bad399164 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/pages.tgz b/pages.tgz index 7be170afa..1a0aa4187 100644 Binary files a/pages.tgz and b/pages.tgz differ diff --git a/rememberoid/rememberoid.php b/rememberoid/rememberoid.php deleted file mode 100644 index 36f42c368..000000000 --- a/rememberoid/rememberoid.php +++ /dev/null @@ -1,44 +0,0 @@ - - */ - - -function rememberoid_install(){ - register_hook('init_1','addon/rememberoid/rememberoid.php','rememberoid_init'); - register_hook('logging_out','addon/rememberoid/rememberoid.php','rememberoid_logout'); - register_hook('login_hook','addon/rememberoid/rememberoid.php','rememberoid_form'); -} - -function rememberoid_uninstall(){ - unregister_hook('init_1','addon/rememberoid/rememberoid.php','rememberoid_init'); - unregister_hook('logging_out','addon/rememberoid/rememberoid.php','rememberoid_logout'); - unregister_hook('login_hook','addon/rememberoid/rememberoid.php','rememberoid_form'); -} - -function rememberoid_init(&$a) { - if (x($_COOKIE, "remember_oid") && !x($_SESSION['openid']) && !x($_SESSION,'authenticated') && !x($_POST,'auth-params') && $a->module === 'home' ){ - $_POST['openid_url'] = $_COOKIE["remember_oid"]; - $_POST['auth-params'] = 1; - } - if (x($_POST,'auth-params') && $_POST['openid_url'] && $_POST['openid_url']!="" && $_POST['remember_oid']){ - setcookie('remember_oid', $_POST['openid_url'], time()+60*60*24*30, "/"); - } -} - -function rememberoid_logout(&$a) { - setcookie("rembember_oid", "", time()-3600); -} - -function rememberoid_form(&$a, &$o){ - $tpl = get_markup_template("field_checkbox.tpl"); - $html = replace_macros($tpl, array( - '$field' => array('remember_oid', t("Autologin with this OpenId"), false,''), - )); - - $o = preg_replace("|
|", "
".$html, $o); - -} diff --git a/showmore.tgz b/showmore.tgz index 6c2203a15..016ad5212 100644 Binary files a/showmore.tgz and b/showmore.tgz differ diff --git a/viewsrc.tgz b/viewsrc.tgz index 4717ab05b..a9be888a8 100644 Binary files a/viewsrc.tgz and b/viewsrc.tgz differ diff --git a/widgets.tgz b/widgets.tgz index c1d960485..47d5f588c 100755 Binary files a/widgets.tgz and b/widgets.tgz differ