* (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv
[mediawiki.git] / includes / templates / Confirmemail.php
blob07b2a64e8e7015c453951031537f52469675d9cb
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Templates
5 */
6 if( !defined( 'MEDIAWIKI' ) ) die( -1 );
8 /** */
9 require_once( 'includes/SkinTemplate.php' );
11 /**
12 * HTML template for Special:Confirmemail form
13 * @package MediaWiki
14 * @subpackage Templates
16 class ConfirmemailTemplate extends QuickTemplate {
17 function execute() {
18 if( $this->data['error'] ) {
20 <div class='error'><?php $this->msgWiki( $this->data['error']) ?></div>
21 <?php } else { ?>
22 <div>
23 <?php $this->msgWiki( 'confirmemail_text' ) ?>
24 </div>
25 <?php } ?>
26 <form name="confirmemail" id="confirmemail" method="post" action="<?php $this->text('action') ?>">
27 <input type="hidden" name="action" value="submit" />
28 <input type="hidden" name="wpEditToken" value="<?php $this->text('edittoken') ?>" />
29 <table border='0'>
30 <tr>
31 <td></td>
32 <td><input type="submit" name="wpConfirm" value="<?php $this->msg('confirmemail_send') ?>" /></td>
33 </tr>
34 </table>
35 </form>
36 <?php