Permalink
Browse files

Two sections of the example PHP code do not have opening <?php tags i…

…n two other localizations as well
  • Loading branch information...
richard4339 committed Nov 23, 2012
1 parent 2d56498 commit b21d9bb2834740ae36f78fe8615486338fc2fe3d
@@ -140,7 +140,7 @@ le cadre de ce tutoriel, nous allons juste montrer le add.ctp:
<?php echo $this->Form->create('User');?>
<fieldset>
<legend><?php echo __('Ajouter User'); ?></legend>
- echo $this->Form->input('nom_user');
+ <?php echo $this->Form->input('nom_user');
echo $this->Form->input('mot_de_passe');
echo $this->Form->input('role', array(
'options' => array('admin' => 'Admin', 'auteur' => 'Auteur')
@@ -248,7 +248,7 @@ fonction de connexion, et le voilà:
<?php echo $this->Form->create('User');?>
<fieldset>
<legend><?php echo __('Merci de rentrer votre nom d\'user et mot de passe'); ?></legend>
- echo $this->Form->input('nom_user');
+ <?php echo $this->Form->input('nom_user');
echo $this->Form->input('mot_de_passe');
?>
</fieldset>
@@ -137,7 +137,7 @@ mostrar somente o add.ctp:
<?php echo $this->Form->create('User');?>
<fieldset>
<legend><?php echo __('Add User'); ?></legend>
- echo $this->Form->input('username');
+ <?php echo $this->Form->input('username');
echo $this->Form->input('password');
echo $this->Form->input('role', array(
'options' => array('admin' => 'Admin', 'author' => 'Author')
@@ -236,7 +236,7 @@ classe AuthComponent. Está faltando somente um arquivo view para a função de
<?php echo $this->Form->create('User');?>
<fieldset>
<legend><?php echo __('Please enter your username and password'); ?></legend>
- echo $this->Form->input('username');
+ <?php echo $this->Form->input('username');
echo $this->Form->input('password');
?>
</fieldset>

0 comments on commit b21d9bb

Please sign in to comment.