Added User email viewing

Improved Table::
This commit is contained in:
Deon George
2011-08-27 16:33:46 +10:00
parent 495da41e0d
commit 6d44e7d5b2
51 changed files with 701 additions and 273 deletions

View File

@@ -107,7 +107,7 @@ class Controller_lnApp_Login extends Controller_TemplateDefault {
Block::add(array(
'title'=>_('Register'),
'body'=>View::factory('bregister')
'body'=>View::factory('register')
->set('account',$account)
->set('errors',$account->validation()->errors('form/register')),
));

View File

@@ -185,10 +185,13 @@ abstract class Controller_lnApp_TemplateDefault extends Controller_Template {
if ($s = $this->_sysmsg() AND (string)$s)
$this->response->body(sprintf('<table class="sysmsg"><tr><td>%s</td></tr></table>',$s));
# In case there any style sheets or scrpits for this render.
// In case there any style sheets for this render.
$this->response->bodyadd(Style::factory());
# Get the response body
// In case there any javascript for this render.
$this->response->bodyadd(Script::factory());
// Get the response body
$this->response->bodyadd(sprintf('<table class="content"><tr><td>%s</td></tr></table>',$this->template->content));
}

View File

@@ -17,10 +17,10 @@ class Controller_lnApp_Tree extends Controller_Default {
protected static $jsmediaroute = 'default/media';
public function after() {
parent::after();
$this->response->headers('Content-Type','application/json');
$this->response->body(sprintf('[%s]',json_encode($this->output)));
parent::after();
}
public static function js() {