Ticket #64: FG_var_did.inc.patch.txt

File FG_var_did.inc.patch.txt, 1.3 kB (added by asiby, 1 year ago)
Line 
1 --- FG_var_did.inc.old  2007-05-28 20:36:37.000000000 -0400
2 +++ FG_var_did.inc      2007-11-27 21:12:09.000000000 -0500
3 @@ -3,7 +3,7 @@
4  getpost_ifset(array('id', 'billingtype', 'did', 'startingdate', 'expirationdate', 'id_cc_didgroup', 'id_cc_country', 'activated', 'fixrate', 'id_trunk', 'choose_country', 'choose_did', 'assign', 'countrycode', 'arecode', 'phonenumber', 'voip_call', 'destination', 'choose_did_rate', 'new_did_page', 'confirm_buy_did', 'action_release'));
5  
6  
7 -$HD_Form = new FormHandler("cc_did_destination","did");
8 +$HD_Form = new FormHandler("cc_did_destination","destination");
9  
10  $HD_Form -> FG_DEBUG = 0;
11  $HD_Form -> FG_TABLE_DEFAULT_ORDER = "did";
12 @@ -83,7 +83,7 @@
13         "sql",
14         "cc_did",
15         "did, id",
16 -       "id_cc_didgroup = '".$_SESSION["id_didgroup"]."'", "", "%1", "" , "");
17 +       "(iduser='".$_SESSION["card_id"]."') AND (id_cc_didgroup = '".$_SESSION["id_didgroup"]."')", "", "%1", "" , "");
18  
19  $HD_Form -> AddEditElement (gettext("ACTIVATED"),
20         "activated",
21 @@ -143,4 +143,4 @@
22  $HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";
23  $HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";
24  $HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";
25 -?>
26 +


Google