Changeset 20
- Timestamp:
- 04/09/07 05:21:08
- Files:
-
- FreakAuth/trunk/www/system/application/libraries/Freakauth_light.php (modified) (1 diff)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/forgotten_password.php (modified) (1 diff)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/login.php (modified) (1 diff)
- FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/register.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
FreakAuth/trunk/www/system/application/libraries/Freakauth_light.php
r18 r20 801 801 } 802 802 803 /** 804 * Convenient way to generate html code displaying the captcha 805 * using 'img' tag in a 'span class="note"' tag 806 * 807 * @return html code to show the captcha 808 */ 809 function show_captcha() { 810 $img_html = '<span class="note">'; 811 $img_html.= '<img src="'.base_url().$this->CI->config->item('FAL_security_code_image_path').$this->CI->config->item('FAL_security_code_image').'" alt="" />'; 812 $img_html.= '</span>'; 813 return $img_html; 814 } 815 803 816 // -------------------------------------------------------------------- 804 817 /** FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/forgotten_password.php
r2 r20 19 19 'value'=>''))?> 20 20 <span><?=(isset($this->validation) ? $this->validation->{'security'.'_error'} : '')?></span> 21 < span class="note"><img src="<?=base_url().$this->config->item('FAL_security_code_image_path').$this->config->item('FAL_security_code_image') ?>"></span></p>21 <?=$this->freakauth_light->show_captcha()?></p> 22 22 <?php }?> 23 23 <!-- END CAPTCHA (security image)--> FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/login.php
r2 r20 31 31 'value'=>''))?> 32 32 <span><?=(isset($this->validation) ? $this->validation->{'security'.'_error'} : '')?></span> 33 < span class=note><img src="<?=base_url()?><?=$this->config->item('FAL_security_code_image_path').$this->config->item('FAL_security_code_image') ?>"></span></p>33 <?=$this->freakauth_light->show_captcha()?></p> 34 34 <?php }?> 35 35 <!-- END CAPTCHA (security image)--> FreakAuth/trunk/www/system/application/views/FreakAuth_light/content/register.php
r2 r20 50 50 'value'=>''))?> 51 51 <span><?=(isset($this->validation) ? $this->validation->{'security'.'_error'} : '')?></span> 52 < span class="note"><img src="<?=base_url().$this->config->item('FAL_security_code_image_path').$this->config->item('FAL_security_code_image') ?>"></span></p>52 <?=$this->freakauth_light->show_captcha()?></p> 53 53 <?php }?> 54 54 <!-- END CAPTCHA (security image)-->
