X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=modules%2Fplanetlab.module;h=95647a251fb1447ed56f18d28b6f836d19eb4ab4;hb=b7593d9531a46312c686b0e4e20a5d8d6e7e7647;hp=45e2db4f4e2b8b0ab13e6ed88969aed353920626;hpb=34d41a3846da0721bc27d94ffe69ec4ee2cf9dec;p=plewww.git diff --git a/modules/planetlab.module b/modules/planetlab.module index 45e2db4..95647a2 100644 --- a/modules/planetlab.module +++ b/modules/planetlab.module @@ -12,6 +12,8 @@ require_once 'plc_config.php'; require_once 'plc_session.php'; require_once 'plc_functions.php'; +drupal_set_html_head(''); + function planetlab_help($section) { switch ($section) { case 'admin/modules#description': @@ -34,8 +36,8 @@ function planetlab_menu($may_cache) { if ($may_cache) { $items[] = array( - 'path' => 'planetlab/logout', - 'title' => t('Log out of %s', array('%s' => variable_get('site_name', 'local'))), + 'path' => 'planetlab/common/logout', + 'title' => t('Logout of %s', array('%s' => variable_get('site_name', 'local'))), 'callback' => 'planetlab_logout', 'access' => TRUE, 'type' => MENU_CALLBACK @@ -52,12 +54,36 @@ function planetlab_menu($may_cache) { return $items; } -// formatting helpers -function ul_start () { return '