From 1a2eb1bf447e1e3cccf35959ad10ffaaa9790032 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 11 Mar 2009 15:07:00 +0000 Subject: [PATCH] ckp --- planetlab/css/plc_style.css | 16 ++++++++++------ planetlab/events/events.php | 2 +- planetlab/events/events_choser.php | 2 +- planetlab/includes/plc_peers.php | 4 ++-- planetlab/sites/site.php | 2 +- planetlab/sites/sites.php | 2 +- planetlab/slices/slice.php | 2 +- planetlab/slices/slices.php | 2 +- planetlab/tags/index.php | 2 +- plekit/niftycorner/nifty_init.js | 24 ++++++++++++++++++++++++ plekit/php/nifty.php | 13 +++++++++++++ plekit/php/plekit-utils.php | 2 +- plekit/php/toggle.php | 8 ++------ plekit/toggle/toggle.css | 2 +- 14 files changed, 60 insertions(+), 23 deletions(-) create mode 100644 plekit/niftycorner/nifty_init.js create mode 100644 plekit/php/nifty.php diff --git a/planetlab/css/plc_style.css b/planetlab/css/plc_style.css index 32869ea..145ba2a 100644 --- a/planetlab/css/plc_style.css +++ b/planetlab/css/plc_style.css @@ -1,6 +1,4 @@ -/* -expanding links -*/ +/* expanding links */ .example { padding:10px; @@ -35,8 +33,14 @@ body { font-weight:bold; } -*.plc-warning a:link { text-decoration: none; color:white } -*.plc-warning a:visited { text-decoration: none; color:white } -*.plc-warning a:hover { text-decoration: none; color:black } +.plc-warning a:link { text-decoration: none; color:white } +.plc-warning a:visited { text-decoration: none; color:white } +.plc-warning a:hover { text-decoration: none; color:black } .addresses { text-align: center; font-weight: bold; } + +/* styling the planetlab module area */ +div.block-planetlab a { + font-weight:normal; + font-style:italic; +} diff --git a/planetlab/events/events.php b/planetlab/events/events.php index aabb428..302bdc7 100644 --- a/planetlab/events/events.php +++ b/planetlab/events/events.php @@ -1,5 +1,5 @@ "; + print "
"; } else { $classname=strtolower($this->classname($peer_id)); // set two classes, one generic to all foreign, and one based on the peer's shortname for finer grain tuning - printf ("
",$classname); + printf ("
",$classname); } } diff --git a/planetlab/sites/site.php b/planetlab/sites/site.php index aa2c660..12e8849 100644 --- a/planetlab/sites/site.php +++ b/planetlab/sites/site.php @@ -1,6 +1,6 @@ + + +'); + +?> diff --git a/plekit/php/plekit-utils.php b/plekit/php/plekit-utils.php index e6184c2..7326117 100644 --- a/plekit/php/plekit-utils.php +++ b/plekit/php/plekit-utils.php @@ -1,6 +1,6 @@ path, 'values' => hash (key=>value)* ] function plekit_split_url ($full_url) { diff --git a/plekit/php/toggle.php b/plekit/php/toggle.php index 6d35af8..c7ffc39 100644 --- a/plekit/php/toggle.php +++ b/plekit/php/toggle.php @@ -3,10 +3,10 @@ // $Id$ require_once 'prototype.php'; +require_once 'nifty.php'; drupal_set_html_head(' - '); @@ -121,11 +121,7 @@ class PlekitToggle { function container_start_html () { $id=$this->id_name('container'); - // side-effects on the header - $nifty_init = ""; - drupal_set_html_head($nifty_init); - - $html="