Skip to content
This repository
Browse code

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

…n two other localizations as well
  • Loading branch information...
commit b21d9bb2834740ae36f78fe8615486338fc2fe3d 1 parent 2d56498
Richard authored November 23, 2012
4  fr/tutorials-and-examples/blog-auth-example/auth.rst
Source Rendered
@@ -140,7 +140,7 @@ le cadre de ce tutoriel, nous allons juste montrer le add.ctp:
140 140
     <?php echo $this->Form->create('User');?>
141 141
         <fieldset>
142 142
             <legend><?php echo __('Ajouter User'); ?></legend>
143  
-            echo $this->Form->input('nom_user');
  143
+            <?php echo $this->Form->input('nom_user');
144 144
             echo $this->Form->input('mot_de_passe');
145 145
             echo $this->Form->input('role', array(
146 146
                 'options' => array('admin' => 'Admin', 'auteur' => 'Auteur')
@@ -248,7 +248,7 @@ fonction de connexion, et le voilà:
248 248
     <?php echo $this->Form->create('User');?>
249 249
         <fieldset>
250 250
             <legend><?php echo __('Merci de rentrer votre nom d\'user et mot de passe'); ?></legend>
251  
-            echo $this->Form->input('nom_user');
  251
+            <?php echo $this->Form->input('nom_user');
252 252
             echo $this->Form->input('mot_de_passe');
253 253
         ?>
254 254
         </fieldset>
4  pt/tutorials-and-examples/blog-auth-example/auth.rst
Source Rendered
@@ -137,7 +137,7 @@ mostrar somente o add.ctp:
137 137
     <?php echo $this->Form->create('User');?>
138 138
         <fieldset>
139 139
             <legend><?php echo __('Add User'); ?></legend>
140  
-            echo $this->Form->input('username');
  140
+            <?php echo $this->Form->input('username');
141 141
             echo $this->Form->input('password');
142 142
             echo $this->Form->input('role', array(
143 143
                 'options' => array('admin' => 'Admin', 'author' => 'Author')
@@ -236,7 +236,7 @@ classe AuthComponent. Está faltando somente um arquivo view para a função de
236 236
     <?php echo $this->Form->create('User');?>
237 237
         <fieldset>
238 238
             <legend><?php echo __('Please enter your username and password'); ?></legend>
239  
-            echo $this->Form->input('username');
  239
+            <?php echo $this->Form->input('username');
240 240
             echo $this->Form->input('password');
241 241
         ?>
242 242
         </fieldset>

0 notes on commit b21d9bb

Please sign in to comment.
Something went wrong with that request. Please try again.