Example #1
0
 public function init()
 {
     parent::init();
     if (!LOCAL) {
         exit(Ibos::lang("Not compatible service", "message"));
     }
 }
Example #2
0
 function on_start()
 {
     parent::on_start();
     $this->set('availableJobs', Job::getAvailableList(0));
     $this->set('installedJobs', Job::getList());
     $this->set('jobSets', JobSet::getList());
     $this->set('auth', Job::generateAuth());
 }
 public function on_start()
 {
     parent::on_start();
     $this->addHeaderItem("<script type=\"text/javascript\">\$(function() { \$('.dialog-launch').dialog();});</script>");
     $this->categories = WorkflowProgressCategory::getList();
     foreach ($this->categories as $cat) {
         $this->categoryHandles[] = $cat->getWorkflowProgressCategoryHandle();
     }
 }
 public function on_start()
 {
     parent::on_start();
     Loader::model('stack/list');
     $stm = new StackList();
     $stm->filterByGlobalAreas();
     $this->set('globalareas', $stm->get());
     $stm = new StackList();
     $stm->filterByUserAdded();
     $this->set('useradded', $stm->get());
 }
Example #5
0
 public function on_start()
 {
     parent::on_start();
     $this->set('groupSets', GroupSet::getList());
     $gl = new GroupSearch();
     $gl->setItemsPerPage(10000);
     $gArray = $gl->getPage();
     $groups = array();
     foreach ($gArray as $g) {
         $groups[] = Group::getByID($g['gID']);
     }
     $this->set('groups', $groups);
 }
Example #6
0
 public function on_start()
 {
     $this->addHeaderItem(Loader::helper('html')->javascript('jquery.cookie.js'));
     parent::on_start();
 }
Example #7
0
 public function on_start()
 {
     $this->set('importers', MailImporter::getList());
     parent::on_start();
 }
Example #8
0
 public function on_start()
 {
     parent::on_start();
     $this->set("icons", CollectionType::getIcons());
 }
Example #9
0
 public function on_before_render()
 {
     $this->addHeaderItem(Loader::helper('html')->css('dashboard/multilingual.css', 'multilingual'));
     parent::on_before_render();
 }