class Koward_Controller_Application extends Horde_Controller_Base
{
+ protected $welcome;
+
protected function _initializeApplication()
{
global $registry;
$this->theme = isset($this->koward->conf['koward']['theme']) ? $this->koward->conf['koward']['theme'] : 'koward';
+ $this->welcome = isset($this->koward->conf['koward']['greeting']) ? $this->koward->conf['koward']['greeting'] : _("Welcome.");
+
}
/**
*/
class IndexController extends Koward_Controller_Application
{
- protected $welcome;
-
protected $auth_handler = 'login';
public function index()
{
$this->title = _("Index");
- $this->welcome = _("Welcome to the Koward administration interface");
}
public function login()
}
$this->title = _("Login");
- $this->welcome = _("Welcome.");
$this->post = $this->urlFor(array('controller' => 'index',
'action' => 'login'));