diff --git a/fp-plugins/seometataginfo/inc/class.iniparser.php b/fp-plugins/seometataginfo/inc/class.iniparser.php index aece316..ff5dbdc 100644 --- a/fp-plugins/seometataginfo/inc/class.iniparser.php +++ b/fp-plugins/seometataginfo/inc/class.iniparser.php @@ -1,117 +1,117 @@ _iniFilename = $filename; - $file_content = file($this->_iniFilename); - $this->_iniParsedArray = array(); - $cur_sec = false; - foreach ($file_content as $line) { - $line = trim($line); - if (preg_match("/^\[.+\]$/",$line)) { - $sec_name = str_replace(array("[", "]"), "", $line); - // If this section already exists, ignore the line. - if (! isset($this->_iniParsedArray[$sec_name])) { - $this->_iniParsedArray [$sec_name] = array(); - $cur_sec = $sec_name; - } - } else { - $line_arr = explode('=', $line, 2); - // If the line doesn't match the var=value pattern, or if it's a - // comment then add it without a key. - if (isset($line_arr [1]) && - !(substr(trim($line_arr [0]), 0, 1) == '//' || - substr(trim($line_arr [0]), 0, 1) == ';')) { - $this->_iniParsedArray [$cur_sec] [$line_arr [0]] = $line_arr [1]; - } else { - $this->_iniParsedArray [] = $line_arr [0]; - } - } - } + $file_content = file($this->_iniFilename); + $this->_iniParsedArray = array(); + $cur_sec = false; + foreach ($file_content as $line) { + $line = trim($line); + if (preg_match("/^\[.+\]$/", $line)) { + $sec_name = str_replace(array( + "[", + "]" + ), "", $line); + // If this section already exists, ignore the line. + if (!isset($this->_iniParsedArray [$sec_name])) { + $this->_iniParsedArray [$sec_name] = array(); + $cur_sec = $sec_name; + } + } else { + $line_arr = explode('=', $line, 2); + // If the line doesn't match the var=value pattern, or if it's a + // comment then add it without a key. + if (isset($line_arr [1]) && !(substr(trim($line_arr [0]), 0, 1) == '//' || substr(trim($line_arr [0]), 0, 1) == ';')) { + $this->_iniParsedArray [$cur_sec] [$line_arr [0]] = $line_arr [1]; + } else { + $this->_iniParsedArray [] = $line_arr [0]; + } + } + } } /** - * gibt die komplette Sektion zurck - **/ - function getSection($key) - { + * gibt die komplette Sektion zur�ck + */ + function getSection($key) { return $this->_iniParsedArray [$key]; } /** - * gibt einen Wert aus einer Sektion zurck - **/ - function getValue($section, $key) - { - if (!isset($this->_iniParsedArray [$section])) return false; + * gibt einen Wert aus einer Sektion zur�ck + */ + function getValue($section, $key) { + if (!isset($this->_iniParsedArray [$section])) + return false; return $this->_iniParsedArray [$section] [$key]; } - + /** - * gibt den Wert einer Sektion oder die ganze Section zurck - **/ - function get($section, $key=NULL) - { - if (is_null($key)) return $this->getSection($section); + * gibt den Wert einer Sektion oder die ganze Section zur�ck + */ + function get($section, $key = NULL) { + if (is_null($key)) + return $this->getSection($section); return $this->getValue($section, $key); } - + /** - * Seta um valor de acordo com a chave especificada - **/ - function setSection($section, $array) - { - if (!is_array($array)) return false; + * Seta um valor de acordo com a chave especificada + */ + function setSection($section, $array) { + if (!is_array($array)) + return false; return $this->_iniParsedArray [$section] = $array; } - + /** - * setzt einen neuen Wert in einer Section - **/ - function setValue($section, $key, $value) - { - if ($this->_iniParsedArray [$section] [$key] = $value) return true; + * setzt einen neuen Wert in einer Section + */ + function setValue($section, $key, $value) { + if ($this->_iniParsedArray [$section] [$key] = $value) + return true; } - + /** - * setzt einen neuen Wert in einer Section oder eine gesamte, neue Section - **/ - function set($section, $key, $value=NULL) - { - if (is_array($key) && is_null($value)) return $this->setSection($section, $key); + * setzt einen neuen Wert in einer Section oder eine gesamte, neue Section + */ + function set($section, $key, $value = NULL) { + if (is_array($key) && is_null($value)) + return $this->setSection($section, $key); return $this->setValue($section, $key, $value); } - + /** - * sichert den gesamten Array in die INI-Datei - **/ - function save($filename = null) - { - if ($filename == null) $filename = $this->_iniFilename; + * sichert den gesamten Array in die INI-Datei + */ + function save($filename = null) { + if ($filename == null) + $filename = $this->_iniFilename; if (is_writeable($filename)) { $SFfdescriptor = fopen($filename, "w"); - foreach($this->_iniParsedArray as $section => $array){ + foreach ($this->_iniParsedArray as $section => $array) { fwrite($SFfdescriptor, "[" . $section . "]\n"); - foreach($array as $key => $value) { + foreach ($array as $key => $value) { fwrite($SFfdescriptor, "$key = $value\n"); } fwrite($SFfdescriptor, "\n"); @@ -122,5 +122,6 @@ class iniParser { return false; } } + } ?> diff --git a/fp-plugins/seometataginfo/inc/hw-helpers.php b/fp-plugins/seometataginfo/inc/hw-helpers.php index 0dacebf..a337514 100644 --- a/fp-plugins/seometataginfo/inc/hw-helpers.php +++ b/fp-plugins/seometataginfo/inc/hw-helpers.php @@ -1,227 +1,229 @@ = 1) || - (empty($fp_params) && empty($fp_config ['general'] ['startpage'])) - ); + return ((count(array_filter($fp_params)) === 1 && !empty($fp_params ['paged']) && $fp_params ['paged'] >= 1) || (empty($fp_params) && empty($fp_config ['general'] ['startpage']))); } } -if (!function_exists('is_paging')){ - function is_paging(){ +if (!function_exists('is_paging')) { + + function is_paging() { global $fp_params; return (!empty($fp_params ['paged']) && $fp_params ['paged'] >= 2); } } -if (!function_exists('is_category')){ - function is_category(){ +if (!function_exists('is_category')) { + + function is_category() { global $fp_params; return (!empty($fp_params ['cat']) && !is_tag()); } } -if (!function_exists('is_tag')){ - function is_tag(){ +if (!function_exists('is_tag')) { + + function is_tag() { global $fp_params; return (!empty($fp_params ['tag'])); } } -if (!function_exists('is_feed')){ - function is_feed(){ +if (!function_exists('is_feed')) { + + function is_feed() { global $fp_params; return (!empty($fp_params ['feed'])); } } -if (!function_exists('is_search')){ - function is_search(){ +if (!function_exists('is_search')) { + + function is_search() { global $fp_params; return (!empty($_GET ['q'])); } } -if (!function_exists('is_contact')){ - function is_contact(){ +if (!function_exists('is_contact')) { + + function is_contact() { global $smarty; - return ( - (!empty($smarty->_tpl_vars ['SCRIPT_NAME']) && // check if contact form - strpos($smarty->_tpl_vars ['SCRIPT_NAME'], 'contact.php')) - ); + // check if contact form + $scriptName = $smarty->getTemplateVars('SCRIPT_NAME'); + $result = (!empty($scriptName) && strpos($scriptName, 'contact.php')); + return $result; } } -if (!function_exists('is_archive')){ - function is_archive(){ +if (!function_exists('is_archive')) { + + function is_archive() { global $fp_params; - return (!is_single() && !is_static() && !is_category() && !is_tag() && - (!empty($fp_params ['y']) || !empty($fp_params ['m']) || !empty($fp_params ['d']))); + return (!is_single() && !is_static() && !is_category() && !is_tag() && (!empty($fp_params ['y']) || !empty($fp_params ['m']) || !empty($fp_params ['d']))); } } -if (!function_exists('is_archive_year')){ - function is_archive_year(){ +if (!function_exists('is_archive_year')) { + + function is_archive_year() { global $fp_params; - return (is_archive() && - (!empty($fp_params ['y']) && - (empty($fp_params ['m']) && empty($fp_params ['d'])) - ) - ); + return (is_archive() && (!empty($fp_params ['y']) && (empty($fp_params ['m']) && empty($fp_params ['d'])))); } } -if (!function_exists('is_archive_month')){ - function is_archive_month(){ +if (!function_exists('is_archive_month')) { + + function is_archive_month() { global $fp_params; - return (is_archive() && - ( - (!empty($fp_params ['y']) && !empty($fp_params ['m'])) && - empty($fp_params ['d']) - ) - ); + return (is_archive() && ((!empty($fp_params ['y']) && !empty($fp_params ['m'])) && empty($fp_params ['d']))); } } -if (!function_exists('is_archive_day')){ - function is_archive_day(){ +if (!function_exists('is_archive_day')) { + + function is_archive_day() { global $fp_params; - return (is_archive() && - (!empty($fp_params ['y']) && !empty($fp_params ['m']) && !empty($fp_params ['d']))); + return (is_archive() && (!empty($fp_params ['y']) && !empty($fp_params ['m']) && !empty($fp_params ['d']))); } } -if (!function_exists('get_category_name')){ - function get_category_name($catid){ +if (!function_exists('get_category_name')) { + + function get_category_name($catid) { $category_names = entry_categories_get('defs'); - return (!empty($category_names [$catid]) ?$category_names [$catid]:""); + return (!empty($category_names [$catid]) ? $category_names [$catid] : ""); } } -if (!function_exists('pathinfo_filename')){ - function pathinfo_filename($file) { //file.name.ext, returns file.name - if (defined('PATHINFO_FILENAME')) return pathinfo($file,PATHINFO_FILENAME); - if (strstr($file, '.')) return substr($file,0,strrpos($file,'.')); +if (!function_exists('pathinfo_filename')) { + + function pathinfo_filename($file) { // file.name.ext, returns file.name + if (defined('PATHINFO_FILENAME')) + return pathinfo($file, PATHINFO_FILENAME); + if (strstr($file, '.')) + return substr($file, 0, strrpos($file, '.')); } } -if (!function_exists('currentPageURL')){ - function currentPageURL() { - $curpageURL = 'http'; - if ($_SERVER ["HTTPS"] == "on") {$curpageURL.= "s";} - $curpageURL .= "://"; - if ($_SERVER ["SERVER_PORT"] != "80") { - // $curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; - $curpageURL .= $_SERVER ["SERVER_NAME"] . $_SERVER ["REQUEST_URI"]; - } else { - $curpageURL .= $_SERVER ["SERVER_NAME"] . $_SERVER ["REQUEST_URI"]; - } - return $curpageURL; - } +if (!function_exists('currentPageURL')) { + + function currentPageURL() { + $curpageURL = 'http'; + if (array_key_exists("HTTPS", $_SERVER) && $_SERVER ["HTTPS"] == "on") { + $curpageURL .= "s"; + } + $curpageURL .= "://"; + if ($_SERVER ["SERVER_PORT"] != "80") { + // $curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; + $curpageURL .= $_SERVER ["SERVER_NAME"] . $_SERVER ["REQUEST_URI"]; + } else { + $curpageURL .= $_SERVER ["SERVER_NAME"] . $_SERVER ["REQUEST_URI"]; + } + return $curpageURL; + } } // removes files and non-empty directories -if (!function_exists('rrmdir')){ +if (!function_exists('rrmdir')) { + function rrmdir($dir) { - if (is_dir($dir)) { - $files = scandir($dir); - foreach ($files as $file) - if ($file != "." && $file != "..") rrmdir("$dir/$file"); - rmdir($dir); - } - else if (file_exists($dir)) unlink($dir); + if (is_dir($dir)) { + $files = scandir($dir); + foreach ($files as $file) + if ($file != "." && $file != "..") + rrmdir("$dir/$file"); + rmdir($dir); + } else if (file_exists($dir)) + unlink($dir); } } - // copies files and non-empty directories -if (!function_exists('rcopy')){ +// copies files and non-empty directories +if (!function_exists('rcopy')) { + function rcopy($src, $dst) { - if (file_exists($dst)) rrmdir($dst); - if (is_dir($src)) { - mkdir($dst); - $files = scandir($src); - foreach ($files as $file) - if ($file != "." && $file != "..") - rcopy("$src/$file", "$dst/$file"); - } - else if (file_exists($src)) copy($src, $dst); + if (file_exists($dst)) + rrmdir($dst); + if (is_dir($src)) { + mkdir($dst); + $files = scandir($src); + foreach ($files as $file) + if ($file != "." && $file != "..") + rcopy("$src/$file", "$dst/$file"); + } else if (file_exists($src)) + copy($src, $dst); } } -function is_empty_dir($dir){ - if ($dh = @opendir($dir)) - { - while ($file = readdir($dh)) - { - if ($file != '.' && $file != '..') { - closedir($dh); - return false; - } - } - closedir($dh); - return true; - } - else return false; // whatever the reason is : no such dir, not a dir, not readable +function is_empty_dir($dir) { + if ($dh = @opendir($dir)) { + while ($file = readdir($dh)) { + if ($file != '.' && $file != '..') { + closedir($dh); + return false; + } + } + closedir($dh); + return true; + } else + return false; // whatever the reason is : no such dir, not a dir, not readable } // debug -if (!function_exists('echoPre')){ - function echoPre($value, $print=true){ - $output = ''; - if ($value){ - $output .= "
";
-					$output .= print_r($value, true);
-					$output .= "

"; - if ($print) - echo $output; - else - return $output; - } - return false; +if (!function_exists('echoPre')) { + + function echoPre($value, $print = true) { + $output = ''; + if ($value) { + $output .= "
";
+			$output .= print_r($value, true);
+			$output .= "

"; + if ($print) + echo $output; + else + return $output; + } + return false; } } diff --git a/fp-plugins/seometataginfo/inc/migrate_data.php b/fp-plugins/seometataginfo/inc/migrate_data.php index 21ed267..0edcd8e 100644 --- a/fp-plugins/seometataginfo/inc/migrate_data.php +++ b/fp-plugins/seometataginfo/inc/migrate_data.php @@ -1,11 +1,11 @@ diff --git a/fp-plugins/seometataginfo/lang/lang.cs-cz.php b/fp-plugins/seometataginfo/lang/lang.cs-cz.php index 510ab76..1361f18 100644 --- a/fp-plugins/seometataginfo/lang/lang.cs-cz.php +++ b/fp-plugins/seometataginfo/lang/lang.cs-cz.php @@ -1,29 +1,28 @@ 'Popis a klíčová slova', - 'description' => 'Tyto údaje usnadňují jejich nalezení pomocí vyhledávačů a zveřejnění na sociálních sítích. Wikipedia', - 'input_desc' => 'Vložte popis:', - 'sample_desc' => 'FlatPress související články, průvodci a pluginy', - 'input_keywords' => 'Vložte klíčová slova:', - 'sample_keywords' => 'flatpress, flatpress články, flatpress průvodci, flatpress pluginy', - 'input_noindex' => 'Zakázat indexování:', - 'input_nofollow' => 'Zakázat sledování:', - 'input_noarchive' => 'Zakázat archivaci:', - 'input_nosnippet' => 'Zakázat úryvky:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Popis a klíčová slova', + 'description' => 'Tyto údaje usnadňují jejich nalezení pomocí vyhledávačů a zveřejnění na sociálních sítích. Wikipedia', + 'input_desc' => 'Vložte popis:', + 'sample_desc' => 'FlatPress související články, průvodci a pluginy', + 'input_keywords' => 'Vložte klíčová slova:', + 'sample_keywords' => 'flatpress, flatpress články, flatpress průvodci, flatpress pluginy', + 'input_noindex' => 'Zakázat indexování:', + 'input_nofollow' => 'Zakázat sledování:', + 'input_noarchive' => 'Zakázat archivaci:', + 'input_nosnippet' => 'Zakázat úryvky:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Home', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Home', 'blog_home' => 'Blog Domů', 'blog_page' => 'Blog', - 'archive' => 'Archiv', - 'category' => 'Kategorie', - 'tag' => 'Tag', - 'contact' => 'Kontaktujte nás', - 'comments' => 'Komentáře', - 'pagenum' => 'Stránka #', + 'archive' => 'Archiv', + 'category' => 'Kategorie', + 'tag' => 'Tag', + 'contact' => 'Kontaktujte nás', + 'comments' => 'Komentáře', + 'pagenum' => 'Stránka #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.de-de.php b/fp-plugins/seometataginfo/lang/lang.de-de.php index 6b387e8..dd4536f 100644 --- a/fp-plugins/seometataginfo/lang/lang.de-de.php +++ b/fp-plugins/seometataginfo/lang/lang.de-de.php @@ -1,29 +1,28 @@ 'Beschreibung und Schlüsselwörter', - 'description' => 'Diese Angaben erleichtern das Auffinden mit Suchmaschinen und das Einfügen in sozialen Medien. Wikipedia', - 'input_desc' => 'Gebe die Beschreibung ein:', - 'sample_desc' => 'FlatPress-bezogene Artikel, Anleitungen und Plugins', - 'input_keywords' => 'Füge die Schlüsselwörter ein:', - 'sample_keywords' => 'flatpress, flatpress artikel, flatpress anleitungen, flatpress plugins', - 'input_noindex' => 'Indizieren verbieten:', - 'input_nofollow' => 'Link-Following verbieten:', - 'input_noarchive' => 'Archivierung verbieten:', - 'input_nosnippet' => 'Ausschnitte verbieten:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Beschreibung und Schlüsselwörter', + 'description' => 'Diese Angaben erleichtern das Auffinden mit Suchmaschinen und das Einfügen in sozialen Medien. Wikipedia', + 'input_desc' => 'Gebe die Beschreibung ein:', + 'sample_desc' => 'FlatPress-bezogene Artikel, Anleitungen und Plugins', + 'input_keywords' => 'Füge die Schlüsselwörter ein:', + 'sample_keywords' => 'flatpress, flatpress artikel, flatpress anleitungen, flatpress plugins', + 'input_noindex' => 'Indizieren verbieten:', + 'input_nofollow' => 'Link-Following verbieten:', + 'input_noarchive' => 'Archivierung verbieten:', + 'input_nosnippet' => 'Ausschnitte verbieten:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Startseite', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Startseite', 'blog_home' => 'Startseite des Blogs', 'blog_page' => 'Blog', - 'archive' => 'Archiv', - 'category' => 'Kategorie', - 'tag' => 'Tag', - 'contact' => 'Kontakt', - 'comments' => 'Kommentare', - 'pagenum' => 'Seite #', + 'archive' => 'Archiv', + 'category' => 'Kategorie', + 'tag' => 'Tag', + 'contact' => 'Kontakt', + 'comments' => 'Kommentare', + 'pagenum' => 'Seite #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.el-gr.php b/fp-plugins/seometataginfo/lang/lang.el-gr.php index e8b7ffd..126cba8 100644 --- a/fp-plugins/seometataginfo/lang/lang.el-gr.php +++ b/fp-plugins/seometataginfo/lang/lang.el-gr.php @@ -1,29 +1,28 @@ 'Περιγραφή και λέξεις-κλειδιά', - 'description' => 'Αυτά τα στοιχεία διευκολύνουν την εύρεσή τους από τις μηχανές αναζήτησης και την ανάρτησή τους στα μέσα κοινωνικής δικτύωσης. Wikipedia', - 'input_desc' => 'Εισάγετε την περιγραφή:', - 'sample_desc' => 'FlatPress σχετικά άρθρα, οδηγοί και plugins', - 'input_keywords' => 'Εισάγετε τις λέξεις-κλειδιά:', - 'sample_keywords' => 'flatpress, flatpress άρθρα, flatpress οδηγοί, flatpress πρόσθετα', - 'input_noindex' => 'Απαγόρευση ευρετηρίασης:', - 'input_nofollow' => 'Απαγόρευση της παρακολούθησης:', - 'input_noarchive' => 'Απαγόρευση αρχειοθέτησης:', - 'input_nosnippet' => 'Απαγόρευση αποσπασμάτων:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Περιγραφή και λέξεις-κλειδιά', + 'description' => 'Αυτά τα στοιχεία διευκολύνουν την εύρεσή τους από τις μηχανές αναζήτησης και την ανάρτησή τους στα μέσα κοινωνικής δικτύωσης. Wikipedia', + 'input_desc' => 'Εισάγετε την περιγραφή:', + 'sample_desc' => 'FlatPress σχετικά άρθρα, οδηγοί και plugins', + 'input_keywords' => 'Εισάγετε τις λέξεις-κλειδιά:', + 'sample_keywords' => 'flatpress, flatpress άρθρα, flatpress οδηγοί, flatpress πρόσθετα', + 'input_noindex' => 'Απαγόρευση ευρετηρίασης:', + 'input_nofollow' => 'Απαγόρευση της παρακολούθησης:', + 'input_noarchive' => 'Απαγόρευση αρχειοθέτησης:', + 'input_nosnippet' => 'Απαγόρευση αποσπασμάτων:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Αρχική σελίδα', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Αρχική σελίδα', 'blog_home' => 'Blog Αρχική σελίδα', 'blog_page' => 'Blog', - 'archive' => 'Αρχείο', - 'category' => 'Κατηγορία', - 'tag' => 'Tag', - 'contact' => 'Επικοινωνήστε μαζί μας', - 'comments' => 'Σχόλια', - 'pagenum' => 'Σελίδα #', + 'archive' => 'Αρχείο', + 'category' => 'Κατηγορία', + 'tag' => 'Tag', + 'contact' => 'Επικοινωνήστε μαζί μας', + 'comments' => 'Σχόλια', + 'pagenum' => 'Σελίδα #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.en-us.php b/fp-plugins/seometataginfo/lang/lang.en-us.php index 88b61c0..4ce3ba7 100644 --- a/fp-plugins/seometataginfo/lang/lang.en-us.php +++ b/fp-plugins/seometataginfo/lang/lang.en-us.php @@ -1,29 +1,28 @@ 'Description and keywords', - 'description' => 'These details make it easier to find them with search engines and to post them on social media. Wikipedia', - 'input_desc' => 'Insert the description:', - 'sample_desc' => 'FlatPress related articles, guides and plugins', - 'input_keywords' => 'Insert the keywords:', - 'sample_keywords' => 'flatpress, flatpress articles, flatpress guides, flatpress plugins', - 'input_noindex' => 'Disallow Indexing:', - 'input_nofollow' => 'Disallow Following:', - 'input_noarchive' => 'Disallow Archiving:', - 'input_nosnippet' => 'Disallow snippets:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Description and keywords', + 'description' => 'These details make it easier to find them with search engines and to post them on social media. Wikipedia', + 'input_desc' => 'Insert the description:', + 'sample_desc' => 'FlatPress related articles, guides and plugins', + 'input_keywords' => 'Insert the keywords:', + 'sample_keywords' => 'flatpress, flatpress articles, flatpress guides, flatpress plugins', + 'input_noindex' => 'Disallow Indexing:', + 'input_nofollow' => 'Disallow Following:', + 'input_noarchive' => 'Disallow Archiving:', + 'input_nosnippet' => 'Disallow snippets:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Home', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Home', 'blog_home' => 'Blog Home', 'blog_page' => 'Blog', - 'archive' => 'Archive', - 'category' => 'Category', - 'tag' => 'Tag', - 'contact' => 'Contact Us', - 'comments' => 'Comments', - 'pagenum' => 'Page #', + 'archive' => 'Archive', + 'category' => 'Category', + 'tag' => 'Tag', + 'contact' => 'Contact Us', + 'comments' => 'Comments', + 'pagenum' => 'Page #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.es-es.php b/fp-plugins/seometataginfo/lang/lang.es-es.php index cfdd118..73d5d5a 100644 --- a/fp-plugins/seometataginfo/lang/lang.es-es.php +++ b/fp-plugins/seometataginfo/lang/lang.es-es.php @@ -1,29 +1,28 @@ 'Descripción y palabras clave', - 'description' => 'Estos datos facilitan su búsqueda en los motores de búsqueda y su publicación en las redes sociales. Wikipedia', - 'input_desc' => 'Introduzca la descripción:', - 'sample_desc' => 'FlatPress artículos relacionados, guías y plugins', - 'input_keywords' => 'Introduzca las palabras clave:', - 'sample_keywords' => 'flatpress, flatpress artículos, flatpress guías, flatpress plugins', - 'input_noindex' => 'No permitir la indexación:', - 'input_nofollow' => 'No permitir lo siguiente:', - 'input_noarchive' => 'No permitir el archivo:', - 'input_nosnippet' => 'No permitir fragmentos:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Descripción y palabras clave', + 'description' => 'Estos datos facilitan su búsqueda en los motores de búsqueda y su publicación en las redes sociales. Wikipedia', + 'input_desc' => 'Introduzca la descripción:', + 'sample_desc' => 'FlatPress artículos relacionados, guías y plugins', + 'input_keywords' => 'Introduzca las palabras clave:', + 'sample_keywords' => 'flatpress, flatpress artículos, flatpress guías, flatpress plugins', + 'input_noindex' => 'No permitir la indexación:', + 'input_nofollow' => 'No permitir lo siguiente:', + 'input_noarchive' => 'No permitir el archivo:', + 'input_nosnippet' => 'No permitir fragmentos:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Inicio', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Inicio', 'blog_home' => 'Blog Inicio', 'blog_page' => 'Blog', - 'archive' => 'Archivo', - 'category' => 'Categoría', - 'tag' => 'Tag', - 'contact' => 'Contacte con nosotros', - 'comments' => 'Comentarios', - 'pagenum' => 'Página #', + 'archive' => 'Archivo', + 'category' => 'Categoría', + 'tag' => 'Tag', + 'contact' => 'Contacte con nosotros', + 'comments' => 'Comentarios', + 'pagenum' => 'Página #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.fr-fr.php b/fp-plugins/seometataginfo/lang/lang.fr-fr.php index 747a28e..1b9cf16 100644 --- a/fp-plugins/seometataginfo/lang/lang.fr-fr.php +++ b/fp-plugins/seometataginfo/lang/lang.fr-fr.php @@ -1,29 +1,28 @@ 'Description et mots-clés Descripción y palabras clave', - 'description' => 'Ces détails permettent de les retrouver plus facilement avec les moteurs de recherche et de les afficher sur les médias sociaux. Wikipedia', - 'input_desc' => 'Insérez la description :', - 'sample_desc' => 'Articles, guides et plugins relatifs à FlatPress', - 'input_keywords' => 'Insérez les mots-clés :', - 'sample_keywords' => 'flatpress, flatpress articles, flatpress guides, flatpress plugins', - 'input_noindex' => 'Désactiver l\'indexation :', - 'input_nofollow' => 'Désactiver suivant :', - 'input_noarchive' => 'Désactiver l\'archivage :', - 'input_nosnippet' => 'Désactiver les snippets :', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Description et mots-clés Descripción y palabras clave', + 'description' => 'Ces détails permettent de les retrouver plus facilement avec les moteurs de recherche et de les afficher sur les médias sociaux. Wikipedia', + 'input_desc' => 'Insérez la description :', + 'sample_desc' => 'Articles, guides et plugins relatifs à FlatPress', + 'input_keywords' => 'Insérez les mots-clés :', + 'sample_keywords' => 'flatpress, flatpress articles, flatpress guides, flatpress plugins', + 'input_noindex' => 'Désactiver l\'indexation :', + 'input_nofollow' => 'Désactiver suivant :', + 'input_noarchive' => 'Désactiver l\'archivage :', + 'input_nosnippet' => 'Désactiver les snippets :' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Accueil', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Accueil', 'blog_home' => 'Accueil du blog', 'blog_page' => 'Blog', - 'archive' => 'Archives', - 'category' => 'Catégorie', - 'tag' => 'Tag', - 'contact' => 'Nous contacter', - 'comments' => 'Commentaires', - 'pagenum' => 'Page #', + 'archive' => 'Archives', + 'category' => 'Catégorie', + 'tag' => 'Tag', + 'contact' => 'Nous contacter', + 'comments' => 'Commentaires', + 'pagenum' => 'Page #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.it-it.php b/fp-plugins/seometataginfo/lang/lang.it-it.php index 58690aa..99d5dc4 100644 --- a/fp-plugins/seometataginfo/lang/lang.it-it.php +++ b/fp-plugins/seometataginfo/lang/lang.it-it.php @@ -1,29 +1,28 @@ 'Descrizione e parole chiave', - 'description' => 'Questi dettagli rendono più facile trovarli con i motori di ricerca e pubblicarli sui social media. Wikipedia', - 'input_desc' => 'Inserire la descrizione:', - 'sample_desc' => 'Articoli, guide e plugin correlati a FlatPress', - 'input_keywords' => 'Inserire le parole chiave:', - 'sample_keywords' => 'flatpress, articoli flatpress, guide flatpress, plugin flatpress', - 'input_noindex' => 'Disconoscimento dell\'indicizzazione:', - 'input_nofollow' => 'Disconoscimento di quanto segue:', - 'input_noarchive' => 'Disconoscimento dell\'archiviazione:', - 'input_nosnippet' => 'Disconoscimento degli snippet:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Descrizione e parole chiave', + 'description' => 'Questi dettagli rendono più facile trovarli con i motori di ricerca e pubblicarli sui social media. Wikipedia', + 'input_desc' => 'Inserire la descrizione:', + 'sample_desc' => 'Articoli, guide e plugin correlati a FlatPress', + 'input_keywords' => 'Inserire le parole chiave:', + 'sample_keywords' => 'flatpress, articoli flatpress, guide flatpress, plugin flatpress', + 'input_noindex' => 'Disconoscimento dell\'indicizzazione:', + 'input_nofollow' => 'Disconoscimento di quanto segue:', + 'input_noarchive' => 'Disconoscimento dell\'archiviazione:', + 'input_nosnippet' => 'Disconoscimento degli snippet:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Casa', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Casa', 'blog_home' => 'Casa del blog', 'blog_page' => 'Blog', - 'archive' => 'Archivio', - 'category' => 'Categoria', - 'tag' => 'Tag', - 'contact' => 'Contatto', - 'comments' => 'Commenti', - 'pagenum' => 'Pagina #', + 'archive' => 'Archivio', + 'category' => 'Categoria', + 'tag' => 'Tag', + 'contact' => 'Contatto', + 'comments' => 'Commenti', + 'pagenum' => 'Pagina #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.ja-jp.php b/fp-plugins/seometataginfo/lang/lang.ja-jp.php index 146d53d..3559371 100644 --- a/fp-plugins/seometataginfo/lang/lang.ja-jp.php +++ b/fp-plugins/seometataginfo/lang/lang.ja-jp.php @@ -1,29 +1,28 @@ '説明とキーワード', - 'description' => 'これらの詳細な情報は、検索エンジンで見つけやすく、ソーシャルメディアに投稿しやすくなっています。 Wikipedia', - 'input_desc' => '説明を挿入します。', - 'sample_desc' => 'FlatPress 関連記事, ガイドとプラグイン', - 'input_keywords' => 'キーワードを挿入します。', - 'sample_keywords' => 'flatpress, flatpress 物品, flatpress ガイド, flatpress プラグイン', - 'input_noindex' => 'インデックスを禁止する。', - 'input_nofollow' => 'フォローを拒否する。', - 'input_noarchive' => 'アーカイブを禁止する。', - 'input_nosnippet' => 'スニペットを禁止する。', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => '説明とキーワード', + 'description' => 'これらの詳細な情報は、検索エンジンで見つけやすく、ソーシャルメディアに投稿しやすくなっています。 Wikipedia', + 'input_desc' => '説明を挿入します。', + 'sample_desc' => 'FlatPress 関連記事, ガイドとプラグイン', + 'input_keywords' => 'キーワードを挿入します。', + 'sample_keywords' => 'flatpress, flatpress 物品, flatpress ガイド, flatpress プラグイン', + 'input_noindex' => 'インデックスを禁止する。', + 'input_nofollow' => 'フォローを拒否する。', + 'input_noarchive' => 'アーカイブを禁止する。', + 'input_nosnippet' => 'スニペットを禁止する。' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'ホーム', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'ホーム', 'blog_home' => 'ブログホーム', 'blog_page' => 'ブログ', - 'archive' => 'アーカイブ', - 'category' => 'カテゴリー', - 'tag' => 'Tag', - 'contact' => 'お問い合わせ', - 'comments' => 'コメント', - 'pagenum' => 'ページ #', + 'archive' => 'アーカイブ', + 'category' => 'カテゴリー', + 'tag' => 'Tag', + 'contact' => 'お問い合わせ', + 'comments' => 'コメント', + 'pagenum' => 'ページ #' ); ?> diff --git a/fp-plugins/seometataginfo/lang/lang.nl-nl.php b/fp-plugins/seometataginfo/lang/lang.nl-nl.php index 2632bc2..60fbd3c 100644 --- a/fp-plugins/seometataginfo/lang/lang.nl-nl.php +++ b/fp-plugins/seometataginfo/lang/lang.nl-nl.php @@ -1,29 +1,28 @@ 'Beschrijving en trefwoorden', - 'description' => 'Deze gegevens maken het gemakkelijker om ze te vinden met zoekmachines en om ze op sociale media te plaatsen. Wikipedia', - 'input_desc' => 'Voeg de beschrijving in:', - 'sample_desc' => 'FlatPress-gerelateerde artikelen, gidsen en plugins', - 'input_keywords' => 'Voeg de sleutelwoorden in:', - 'sample_keywords' => 'flatpress, flatpress artikelen, flatpress gidsen, flatpress plugins', - 'input_noindex' => 'Indexering weigeren:', - 'input_nofollow' => 'Verbied volgen:', - 'input_noarchive' => 'Archivering niet toestaan:', - 'input_nosnippet' => 'Snippets niet toestaan:', +$lang ['admin'] ['plugin'] ['seometataginfo'] = array( + 'legend_desc' => 'Beschrijving en trefwoorden', + 'description' => 'Deze gegevens maken het gemakkelijker om ze te vinden met zoekmachines en om ze op sociale media te plaatsen. Wikipedia', + 'input_desc' => 'Voeg de beschrijving in:', + 'sample_desc' => 'FlatPress-gerelateerde artikelen, gidsen en plugins', + 'input_keywords' => 'Voeg de sleutelwoorden in:', + 'sample_keywords' => 'flatpress, flatpress artikelen, flatpress gidsen, flatpress plugins', + 'input_noindex' => 'Indexering weigeren:', + 'input_nofollow' => 'Verbied volgen:', + 'input_noarchive' => 'Archivering niet toestaan:', + 'input_nosnippet' => 'Snippets niet toestaan:' ); -$lang ['plugin'] ['seometataginfo'] = array ( - 'sep' => ' - ', - 'home' => 'Home', +$lang ['plugin'] ['seometataginfo'] = array( + 'sep' => ' - ', + 'home' => 'Home', 'blog_home' => 'Blog Home', 'blog_page' => 'Blog', - 'archive' => 'Archief', - 'category' => 'Categorie', - 'tag' => 'Tag', - 'contact' => 'Contacteer ons', - 'comments' => 'Commentaar', - 'pagenum' => 'Pagina #', + 'archive' => 'Archief', + 'category' => 'Categorie', + 'tag' => 'Tag', + 'contact' => 'Contacteer ons', + 'comments' => 'Commentaar', + 'pagenum' => 'Pagina #' ); ?> diff --git a/fp-plugins/seometataginfo/plugin.seometataginfo.php b/fp-plugins/seometataginfo/plugin.seometataginfo.php index 73a67cd..6c42da3 100644 --- a/fp-plugins/seometataginfo/plugin.seometataginfo.php +++ b/fp-plugins/seometataginfo/plugin.seometataginfo.php @@ -231,7 +231,7 @@ if (version_compare(SYSTEM_VER, '0.1010', '>=') == 1 && defined('MOD_ADMIN_PANEL * This function adds some functions to filters system. */ function __construct() { - //add_filter('simple_edit_form', array( // is already used by the tag-plugin and is not intended for static pages + // add_filter('simple_edit_form', array( // is already used by the tag-plugin and is not intended for static pages add_filter('simple_metatag_info', array( &$this, 'simple' @@ -266,11 +266,11 @@ function output_metatags($seo_desc, $seo_keywords, $seo_noindex, $seo_nofollow, $string = $lang ['plugin'] ['seometataginfo']; echo ' - '."\n"; + ' . "\n"; if (SEOMETA_GEN_TITLE_META) { $metatitle = apply_filters('wp_title', $fp_config ['general'] ['title'], trim($string ['sep'])); - echo "\n" . ' ' . "\n"; + echo "\n" . ' ' . "\n"; } $count = 0; @@ -293,7 +293,7 @@ function output_metatags($seo_desc, $seo_keywords, $seo_noindex, $seo_nofollow, # Now write the tags echo ' ' . "\n"; echo ' ' . "\n"; - echo ' '."\n"; + echo ' ' . "\n"; if ($count > 0) { echo ' ' . "\n"; } - echo ' '."\n"; + echo ' ' . "\n"; } function process_meta($file_meta, $type, $id, $sep) {