PHP Classes
elePHPant
Icontem

File: View/Elements/prijava.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Elements/prijava.ctp  >  Download  
File: View/Elements/prijava.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 8 months ago
Size: 813 bytes
 

Contents

Class file image Download
<div class="obroba">
    <h3>Prijava</h3>
    <?php
   
echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'login')));
    echo
"<p>";
    echo
$this->Form->input('User.username', array('label' => 'E-mail:', 'div' => false, 'error' => false));
    echo
$this->Form->input('User.password', array('label' => 'Geslo:', 'div' => false, 'error' => false));
    echo
"<br><center>" . $this->Form->end('Prijava') . "</center>";
    echo
"<p>";
   
?>

    <center>
        <?php
           
echo $this->Html->link('Pozabil sem geslo', array('controller' => 'users', 'action' => 'recover'));
            echo
'<br>';
            echo
$this->Html->link('Ustvari nov ra?un', array('controller' => 'users', 'action' => 'register'));
       
?>
</center>
</form>
<p></p>
</div>