gWorldz / get-simple-cms

Automatically exported from code.google.com/p/get-simple-cms
GNU General Public License v3.0
0 stars 0 forks source link

Change added nav-tab class #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Added nav-tabs, created with createNavTab, have css class 'plugins'. This means 
they are highlighted when the plugins-tab is activated.

This issue is already mentioned at the forum: 
http://get-simple.info/forum/topic/489/small-css-bugquestion/

Possible solution, change the nav-tab function to:
function createNavTab($plugin = 'plugins',$url,$txt) {
   echo "<li><a href='".$url."' class='".$plugin."' />";
   echo $txt;
   echo "</a></li>";
}

+ backwards compatibility
+ small change in code
+ Styling of the extra tab is a problem for the plugin developer

Original issue reported on code.google.com by leenmoer...@gmail.com on 1 Apr 2011 at 9:32

GoogleCodeExporter commented 9 years ago
Forgot to mention: GetSimple v3.0

Original comment by leenmoer...@gmail.com on 1 Apr 2011 at 9:35

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r444.

Original comment by ccagle8 on 1 Apr 2011 at 12:27