| @@ -36,8 +36,9 @@ | ||
| 36 | 36 | $this->registryAction('getAPOP'); |
| 37 | 37 | $this->registryAction('restoreRevision'); |
| 38 | 38 | $this->registryAction('loadUrl'); |
| 39 | 39 | $this->registryAction('downloadCodeFile'); |
| 40 | + $this->registryAction('getAllAssignment'); | |
| 40 | 41 | } |
| 41 | 42 | |
| 42 | 43 | /** |
| 43 | 44 | * put your comment there... |
| @@ -48,8 +49,16 @@ | ||
| 48 | 49 | // Pass to CJTBlockController! |
| 49 | 50 | $this->redirect('block'); |
| 50 | 51 | } |
| 51 | 52 | |
| 53 | + /** | |
| 54 | + * put your comment there... | |
| 55 | + * | |
| 56 | + */ | |
| 57 | + protected function getAllAssignmentAction() { | |
| 58 | + $this->redirect('block'); | |
| 59 | + } | |
| 60 | + | |
| 52 | 61 | /** |
| 53 | 62 | * put your comment there... |
| 54 | 63 | * |
| 55 | 64 | * @deprecated this is just a redirect to the CJTBlockContoller::getAction(). |
| @@ -67,9 +76,9 @@ | ||
| 67 | 76 | protected function getBlockByAction() { |
| 68 | 77 | // Pass to CJTBlockController! |
| 69 | 78 | $this->redirect('block'); |
| 70 | 79 | } |
| 71 | - | |
| 80 | + | |
| 72 | 81 | /** |
| 73 | 82 | * put your comment there... |
| 74 | 83 | * |
| 75 | 84 | * @deprecated All will be moved to other controllers in the future versions. |
| @@ -142,9 +151,9 @@ | ||
| 142 | 151 | // Create view. |
| 143 | 152 | $view = $this->getView('blocks/revisions'); |
| 144 | 153 | // Push view vars. |
| 145 | 154 | $view->blockId = $blockId; |
| 146 | - $view->revisions = $revisions; | |
| 155 | + $view->revisions = array_reverse($revisions); | |
| 147 | 156 | // Set output header. |
| 148 | 157 | $this->httpContentType = 'text/html'; |
| 149 | 158 | // Return view content. |
| 150 | 159 | $this->response = $view->getTemplate('default'); |