diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 6d2a3465..89f04bc4 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -1,7 +1,7 @@ LICENSE: AGPLv2 +# Copyright (C) 2013 Matt Florell LICENSE: AGPLv2 # require("dbconnect.php"); @@ -3218,12 +3218,13 @@ else # 121206-0630 - Added inbound lead search feature # 121212-1529 - Standardization of list_id fields at 19 digits in forms # 121222-2146 - Added new email features +# 130102-1135 - Small change to admin log viewing for email accounts # # make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time -$admin_version = '2.6-391a'; -$build = '121222-2146'; +$admin_version = '2.6-392a'; +$build = '130102-1135'; $STARTtime = date("U"); $SQLdate = date("Y-m-d H:i:s"); @@ -3511,7 +3512,7 @@ echo "\n"; echo "\n"; echo "\n"; echo "\n"; -echo "\n"; +echo "\n"; echo "\n"; echo "\n"; echo "\n"; @@ -34524,6 +34525,7 @@ if ($ADD==720000000000000) if (eregi('CATEGOR',$row[4])) {$record_link = "$PHP_SELF?ADD=331111111111111";} if (eregi('GROUPALIAS',$row[4])) {$record_link = "$PHP_SELF?ADD=33111111111&group_alias_id=$row[6]";} if (eregi('LEADS',$row[4])) {$record_link = "./admin_modify_lead.php?lead_id=$row[6]";} + if (eregi('EMAIL',$row[4])) {$record_link = "./admin_email_accounts.php?eact=UPDATE&email_account_id=$row[6]";} if (eregi("1$|3$|5$|7$|9$", $o)) {$bgcolor='bgcolor="#B9CBFD"';} @@ -35179,7 +35181,7 @@ if ($ADD==999995) echo "
Welcome to ViciDial: copyright, trademark and license page

\n"; echo "
\n"; - echo "\n"; + echo "\n"; echo "\n"; @@ -35549,7 +35551,7 @@ echo "

"; echo "VERSION: $admin_version
"; echo "BUILD: $build\n"; if (!preg_match("/_BUILD_/",$SShosted_settings)) - {echo "
© 2012 ViciDial Group
";} + {echo "
© 2013 ViciDial Group
";} echo "
\n"; ?> diff --git a/www/vicidial/admin_email_accounts.php b/www/vicidial/admin_email_accounts.php index ec540ab9..84111c02 100644 --- a/www/vicidial/admin_email_accounts.php +++ b/www/vicidial/admin_email_accounts.php @@ -1,16 +1,17 @@ LICENSE: AGPLv2 +# Copyright (C) 2013 Joe Johnson, Matt Florell LICENSE: AGPLv2 # # This page manages the inbound email accounts in ViciDial # # changes: # 121214-2245 - First Build +# 130102-1131 - Small admin log change # -$admin_version = '2.6-1'; -$build = '121214-2245'; +$admin_version = '2.6-2'; +$build = '130102-1131'; $sh="emails"; @@ -377,7 +378,7 @@ if (($SUBMIT=="SUBMIT" || $SUBMIT=="UPDATE") && $email_account_id) $SQL_log = "$upd_stmt|"; $SQL_log = ereg_replace(';','',$SQL_log); $SQL_log = addslashes($SQL_log); - $stmt="INSERT INTO vicidial_admin_log set event_date=now(), user='$PHP_AUTH_USER', ip_address='$ip', event_section='EMAIL', event_type='MODIFY', record_id='$user', event_code='EMAIL ACCOUNT MODIFIED', event_sql=\"$SQL_log\", event_notes='';"; + $stmt="INSERT INTO vicidial_admin_log set event_date=now(), user='$PHP_AUTH_USER', ip_address='$ip', event_section='EMAIL', event_type='MODIFY', record_id='$email_account_id', event_code='EMAIL ACCOUNT MODIFIED', event_sql=\"$SQL_log\", event_notes='';"; if ($DB) {echo "|$stmt|\n";} $rslt=mysql_query($stmt, $link); } @@ -791,7 +792,7 @@ else if (($eact=="DELETE" || $eact=="UPDATE") && $email_account_id) echo "
Copyright:   The ViciDial Call Center Suite is maintained by the ViciDial Group, © 2012
Copyright:   The ViciDial Call Center Suite is maintained by the ViciDial Group, © 2013
Trademark:   \"VICIDIAL\" is a registered trademark of the ViciDial Group. Here is our trademark use policy


"; if ($LOGuser_level >= 9) { - echo "

Click here to see Admin changes to this record\n"; + echo "

Click here to see Admin changes to this record\n"; } echo "

DELETE EMAIL ACCOUNT
\n"; }