Esempio n. 1
0
File: Error.php Progetto: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-danger');
     $this->template->set('label', $this->app->_('Error') . ': ');
     $this->addIcon('attention');
 }
Esempio n. 2
0
 function init()
 {
     parent::init();
     $this->addClass('atk-effect-info');
     $this->template->set('label', $this->app->_('Hint') . ': ');
     $this->addIcon('info');
 }
Esempio n. 3
0
 function init()
 {
     parent::init();
     $this->addClass('atk-effect-warning');
     $this->template->set('label', $this->app->_('Warning') . ': ');
     $this->addIcon('attention');
 }
Esempio n. 4
0
 function init()
 {
     parent::init();
     $this->template->trySet('Icon', '<i class="ui-icon ui-icon-alert"></i>');
     // change default icon
 }
Esempio n. 5
0
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-success');
     $this->addIcon('thumbs-up');
 }
Esempio n. 6
0
File: Info.php Progetto: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-info');
     $this->addIcon('info-circled');
 }