diff --git a/fp-defaults/plugins.conf.php b/fp-defaults/plugins.conf.php
index 7678b3e..9eb8a16 100755
--- a/fp-defaults/plugins.conf.php
+++ b/fp-defaults/plugins.conf.php
@@ -8,13 +8,10 @@ $fp_plugins = array(
'lightbox2', // fancy usable img overlay effect, needs jquery
'thumb', // creates thumbnails adding scale=NN% to [img] tags :)
'bbcode', // bbcode-style formatting; if you disable this
- // you'll loose some features, but you will be able to use xhtml
- // as a default
- // 'syntaxhighlighter',//fancy js to color code
+ // you'll loose some features, but you will be able to use html
+ // as a default
'accessibleantispam',
'qspam', // quick spam filter
- // 'akismet', // powerful antispam; requires you to have a wordpress api key
- // open the plugin file to set your key
'adminarea',
'archives',
// 'calendar', //time consuming, not really recommended :p
@@ -29,6 +26,8 @@ $fp_plugins = array(
'favicon',
'commentcenter',
'mediamanager',
+ // 'datechanger' // Lets you change the publish date for (new) entries.
'gallerycaptions',
'photoswipe'
);
+?>
diff --git a/fp-plugins/akismet/inc/Akismet.class.php b/fp-plugins/akismet/inc/Akismet.class.php
deleted file mode 100755
index b274b7c..0000000
--- a/fp-plugins/akismet/inc/Akismet.class.php
+++ /dev/null
@@ -1,391 +0,0 @@
-Usage:
- *
- * $akismet = new Akismet('http://www.example.com/blog/', 'aoeu1aoue');
- * $akismet->setCommentAuthor($name);
- * $akismet->setCommentAuthorEmail($email);
- * $akismet->setCommentAuthorURL($url);
- * $akismet->setCommentContent($comment);
- * $akismet->setPermalink('http://www.example.com/blog/alex/someurl/');
- * if($akismet->isCommentSpam())
- * // store the comment but mark it as spam (in case of a mis-diagnosis)
- * else
- * // store the comment normally
- *
- *
- * @package akismet
- * @name Akismet
- * @version 0.2
- * @author Alex Potsides (converted to PHP4 by Bret Kuhns)
- * @link http://www.achingbrain.net/
- */
-class Akismet {
-
- var $version = '0.2';
-
- var $wordPressAPIKey;
-
- var $blogURL;
-
- var $comment;
-
- var $apiPort;
-
- var $akismetServer;
-
- var $akismetVersion;
-
- // This prevents some potentially sensitive information from being sent accross the wire.
- var $ignore = array(
- 'HTTP_COOKIE',
- 'HTTP_X_FORWARDED_FOR',
- 'HTTP_X_FORWARDED_HOST',
- 'HTTP_MAX_FORWARDS',
- 'HTTP_X_FORWARDED_SERVER',
- 'REDIRECT_STATUS',
- 'SERVER_PORT',
- 'PATH',
- 'DOCUMENT_ROOT',
- 'SERVER_ADMIN',
- 'QUERY_STRING',
- 'PHP_SELF'
- );
-
- /**
- *
- * @throws Exception An exception is thrown if your API key is invalid.
- * @param
- * string Your WordPress API key.
- * @param string $blogURL
- * The URL of your blog.
- */
- function __construct($blogURL, $wordPressAPIKey) {
- $this->blogURL = $blogURL;
- $this->wordPressAPIKey = $wordPressAPIKey;
-
- // Set some default values
- $this->apiPort = 80;
- $this->akismetServer = 'rest.akismet.com';
- $this->akismetVersion = '1.1';
-
- // Start to populate the comment data
- $this->comment ['blog'] = $blogURL;
- $this->comment ['user_agent'] = $_SERVER ['HTTP_USER_AGENT'];
- $this->comment ['referrer'] = $_SERVER ['HTTP_REFERER'];
-
- // This is necessary if the server PHP5 is running on has been set up to run PHP4 and
- // PHP5 concurently and is actually running through a separate proxy al a these instructions:
- // http://www.schlitt.info/applications/blog/archives/83_How_to_run_PHP4_and_PHP_5_parallel.html
- // and http://wiki.coggeshall.org/37.html
- // Otherwise the user_ip appears as the IP address of the PHP4 server passing the requests to the
- // PHP5 one...
- $this->comment ['user_ip'] = $_SERVER ['REMOTE_ADDR'] != getenv('SERVER_ADDR') ? $_SERVER ['REMOTE_ADDR'] : getenv('HTTP_X_FORWARDED_FOR');
-
- // Check to see if the key is valid
- $response = $this->http_post('key=' . $this->wordPressAPIKey . '&blog=' . $this->blogURL, $this->akismetServer, '/' . $this->akismetVersion . '/verify-key');
-
- if ($response [1] != 'valid') {
- // Whoops, no it's not. Throw an exception as we can't proceed without a valid API key.
- trigger_error('Invalid API key. Please obtain one from http://wordpress.com/api-keys/', E_USER_ERROR);
- }
- }
-
- function http_post($request, $host, $path) {
- $http_request = "POST " . $path . " HTTP/1.0\r\n" . //
- "Host: " . $host . "\r\n" . //
- "Content-Type: application/x-www-form-urlencoded; charset=utf-8\r\n" . //
- "Content-Length: " . strlen($request) . "\r\n" . //
- "User-Agent: Akismet PHP5 Class " . $this->version . " | Akismet/1.11\r\n" . //
- "\r\n" . //
- $request;
-
- $socketWriteRead = new SocketWriteRead($host, $this->apiPort, $http_request);
- $socketWriteRead->send();
-
- return explode("\r\n\r\n", $socketWriteRead->getResponse(), 2);
- }
-
- // Formats the data for transmission echo $sql;
- function getQueryString() {
- foreach ($_SERVER as $key => $value) {
- if (!in_array($key, $this->ignore)) {
- if ($key == 'REMOTE_ADDR') {
- $this->comment [$key] = $this->comment ['user_ip'];
- } else {
- $this->comment [$key] = $value;
- }
- }
- }
-
- $query_string = '';
-
- foreach ($this->comment as $key => $data) {
-
- @$query_string .= $key . '=' . urlencode(stripslashes($data)) . '&';
- }
-
- return $query_string;
- }
-
- /**
- * Tests for spam.
- *
- * Uses the web service provided by {@link http://www.akismet.com Akismet} to see whether or not the submitted comment is spam. Returns a boolean value.
- *
- * @return bool True if the comment is spam, false if not
- */
- function isSpam() {
- $response = $this->http_post($this->getQueryString(), $this->wordPressAPIKey . '.rest.akismet.com', '/' . $this->akismetVersion . '/comment-check');
-
- return ($response [1] == 'true');
- }
-
- /**
- * Submit spam that is incorrectly tagged as ham.
- *
- * Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody.
- */
- function submitSpam() {
- $this->http_post($this->getQueryString(), $this->wordPressAPIKey . '.' . $this->akismetServer, '/' . $this->akismetVersion . '/submit-spam');
- }
-
- /**
- * Submit ham that is incorrectly tagged as spam.
- *
- * Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody.
- */
- function submitHam() {
- $this->http_post($this->getQueryString(), $this->wordPressAPIKey . '.' . $this->akismetServer, '/' . $this->akismetVersion . '/submit-ham');
- }
-
- /**
- * To override the user IP address when submitting spam/ham later on
- *
- * @param string $userip
- * An IP address. Optional.
- */
- function setUserIP($userip) {
- $this->comment ['user_ip'] = $userip;
- }
-
- /**
- * To override the referring page when submitting spam/ham later on
- *
- * @param string $referrer
- * The referring page. Optional.
- */
- function setReferrer($referrer) {
- $this->comment ['referrer'] = $referrer;
- }
-
- /**
- * A permanent URL referencing the blog post the comment was submitted to.
- *
- * @param string $permalink
- * The URL. Optional.
- */
- function setPermalink($permalink) {
- $this->comment ['permalink'] = $permalink;
- }
-
- /**
- * The type of comment being submitted.
- *
- * May be blank, comment, trackback, pingback, or a made up value like "registration" or "wiki".
- */
- function setType($commentType) {
- $this->comment ['comment_type'] = $commentType;
- }
-
- /**
- * The name that the author submitted with the comment.
- */
- function setAuthor($commentAuthor) {
- $this->comment ['comment_author'] = $commentAuthor;
- }
-
- /**
- * The email address that the author submitted with the comment.
- *
- * The address is assumed to be valid.
- */
- function setAuthorEmail($authorEmail) {
- $this->comment ['comment_author_email'] = $authorEmail;
- }
-
- /**
- * The URL that the author submitted with the comment.
- */
- function setAuthorURL($authorURL) {
- $this->comment ['comment_author_url'] = $authorURL;
- }
-
- /**
- * The comment's body text.
- */
- function setContent($commentBody) {
- $this->comment ['comment_content'] = $commentBody;
- }
-
- /**
- * Defaults to 80
- */
- function setAPIPort($apiPort) {
- $this->apiPort = $apiPort;
- }
-
- /**
- * Defaults to rest.akismet.com
- */
- function setAkismetServer($akismetServer) {
- $this->akismetServer = $akismetServer;
- }
-
- /**
- * Defaults to '1.1'
- */
- function setAkismetVersion($akismetVersion) {
- $this->akismetVersion = $akismetVersion;
- }
-
-}
-
-/**
- * Utility class used by Akismet
- *
- * This class is used by Akismet to do the actual sending and receiving of data. It opens a connection to a remote host, sends some data and the reads the response and makes it available to the calling program.
- *
- * The code that makes up this class originates in the Akismet WordPress plugin, which is {@link http://akismet.com/download/ available on the Akismet website}.
- *
- * N.B. It is not necessary to call this class directly to use the Akismet class. This is included here mainly out of a sense of completeness.
- *
- * @package akismet
- * @name SocketWriteRead
- * @version 0.1
- * @author Alex Potsides
- * @link http://www.achingbrain.net/
- */
-class SocketWriteRead {
-
- var $host;
-
- var $port;
-
- var $request;
-
- var $response;
-
- var $responseLength;
-
- var $errorNumber;
-
- var $errorString;
-
- /**
- *
- * @param string $host
- * The host to send/receive data.
- * @param int $port
- * The port on the remote host.
- * @param string $request
- * The data to send.
- * @param int $responseLength
- * The amount of data to read. Defaults to 1160 bytes.
- */
- function __construct($host, $port, $request, $responseLength = 1160) {
- $this->host = $host;
- $this->port = $port;
- $this->request = $request;
- $this->responseLength = $responseLength;
- $this->errorNumber = 0;
- $this->errorString = '';
- }
-
- /**
- * Sends the data to the remote host.
- *
- * @throws An exception is thrown if a connection cannot be made to the remote host.
- */
- function send() {
- $this->response = '';
-
- $fs = fsockopen($this->host, $this->port, $this->errorNumber, $this->errorString, AKISMET_TIMEOUT);
-
- if ($this->errorNumber != 0) {
- trigger_error('Error connecting to host: ' . $this->host . ' Error number: ' . $this->errorNumber . ' Error message: ' . $this->errorString, E_USER_ERROR);
- }
-
- if ($fs !== false) {
- @fwrite($fs, $this->request);
-
- while (!feof($fs)) {
- $this->response .= fgets($fs, $this->responseLength);
- }
-
- fclose($fs);
- }
- }
-
- /**
- * Returns the server response text
- *
- * @return string
- */
- function getResponse() {
- return $this->response;
- }
-
- /**
- * Returns the error number
- *
- * If there was no error, 0 will be returned.
- *
- * @return int
- */
- function getErrorNumber() {
- return $this->errorNumber;
- }
-
- /**
- * Returns the error string
- *
- * If there was no error, an empty string will be returned.
- *
- * @return string
- */
- function getErrorString() {
- return $this->errorString;
- }
-
-}
-?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/lang/lang.cs-cz.php b/fp-plugins/akismet/lang/lang.cs-cz.php
deleted file mode 100644
index 5cf7fcb..0000000
--- a/fp-plugins/akismet/lang/lang.cs-cz.php
+++ /dev/null
@@ -1,24 +0,0 @@
- 'Kľíč API není nastavený. Otevřte plugin a nastavte klíč API. Zaregistrujte sa na akismet.com a získejte nějaký.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Nastavení Akismet';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Nastavení Akismet',
- 'description '=> 'Většině uživatelům, Akismet výrazně znižuje ' . //
- 'nebo úplně eliminuje spam v komentářích a trackbacky na stránkách. ' . //
- 'Pokud ještě nemáte účet na akismet.com, založte si ho ' . //
- 'akismet.com/signup.',
- 'apikey' => 'akismet.com API klíč',
- 'whatis' => '(Co to je?)',
- 'submit' => 'Uložit klíč API'
-);
-
- $lang['admin']['plugin']['akismet']['msgs'] = array(
- 1 => 'Klíč API uložený',
- -1 => 'Klíč API je neplatný'
-);
-
-?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/lang/lang.da-dk.php b/fp-plugins/akismet/lang/lang.da-dk.php
deleted file mode 100644
index 18564f4..0000000
--- a/fp-plugins/akismet/lang/lang.da-dk.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'Ingen API-nøgle tilgængelig, indtast venligst denne for pluginet eller gå til akismet.com for at anmode om en gyldig API-nøgle ved at registrere dig.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Konfiguration';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Akismet Konfiguration',
- 'description' => 'Med Akismet kan du reducere eller helt fjerne spam, ' . //
- 'der når denne blog via kommentarer eller trackbacks. ' . //
- 'Hvis du ikke har en Wordpress.com-konto endnu, kan du oprette en på ' . //
- 'akismet.com/signup for at anmode om en API-nøgle.',
- 'apikey' => 'Akismet API-nøgle',
- 'whatis' => '(Hvad er en API-nøgle?)',
- 'submit' => 'Gem API-nøgle'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'API-nøglen er blevet gemt',
- -1 => 'API-nøglen er ikke gyldig'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.de-de.php b/fp-plugins/akismet/lang/lang.de-de.php
deleted file mode 100644
index c12e314..0000000
--- a/fp-plugins/akismet/lang/lang.de-de.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'Kein API Key vorhanden, bitte diesen für das Plugin eintragen oder auf akismet.com einen gültigen API Key durch Registrierung beantragen.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Konfiguration';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Akismet Konfiguration',
- 'description'=>'Mit Akismet kann man Spam reduzieren ' . //
- 'oder komplett eliminieren der durch Kommentare oder Trackbacks dieses Blog erreicht. ' . //
- 'Wenn bis jetzt noch kein Akismet Account existiert, so kann man auf ' . //
- 'akismet.com/signup einen anlegen um einen API key zu beantragen.',
- 'apikey' => 'Akismet API Key',
- 'whatis' => '(Was ist ein API Key?)',
- 'submit' => 'API key speichern'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'Der API key wurde gespeichert',
- -1 => 'Der API key ist nicht gültig'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.el-gr.php b/fp-plugins/akismet/lang/lang.el-gr.php
deleted file mode 100644
index faae000..0000000
--- a/fp-plugins/akismet/lang/lang.el-gr.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'Δεν έχει οριστεί κλειδί API. Ανοίξτε το πρόσθετο για να ρυθμίσετε το API κλειδί σας. Εγγραφείτε στο akismet.com για να λάβετε ένα.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Ρύθμιση του Akismet';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Ρύθμιση του Akismet',
- 'description' => 'Για πολλούς ανθρώπους, το Akismet θα μειώσει αξιοσημείωτα ' . //
- 'ή ακόμη και θα εξαλείψει πλήρως τα κακόβουλα αυτοματοποιημένα μηνύματα που δέχεται η ιστοσελίδα. ' . //
- 'Εάν δεν έχετε ακόμη έναν λογαριασμό akismet.com, μπορείτε να δημιουργήσετε έναν στο ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Akismet κλειδί API',
- 'whatis' => '(Τι είναι αυτό;)',
- 'submit' => 'Αποθήκευση κλειδιού API'
- );
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'Το κλειδί API αποθηκεύτηκε',
- -1 => 'Το κλειδί API δεν είναι έγκυρο'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.en-us.php b/fp-plugins/akismet/lang/lang.en-us.php
deleted file mode 100644
index 2bc6f26..0000000
--- a/fp-plugins/akismet/lang/lang.en-us.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'API key not set. Open the plugin to set your API key. Register on akismet.com to get one.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Config';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Akismet Configuration',
- 'description' => 'For many people, Akismet will greatly reduce ' . //
- 'or even completely eliminate the comment and trackback spam you get on your site. ' . //
- 'If you don\'t have a akismet.com account yet, you can get one at ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Akismet API Key',
- 'whatis' => '(What is an API key?)',
- 'submit' => 'Save API key'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'API key saved',
- -1 => 'API key is not valid'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.es-es.php b/fp-plugins/akismet/lang/lang.es-es.php
deleted file mode 100644
index 4289706..0000000
--- a/fp-plugins/akismet/lang/lang.es-es.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'No se estableció la clave de API. Abra el Plugin para configurar su clave de API. Registrarse en akismet.com para conseguir uno.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Configuración de Akismet';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Configuración de Akismet',
- 'description' => 'Para muchas personas, Akismet reducirá en gran medida ' . //
- 'o incluso eliminar por completo el spam de comentarios y trackback que recibe en su sitio. ' . //
- 'Si aún no tiene una cuenta de akismet.com, puede obtener una en ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Akismet API Key',
- 'whatis' => '(¿Que es esto?)',
- 'submit' => 'Guardar clave de API'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'Clave de API guardada',
- -1 => 'La clave de API no es válida'
-);
-?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/lang/lang.fr-fr.php b/fp-plugins/akismet/lang/lang.fr-fr.php
deleted file mode 100644
index 93d05a2..0000000
--- a/fp-plugins/akismet/lang/lang.fr-fr.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'Clef API non définie. Configurez le plugin afin de configurer la clef API. Enregistrez vous sur akismet.com pour en obtenir une.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Configuration Akismet';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Configuration Akismet',
- 'description' => 'La plupart du temps, Akismet va grandement ' . //
- 'ou complètement éliminer les commentaires indésirables sur votre blog. ' . //
- 'Si vous n\'avez pas de compte sur akismet.com, vous pouvez vous en créer un sur ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Clef API akismet.com',
- 'whatis' => '(Qu\'est-ce que c\'est?)',
- 'submit' => 'Sauvegarder'
-);
-
-$lang ['admin'] ['plugin'] ['akismet']['msgs'] = array(
- 1 => 'Clef API sauvegardée',
- -1 => 'Clef API non valide'
-);
-?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/lang/lang.it-it.php b/fp-plugins/akismet/lang/lang.it-it.php
deleted file mode 100644
index 95bbb6f..0000000
--- a/fp-plugins/akismet/lang/lang.it-it.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'La chiave API non è stata impostata. Esegui il plugin per impostare la chiave API. Registrati su akismet.com per riceverne una.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Configurazione di Akismet';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Configurazione di Akismet',
- 'description' => 'Per molte persone, Akismet riduce enormemente ' . //
- 'o perfino elimina completamente i commenti e i collegamenti traccianti di spam che compaiono sul proprio sito. ' . //
- 'Se non hai ancora un profilo su akismet.com, puoi crearne uno su ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Chiave API di akismet.com',
- 'whatis' => '(What is this?)',
- 'submit' => 'Salva chiave API'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'Chiave API salvata',
- -1 => 'La chiave API non è valida'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.ja-jp.php b/fp-plugins/akismet/lang/lang.ja-jp.php
deleted file mode 100644
index 5c37cc2..0000000
--- a/fp-plugins/akismet/lang/lang.ja-jp.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'API key not set. Open the plugin to set your API key. Register on akismet.com to get one.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismetの設定';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Akismetの設定',
- 'description' => 'For many people, Akismet will greatly reduce ' . //
- 'or even completely eliminate the comment and trackback spam you get on your site. ' . //
- 'If you don\'t have a akismet.com account yet, you can get one at ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Akismet API Key',
- 'whatis' => '(What is this?)',
- 'submit' => 'API keyを保存する'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'API keyを保存しました',
- -1 => 'API key is not valid'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.nl-nl.php b/fp-plugins/akismet/lang/lang.nl-nl.php
deleted file mode 100644
index 6996057..0000000
--- a/fp-plugins/akismet/lang/lang.nl-nl.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'API-sleutel niet ingesteld. Open de plug-in om jouw API-sleutel in te stellen. Registreer op akismet.com om een te krijgen.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Configuratie';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Akismet Configuratie',
- 'description' => 'Voor veel mensen, Akismet zal sterk verminderen ' . //
- 'of zelfs compleet elimineren de opmerkingen en trackback spam die je krijgy op je site. ' . //
- 'Als je nog geen akismet.com-account hebt, kun je er een krijgen op ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Akismet API Key',
- 'whatis' => '(wat is dit?)',
- 'submit' => 'Sla API key op'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'API key opgeslagen',
- -1 => 'API key is niet geldig'
-);
-?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/lang/lang.pt-br.php b/fp-plugins/akismet/lang/lang.pt-br.php
deleted file mode 100644
index 028487e..0000000
--- a/fp-plugins/akismet/lang/lang.pt-br.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'Chave da API não definida. Abra o plugin para definir sua chave de API. Registre-se no akismet.com para obter uma.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Akismet Configuração';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Configure o Akismet',
- 'description' => 'Para muitas pessoas, o Akismet reduzirá bastante ' . //
- 'ou até eliminará completamente o comentário e o spam de trackback que você recebe no seu site.' . //
- 'Se você ainda não possui uma conta no akismet.com, pode obtê-la em ' . //
- 'akismet.com/signup.',
- 'apikey' => 'Akismet API Key',
- 'whatis' => '(O que é isso?)',
- 'submit' => 'Salvar a chave da API'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'A chave da API foi salva',
- -1 => 'A chave da API não é válida'
-);
-?>
diff --git a/fp-plugins/akismet/lang/lang.ru-ru.php b/fp-plugins/akismet/lang/lang.ru-ru.php
deleted file mode 100644
index 76256e8..0000000
--- a/fp-plugins/akismet/lang/lang.ru-ru.php
+++ /dev/null
@@ -1,23 +0,0 @@
- 'Не установлен API-ключ. Откройте плагин для установки API-ключа. Зарегистрируйтесь на сайте akismet.com чтобы получить его.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Конфигурация плагина Akismet';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Конфигурация плагина Akismet',
- 'description' => 'Для многих Akismet значительно уменьшит ' . //
- 'или даже полностью устранит спам в комментариях и трекбэках, который вы получаете на своем сайте. ' . //
- 'Если у вас еще нет учетной записи akismet.com, вы можете получить ее на сайте ' . //
- 'akismet.com/signup.',
- 'apikey' => 'akismet.com API Key',
- 'whatis' => '(Что это?)',
- 'submit' => 'Сохранить API-ключ'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'API-ключ сохранен',
- -1 => 'API-ключ не действителен'
-);
-?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/lang/lang.sl-si.php b/fp-plugins/akismet/lang/lang.sl-si.php
deleted file mode 100644
index cde1b90..0000000
--- a/fp-plugins/akismet/lang/lang.sl-si.php
+++ /dev/null
@@ -1,22 +0,0 @@
- 'API ključ ni nastavljen. Odpri vtičnik in nastavi svoj API ključ. Registriraj se na akismet.com, da ga pridobiš.'
-);
-
-$lang ['admin'] ['plugin'] ['submenu'] ['akismet'] = 'Nastavitve Akismet-a';
-
-$lang ['admin'] ['plugin'] ['akismet'] = array(
- 'head' => 'Nastavitve Akismet-a',
- 'description' => 'Za veliko ljudi bo Akismet zelo zmanjšal ali celo popolnoma odpravil komentarje in sledenje spamu na vaši spletni strani. ' . //
- 'Če še nimate akismet.com računa, si ga lahko pridobite na ' .
- 'akismet.com/signup.',
- 'apikey' => 'Akismet API Ključ',
- 'whatis' => '(Kaj je to?)',
- 'submit' => 'Shrani API ključ'
-);
-
-$lang ['admin'] ['plugin'] ['akismet'] ['msgs'] = array(
- 1 => 'API ključ je bil shranjen',
- -1 => 'API ključ ni veljaven'
-);
-?>
diff --git a/fp-plugins/akismet/plugin.akismet.php b/fp-plugins/akismet/plugin.akismet.php
deleted file mode 100644
index 81d1665..0000000
--- a/fp-plugins/akismet/plugin.akismet.php
+++ /dev/null
@@ -1,84 +0,0 @@
-setAuthor($contents ['name']);
- $akismet->setAuthorEmail(isset($contents ['email']) ? $contents ['email'] : '');
- $akismet->setAuthorURL(isset($contents ['url']) ? $contents ['url'] : '');
- $akismet->setContent($contents ['content']);
-
- if ($v = $akismet->isSpam()) {
- global $smarty;
- $smarty->assign('error', array(
- 'ERROR: Comment is invalid'
- ));
- return false;
- }
- return true;
-}
-
-if (class_exists('AdminPanelAction')) {
-
- class admin_plugin_akismet extends AdminPanelAction {
-
- var $langres = 'plugin:akismet';
-
- function setup() {
- $this->smarty->assign('admin_resource', "plugin:akismet/admin.plugin.akismet");
- }
-
- function main() {
- $akismetconf = plugin_getoptions('akismet');
- $this->smarty->assign('akismetconf', $akismetconf);
- }
-
- function onsubmit($data = null) {
- global $fp_config;
-
- if ($_POST ['wp-apikey']) {
-
- plugin_addoption('akismet', 'apikey', $_POST ['wp-apikey']);
- plugin_saveoptions('akismet');
-
- $this->smarty->assign('success', 1);
- } else {
- $this->smarty->assign('success', -1);
- }
-
- return 2;
- }
-
- }
-
- admin_addpanelaction('plugin', 'akismet', true);
-}
diff --git a/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl b/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl
deleted file mode 100644
index 9bcaed1..0000000
--- a/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
-
{$plang.description}
- -{include file="shared:errorlist.tpl"} - --
-{$plang.whatis}
- -{/html_form} - -