aboutsummaryrefslogtreecommitdiffstats
path: root/includes/templates/Confirmemail.php
blob: ec1dc1fb1def0de66391af2ab95a6ef8cf22a9b6 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
<?php
/**
 * @package MediaWiki
 * @subpackage Templates
 */
if( !defined( 'MEDIAWIKI' ) ) die();

/** */
require_once( 'includes/SkinTemplate.php' );

/**
 * HTML template for Special:Confirmemail form
 * @package MediaWiki
 * @subpackage Templates
 */
class ConfirmemailTemplate extends QuickTemplate {
	function execute() {
		if( $this->data['error'] ) {
?>
	<div class='error'><?php $this->msgWiki( $this->data['error']) ?></div>
<?php } else { ?>
	<div>
	<?php $this->msgWiki( 'confirmemail_text' ) ?>
	</div>
<?php } ?>
<form name="confirmemail" id="confirmemail" method="post" action="<?php $this->text('action') ?>">
	<input type="hidden" name="action" value="submit" />
	<input type="hidden" name="wpEditToken" value="<?php $this->text('edittoken') ?>" />
	<table border='0'>
		<tr>
			<td></td>
			<td><input type="submit" name="wpConfirm" value="<?php $this->msg('confirmemail_send') ?>" /></td>
		</tr>
	</table>
</form>
<?php
	}
}

?>