BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

  • Index
  •  » Plugins
  •  » Minor typo in NP_Subcategories in English

#1 25.11.2005 17:01

ajmilne
BLOG:CMS Junior
Registered: 13.11.2005
Posts: 15

Minor typo in NP_Subcategories in English

'Toogle' in the menu should be 'Toggle'.

Internal calls are also misnamed, but this is nothing to worry about; users don't see them. I left these rather than mess with it. Patchfile follows which fixes the bad name; apply with patch -p0 <patchfile. Note also that if you fix this on a running installation, you'll need to deinstall then reinstall the plug-in to get the changes to appear:

--- NP_SubCategories.php    2005-11-02 08:28:06.000000000 -0500
+++ NP_SubCategories.php    2005-11-25 10:53:58.784761600 -0500
@@ -28,7 +28,7 @@
    }

    function install() {
-        $this->createOption('tpl_header',"List header",'textarea',"<div id='subcat'>\n<dl>\n<dt>Structure</dt>\n<dd><a <%active%> href='<%blogurl%>' title='Show articles from all categories'>All</a></dd>\n<dd><a href='<%toogle%>' title='Expand/Fold whole category tree'>Toogle Tree</a></dd>\n</dl>\n");
+        $this->createOption('tpl_header',"List header",'textarea',"<div id='subcat'>\n<dl>\n<dt>Structure</dt>\n<dd><a <%active%> href='<%blogurl%>' title='Show articles from all categories'>All</a></dd>\n<dd><a href='<%toogle%>' title='Expand/Fold whole category tree'>Toggle Tree</a></dd>\n</dl>\n");
        $this->createOption('tpl_footer',"List footer",'textarea',"</div>\n");
        $this->createOption('tpl_group_header',"Category group header",'textarea',"<dl <%id%>>\n");
        $this->createOption('tpl_group_item',"Category group item",'textarea',"<dt><a href='<%switch%>' title='Expand/Fold this group'><%name%> &raquo;</a></dt>\n");

Offline

 
  • Index
  •  » Plugins
  •  » Minor typo in NP_Subcategories in English

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist