1) /system/modules/core/modules/ModulePassword.php
/system/modules/core/templates/modules/mod_password.htm5 /.xhtml
ModulePassword.php
PHP-Code:
<?php
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package Core
* @link https://contao.org
* @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
*/
/**
* Run in a custom namespace, so the class can be replaced
*/
namespace Contao;
/**
* Class ModulePassword
*
* Front end module "lost password".
* @copyright Leo Feyer 2005-2013
* @author Leo Feyer <https://contao.org>
* @package Core
*/
mod_password.htm5
PHP-Code:
<!-- indexer::stop -->
<div class="<?php echo $this->class; ?><?php if (!$this->tableless): ?> tableform<?php endif; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<form<?php if ($this->action): ?> action="<?php echo $this->action; ?>"<?php endif; ?> id="<?php echo $this->formId; ?>" method="post">
<div class="formbody">
<input type="hidden" name="FORM_SUBMIT" value="<?php echo $this->formId; ?>">
<input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
<?php if ($this->error): ?>
<p class="error"><?php echo $this->error; ?></p>
<?php endif; ?>
<?php if (!$this->tableless): ?>
<table>
<?php echo $this->fields; ?>
<tr class="<?php echo $this->rowLast; ?>">
<td class="col_0 col_first"> </td>
<td class="col_1 col_last"><div class="submit_container"><input type="submit" class="submit" value="<?php echo $this->slabel; ?>"></div></td>
</tr>
</table>
<?php else: ?>
<div class="fields">
<?php echo $this->fields; ?>
</div>
<div class="submit_container">
<input type="submit" class="submit" value="<?php echo $this->slabel; ?>">
</div>
<?php endif; ?>
</div>
</form>
</div>
<!-- indexer::continue -->
Das scheint alles in einem zu sein (Front end module "lost password".) ?
Lesezeichen