Changeset 1021
- Timestamp:
- 09/16/08 06:15:35 (2 months ago)
- Files:
-
- trunk/admin/Public/form_data/FG_var_agent.inc (modified) (1 diff)
- trunk/admin/Public/form_data/FG_var_card.inc (modified) (2 diffs)
- trunk/admin/Public/form_data/FG_var_charge.inc (modified) (1 diff)
- trunk/admin/Public/form_data/FG_var_def_ratecard.inc (modified) (1 diff)
- trunk/admin/Public/form_data/FG_var_ecommerce.inc (modified) (1 diff)
- trunk/admin/Public/form_data/FG_var_subscription.inc (modified) (1 diff)
- trunk/admin/Public/form_data/FG_var_tariffplan.inc (modified) (1 diff)
- trunk/admin/Public/form_data/FG_var_trunk.inc (modified) (1 diff)
- trunk/common/lib/admin.defines.php (modified) (2 diffs)
- trunk/common/lib/agent.defines.php (modified) (1 diff)
- trunk/common/lib/customer.defines.php (modified) (2 diffs)
- trunk/common/lib/interface/constants.php (modified) (1 diff)
- trunk/common/lib/Misc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/admin/Public/form_data/FG_var_agent.inc
r830 r1021 34 34 35 35 36 $currency_list= Constants::getCurrenciesList();37 $currency_list_r = Constants::getCurrenciesRateList();38 $currency_list_key = Constants::getCurrenciesKeyList() ;36 $currency_list=getCurrenciesList(); 37 $currency_list_r = getCurrenciesRateList(); 38 $currency_list_key = getCurrenciesKeyList() ; 39 39 40 40 $HD_Form -> AddViewElement(gettext("ID"), "id", "7%", "center", "sort"); trunk/admin/Public/form_data/FG_var_card.inc
r993 r1021 906 906 907 907 908 $HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";908 //$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 909 909 $HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 910 910 $HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; … … 914 914 915 915 916 trunk/admin/Public/form_data/FG_var_charge.inc
r883 r1021 30 30 31 31 32 $currency_list = Constants::getCurrenciesList();33 $currency_list_r = Constants::getCurrenciesRateList();34 $currency_list_key = Constants::getCurrenciesKeyList() ;32 $currency_list = getCurrenciesList(); 33 $currency_list_r = getCurrenciesRateList(); 34 $currency_list_key = getCurrenciesKeyList() ; 35 35 36 36 trunk/admin/Public/form_data/FG_var_def_ratecard.inc
r1019 r1021 562 562 } 563 563 564 $HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";564 //$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 565 565 $HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 566 566 $HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; trunk/admin/Public/form_data/FG_var_ecommerce.inc
r792 r1021 13 13 $language_list = Constants::getLanguagesList(); 14 14 $simultaccess_list = Constants::getSimultAccessList(); 15 $currency_list= Constants::getCurrenciesList();16 $currency_list_r = Constants::getCurrenciesRateList();17 $currency_list_key = Constants::getCurrenciesKeyList();15 $currency_list=getCurrenciesList(); 16 $currency_list_r = getCurrenciesRateList(); 17 $currency_list_key = getCurrenciesKeyList(); 18 18 $typepaid_list = Constants::getPaidTypeList(); 19 19 $expire_list = Constants::getExpirationList(); trunk/admin/Public/form_data/FG_var_subscription.inc
r792 r1021 18 18 19 19 20 $currency_list= Constants::getCurrenciesList();21 $currency_list_r = Constants::getCurrenciesRateList();22 $currency_list_key = Constants::getCurrenciesKeyList() ;20 $currency_list=getCurrenciesList(); 21 $currency_list_r = getCurrenciesRateList(); 22 $currency_list_key = getCurrenciesKeyList() ; 23 23 24 24 trunk/admin/Public/form_data/FG_var_tariffplan.inc
r1 r1021 150 150 151 151 152 $HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";152 //$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 153 153 $HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 154 154 $HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; trunk/admin/Public/form_data/FG_var_trunk.inc
r966 r1021 229 229 230 230 231 $HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id=";231 //$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 232 232 $HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 233 233 $HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; trunk/common/lib/admin.defines.php
r993 r1021 1 1 <?php 2 2 define ("WRITELOG_QUERY",false); 3 4 define ("FSROOT", substr(dirname(__FILE__),0,-3)); 5 define ("LIBDIR", FSROOT."lib/"); 6 include (FSROOT."lib/interface/constants.php"); 3 7 include_once (dirname(__FILE__)."/Class.A2Billing.php"); 4 8 require_once('adodb/adodb.inc.php'); // AdoDB 5 9 include_once (dirname(__FILE__)."/Class.Table.php"); 6 7 define ("FSROOT", substr(dirname(__FILE__),0,-3));8 define ("LIBDIR", FSROOT."lib/");9 10 10 11 // USE PHPMAILER … … 12 13 // INCLUDE MISC 13 14 include (FSROOT."lib/Misc.php"); 14 include (FSROOT."lib/interface/constants.php");15 15 16 16 trunk/common/lib/agent.defines.php
r986 r1021 1 1 <?php 2 2 define ("WRITELOG_QUERY",false); 3 define ("FSROOT", substr(dirname(__FILE__),0,-3)); 4 define ("LIBDIR", FSROOT."lib/"); 5 include (FSROOT."lib/interface/constants.php"); 3 6 include_once (dirname(__FILE__)."/Class.A2Billing.php"); 4 7 require_once('adodb/adodb.inc.php'); // AdoDB 5 8 include_once (dirname(__FILE__)."/Class.Table.php"); 6 9 7 define ("FSROOT", substr(dirname(__FILE__),0,-3));8 define ("LIBDIR", FSROOT."lib/");9 10 10 11 // USE PHPMAILER trunk/common/lib/customer.defines.php
r986 r1021 1 1 <?php 2 2 define ("WRITELOG_QUERY",false); 3 define ("FSROOT", substr(dirname(__FILE__),0,-3)); 4 define ("LIBDIR", FSROOT."lib/"); 5 include (FSROOT."lib/interface/constants.php"); 3 6 include_once (dirname(__FILE__)."/Class.A2Billing.php"); 4 7 include_once (dirname(__FILE__)."/Class.Table.php"); … … 113 116 114 117 // INCLUDE FILES 115 define ("FSROOT", substr(dirname(__FILE__),0,-3));116 define ("LIBDIR", FSROOT."lib/");117 118 include (FSROOT."lib/Misc.php"); 118 119 include (FSROOT."lib/interface/constants.php"); trunk/common/lib/interface/constants.php
r1019 r1021 19 19 } 20 20 21 public static function getCurrenciesList(){ 22 $currencies_list = get_currencies(); 23 foreach($currencies_list as $key => $cur_value) { 24 $currency_list[$key] = array( $cur_value[1].' ('.$cur_value[2].')', $key); 25 } 26 return $currency_list; 27 } 28 29 public static function getCurrenciesKeyList(){ 30 $currencies_list = get_currencies(); 31 foreach($currencies_list as $key => $cur_value) { 32 $currency_list_key[$key][0] = $key; 33 } 34 return $currency_list_key; 35 } 36 37 public static function getCurrenciesRateList(){ 38 $currencies_list = get_currencies(); 39 foreach($currencies_list as $key => $cur_value) { 40 $currency_list_r[$key] = array( $key, $cur_value[1]); 41 } 42 return $currency_list_r; 43 } 21 22 44 23 45 24 public static function getPeriodsList(){ trunk/common/lib/Misc.php
r1013 r1021 76 76 return $currencies_list; 77 77 } 78 79 function getCurrenciesList(){ 80 $currencies_list = get_currencies(); 81 foreach($currencies_list as $key => $cur_value) { 82 $currency_list[$key] = array( $cur_value[1].' ('.$cur_value[2].')', $key); 83 } 84 return $currency_list; 85 } 86 87 88 function getCurrenciesKeyList(){ 89 $currencies_list = get_currencies(); 90 foreach($currencies_list as $key => $cur_value) { 91 $currency_list_key[$key][0] = $key; 92 } 93 return $currency_list_key; 94 } 95 96 function getCurrenciesRateList(){ 97 $currencies_list = get_currencies(); 98 foreach($currencies_list as $key => $cur_value) { 99 $currency_list_r[$key] = array( $key, $cur_value[1]); 100 } 101 return $currency_list_r; 102 } 78 103 79 104 /**
