Adapt platal to use banana tabbed structure
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 15 Jul 2006 17:02:52 +0000 (17:02 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 15 Jul 2006 17:02:52 +0000 (17:02 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@503 839d8a87-29fc-0310-9880-83ba4fa771e5

include/banana.inc.php

index 5ae5210..0bf76a9 100644 (file)
@@ -40,7 +40,8 @@ function hook_checkcancel($_headers) {
 function hook_shortcuts()
 {
     global $globals;
-    return '<a href="' . $globals->baseurl . '/banana/profile">Préférences</a>';
+    return Array('profile' => Array('<a href="' . $globals->baseurl . '/banana/profile">Préférences</a>',
+                                    'Préférences'));
 }
 
 function hook_makeLink($params) {