Changeset 776 for trunk/egroupware


Ignore:
Timestamp:
Sep 16, 2016, 4:32:58 PM (8 years ago)
Author:
autocommit@…
Message:

agregamos lo que estaba con el path nuevo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/egroupware/CTA/inc/class.uiCTA.inc.php

    r775 r776  
    1111        print ($GLOBALS['egw_info']['user']['account_lid']);
    1212        print "<br>";
    13         // print_r($data);
    14         // print "<br>GET :";
    15         // print_r ($_GET);
    16         // print "<br>POST:";
    17         // print_r ($_POST);
     13        print_r($data);
     14        print "<br>GET :";
     15        print_r ($_GET);
     16        print "<br>POST:";
     17        print_r ($_POST);
     18             
     19            include_once('/usr/share/alternc/panel/class/functions.php');
     20                $db_host=$GLOBALS['mail_change_pwd']['db_host'];
     21                $db_port=$GLOBALS['mail_change_pwd']['db_port'];
     22                $db_pwd_user=$GLOBALS['mail_change_pwd']['db_user'];
     23                $db_pwd_name=$GLOBALS['mail_change_pwd']['db_name'];
     24                $db_pwd_pass=$GLOBALS['mail_change_pwd']['db_pass'];
    1825
     26                $table=$GLOBALS['mail_change_pwd']['table_users'];
     27                $username =$GLOBALS['egw_info']['user']['account_lid'];
     28       
     29                //para cuando se cambia una cuenta desde admin
     30                if ($_GET['menuaction'] =='admin.uiaccounts.edit_user')
     31                {       
     32                        $username =$_REQUEST['account_lid'];
     33                }
     34
     35                $username_=str_replace("@","_",$username);
     36                print "<br /><br /><br />".$username_;
     37                $crypted_passwd=_md5cr($data['new_passwd']);
     38
     39                $connect_sql=mysql_connect($db_host.":".$db_port,$db_pwd_user,$db_pwd_pass);
    1940        }
    2041}
Note: See TracChangeset for help on using the changeset viewer.