languages updated, search plugin fix where Am I variable
This commit is contained in:
parent
ce3b22e3b9
commit
a5b7bacfb6
|
@ -179,7 +179,7 @@ define('HTML_PATH_UPLOADS_THUMBNAILS', HTML_PATH_UPLOADS.'thumbnails/');
|
||||||
define('HTML_PATH_PLUGINS', HTML_PATH_ROOT.'bl-plugins/');
|
define('HTML_PATH_PLUGINS', HTML_PATH_ROOT.'bl-plugins/');
|
||||||
|
|
||||||
// --- Objects with dependency ---
|
// --- Objects with dependency ---
|
||||||
$language = $language = new Language( $site->language() );
|
$language = new Language( $site->language() );
|
||||||
$url->checkFilters( $site->uriFilters() );
|
$url->checkFilters( $site->uriFilters() );
|
||||||
|
|
||||||
// --- CONSTANTS with dependency ---
|
// --- CONSTANTS with dependency ---
|
||||||
|
|
|
@ -96,7 +96,7 @@ define('SESSION_COOKIE_LIFE_TIME', 0);
|
||||||
$GLOBALS['ALERT_DISSAPEAR_IN'] = 3; // Seconds
|
$GLOBALS['ALERT_DISSAPEAR_IN'] = 3; // Seconds
|
||||||
|
|
||||||
// Number of images to show in the media manager per page
|
// Number of images to show in the media manager per page
|
||||||
$GLOBALS['MEDIA_MANAGER_NUMBER_OF_FILES'] = 2;
|
$GLOBALS['MEDIA_MANAGER_NUMBER_OF_FILES'] = 5;
|
||||||
|
|
||||||
// Sort the image by date
|
// Sort the image by date
|
||||||
$GLOBALS['MEDIA_MANAGER_SORT_BY_DATE'] = true;
|
$GLOBALS['MEDIA_MANAGER_SORT_BY_DATE'] = true;
|
||||||
|
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hallo",
|
"hello": "Hallo",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hallo",
|
"hello": "Hallo",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hola",
|
"hello": "Hola",
|
||||||
"there-are-no-images-for-the-page": "No hay imágenes para la página.",
|
"there-are-no-images-for-the-page": "No hay imágenes para la página.",
|
||||||
"select-cover-image": "Seleccionar imagen de portada",
|
"select-cover-image": "Seleccionar imagen de portada",
|
||||||
"this-plugin-depends-on-the-following-plugins": "Este plugin depende de los siguientes plugins."
|
"this-plugin-depends-on-the-following-plugins": "Este plugin depende de los siguientes plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Salut",
|
"hello": "Salut",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Cześć",
|
"hello": "Cześć",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -360,5 +360,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Привет",
|
"hello": "Привет",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -365,5 +365,6 @@
|
||||||
"hello": "Merhaba",
|
"hello": "Merhaba",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -364,5 +364,6 @@
|
||||||
"hello": "Вітаю",
|
"hello": "Вітаю",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -363,5 +363,6 @@
|
||||||
"hello": "Hello",
|
"hello": "Hello",
|
||||||
"there-are-no-images-for-the-page": "There are no images for the page.",
|
"there-are-no-images-for-the-page": "There are no images for the page.",
|
||||||
"select-cover-image": "Select cover image",
|
"select-cover-image": "Select cover image",
|
||||||
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins."
|
"this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.",
|
||||||
|
"no-pages-found": "No pages found"
|
||||||
}
|
}
|
|
@ -35,7 +35,7 @@ class pluginSearch extends Plugin {
|
||||||
public function siteSidebar()
|
public function siteSidebar()
|
||||||
{
|
{
|
||||||
global $L;
|
global $L;
|
||||||
|
|
||||||
$html = '<div class="plugin plugin-search">';
|
$html = '<div class="plugin plugin-search">';
|
||||||
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
|
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
|
||||||
$html .= '<div class="plugin-content">';
|
$html .= '<div class="plugin-content">';
|
||||||
|
@ -124,6 +124,8 @@ class pluginSearch extends Plugin {
|
||||||
if ($this->webhook($webhook, false, false)) {
|
if ($this->webhook($webhook, false, false)) {
|
||||||
|
|
||||||
global $url;
|
global $url;
|
||||||
|
global $WHERE_AM_I;
|
||||||
|
$WHERE_AM_I = 'search';
|
||||||
|
|
||||||
// Get the pre-defined variable from the rule 69.pages.php
|
// Get the pre-defined variable from the rule 69.pages.php
|
||||||
// We change the content to show in the website
|
// We change the content to show in the website
|
||||||
|
|
Loading…
Reference in New Issue