mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
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:
@@ -8,7 +8,7 @@
|
||||
<ul id="gPathList">
|
||||
<? foreach ($paths as $id => $path): ?>
|
||||
<li class="ui-icon-left">
|
||||
<a href="<?= url::site("admin/server_add/remove_path?path=$path&csrf=" . access::csrf_token()) ?>"
|
||||
<a href="<?= url::site("admin/server_add/remove_path?path=$path&csrf=$csrf") ?>"
|
||||
id="icon_<?= $id?>"
|
||||
class="gRemoveDir ui-icon ui-icon-trash">
|
||||
X
|
||||
|
||||
Reference in New Issue
Block a user