summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/FunnyDot.php10
-rw-r--r--extensions/LLAuthPlugin.php6
2 files changed, 5 insertions, 11 deletions
diff --git a/extensions/FunnyDot.php b/extensions/FunnyDot.php
index d9d932ae..7cd00007 100644
--- a/extensions/FunnyDot.php
+++ b/extensions/FunnyDot.php
@@ -6,17 +6,11 @@ $wgExtensionCredits['other'][] = array(
'name' => 'FunnyDot',
'description' => 'Schutz vor Spam-Bots',
'author' => 'Pierre Schmitz',
- 'url' => 'http://www.laber-land.de',
+ 'url' => 'http://www.archlinux.de',
);
class FunnyDot {
-private static function hexVal($in)
- {
- $result = preg_replace('/[^0-9a-fA-F]/', '', $in);
- return (empty($result) ? 0 : $result);
- }
-
public static function checkAntiSpamHash()
{
global $wgAntiSpamHash, $wgAntiSpamTimeout, $wgAntiSpamWait;
@@ -26,7 +20,7 @@ public static function checkAntiSpamHash()
if (!empty($_COOKIE['AntiSpamTime']) && !empty($_COOKIE['AntiSpamHash']))
{
$time = intval($_COOKIE['AntiSpamTime']);
- $hash = self::hexVal($_COOKIE['AntiSpamHash']);
+ $hash = self::$_COOKIE['AntiSpamHash'];
if ($hash != sha1($time.$wgAntiSpamHash))
{
diff --git a/extensions/LLAuthPlugin.php b/extensions/LLAuthPlugin.php
index f5bb718f..93edbe4a 100644
--- a/extensions/LLAuthPlugin.php
+++ b/extensions/LLAuthPlugin.php
@@ -4,9 +4,9 @@ $wgHooks['isValidPassword'][] = 'LLAuthPlugin::isValidPassword';
$wgExtensionCredits['other'][] = array(
'name' => 'LLAuthPlugin',
- 'description' => 'Authentifizierung am Laber-Land-Forum',
+ 'description' => 'Authentifizierung am LL-Forum',
'author' => 'Pierre Schmitz',
- 'url' => 'http://www.laber-land.de',
+ 'url' => 'http://www.archlinux.de',
);
require_once('includes/AuthPlugin.php');
@@ -55,7 +55,7 @@ class LLAuthPlugin extends AuthPlugin {
function modifyUITemplate( &$template ) {
$template->set( 'usedomain', false );
- $template->set('link', 'Um Dich hier anzumelden, nutze Deine Konto-Daten aus dem <a href="http://www.laber-land.de/?page=Forums;id=20">archlinux.de-Forum</a>.');
+ $template->set('link', 'Um Dich hier anzumelden, nutze Deine Konto-Daten aus dem <a href="http://forum.archlinux.de/">archlinux.de-Forum</a>.');
}
function setDomain( $domain ) {