X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=modules%2Fplanetlab.module;h=06aa2592a3980532eed75d05545b6dd50058b9be;hb=31f2c290aac50eac519f4d2c428b6f76c5cb67c9;hp=ae5497b3e787217c5140bf9d467cadfa44289b15;hpb=da5652ed436911f81ac08120f3c0eb42fdfebc06;p=plewww.git diff --git a/modules/planetlab.module b/modules/planetlab.module index ae5497b..06aa259 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 '