* Finish task #3337,3338,3357,3358,3365,3366,3367.
This commit is contained in:
+23
-12
@@ -26,10 +26,12 @@ class entry extends control
|
||||
$pager = $this->app->loadClass('pager', $static = true);
|
||||
$pager = new pager($recTotal, $recPerPage, $pageID);
|
||||
|
||||
$this->view->title = $this->lang->entry->api . $this->lang->colon . $this->lang->entry->list;
|
||||
$this->view->entries = $this->entry->getList($orderBy, $pager);
|
||||
$this->view->orderBy = $orderBy;
|
||||
$this->view->pager = $pager;
|
||||
$this->view->title = $this->lang->entry->api . $this->lang->colon . $this->lang->entry->list;
|
||||
$this->view->entries = $this->entry->getList($orderBy, $pager);
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->api);
|
||||
$this->view->position[] = $this->lang->entry->common;
|
||||
$this->view->orderBy = $orderBy;
|
||||
$this->view->pager = $pager;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -50,7 +52,10 @@ class entry extends control
|
||||
$this->send(array('result' => 'success', 'message' => $this->lang->entry->saveSuccess, 'locate' => inlink('browse')));
|
||||
}
|
||||
|
||||
$this->view->title = $this->lang->entry->api . $this->lang->colon . $this->lang->entry->create;
|
||||
$this->view->title = $this->lang->entry->api . $this->lang->colon . $this->lang->entry->create;
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->api);
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->common);
|
||||
$this->view->position[] = $this->lang->entry->create;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -77,8 +82,11 @@ class entry extends control
|
||||
}
|
||||
|
||||
$entry = $this->entry->getById($id);
|
||||
$this->view->title = $this->lang->entry->edit . $this->lang->colon . $entry->name;
|
||||
$this->view->entry = $entry;
|
||||
$this->view->title = $this->lang->entry->edit . $this->lang->colon . $entry->name;
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->api);
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->common);
|
||||
$this->view->position[] = $this->lang->entry->edit;
|
||||
$this->view->entry = $entry;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -114,11 +122,14 @@ class entry extends control
|
||||
$pager = new pager($recTotal, $recPerPage, $pageID);
|
||||
|
||||
$entry = $this->entry->getByID($id);
|
||||
$this->view->title = $this->lang->entry->log . $this->lang->colon . $entry->name;
|
||||
$this->view->logs = $this->entry->getLogList($id, $orderBy, $pager);
|
||||
$this->view->entry = $entry;
|
||||
$this->view->orderBy = $orderBy;
|
||||
$this->view->pager = $pager;
|
||||
$this->view->title = $this->lang->entry->log . $this->lang->colon . $entry->name;
|
||||
$this->view->logs = $this->entry->getLogList($id, $orderBy, $pager);
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->api);
|
||||
$this->view->position[] = html::a(inlink('browse'), $this->lang->entry->common);
|
||||
$this->view->position[] = $this->lang->entry->log;
|
||||
$this->view->entry = $entry;
|
||||
$this->view->orderBy = $orderBy;
|
||||
$this->view->pager = $pager;
|
||||
$this->display();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user