Changeset 40

Show
Ignore:
Timestamp:
03/15/06 09:28:45 (2 years ago)
Author:
eadiaz
Message:

Change recover_pass.php, recover_pass_form.php was removed from the project and new templates added.
Also site.conf modified with new messages supporting password recovering.
Fixes bugs on email sending of passwords.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/public_html/recover_pass.php

    r2 r40  
    22  include_once('akarru.lib/common.php'); 
    33  if (empty($_POST['email'])) { 
    4           $bm_content = 'akarru.gui/recover_pass_form.php'; 
     4          $bm_content = 'recover_pass'; 
    55  } 
    66  else 
    77  { 
     8          $email = $_POST['email']; 
    89          $subject = '['.$bm_site_name.'] '.$bl_recover; 
    910          $pass = $bm_users->gen_password($email, $subject, $bf_recover_pass, $bm_login_url); 
    1011          $bm_info_text = $bl_password_sent; 
    1112          $bm_info_title = ' ' ; 
    12           $bm_content = 'akarru.gui/info.php'; 
     13          $bm_content = 'password_sent'; 
    1314  } 
    14   $bm_no_folkbar = true; 
    15   $bm_title = $bl_recover_pass; 
    16   include_once('akarru.gui/master_page.php'); 
     15  $smarty->assign('content_title', $bl_recover_pass); 
     16  $smarty->assign('content', $bm_content); 
     17  $smarty->assign('show_ads', true); 
     18  $smarty->display('master_page.tpl'); 
    1719?> 
  • trunk/smarty/configs/site.conf

    r25 r40  
    3737label_login_email="correo electrónico" 
    3838label_register_submit="registra cuenta" 
     39label_recover_pass_submit="recuperar email" 
    3940 
    4041post_instructions='un meme es una unidad de transmisión cultural' 
     
    7071tag_submit_label='etiquetar' 
    7172 
     73recover_done_message=Si tu email está registrado en este sitio recibirás tu nueva clave 
    7274                        
    7375