summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_identity_confirm.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-18 18:16:19 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-18 18:16:19 -0700
commit301754db7365262804a40a59d4cbf277d7d1085e (patch)
tree647357b6a7939211673c094b88b7ecae2d22f21e /modules/gallery/views/admin_identity_confirm.html.php
parent090c4d016baec6376d6d26c347c3e1ca11a929d5 (diff)
Create a administration page that allows the administrator to change the the Identity provider if more than two are Identity providers are installed
Diffstat (limited to 'modules/gallery/views/admin_identity_confirm.html.php')
-rw-r--r--modules/gallery/views/admin_identity_confirm.html.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_identity_confirm.html.php b/modules/gallery/views/admin_identity_confirm.html.php
new file mode 100644
index 00000000..e14525b5
--- /dev/null
+++ b/modules/gallery/views/admin_identity_confirm.html.php
@@ -0,0 +1,10 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<form method="post" action="<?= url::site("admin/identity/change") ?>">
+ <?= access::csrf_form_field() ?>
+ <?= form::hidden("provider", $new_provider) ?>
+
+ <p><span class="ui-icon ui-icon-alert" style="float: left; margin:0 7px 20px 0;"></span>
+ <?= t("Do you really want to switch Identity providers? Continuing will delete all existing users.") ?>
+ </p>
+</form>
+