Changeset 1085

Show
Ignore:
Timestamp:
09/29/08 08:48:37 (2 months ago)
Author:
areski
Message:

misc updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/admin/Public/form_data/FG_var_service.inc

    r1076 r1085  
    11<?php 
     2 
    23getpost_ifset(array('id', 'name', 'amount', 'period', 'rule', 'daynumber', 'stopmode', 'maxnumbercycle', 'status', 'emailreport')); 
    34 
     
    67 
    78$HD_Form -> FG_DEBUG = 0; 
    8 // FAQ 
    99$HD_Form -> FG_TABLE_DEFAULT_ORDER = "id"; 
    1010$HD_Form -> FG_TABLE_DEFAULT_SENS = "DESC"; 
     
    189189$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    190190$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    191 ?> 
  • trunk/admin/Public/form_data/FG_var_speeddial.inc

    r1069 r1085  
    125125 
    126126 
    127  
  • trunk/admin/Public/form_data/FG_var_statuslog.inc

    r405 r1085  
    55 
    66$HD_Form = new FormHandler("cc_status_log sl", "Status Log"); 
    7  
    87 
    98$HD_Form -> FG_DEBUG = 0; 
     
    8180$HD_Form -> CV_TEXT_TITLE_ABOVE_TABLE = ''; 
    8281$HD_Form -> CV_DISPLAY_FILTER_ABOVE_TABLE = false; 
     82 
     83 
  • trunk/admin/Public/form_data/FG_var_subscriber.inc

    r1076 r1085  
    11<?php 
     2 
    23getpost_ifset(array('id', 'id_cc_card', 'id_subscription_fee', 'datestart', 'datestop', 'product_name')); 
    34 
    45$HD_Form = new FormHandler("cc_card_subscription","Subscriber"); 
    5  
    66$HD_Form -> FG_DEBUG = 0; 
    77 
     
    120120$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    121121 
    122 ?> 
     122 
  • trunk/admin/Public/form_data/FG_var_subscription.inc

    r1076 r1085  
    11<?php 
     2 
    23getpost_ifset(array('id', 'label', 'fee', 'status', 'emailreport')); 
    34 
     
    56 
    67$HD_Form -> FG_DEBUG = 0; 
    7 // FAQ 
    88$HD_Form -> FG_TABLE_DEFAULT_ORDER = "id"; 
    99$HD_Form -> FG_TABLE_DEFAULT_SENS = "DESC"; 
     
    137137$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    138138$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    139 ?> 
  • trunk/admin/Public/form_data/FG_var_support_component.inc

    r1076 r1085  
    55 
    66 
    7 $HD_Form = new FormHandler("cc_support_component","Support Component"   ); 
     7$HD_Form = new FormHandler("cc_support_component","Support Component"); 
    88 
    99 
     
    6767 
    6868$HD_Form -> AddEditElement (gettext("Support Box"), 
    69                           "id_support", 
    70                           "", 
    71                           "SELECT", 
    72                           "", "", "", 
    73                           "sql", 
    74                           "cc_support", 
    75                           "name, id", 
    76                           "", "", "%1", "", ""); 
     69   "id_support", 
     70   "", 
     71   "SELECT", 
     72   "", "", "", 
     73   "sql", 
     74   "cc_support", 
     75   "name, id", 
     76   "", "", "%1", "", ""); 
    7777 
    7878 
     
    9696$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    9797$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    98 ?> 
     98 
     99 
  • trunk/admin/Public/form_data/FG_var_support.inc

    r1076 r1085  
    7676$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    7777$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    78 ?> 
     78 
     79 
     80 
  • trunk/admin/Public/form_data/FG_var_tariffgroup.inc

    r1076 r1085  
    166166$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    167167$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
     168 
     169 
     170 
     171 
  • trunk/admin/Public/form_data/FG_var_tariffplan.inc

    r1076 r1085  
    138138 
    139139 
    140  
    141  
    142140$HD_Form -> FG_INTRO_TEXT_EDITION= gettext("Modify the properties of the rate card."); 
    143141$HD_Form -> FG_INTRO_TEXT_ASK_DELETION = gettext("If you really want remove this")." ".$HD_Form->FG_INSTANCE_NAME.", ".gettext("click on the delete button."); 
    144142$HD_Form -> FG_INTRO_TEXT_ADD = gettext("you can add easily a new")." ".$HD_Form->FG_INSTANCE_NAME.".<br>".gettext("Fill the following fields and confirm by clicking on the button add."); 
    145143 
    146  
    147  
    148  
    149  
    150144$HD_Form -> FG_INTRO_TEXT_ADITION = ''; 
    151145$HD_Form -> FG_TEXT_ADITION_CONFIRMATION = gettext("Your new")." ". $HD_Form->FG_INSTANCE_NAME." ".gettext("has been inserted.")." <br>"; 
    152  
    153146 
    154147$HD_Form -> FG_BUTTON_EDITION_SRC = $HD_Form -> FG_BUTTON_ADITION_SRC  = Images_Path . "/cormfirmboton.gif"; 
    155148$HD_Form -> FG_BUTTON_EDITION_BOTTOM_TEXT = $HD_Form -> FG_BUTTON_ADITION_BOTTOM_TEXT =  gettext("Setup those values to create the new")." ".$HD_Form->FG_INSTANCE_NAME; 
    156149 
    157  
    158  
    159150//$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    160151$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    161152$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    162 ?> 
     153 
     154 
  • trunk/admin/Public/form_data/FG_var_ticket.inc

    r1076 r1085  
    156156$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    157157$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    158 ?> 
     158 
     159 
  • trunk/admin/Public/form_data/FG_var_transactions.inc

    r237 r1085  
    11<?php 
     2 
    23getpost_ifset(array('id', 'customers_id', 'customers_name', 'customers_email_address', 'item_name', 'item_id', 'item_quantity', 'payment_method','cc_type', 'cc_owner','cc_number', 'cc_expires', 'orders_status', 'last_modified', 'date_purchased','orders_date_finished', 'orders_amount', 'currency', 'currency_value')); 
    34 
     
    1314$HD_Form -> AddViewElement(gettext("CARDID"), "customers_id", "7%", "center", "sort"); 
    1415$HD_Form -> AddViewElement(gettext("NAME"), "customers_name", "10%", "center", "sort"); 
    15 //$HD_Form -> AddViewElement(gettext("EMAIL"), "customers_email_address", "10%", "center", "sort"); 
    1616$HD_Form -> AddViewElement(gettext("ITEM NAME"), "item_name", "10%", "center", "sort"); 
    1717$HD_Form -> AddViewElement(gettext("ITEM ID"), "item_id", "10%", "center", "sort", "", "30", "", "", "", "", "linktocustomer"); 
    1818$HD_Form -> AddViewElement(gettext("METHOD"), "payment_method", "9%", "center", "sort"); 
    1919$HD_Form -> AddViewElement(gettext("CC NUMBER"), "cc_number", "10%", "center", "sort"); 
    20 //$HD_Form -> AddViewElement(gettext("CC EXPIRES"), "cc_expires", "7%", "center", "sort"); 
    2120$HD_Form -> AddViewElement(gettext("STATUS"), "orders_status", "7%", "center", "sort","15","lie","cc_payments_status","status_name","status_id='%id'","%1"); 
    2221$HD_Form -> AddViewElement(gettext("AMOUNT"), "orders_amount", "8%", "center", "SORT", "30"); 
    2322$HD_Form -> AddViewElement("<acronym title=\"".gettext("CURRENCY")."\">".gettext("CUR")."</acronym>", "currency", "5%", "center", "sort", ""); 
    2423$HD_Form -> AddViewElement(gettext("VALUE"), "currency_value", "5%", "center", "SORT", "30"); 
    25 // added a parameter to append  FG_TABLE_ID  ( by default ) or disable 0. 
     24 
    2625$HD_Form -> FieldViewElement ('id, date_purchased, customers_id, customers_name, item_name, item_id, payment_method, cc_number, orders_status, orders_amount, currency, currency_value'); 
    2726 
     
    235234$HD_Form -> FG_INTRO_TEXT_ADD = gettext("you can add easily a new")." ".$HD_Form->FG_INSTANCE_NAME.". <br>".gettext("Fill the following fields and confirm by clicking on the button add."); 
    236235 
    237  
    238236$HD_Form -> FG_INTRO_TEXT_ADITION = ''; 
    239237$HD_Form -> FG_TEXT_ADITION_CONFIRMATION = gettext("Your new")." ".$HD_Form->FG_INSTANCE_NAME." ".gettext("has been inserted.")."<br>"; 
     
    242240$HD_Form -> FG_BUTTON_EDITION_SRC = $HD_Form -> FG_BUTTON_ADITION_SRC  = "../Images/cormfirmboton.gif"; 
    243241$HD_Form -> FG_BUTTON_EDITION_BOTTOM_TEXT = $HD_Form -> FG_BUTTON_ADITION_BOTTOM_TEXT = gettext("Click 'Confirm Data' to continue"); 
    244  
    245  
    246242 
    247243$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    248244$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    249245$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    250 ?> 
     246 
     247 
     248 
     249 
  • trunk/admin/Public/form_data/FG_var_trunk.inc

    r1076 r1085  
    219219 
    220220 
    221  
    222  
    223221$HD_Form -> FG_INTRO_TEXT_EDITION= gettext("Modify the properties of the trunk below."); 
    224222$HD_Form -> FG_INTRO_TEXT_ASK_DELETION = gettext("If you really want remove this")." ".$HD_Form->FG_INSTANCE_NAME.", ".gettext("click on the delete button."); 
    225223$HD_Form -> FG_INTRO_TEXT_ADD = gettext("you can add easily a new")." ".$HD_Form->FG_INSTANCE_NAME.".<br>".gettext("Fill the following fields and confirm by clicking on the button add."); 
    226224 
    227  
    228  
    229  
    230  
    231225$HD_Form -> FG_INTRO_TEXT_ADITION = ''; 
    232226$HD_Form -> FG_TEXT_ADITION_CONFIRMATION = gettext("Your new")." ".$HD_Form->FG_INSTANCE_NAME." ".gettext("has been inserted.")."<br>"; 
    233227 
    234  
    235228$HD_Form -> FG_BUTTON_EDITION_SRC = $HD_Form -> FG_BUTTON_ADITION_SRC  = Images_Path . "/cormfirmboton.gif"; 
    236229$HD_Form -> FG_BUTTON_EDITION_BOTTOM_TEXT = $HD_Form -> FG_BUTTON_ADITION_BOTTOM_TEXT = 'Fill correctly the fields to add a new '.$HD_Form->FG_INSTANCE_NAME; 
    237  
    238  
    239230 
    240231//$HD_Form -> FG_GO_LINK_AFTER_ACTION_ADD = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    241232$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    242233$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
     234 
     235 
  • trunk/admin/Public/form_data/FG_var_user.inc

    r1076 r1085  
    283283$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=user&groupID=$groupID&stitle=Administrator+management&id="; 
    284284$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=user&groupID=$groupID&stitle=Administrator+management&id="; 
    285 ?> 
     285 
     286 
  • trunk/admin/Public/form_data/FG_var_view_invoice.inc

    r237 r1085  
    11<?php 
    22 
    3 $plang='en'; 
    43getpost_ifset(array('cardid','entercustomer','section','Period','frommonth','tomonth','fromstatsmonth','tostatsmonth')); 
    5 if ($totaltext == "") 
    6 
    7         $totaltext = 0; 
    8 
     4 
     5if ($totaltext == "")   $totaltext = 0; 
     6 
     7 
    98$HD_Form = new FormHandler("cc_card card, cc_invoices inv LEFT JOIN (SELECT * FROM cc_invoice_history GROUP BY invoiceid HAVING Max(invoicesent_date)) as his ON inv.ID = his.invoiceid ","Invoice"); 
    109 
     
    1211 
    1312$HD_Form -> FG_TABLE_CLAUSE = " card.id = inv.cardid "; 
    14 if (isset($entercustomer)  &&  ($entercustomer>0)) 
    15 
     13if (isset($entercustomer)  &&  ($entercustomer>0)) { 
    1614        $HD_Form -> FG_TABLE_CLAUSE .= " AND card.username = '$entercustomer' ";         
    1715} 
     
    2422} 
    2523$lastdayofmonth = date("t", strtotime($tostatsmonth.'-01')); 
    26 if (strlen($HD_Form -> FG_TABLE_CLAUSE) > 0 && $frommonth) 
    27 
     24if (strlen($HD_Form -> FG_TABLE_CLAUSE) > 0 && $frommonth) { 
    2825        $date_clause .=' AND '; 
    2926}        
    30 if ($frommonth && isset($fromstatsmonth)) 
    31 
     27if ($frommonth && isset($fromstatsmonth)) { 
    3228        $date_clause.="  $UNIX_TIMESTAMP(cover_startdate) >= $UNIX_TIMESTAMP('$fromstatsmonth-01')"; 
    3329} 
    34 if( ($frommonth && $tomonth) || (strlen($HD_Form -> FG_TABLE_CLAUSE) > 0 && $tomonth) ) 
    35 
     30if( ($frommonth && $tomonth) || (strlen($HD_Form -> FG_TABLE_CLAUSE) > 0 && $tomonth) ) { 
    3631        $date_clause .=' AND '; 
    3732} 
    3833 
    39 if ($tomonth && isset($tostatsmonth)) 
    40 
     34if ($tomonth && isset($tostatsmonth)) { 
    4135        $date_clause.=" $UNIX_TIMESTAMP(cover_startdate) <= $UNIX_TIMESTAMP('".$tostatsmonth."-$lastdayofmonth 23:59:59')";  
    4236}        
     37 
    4338 
    4439$HD_Form -> FG_TABLE_CLAUSE .= $date_clause; 
    4540 
    4641         
    47 // 
    4842$HD_Form -> FG_TABLE_ID = "inv.id"; 
    4943$HD_Form -> FG_TABLE_DEFAULT_ORDER = "inv.invoicecreated_date"; 
     
    8478$HD_Form -> FG_DELETION = false; 
    8579 
    86         $HD_Form -> FG_OTHER_BUTTON1 = true; 
    87         $HD_Form -> FG_OTHER_BUTTON2 = true; 
     80$HD_Form -> FG_OTHER_BUTTON1 = true; 
     81$HD_Form -> FG_OTHER_BUTTON2 = true; 
     82 
     83$HD_Form -> FG_OTHER_BUTTON1_LINK="A2B_entity_invoice_detail.php?id=|param|&invoice_type=2"; 
     84$HD_Form -> FG_OTHER_BUTTON2_LINK="A2B_entity_invoice_detail_pdf.php?id=|param|&cardid=$cardid&action=sendinvoice&exporttype=pdf&invoice_type=2"; 
     85 
     86$HD_Form -> FG_OTHER_BUTTON1_ALT = 'Details'; 
     87$HD_Form -> FG_OTHER_BUTTON2_ALT = 'Send'; 
    8888         
    89         $HD_Form -> FG_OTHER_BUTTON1_LINK="A2B_entity_invoice_detail.php?id=|param|&invoice_type=2"; 
    90         $HD_Form -> FG_OTHER_BUTTON2_LINK="A2B_entity_invoice_detail_pdf.php?id=|param|&cardid=$cardid&action=sendinvoice&exporttype=pdf&invoice_type=2"; 
    91          
    92         $HD_Form -> FG_OTHER_BUTTON1_ALT = 'Details'; 
    93         $HD_Form -> FG_OTHER_BUTTON2_ALT = 'Send'; 
    94                  
    95         $HD_Form -> FG_OTHER_BUTTON1_IMG = Images_Path.'/details.gif'; 
    96         $HD_Form -> FG_OTHER_BUTTON2_IMG = Images_Path.'/email03.gif'; 
     89$HD_Form -> FG_OTHER_BUTTON1_IMG = Images_Path.'/details.gif'; 
     90$HD_Form -> FG_OTHER_BUTTON2_IMG = Images_Path.'/email03.gif'; 
    9791 
    98         //$HD_Form -> FG_OTHER_BUTTON2_IMG = ''; 
     92 
    9993 
    10094$HD_Form -> FG_INTRO_TEXT_EDITION= gettext("You can modify, through the following form, the different properties of your ".$HD_Form->FG_INSTANCE_NAME); 
     
    122116$HD_Form -> FG_GO_LINK_AFTER_ACTION_EDIT = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    123117$HD_Form -> FG_GO_LINK_AFTER_ACTION_DELETE = $_SERVER['PHP_SELF']."?atmenu=document&stitle=Document&wh=AC&id="; 
    124 ?> 
     118 
     119 
     120 
  • trunk/admin/Public/form_data/FG_var_voucher.inc

    r1076 r1085  
    11<?php 
    22 
    3  
    43getpost_ifset(array('id', 'creationdate', 'usedate', 'expirationdate', 'voucher', 'tag', 'credit', 'activated', 'used', 'currency')); 
    5  
    6  
    7 $plang='en'; 
    84 
    95$HD_Form = new FormHandler("cc_voucher","Voucher"); 


Google