Patch - adding trailing slash to "admin" in dhtml

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Thomas Bøge

Patch - adding trailing slash to "admin" in dhtml

Post by Thomas Bøge »

Please add a trailing slash to the admin-link.

--- function.dhtmlmenu.php 2004-10-26 21:11:42.000000000 +0200
+++ new/function.dhtmlmenu.php 2004-10-26 21:12:42.000000000 +0200
@@ -71,7 +71,7 @@

if ($showadmin == 1) {
$menu .= ".|---\n";
- $menu .= ".|Admin|admin\n";
+ $menu .= ".|Admin|admin;\n";
}

$text = '
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Patch - adding trailing slash to "admin" in dhtml

Post by Ted »

Well, that patch adds a ; to the end, but I got the idea. :) It's added.

Thanks!
Post Reply

Return to “Developers Discussion”