From: Jan Prachaƙ Date: Thu, 7 Jul 2011 15:32:15 +0000 (+0200) Subject: Eywa update X-Git-Url: http://git.eywa.cz/?p=demo.eywa.git;a=commitdiff_plain;h=44cebb420dd46602a66a2feea8105cb4d125adc4 Eywa update --- diff --git a/app/config.ini b/app/config.ini index 1198eb2..c452544 100755 --- a/app/config.ini +++ b/app/config.ini @@ -18,7 +18,7 @@ variable.allowRobots = TRUE ; services service.Nette-Application-Application = Eywa\Application -service.Nette-Security-IAuthenticator = Eywa\Security\Authenticator +service.Nette-Security-IAuthenticator = Eywa\Security\LdapAuthenticator service.Nette-Security-IAuthorizator = Nette\Security\Permission service.Nette-Application-IPresenterLoader.factory = Eywa\PresenterLoader diff --git a/app/presenters/Overview.php b/app/presenters/Overview.php index 10ebb25..63bbebe 100644 --- a/app/presenters/Overview.php +++ b/app/presenters/Overview.php @@ -13,21 +13,7 @@ class Overview extends Base public function renderDefault($path = '') { - $this->template->list = $this->repository->getPages($this->getParam('path'), $this->orderBy(), NULL, $this->filter()); - } - - - - protected function orderBy() - { - return array('ctime', 'desc'); - } - - - - protected function filter() - { - return NULL; + $this->template->list = $this['overview']->getDocuments(); } } \ No newline at end of file diff --git a/app/templates/Overview.default.phtml b/app/templates/Overview.default.phtml index f788689..d6bd901 100644 --- a/app/templates/Overview.default.phtml +++ b/app/templates/Overview.default.phtml @@ -8,4 +8,6 @@
  • {$item->name}
  • {/foreach} + + {control overview} \ No newline at end of file diff --git a/libs/eywa b/libs/eywa index 53eb8b4..2fe6703 160000 --- a/libs/eywa +++ b/libs/eywa @@ -1 +1 @@ -Subproject commit 53eb8b491f597d25bf8009693ab41a13b1f90781 +Subproject commit 2fe67032d43dae43431819d0cc3bc09d165f3d18