options['info-text'];
+ $html .= "
";
+ $html .= " | ";
return $html;
}
+
function area_start () { print $this->area_start_html(); }
function area_start_html () {
@@ -120,19 +171,12 @@ class PlekitToggle {
function container_start () { print $this->container_start_html(); }
function container_start_html () {
$id=$this->id_name('container');
-
- // side-effects on the header
- $nifty_init = "";
- drupal_set_html_head($nifty_init);
-
- $html="nifty=new PlekitNifty ($id,'plc-toggle-container','medium');
+ return $this->nifty->start_html();
}
function container_end () { print $this->container_end_html(); }
- function container_end_html () { return "
"; }
+ function container_end_html () { return $this->nifty->end_html(); }
// build id names
function id_name ($zonename) { return "toggle-$zonename-$this->id"; }