在 Customer Account 修改欄位的預設值

    內容表格
    沒有標頭

    目地說明:新增 Customer Account 時,表單內的 SIP & IAX 預設改為 No。

    編輯 /var/www/A2Billing_UI/Public/form_data/FG_var_card.inc
    搜尋關鍵字 sip_buddy

            $HD_Form -> AddEditElement (gettext("CREATE SIP CONFIG"),
                                       "sip_buddy",
                                       '1',  <== 將 1 改成 0
                                       "RADIOBUTTON",
                                       "",
                                       "",
                                       gettext("Choose if you want to enable the sip account"),
                                       "" , "", "" , "Yes :1, - No:0", "", "" , "", gettext("Create the SIP config automatically"));
    
    
            $HD_Form -> AddEditElement (gettext("CREATE IAX CONFIG"),
                                       "iax_buddy",
                                       '1',  <== 將 1 改成 0
                                       "RADIOBUTTON",
                                       "",
                                       "",
                                       gettext("Choose if you want to enable the iax account"),
                                       "" , "", "" , "Yes :1, - No:0",  "", "" , "", gettext("Create the IAX config automatically"));
    

    完成。

    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core