More minor fixes
This commit is contained in:
@@ -155,7 +155,10 @@ abstract class lnApp_Controller_TemplateDefault extends Controller_Template {
|
||||
|
||||
if ($this->auto_render) {
|
||||
// Application Title
|
||||
$this->meta->title = Kohana::Config('config.appname');
|
||||
if ($mo=ORM::factory('module',array('name'=>Request::current()->controller())) AND $mo->loaded())
|
||||
$this->meta->title = sprintf('%s: %s',Kohana::Config('config.appname'),$mo->display('name'));
|
||||
else
|
||||
$this->meta->title = Kohana::Config('config.appname');
|
||||
$this->template->title = '';
|
||||
|
||||
// Language
|
||||
|
Reference in New Issue
Block a user