PluginProbe
CSS & JavaScript Toolbox / 11.5
CSS & JavaScript Toolbox v11.5
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | controllers/block-ajax.php +11 -2 1011.5 View file →
@@ -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');