';
$html .= '';
$html .= '';
$html .= ''.$Language->get('This title is almost always used in the sidebar of the site').'';
diff --git a/bl-plugins/backup/plugin.php b/bl-plugins/backup/plugin.php
index 1cdec29d..0a96bce1 100644
--- a/bl-plugins/backup/plugin.php
+++ b/bl-plugins/backup/plugin.php
@@ -56,14 +56,17 @@ class pluginBackup extends Plugin {
return false;
}
+ public function adminSidebar()
+ {
+ $backups = $this->backupList();
+ return 'Backup '.count($backups).'';
+ }
+
public function form()
{
global $Language;
- $backups = Filesystem::listDirectories($this->workspace(), '*', true);
- if ($this->zip) {
- $backups = Filesystem::listFiles($this->workspace(), '*', 'zip', true);
- }
+ $backups = $this->backupList();
$html = '';
if (empty($backups)) {
@@ -95,6 +98,16 @@ class pluginBackup extends Plugin {
return $html;
}
+ public function backupList()
+ {
+ if ($this->zip) {
+ $backups = Filesystem::listFiles($this->workspace(), '*', 'zip', true);
+ } else {
+ $backups = Filesystem::listDirectories($this->workspace(), '*', true);
+ }
+ return $backups;
+ }
+
public function createBackup()
{
// Current backup directory
diff --git a/bl-plugins/categories/plugin.php b/bl-plugins/categories/plugin.php
index b5cee902..828d4e53 100644
--- a/bl-plugins/categories/plugin.php
+++ b/bl-plugins/categories/plugin.php
@@ -16,7 +16,11 @@ class pluginCategories extends Plugin {
{
global $Language;
- $html = '
';
+ $html = '
';
+ $html .= $this->description();
+ $html .= '
';
+
+ $html .= '
';
$html .= '';
$html .= '';
$html .= ''.$Language->get('This title is almost always used in the sidebar of the site').'';
diff --git a/bl-plugins/disqus/plugin.php b/bl-plugins/disqus/plugin.php
index 2880809f..94be3c44 100644
--- a/bl-plugins/disqus/plugin.php
+++ b/bl-plugins/disqus/plugin.php
@@ -15,7 +15,11 @@ class pluginDisqus extends Plugin {
{
global $Language;
- $html = '