include languages files
This commit is contained in:
parent
0a1a97893f
commit
1dc3f067dc
|
@ -1,12 +1,15 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dbgenerator.php
|
dbgenerator.php
|
||||||
bl-content/*
|
bl-content/*
|
||||||
|
bl-content-migrator
|
||||||
bl-plugins/timemachine
|
bl-plugins/timemachine
|
||||||
bl-plugins/timemachine-x
|
bl-plugins/timemachine-x
|
||||||
bl-plugins/discovery
|
bl-plugins/discovery
|
||||||
bl-plugins/updater
|
bl-plugins/updater
|
||||||
bl-plugins/medium-editor
|
bl-plugins/medium-editor
|
||||||
bl-plugins/quill
|
bl-plugins/quill
|
||||||
|
bl-plugins/yandex-metrica/
|
||||||
|
bl-plugins/domain-migrator/
|
||||||
bl-kernel/bludit.pro.php
|
bl-kernel/bludit.pro.php
|
||||||
bl-themes/docs
|
bl-themes/docs
|
||||||
bl-themes/docsx
|
bl-themes/docsx
|
||||||
|
|
|
@ -72,15 +72,15 @@ class Text {
|
||||||
|
|
||||||
public static function addSlashes($string, $begin=true, $end=true)
|
public static function addSlashes($string, $begin=true, $end=true)
|
||||||
{
|
{
|
||||||
if($begin) {
|
if ($begin) {
|
||||||
$string = '/' . ltrim($string, '/');
|
$string = '/'.ltrim($string, '/');
|
||||||
}
|
}
|
||||||
|
|
||||||
if($end) {
|
if ($end) {
|
||||||
$string = rtrim($string, '/') . '/';
|
$string = rtrim($string, '/').'/';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($string=='//') {
|
if ($string=='//') {
|
||||||
return '/';
|
return '/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
"plugin-data":
|
"plugin-data":
|
||||||
{
|
{
|
||||||
"name": "Canonical",
|
"name": "Canonical",
|
||||||
"description": ""
|
"description": "Using canonical URLs can help to inform search engines which URLs have identical content."
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Canonical",
|
||||||
|
"description": "El uso de URL canónicas ayuda a los motores de búsqueda qué URLs tienen contenido idéntico."
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"plugin-data":
|
||||||
|
{
|
||||||
|
"name": "Robots",
|
||||||
|
"description": "Puedes usar una metaetiqueta HTML especial para decirle a los robots que no indexen el contenido de una página."
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue