Put csrf token into Admin_View and Theme_View by default, then use it

directly wherever possible instead of access::csrf_token().
This commit is contained in:
Bharat Mediratta
2009-03-27 03:43:21 +00:00
parent d7719a7e72
commit 921f3a2eee
19 changed files with 27 additions and 28 deletions
+1
View File
@@ -26,6 +26,7 @@ class Quick_Controller extends Controller {
$view = new View("quick_pane.html");
$view->item = $item;
$view->csrf = access::csrf_token();
print $view;
}