Shout: Cleanup whitespaces and missing text
authorBen Klang <ben@alkaloid.net>
Thu, 31 Dec 2009 21:54:08 +0000 (16:54 -0500)
committerBen Klang <ben@alkaloid.net>
Thu, 31 Dec 2009 21:57:44 +0000 (16:57 -0500)
shout/extensions.php
shout/lib/Forms/ExtensionForm.php

index 295d165..27e4e95 100644 (file)
@@ -92,7 +92,7 @@ require SHOUT_TEMPLATES . '/menu.inc';
 
 $notification->notify();
 
-//echo $tabs->render($section);
+echo "<br>\n";
 
 require SHOUT_TEMPLATES . '/extensions/' . $action . '.inc';
 
index 444319d..0b23911 100644 (file)
@@ -22,7 +22,7 @@ class ExtensionDetailsForm extends Horde_Form {
     function __construct(&$vars)
     {
         global $shout_extensions;
-        $context = $vars->get('context');
+        $context = $_SESSION['shout']['context'];
         if ($vars->exists('extension')) {
             $formtitle = "Edit User";
             $extension = $vars->get('extension');