From d7e750ad74c8a43d54e9ca95631fa754831bf581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20H=C3=B6=C3=9Fl?= Date: Wed, 18 Apr 2012 07:24:47 +0000 Subject: XSRF protection and PHPdoc for mod/admin.php --- view/admin_logs.tpl | 1 + view/admin_site.tpl | 3 ++- view/admin_users.tpl | 5 +++-- view/theme/diabook-aerith/admin_users.tpl | 7 ++++--- view/theme/diabook-blue/admin_users.tpl | 7 ++++--- view/theme/diabook-red/admin_users.tpl | 5 +++-- view/theme/diabook/admin_users.tpl | 5 +++-- 7 files changed, 20 insertions(+), 13 deletions(-) (limited to 'view') diff --git a/view/admin_logs.tpl b/view/admin_logs.tpl index 9d133b155..b777cf420 100644 --- a/view/admin_logs.tpl +++ b/view/admin_logs.tpl @@ -2,6 +2,7 @@

$title - $page

+ {{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }} {{ inc field_input.tpl with $field=$logfile }}{{ endinc }} diff --git a/view/admin_site.tpl b/view/admin_site.tpl index 9de6bd9c5..2b9db9f35 100644 --- a/view/admin_site.tpl +++ b/view/admin_site.tpl @@ -38,7 +38,8 @@

$title - $page

- + + {{ inc field_input.tpl with $field=$sitename }}{{ endinc }} {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }} {{ inc field_select.tpl with $field=$language }}{{ endinc }} diff --git a/view/admin_users.tpl b/view/admin_users.tpl index bde7edb59..f67e4a0f7 100644 --- a/view/admin_users.tpl +++ b/view/admin_users.tpl @@ -14,6 +14,7 @@

$title - $page

+

$h_pending

{{ if $pending }} @@ -72,8 +73,8 @@ $u.page-flags - - + + {{ endfor }} diff --git a/view/theme/diabook-aerith/admin_users.tpl b/view/theme/diabook-aerith/admin_users.tpl index 40f94f5fe..a03573aac 100644 --- a/view/theme/diabook-aerith/admin_users.tpl +++ b/view/theme/diabook-aerith/admin_users.tpl @@ -14,7 +14,8 @@

$title - $page

- + +

$h_pending

{{ if $pending }} @@ -72,8 +73,8 @@ {{ endfor }} diff --git a/view/theme/diabook-blue/admin_users.tpl b/view/theme/diabook-blue/admin_users.tpl index 40f94f5fe..a03573aac 100644 --- a/view/theme/diabook-blue/admin_users.tpl +++ b/view/theme/diabook-blue/admin_users.tpl @@ -14,7 +14,8 @@

$title - $page

- + +

$h_pending

{{ if $pending }}
- - + +
@@ -72,8 +73,8 @@ {{ endfor }} diff --git a/view/theme/diabook-red/admin_users.tpl b/view/theme/diabook-red/admin_users.tpl index 40f94f5fe..b465dc1b0 100644 --- a/view/theme/diabook-red/admin_users.tpl +++ b/view/theme/diabook-red/admin_users.tpl @@ -14,6 +14,7 @@

$title - $page

+

$h_pending

{{ if $pending }} @@ -72,8 +73,8 @@ {{ endfor }} diff --git a/view/theme/diabook/admin_users.tpl b/view/theme/diabook/admin_users.tpl index 40f94f5fe..b465dc1b0 100644 --- a/view/theme/diabook/admin_users.tpl +++ b/view/theme/diabook/admin_users.tpl @@ -14,6 +14,7 @@

$title - $page

+

$h_pending

{{ if $pending }} @@ -72,8 +73,8 @@ {{ endfor }} -- cgit v1.2.3
- - + +
- - + +
- - + +