]> git.mjollnir.org Git - s9y.git/commitdiff
If someone is linking the additional_plugins into his installation,
authorgarvinhicking <garvinhicking>
Thu, 12 May 2005 10:49:41 +0000 (10:49 +0000)
committergarvinhicking <garvinhicking>
Thu, 12 May 2005 10:49:41 +0000 (10:49 +0000)
the list of plugins grows too large and load_plugin() on 90 plugins consumes
more than 8MB.

Thus we need pagination for the plugins panel.

The one flaw my patch has is that it can not sort the list of all plugins alphabetically and apply pagination on that, since only loading the plugin shows the real name, and this is what we cannot do.
Any suggestions? Somehow we might need to pre-cache the names of all plugins somewhere...

26 files changed:
docs/NEWS
include/admin/plugins.inc.php
include/plugin_api.inc.php
lang/serendipity_lang_bg.inc.php
lang/serendipity_lang_cn.inc.php
lang/serendipity_lang_cs.inc.php
lang/serendipity_lang_cz.inc.php
lang/serendipity_lang_da.inc.php
lang/serendipity_lang_de.inc.php
lang/serendipity_lang_en.inc.php
lang/serendipity_lang_es.inc.php
lang/serendipity_lang_fa.inc.php
lang/serendipity_lang_fi.inc.php
lang/serendipity_lang_fr.inc.php
lang/serendipity_lang_is.inc.php
lang/serendipity_lang_it.inc.php
lang/serendipity_lang_ja.inc.php
lang/serendipity_lang_ko.inc.php
lang/serendipity_lang_nl.inc.php
lang/serendipity_lang_no.inc.php
lang/serendipity_lang_pt.inc.php
lang/serendipity_lang_ro.inc.php
lang/serendipity_lang_ru.inc.php
lang/serendipity_lang_tn.inc.php
lang/serendipity_lang_tw.inc.php
lang/serendipity_lang_zh.inc.php

index 4dce42d1a703bd3e7ab4aaf8cc1663e3a18cda48..339c332bb38786a608813c22be2d80a50a457802 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,9 @@
 Version 0.9 ()
 ------------------------------------------------------------------------
 
+    * Pagination of plugins to install to save memory allocation if many
+      plugins are downloaded (garvinhicking)
+
     * Fix possible arbitrary media file upload for editors 
       (garvinhicking, sesser, nohn)
 
index 81ad403975426e29b1614edb6110998d9e7167e6..4b141016cceca58daf3060d5f780f4d011a5e7df 100644 (file)
@@ -519,15 +519,55 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
         <td width="100" align="center"><strong>Action</strong></td>
     </tr>
 <?php
+    $plugin_navigation = '';
+
     if (count($foreignPlugins) > 0) {
         $pluginstack = $foreignPlugins['pluginstack'];
         $errorstack  = $foreignPlugins['errorstack'];
     } else {
+        $pluginsPerPage = 45;
+        $currentPage    = (int)(!empty($serendipity['GET']['page']) ? $serendipity['GET']['page'] : 1);
+        $countStart     = ($currentPage-1) * $pluginsPerPage;
+        $countEnd       = ($currentPage)   * $pluginsPerPage; 
+
         $plugins = serendipity_plugin_api::get_installed_plugins();
 
         $errorstack = $pluginstack = array();
-        $classes = serendipity_plugin_api::enum_plugin_classes(($serendipity['GET']['type'] == 'event'));
+        $classes    = serendipity_plugin_api::enum_plugin_classes(($serendipity['GET']['type'] == 'event'));
+        // TODO: With pagination of the plugins we cannot get the localized title of the plugins before sorting it.
+        //       This means we get a weird order of the plugins. We need to find a way
+        //       to do the sorting on the real plugin name WITHOUT loading ALL dozen plugins
+        usort($classes, 'serendipity_pluginListSort'); 
+
+        $maxPage           = ceil(count($classes)/$pluginsPerPage);
+        $plugin_navigation = '<tr><td colspan="2" align="center">' . sprintf(PAGE_BROWSE_PLUGINS, $currentPage, $maxPage, count($classes)) . '<br />';
+        $plugin_pages      = array();
+        for ($i = 1; $i <= $maxPage; $i++) {
+            $plugin_page = '';
+            if ($i == $currentPage) {
+                $plugin_page .= '<strong>';
+            }
+
+            $plugin_page .= '<a href="?serendipity[adminModule]=plugins&amp;serendipity[adminAction]=addnew&amp;serendipity[type]=' . $serendipity['GET']['type'] . '&amp;serendipity[page]=' . $i . '">' . $i . '</a>';
+
+            if ($i == $currentPage) {
+                $plugin_page .= '</strong>';
+            }
+            
+            $plugin_pages[] = $plugin_page;
+        }
+        $plugin_navigation .= implode(' | ', $plugin_pages);
+      
+        echo $plugin_navigation;
+
+        $counter    = 0;
         foreach ($classes as $class_data) {
+            $counter++;
+
+            if ($counter < $countStart || $counter > $countEnd) {
+                continue;
+            }
+
             $plugin =& serendipity_plugin_api::load_plugin($class_data['name'], null, $class_data['pluginPath']);
             if (is_object($plugin)) {
                 $bag = new serendipity_property_bag;
@@ -552,8 +592,7 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
     foreach($errorstack as $e_idx => $e_name) {
         echo ERROR . ': ' . $e_name . '<br />';
     }
-?>
-<?php
+
     foreach ($pluginstack as $plug) {
         $jsLine = " onmouseout=\"document.getElementById('serendipity_plugin_". $plug['class_name'] ."').className='';\"";
         $jsLine .= " onmouseover=\"document.getElementById('serendipity_plugin_". $plug['class_name'] ."').className='serendipity_admin_list_item_uneven';\"";
@@ -625,6 +664,8 @@ if (isset($_GET['serendipity']['plugin_to_conf'])) {
     </tr>
 <?php
     }
+
+    echo $plugin_navigation;
 ?>
 </table>
 
index 9b66da438ffc5facf10fc5908a7d4bd36dadbd4d..f6cbd104fe57c42bb9ad8d24acbfabd446b40d73 100644 (file)
@@ -408,6 +408,9 @@ class serendipity_plugin_api {
         }
 
         $pluginData = array();
+        $addData    = func_get_args();
+        serendipity_plugin_api::hook_event('frontend_generate_plugins', $plugins, $addData);
+
         foreach ($plugins as $plugin_data) {
             $plugin =& serendipity_plugin_api::load_plugin($plugin_data['name'], $plugin_data['authorid'], $plugin_data['path']);
             if (is_object($plugin)) {
index 020dd666d13e9081ccd14399e11642aa948b0501..869c419020ff0edf1421a305acf18b23576c9dd0 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index a873f63df1655ed1dd54d7404e584f8a185aa1d3..de6bf3971c456eb5471c2da217d707c38bca9831 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 169f84ed62a7201049eec9ad604136b3477d2a37..e283ee14f7837010b256580cb0bb474754d9a342 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index a6cc8e7917706b9b3a37718e0a9f3cf615f8d186..f9add4c771620dcfb95cb1e0989341cb85931f67 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index ce08f4b8a9beb4c35f9b56e17c0f6d152335577c..f134ee7e12c1b1ae8a8b7748a643c1ef14782d33 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
index d498813739d65ccf2ff56fe7bc0260ca5a1038fc..2979ddde39c09279b3e4d5c66edc774948e87326 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 96c43f47db54ddc03da6e02d4e112fa48c08bf40..bb8e7bf1161f36cf98ffea7b22354fc00c8e24e4 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index faa415522ad15c1d240fcc87eb62755cc6152dc2..0b7c4a4f7f291b61473ca61be360134473364a76 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 207c215de19bb232b3b4b27e69b3b363fb073fb2..39ebed5ce8027ea14ed88291d8594664da7b3e65 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index fe83884cb702a5712c43c90f46a18f6f7bbdc47a..6fc64660c011afe473733b4b4bcd132dd9930d1f 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index d7f419dca48eb2b54adc0d588fd1ad985005ccdf..157bb59d706dee4e5f2923764307f14eb8c51429 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 46cb139c458be484136b1208b2edf1f53ead34d8..8a9b89e46ec49deeb6621139592092eb78cb2aa0 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 51f6e53c6d879d0c8863b61859d3ca1065fbafa4..16423d74b703719fe9ff7214f8a837d9a1629ab8 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index c394727d2570174e2ab191e2042a95224fcb95fa..7bcb19e264f49ca489407fab39e4f8c8bc651cd0 100644 (file)
@@ -670,6 +670,7 @@ Serendipity のアップグレードステージを無視しました。正し
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
index a762f87c5d60971fdb7eb8636ec643be2b9a1302..72305f70095a8924f3cef9f83508d941930be7f8 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 8e28c1854cd21c97ae89ca967c8a71e3a7a22eea..701c9235f929f86fd2cefbab50f46d20433212a4 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index aae73a8df19011fddd10ca133c9b326574c595ba..07d97b7312b9f665999537cbaf3a0cee07ab4209 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 ?>
\ No newline at end of file
index 9accc362aff0b77dbd1a6c1d7a959a622b9909c3..19f469583808600ef1f3460c87823450e6924cac 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index be1a2c3236d0986a6f0eec957b476417261c512c..c21fac93e0529a09605b54c7c15510eb7d7a73b5 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index eea05db8b177808d745c599a617c859d0fd09f64..b9f7cb7c546dba587f149f11d3fd968dd81eeac7 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 96332425efb93924c7b000d72e8a8e24e4183069..ff2f54bb9f21eacdd35bf7c09517a60f59650f3a 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index e02772cd3049ac16ea76b4c4a74ac22638169dac..339faad2b59c0a0c41004de523d05e501a0a1a0e 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file
index 19ec59e0e4907d1324d1a578fc8bf4f188326d65..0ac6a7edd182f127d9ebd58e7c45a3a7a01e454f 100644 (file)
 @define('BACKEND_TITLE_FOR_NUGGET', 'Here you can define a custom string which is displayed in the Plugin Configuration screen together with the description of the HTML Nugget plugin. If you have multiple HTML nuggets with an empty title, this helps to distinct the plugins from another.'); // Translate
 @define('CATEGORIES_ALLOW_SELECT', 'Allow visitors to display multiple categories at once?'); // Translate
 @define('CATEGORIES_ALLOW_SELECT_DESC', 'If this option is enabled, a checkbox will be put next to each category in this sidebar plugin. Users can check those boxes and then see entries belonging to their selection.'); // Translate
+@define('PAGE_BROWSE_PLUGINS', 'Page %s of %s, totalling %s plugins.');
 
 /* vim: set sts=4 ts=4 expandtab : */
 ?>
\ No newline at end of file