-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfirm_delete.html
32 lines (24 loc) · 1.14 KB
/
confirm_delete.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<p><?php print_string('confirm_delete', 'auth_openid'); ?></p>
<ul>
<?php
$hidden_fields = '';
foreach ($delete_urls as $url_id) {
$url_id = intval($url_id);
echo '<li>',format_string($DB->get_field('openid_urls', 'url',
array( 'id' => $url_id,
'userid' => $USER->id))),'</li>';
$hidden_fields .= '<input type="hidden" name="delete_urls[]" value="'.s($url_id).'" />';
}
?>
</ul>
<p><?php print_string('confirm_sure', 'auth_openid'); ?></p>
<div class="continuebutton">
<form action="<?php echo $CFG->wwwroot; ?>/auth/openid/actions.php" method="post">
<input type="hidden" name="openid_url" value="<?php p($url); ?>" />
<?php echo $hidden_fields; ?>
<input type="hidden" name="openid_action" value="delete" />
<input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
<input type="submit" name="cancel_action" value="<?php print_string('no'); ?>" />
<input type="submit" name="confirm_action" value="<?php print_string('yes'); ?>" />
</form>
</div>