File Manager
<?php
$lang['error_invaliddata'] = 'Invalid data supplied';
$lang["friendlyname"]="Akismet spam-detection";
$lang["moddescription"]="The Akismet modules provides checking of postings for other modules like Blogs and Forum through the akismet server.";
$lang["installed"]="The Akismet module was installed";
$lang["upgraded"]="The Akismet module was upgraded to version %s";
$lang["uninstalled"]="The Akismet module was uninstalled";
$lang["returnwhat"]="Return";
$lang["returnhelp"]="Used for debugging, always return akismet result for production sites";
$lang["akismetkey"]="Akismet key";
$lang["akismetkeyhelp"]="A (free) key can be obtained here: <a href='http://akismet.com/personal/'>http://akismet.com/personal/</a>";
$lang["checkaskimet"]="Return Akismet result";
$lang["alwaysgood"]="Always return as spam";
$lang["alwaysspam"]="Always return as good";
$lang["settings"]="Settings";
$lang["settingssaved"]="Settings saved";
$lang["savesettings"]="Save settings";
$lang["lateststatustext"]="Latest result";
$lang["returnonerror"]="On error return";
$lang["spam"]="Spam";
$lang["notspam"]="Not spam";
$lang["reporturltext"]="URL reported to Akismet";
$lang["postuninstallmessage"]="The Akismet module was succesfully uninstalled";
$lang["postinstallmessage"]="The Akismet module was succesfully installed";
$lang["really_uninstall"]="Are you sure the Akismet module should be uninstalled? This will prevent spam-checking using Akismet.";
$lang["help"]="This module allows you to setup an akismet account so other modules
can check for spam against this server. Modules using it could include Blogs, Forum etc.
<br/><br/>
<strong>For module-developers</strong>
<br/>
How to detect whether the Akismet-module is installed:
<pre>
\$akismetmodule=\$this->GetModuleInstance('AkismetCheck');
if (\$akismetmodule) {
//Module found
} else {
//Module not found
}
</pre>
<br/>
<br/>
How to detect check something with Akismet-module:
<pre>
\$akismetmodule=\$this->GetModuleInstance('AkismetCheck');
if (\$akismetmodule) {
//One or more of these indexes should be be defined, at least email and body
\$mycontent=array(
'author' => 'some author',
'email' => 'test@example.com',
'website' => 'http://www.example.com/',
'body' => 'content'
);
if (\$akismetmodule->IsSpam(\$mycontent, \$preciseurl='')) {
//Is spam
} else {
//Is not spam
}
} else {
//Module not found
}
</pre>
";
?>
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com