Changeset 530
- Timestamp:
- 05/20/08 13:27:16 (7 months ago)
- Location:
- trunk/app/views
- Files:
-
- 1 removed
- 2 modified
-
discutions (deleted)
-
elements/login_hide.ctp (modified) (1 diff)
-
recovers/recover.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/elements/login_hide.ctp
r529 r530 13 13 ), array('style'=>'width:150px;float:right;')); 14 14 15 echo $html->div(null, 'Login', array('style'=>'width:250px;float:left; '));15 echo $html->div(null, 'Login', array('style'=>'width:250px;float:left;font:bold italic large Palatino')); 16 16 echo $html->div(null, '', array('style'=>'clear:both;')); 17 17 echo $form->create('User',array("action"=>"login","onsubmit"=>"return validateLogin()")); -
trunk/app/views/recovers/recover.ctp
r337 r530 1 <div id="charging2" style="display: none;"> 2 <?php echo $html->image("static/loading.gif", array("alt"=>"Loading")); ?> 3 </div> 1 <?php 2 echo $ajax->div('charging2', array('style'=>'display:none')).$html->image('static/loading.gif',array('alt'=>'Loading')).$ajax->divEnd('charging2'); 3 4 echo $ajax->div('updater') . $ajax->divEnd('updater'); 4 5 5 <div id="updater"></div> 6 <div class="spaced" id="form_register"> 6 $tmp = $ajax->form(); 7 7 8 <?php echo $ajax->form(); ?> 9 10 <fieldset> 11 <legend>Recover password:</legend> 12 13 <p>Type the email used on your account:</p> 14 15 <?php echo $form->input('User.email', array("size" => 50, "maxlength" => 50, "value"=>"@")); ?> 16 <br /><br /> 17 18 <?php echo $ajax->submit('Send', array("url" => "/recovers/check/", 8 $tmp .= '<fieldset><legend>Recover password:</legend>'; 9 $tmp .= $html->para(null, 'Type the email used on your account:'); 10 $tmp .= $form->input('User.email', array("size" => 30, "maxlength" => 50, "value"=>"@")); 11 12 $tmp .= $ajax->submit('Send', array("url" => "/recovers/check/", 19 13 "update"=>"updater", 20 14 "loading" => "Element.show('charging2');Element.hide('updater')", 21 15 "complete" => "Element.hide('charging2');Effect.Appear('updater')" 22 )); ?> 23 </fieldset> 24 </form> 25 </div> 16 )); 17 $tmp .= '</fieldset></form>'; 18 19 echo $html->div('spaced', $tmp, array('id'=>'form_register')); 20 ?>
