fixed PHP error in is_contact(); Code formatting

This commit is contained in:
azett 2023-01-21 13:04:52 +01:00
parent d5d14f87a3
commit f735785d3c
13 changed files with 430 additions and 436 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
/* /*
* Author: Enrico Reinsdorf (enrico@.re-design.de) * Author: Enrico Reinsdorf (enrico@.re-design.de)
* Author URI: www.re-design.de * Author URI: www.re-design.de
@ -9,17 +10,16 @@
// error_reporting(E_ALL); // error_reporting(E_ALL);
// error_reporting(-1); // error_reporting(-1);
// ini_set('error_reporting', E_ALL); // ini_set('error_reporting', E_ALL);
class iniParser { class iniParser {
var $_iniFilename = ''; var $_iniFilename = '';
var $_iniParsedArray = array(); var $_iniParsedArray = array();
/** /**
* erstellt einen mehrdimensionalen Array aus der INI-Datei * erstellt einen mehrdimensionalen Array aus der INI-Datei
**/ */
function __construct($filename) function __construct($filename) {
{
$this->_iniFilename = $filename; $this->_iniFilename = $filename;
$file_content = file($this->_iniFilename); $file_content = file($this->_iniFilename);
@ -28,7 +28,10 @@ class iniParser {
foreach ($file_content as $line) { foreach ($file_content as $line) {
$line = trim($line); $line = trim($line);
if (preg_match("/^\[.+\]$/", $line)) { if (preg_match("/^\[.+\]$/", $line)) {
$sec_name = str_replace(array("[", "]"), "", $line); $sec_name = str_replace(array(
"[",
"]"
), "", $line);
// If this section already exists, ignore the line. // If this section already exists, ignore the line.
if (!isset($this->_iniParsedArray [$sec_name])) { if (!isset($this->_iniParsedArray [$sec_name])) {
$this->_iniParsedArray [$sec_name] = array(); $this->_iniParsedArray [$sec_name] = array();
@ -38,9 +41,7 @@ class iniParser {
$line_arr = explode('=', $line, 2); $line_arr = explode('=', $line, 2);
// If the line doesn't match the var=value pattern, or if it's a // If the line doesn't match the var=value pattern, or if it's a
// comment then add it without a key. // comment then add it without a key.
if (isset($line_arr [1]) && if (isset($line_arr [1]) && !(substr(trim($line_arr [0]), 0, 1) == '//' || substr(trim($line_arr [0]), 0, 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]; $this->_iniParsedArray [$cur_sec] [$line_arr [0]] = $line_arr [1];
} else { } else {
$this->_iniParsedArray [] = $line_arr [0]; $this->_iniParsedArray [] = $line_arr [0];
@ -50,63 +51,62 @@ class iniParser {
} }
/** /**
* gibt die komplette Sektion zurück * gibt die komplette Sektion zur<EFBFBD>ck
**/ */
function getSection($key) function getSection($key) {
{
return $this->_iniParsedArray [$key]; return $this->_iniParsedArray [$key];
} }
/** /**
* gibt einen Wert aus einer Sektion zurück * gibt einen Wert aus einer Sektion zur<EFBFBD>ck
**/ */
function getValue($section, $key) function getValue($section, $key) {
{ if (!isset($this->_iniParsedArray [$section]))
if (!isset($this->_iniParsedArray [$section])) return false; return false;
return $this->_iniParsedArray [$section] [$key]; return $this->_iniParsedArray [$section] [$key];
} }
/** /**
* gibt den Wert einer Sektion oder die ganze Section zurück * gibt den Wert einer Sektion oder die ganze Section zur<EFBFBD>ck
**/ */
function get($section, $key=NULL) function get($section, $key = NULL) {
{ if (is_null($key))
if (is_null($key)) return $this->getSection($section); return $this->getSection($section);
return $this->getValue($section, $key); return $this->getValue($section, $key);
} }
/** /**
* Seta um valor de acordo com a chave especificada * Seta um valor de acordo com a chave especificada
**/ */
function setSection($section, $array) function setSection($section, $array) {
{ if (!is_array($array))
if (!is_array($array)) return false; return false;
return $this->_iniParsedArray [$section] = $array; return $this->_iniParsedArray [$section] = $array;
} }
/** /**
* setzt einen neuen Wert in einer Section * setzt einen neuen Wert in einer Section
**/ */
function setValue($section, $key, $value) function setValue($section, $key, $value) {
{ if ($this->_iniParsedArray [$section] [$key] = $value)
if ($this->_iniParsedArray [$section] [$key] = $value) return true; return true;
} }
/** /**
* setzt einen neuen Wert in einer Section oder eine gesamte, neue Section * setzt einen neuen Wert in einer Section oder eine gesamte, neue Section
**/ */
function set($section, $key, $value=NULL) function set($section, $key, $value = NULL) {
{ if (is_array($key) && is_null($value))
if (is_array($key) && is_null($value)) return $this->setSection($section, $key); return $this->setSection($section, $key);
return $this->setValue($section, $key, $value); return $this->setValue($section, $key, $value);
} }
/** /**
* sichert den gesamten Array in die INI-Datei * sichert den gesamten Array in die INI-Datei
**/ */
function save($filename = null) function save($filename = null) {
{ if ($filename == null)
if ($filename == null) $filename = $this->_iniFilename; $filename = $this->_iniFilename;
if (is_writeable($filename)) { if (is_writeable($filename)) {
$SFfdescriptor = fopen($filename, "w"); $SFfdescriptor = fopen($filename, "w");
foreach ($this->_iniParsedArray as $section => $array) { foreach ($this->_iniParsedArray as $section => $array) {
@ -122,5 +122,6 @@ class iniParser {
return false; return false;
} }
} }
} }
?> ?>

View File

@ -1,6 +1,6 @@
<?php <?php
if (!function_exists('is_single')) { if (!function_exists('is_single')) {
function is_single() { function is_single() {
global $fp_params; global $fp_params;
return (!empty($fp_params ['entry'])); return (!empty($fp_params ['entry']));
@ -8,6 +8,7 @@ if (!function_exists('is_single')){
} }
if (!function_exists('is_comments')) { if (!function_exists('is_comments')) {
function is_comments() { function is_comments() {
global $fp_params; global $fp_params;
return (isset($fp_params ['comments'])); return (isset($fp_params ['comments']));
@ -15,46 +16,39 @@ if (!function_exists('is_comments')){
} }
if (!function_exists('is_static')) { if (!function_exists('is_static')) {
function is_static() { function is_static() {
global $fp_params, $fp_config; global $fp_params, $fp_config;
return (!empty($fp_params ['page']) || return (!empty($fp_params ['page']) || (empty($fp_params) && !empty($fp_config ['general'] ['startpage'])));
(empty($fp_params) && !empty($fp_config ['general'] ['startpage']))
);
} }
} }
if (!function_exists('is_static_home')) { if (!function_exists('is_static_home')) {
function is_static_home() { function is_static_home() {
global $fp_params, $fp_config; global $fp_params, $fp_config;
return ( return ((empty($fp_params ['page']) && empty($fp_params) && !empty($fp_config ['general'] ['startpage'])) || (!empty($fp_params ['page']) && !empty($fp_config ['general'] ['startpage']) && $fp_params ['page'] === $fp_config ['general'] ['startpage']));
(empty($fp_params ['page']) && empty($fp_params) && !empty($fp_config ['general'] ['startpage'])) ||
(!empty($fp_params ['page']) && !empty($fp_config ['general'] ['startpage']) &&
$fp_params ['page'] === $fp_config ['general'] ['startpage'])
);
} }
} }
if (!function_exists('is_blog_home')) { if (!function_exists('is_blog_home')) {
function is_blog_home() { function is_blog_home() {
global $fp_params, $fp_config; global $fp_params, $fp_config;
return ( return ((count(array_filter($fp_params)) === 1 && !empty($fp_params ['paged']) && $fp_params ['paged'] == 1) || (empty($fp_params) && empty($fp_config ['general'] ['startpage'])));
(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_blog_page')) { if (!function_exists('is_blog_page')) {
function is_blog_page() { function is_blog_page() {
global $fp_params, $fp_config; global $fp_params, $fp_config;
return ( return ((count(array_filter($fp_params)) === 1 && !empty($fp_params ['paged']) && $fp_params ['paged'] >= 1) || (empty($fp_params) && empty($fp_config ['general'] ['startpage'])));
(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')) { if (!function_exists('is_paging')) {
function is_paging() { function is_paging() {
global $fp_params; global $fp_params;
return (!empty($fp_params ['paged']) && $fp_params ['paged'] >= 2); return (!empty($fp_params ['paged']) && $fp_params ['paged'] >= 2);
@ -62,6 +56,7 @@ if (!function_exists('is_paging')){
} }
if (!function_exists('is_category')) { if (!function_exists('is_category')) {
function is_category() { function is_category() {
global $fp_params; global $fp_params;
return (!empty($fp_params ['cat']) && !is_tag()); return (!empty($fp_params ['cat']) && !is_tag());
@ -69,6 +64,7 @@ if (!function_exists('is_category')){
} }
if (!function_exists('is_tag')) { if (!function_exists('is_tag')) {
function is_tag() { function is_tag() {
global $fp_params; global $fp_params;
return (!empty($fp_params ['tag'])); return (!empty($fp_params ['tag']));
@ -76,6 +72,7 @@ if (!function_exists('is_tag')){
} }
if (!function_exists('is_feed')) { if (!function_exists('is_feed')) {
function is_feed() { function is_feed() {
global $fp_params; global $fp_params;
return (!empty($fp_params ['feed'])); return (!empty($fp_params ['feed']));
@ -83,6 +80,7 @@ if (!function_exists('is_feed')){
} }
if (!function_exists('is_search')) { if (!function_exists('is_search')) {
function is_search() { function is_search() {
global $fp_params; global $fp_params;
return (!empty($_GET ['q'])); return (!empty($_GET ['q']));
@ -90,53 +88,48 @@ if (!function_exists('is_search')){
} }
if (!function_exists('is_contact')) { if (!function_exists('is_contact')) {
function is_contact() { function is_contact() {
global $smarty; global $smarty;
return ( // check if contact form
(!empty($smarty->_tpl_vars ['SCRIPT_NAME']) && // check if contact form $scriptName = $smarty->getTemplateVars('SCRIPT_NAME');
strpos($smarty->_tpl_vars ['SCRIPT_NAME'], 'contact.php')) $result = (!empty($scriptName) && strpos($scriptName, 'contact.php'));
); return $result;
} }
} }
if (!function_exists('is_archive')) { if (!function_exists('is_archive')) {
function is_archive() { function is_archive() {
global $fp_params; global $fp_params;
return (!is_single() && !is_static() && !is_category() && !is_tag() && return (!is_single() && !is_static() && !is_category() && !is_tag() && (!empty($fp_params ['y']) || !empty($fp_params ['m']) || !empty($fp_params ['d'])));
(!empty($fp_params ['y']) || !empty($fp_params ['m']) || !empty($fp_params ['d'])));
} }
} }
if (!function_exists('is_archive_year')) { if (!function_exists('is_archive_year')) {
function is_archive_year() { function is_archive_year() {
global $fp_params; global $fp_params;
return (is_archive() && return (is_archive() && (!empty($fp_params ['y']) && (empty($fp_params ['m']) && empty($fp_params ['d']))));
(!empty($fp_params ['y']) &&
(empty($fp_params ['m']) && empty($fp_params ['d']))
)
);
} }
} }
if (!function_exists('is_archive_month')) { if (!function_exists('is_archive_month')) {
function is_archive_month() { function is_archive_month() {
global $fp_params; global $fp_params;
return (is_archive() && return (is_archive() && ((!empty($fp_params ['y']) && !empty($fp_params ['m'])) && empty($fp_params ['d'])));
(
(!empty($fp_params ['y']) && !empty($fp_params ['m'])) &&
empty($fp_params ['d'])
)
);
} }
} }
if (!function_exists('is_archive_day')) { if (!function_exists('is_archive_day')) {
function is_archive_day() { function is_archive_day() {
global $fp_params; global $fp_params;
return (is_archive() && return (is_archive() && (!empty($fp_params ['y']) && !empty($fp_params ['m']) && !empty($fp_params ['d'])));
(!empty($fp_params ['y']) && !empty($fp_params ['m']) && !empty($fp_params ['d'])));
} }
} }
if (!function_exists('get_category_name')) { if (!function_exists('get_category_name')) {
function get_category_name($catid) { function get_category_name($catid) {
$category_names = entry_categories_get('defs'); $category_names = entry_categories_get('defs');
return (!empty($category_names [$catid]) ? $category_names [$catid] : ""); return (!empty($category_names [$catid]) ? $category_names [$catid] : "");
@ -144,16 +137,22 @@ if (!function_exists('get_category_name')){
} }
if (!function_exists('pathinfo_filename')) { if (!function_exists('pathinfo_filename')) {
function pathinfo_filename($file) { // file.name.ext, returns file.name function pathinfo_filename($file) { // file.name.ext, returns file.name
if (defined('PATHINFO_FILENAME')) return pathinfo($file,PATHINFO_FILENAME); if (defined('PATHINFO_FILENAME'))
if (strstr($file, '.')) return substr($file,0,strrpos($file,'.')); return pathinfo($file, PATHINFO_FILENAME);
if (strstr($file, '.'))
return substr($file, 0, strrpos($file, '.'));
} }
} }
if (!function_exists('currentPageURL')) { if (!function_exists('currentPageURL')) {
function currentPageURL() { function currentPageURL() {
$curpageURL = 'http'; $curpageURL = 'http';
if ($_SERVER ["HTTPS"] == "on") {$curpageURL.= "s";} if (array_key_exists("HTTPS", $_SERVER) && $_SERVER ["HTTPS"] == "on") {
$curpageURL .= "s";
}
$curpageURL .= "://"; $curpageURL .= "://";
if ($_SERVER ["SERVER_PORT"] != "80") { if ($_SERVER ["SERVER_PORT"] != "80") {
// $curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; // $curpageURL.= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
@ -167,36 +166,38 @@ if (!function_exists('currentPageURL')){
// removes files and non-empty directories // removes files and non-empty directories
if (!function_exists('rrmdir')) { if (!function_exists('rrmdir')) {
function rrmdir($dir) { function rrmdir($dir) {
if (is_dir($dir)) { if (is_dir($dir)) {
$files = scandir($dir); $files = scandir($dir);
foreach ($files as $file) foreach ($files as $file)
if ($file != "." && $file != "..") rrmdir("$dir/$file"); if ($file != "." && $file != "..")
rrmdir("$dir/$file");
rmdir($dir); rmdir($dir);
} } else if (file_exists($dir))
else if (file_exists($dir)) unlink($dir); unlink($dir);
} }
} }
// copies files and non-empty directories // copies files and non-empty directories
if (!function_exists('rcopy')) { if (!function_exists('rcopy')) {
function rcopy($src, $dst) { function rcopy($src, $dst) {
if (file_exists($dst)) rrmdir($dst); if (file_exists($dst))
rrmdir($dst);
if (is_dir($src)) { if (is_dir($src)) {
mkdir($dst); mkdir($dst);
$files = scandir($src); $files = scandir($src);
foreach ($files as $file) foreach ($files as $file)
if ($file != "." && $file != "..") if ($file != "." && $file != "..")
rcopy("$src/$file", "$dst/$file"); rcopy("$src/$file", "$dst/$file");
} } else if (file_exists($src))
else if (file_exists($src)) copy($src, $dst); copy($src, $dst);
} }
} }
function is_empty_dir($dir) { function is_empty_dir($dir) {
if ($dh = @opendir($dir)) if ($dh = @opendir($dir)) {
{ while ($file = readdir($dh)) {
while ($file = readdir($dh))
{
if ($file != '.' && $file != '..') { if ($file != '.' && $file != '..') {
closedir($dh); closedir($dh);
return false; return false;
@ -204,12 +205,13 @@ function is_empty_dir($dir){
} }
closedir($dh); closedir($dh);
return true; return true;
} } else
else return false; // whatever the reason is : no such dir, not a dir, not readable return false; // whatever the reason is : no such dir, not a dir, not readable
} }
// debug // debug
if (!function_exists('echoPre')) { if (!function_exists('echoPre')) {
function echoPre($value, $print = true) { function echoPre($value, $print = true) {
$output = ''; $output = '';
if ($value) { if ($value) {

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Popis a klíčová slova', '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. <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Tyto údaje usnadňují jejich nalezení pomocí vyhledávačů a zveřejnění na sociálních sítích. <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Zakázat indexování:', 'input_noindex' => 'Zakázat indexování:',
'input_nofollow' => 'Zakázat sledování:', 'input_nofollow' => 'Zakázat sledování:',
'input_noarchive' => 'Zakázat archivaci:', 'input_noarchive' => 'Zakázat archivaci:',
'input_nosnippet' => 'Zakázat úryvky:', 'input_nosnippet' => 'Zakázat úryvky:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Kontaktujte nás', 'contact' => 'Kontaktujte nás',
'comments' => 'Komentáře', 'comments' => 'Komentáře',
'pagenum' => 'Stránka #', 'pagenum' => 'Stránka #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Beschreibung und Schlüsselwörter', 'legend_desc' => 'Beschreibung und Schlüsselwörter',
'description' => 'Diese Angaben erleichtern das Auffinden mit Suchmaschinen und das Einfügen in sozialen Medien. <a href="https://de.wikipedia.org/wiki/Meta-Element" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Diese Angaben erleichtern das Auffinden mit Suchmaschinen und das Einfügen in sozialen Medien. <a href="https://de.wikipedia.org/wiki/Meta-Element" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Indizieren verbieten:', 'input_noindex' => 'Indizieren verbieten:',
'input_nofollow' => 'Link-Following verbieten:', 'input_nofollow' => 'Link-Following verbieten:',
'input_noarchive' => 'Archivierung verbieten:', 'input_noarchive' => 'Archivierung verbieten:',
'input_nosnippet' => 'Ausschnitte verbieten:', 'input_nosnippet' => 'Ausschnitte verbieten:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Kontakt', 'contact' => 'Kontakt',
'comments' => 'Kommentare', 'comments' => 'Kommentare',
'pagenum' => 'Seite #', 'pagenum' => 'Seite #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Περιγραφή και λέξεις-κλειδιά', 'legend_desc' => 'Περιγραφή και λέξεις-κλειδιά',
'description' => 'Αυτά τα στοιχεία διευκολύνουν την εύρεσή τους από τις μηχανές αναζήτησης και την ανάρτησή τους στα μέσα κοινωνικής δικτύωσης. <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Αυτά τα στοιχεία διευκολύνουν την εύρεσή τους από τις μηχανές αναζήτησης και την ανάρτησή τους στα μέσα κοινωνικής δικτύωσης. <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Απαγόρευση ευρετηρίασης:', 'input_noindex' => 'Απαγόρευση ευρετηρίασης:',
'input_nofollow' => 'Απαγόρευση της παρακολούθησης:', 'input_nofollow' => 'Απαγόρευση της παρακολούθησης:',
'input_noarchive' => 'Απαγόρευση αρχειοθέτησης:', 'input_noarchive' => 'Απαγόρευση αρχειοθέτησης:',
'input_nosnippet' => 'Απαγόρευση αποσπασμάτων:', 'input_nosnippet' => 'Απαγόρευση αποσπασμάτων:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Επικοινωνήστε μαζί μας', 'contact' => 'Επικοινωνήστε μαζί μας',
'comments' => 'Σχόλια', 'comments' => 'Σχόλια',
'pagenum' => 'Σελίδα #', 'pagenum' => 'Σελίδα #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Description and keywords', 'legend_desc' => 'Description and keywords',
'description' => 'These details make it easier to find them with search engines and to post them on social media. <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'These details make it easier to find them with search engines and to post them on social media. <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Disallow Indexing:', 'input_noindex' => 'Disallow Indexing:',
'input_nofollow' => 'Disallow Following:', 'input_nofollow' => 'Disallow Following:',
'input_noarchive' => 'Disallow Archiving:', 'input_noarchive' => 'Disallow Archiving:',
'input_nosnippet' => 'Disallow snippets:', 'input_nosnippet' => 'Disallow snippets:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Contact Us', 'contact' => 'Contact Us',
'comments' => 'Comments', 'comments' => 'Comments',
'pagenum' => 'Page #', 'pagenum' => 'Page #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Descripción y palabras clave', '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. <a href="https://es.wikipedia.org/wiki/Etiqueta_meta" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Estos datos facilitan su búsqueda en los motores de búsqueda y su publicación en las redes sociales. <a href="https://es.wikipedia.org/wiki/Etiqueta_meta" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'No permitir la indexación:', 'input_noindex' => 'No permitir la indexación:',
'input_nofollow' => 'No permitir lo siguiente:', 'input_nofollow' => 'No permitir lo siguiente:',
'input_noarchive' => 'No permitir el archivo:', 'input_noarchive' => 'No permitir el archivo:',
'input_nosnippet' => 'No permitir fragmentos:', 'input_nosnippet' => 'No permitir fragmentos:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Contacte con nosotros', 'contact' => 'Contacte con nosotros',
'comments' => 'Comentarios', 'comments' => 'Comentarios',
'pagenum' => 'Página #', 'pagenum' => 'Página #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Description et mots-clés Descripción y palabras clave', '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. <a href="https://fr.wikipedia.org/wiki/Élément_meta" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Ces détails permettent de les retrouver plus facilement avec les moteurs de recherche et de les afficher sur les médias sociaux. <a href="https://fr.wikipedia.org/wiki/Élément_meta" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Désactiver l\'indexation :', 'input_noindex' => 'Désactiver l\'indexation :',
'input_nofollow' => 'Désactiver suivant :', 'input_nofollow' => 'Désactiver suivant :',
'input_noarchive' => 'Désactiver l\'archivage :', 'input_noarchive' => 'Désactiver l\'archivage :',
'input_nosnippet' => 'Désactiver les snippets :', 'input_nosnippet' => 'Désactiver les snippets :'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Nous contacter', 'contact' => 'Nous contacter',
'comments' => 'Commentaires', 'comments' => 'Commentaires',
'pagenum' => 'Page #', 'pagenum' => 'Page #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Descrizione e parole chiave', 'legend_desc' => 'Descrizione e parole chiave',
'description' => 'Questi dettagli rendono più facile trovarli con i motori di ricerca e pubblicarli sui social media. <a href="https://it.wikipedia.org/wiki/Meta_tag" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Questi dettagli rendono più facile trovarli con i motori di ricerca e pubblicarli sui social media. <a href="https://it.wikipedia.org/wiki/Meta_tag" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Disconoscimento dell\'indicizzazione:', 'input_noindex' => 'Disconoscimento dell\'indicizzazione:',
'input_nofollow' => 'Disconoscimento di quanto segue:', 'input_nofollow' => 'Disconoscimento di quanto segue:',
'input_noarchive' => 'Disconoscimento dell\'archiviazione:', 'input_noarchive' => 'Disconoscimento dell\'archiviazione:',
'input_nosnippet' => 'Disconoscimento degli snippet:', 'input_nosnippet' => 'Disconoscimento degli snippet:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Contatto', 'contact' => 'Contatto',
'comments' => 'Commenti', 'comments' => 'Commenti',
'pagenum' => 'Pagina #', 'pagenum' => 'Pagina #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => '説明とキーワード', 'legend_desc' => '説明とキーワード',
'description' => 'これらの詳細な情報は、検索エンジンで見つけやすく、ソーシャルメディアに投稿しやすくなっています。 <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'これらの詳細な情報は、検索エンジンで見つけやすく、ソーシャルメディアに投稿しやすくなっています。 <a href="https://en.wikipedia.org/wiki/Meta_element" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'インデックスを禁止する。', 'input_noindex' => 'インデックスを禁止する。',
'input_nofollow' => 'フォローを拒否する。', 'input_nofollow' => 'フォローを拒否する。',
'input_noarchive' => 'アーカイブを禁止する。', 'input_noarchive' => 'アーカイブを禁止する。',
'input_nosnippet' => 'スニペットを禁止する。', 'input_nosnippet' => 'スニペットを禁止する。'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'お問い合わせ', 'contact' => 'お問い合わせ',
'comments' => 'コメント', 'comments' => 'コメント',
'pagenum' => 'ページ #', 'pagenum' => 'ページ #'
); );
?> ?>

View File

@ -1,5 +1,4 @@
<?php <?php
$lang ['admin'] ['plugin'] ['seometataginfo'] = array( $lang ['admin'] ['plugin'] ['seometataginfo'] = array(
'legend_desc' => 'Beschrijving en trefwoorden', '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. <a href="https://nl.wikipedia.org/wiki/Metatag" title="Wikipedia" target="_blank">Wikipedia</a>', 'description' => 'Deze gegevens maken het gemakkelijker om ze te vinden met zoekmachines en om ze op sociale media te plaatsen. <a href="https://nl.wikipedia.org/wiki/Metatag" title="Wikipedia" target="_blank">Wikipedia</a>',
@ -10,7 +9,7 @@ $lang ['admin'] ['plugin'] ['seometataginfo'] = array (
'input_noindex' => 'Indexering weigeren:', 'input_noindex' => 'Indexering weigeren:',
'input_nofollow' => 'Verbied volgen:', 'input_nofollow' => 'Verbied volgen:',
'input_noarchive' => 'Archivering niet toestaan:', 'input_noarchive' => 'Archivering niet toestaan:',
'input_nosnippet' => 'Snippets niet toestaan:', 'input_nosnippet' => 'Snippets niet toestaan:'
); );
$lang ['plugin'] ['seometataginfo'] = array( $lang ['plugin'] ['seometataginfo'] = array(
@ -23,7 +22,7 @@ $lang ['plugin'] ['seometataginfo'] = array (
'tag' => 'Tag', 'tag' => 'Tag',
'contact' => 'Contacteer ons', 'contact' => 'Contacteer ons',
'comments' => 'Commentaar', 'comments' => 'Commentaar',
'pagenum' => 'Pagina #', 'pagenum' => 'Pagina #'
); );
?> ?>

View File

@ -270,7 +270,7 @@ function output_metatags($seo_desc, $seo_keywords, $seo_noindex, $seo_nofollow,
if (SEOMETA_GEN_TITLE_META) { if (SEOMETA_GEN_TITLE_META) {
$metatitle = apply_filters('wp_title', $fp_config ['general'] ['title'], trim($string ['sep'])); $metatitle = apply_filters('wp_title', $fp_config ['general'] ['title'], trim($string ['sep']));
echo "\n" . ' <meta name="Title" content="' . $metatitle . '">' . "\n"; echo "\n" . ' <meta name="title" content="' . $metatitle . '">' . "\n";
} }
$count = 0; $count = 0;