當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Xtempl::assign_section方法代碼示例

本文整理匯總了PHP中Xtempl::assign_section方法的典型用法代碼示例。如果您正苦於以下問題:PHP Xtempl::assign_section方法的具體用法?PHP Xtempl::assign_section怎麽用?PHP Xtempl::assign_section使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Xtempl的用法示例。


在下文中一共展示了Xtempl::assign_section方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getLangFileName

//for basic files
$includes = "";
if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        $includes .= "<div id=\"search_suggest\"></div>\r\n";
    }
    if (!$pageObject->isAppearOnTabs("Module Type")) {
        $xt->assign("Module_Type_fieldblock", true);
    } else {
        $xt->assign("Module_Type_tabfieldblock", true);
    }
    $xt->assign("Module_Type_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Module_Type_label", "<label for=\"" . GetInputElementId("Module Type", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Module Status")) {
        $xt->assign("Module_Status_fieldblock", true);
    } else {
        $xt->assign("Module_Status_tabfieldblock", true);
    }
    $xt->assign("Module_Status_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Module_Status_label", "<label for=\"" . GetInputElementId("Module Status", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Module Condition")) {
        $xt->assign("Module_Condition_fieldblock", true);
    } else {
        $xt->assign("Module_Condition_tabfieldblock", true);
    }
開發者ID:samsulpendis,項目名稱:Instant_Appointment,代碼行數:31,代碼來源:Module_add.php

示例2: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("group_id")) {
        $xt->assign("group_id_fieldblock", true);
    } else {
        $xt->assign("group_id_tabfieldblock", true);
    }
    $xt->assign("group_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("group_id_label", "<label for=\"" . GetInputElementId("group_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("module_id")) {
        $xt->assign("module_id_fieldblock", true);
    } else {
        $xt->assign("module_id_tabfieldblock", true);
    }
    $xt->assign("module_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("module_id_label", "<label for=\"" . GetInputElementId("module_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("reads")) {
        $xt->assign("reads_fieldblock", true);
    } else {
        $xt->assign("reads_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:app_group_modules_add.php

示例3: AdvancedSearchControl

}
// add constants and files for simple view
if ($mode == SEARCH_SIMPLE) {
    $searchControlBuilder = new AdvancedSearchControl($searchControllerId, $strTableName, $pageObject->searchClauseObj, $pageObject);
    // add button events if exist
    $pageObject->addButtonHandlers();
    $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
    //$includes.="<script language=\"JavaScript\" src=\"include/customlabels.js\"></script>\r\n";
    $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
    // if not simple, this div already exist on page
    if (!isMobile()) {
        $includes .= "<div id=\"search_suggest\" class=\"search_suggest\"></div>";
    }
    // search panel radio button assign
    $searchRadio = $searchControlBuilder->getSearchRadio();
    $xt->assign_section("all_checkbox_label", $searchRadio['all_checkbox_label'][0], $searchRadio['all_checkbox_label'][1]);
    $xt->assign_section("any_checkbox_label", $searchRadio['any_checkbox_label'][0], $searchRadio['any_checkbox_label'][1]);
    $xt->assignbyref("all_checkbox", $searchRadio['all_checkbox']);
    $xt->assignbyref("any_checkbox", $searchRadio['any_checkbox']);
    // search fields data
    if ($pageObject->pSet->getLookupTable("id")) {
        $pageObject->settingsMap["globalSettings"]['shortTNames'][$pageObject->pSet->getLookupTable("id")] = GetTableURL($pageObject->pSet->getLookupTable("id"));
    }
    $pageObject->fillFieldToolTips("id");
    $srchFields = $pageObject->searchClauseObj->getSearchCtrlParams("id");
    $firstFieldParams = array();
    if (count($srchFields)) {
        $firstFieldParams = $srchFields[0];
    } else {
        $firstFieldParams['fName'] = "id";
        $firstFieldParams['eType'] = '';
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:public_tmp_bank2_search.php

示例4: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("tahun")) {
        $xt->assign("tahun_fieldblock", true);
    } else {
        $xt->assign("tahun_tabfieldblock", true);
    }
    $xt->assign("tahun_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("tahun_label", "<label for=\"" . GetInputElementId("tahun", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("tanggal")) {
        $xt->assign("tanggal_fieldblock", true);
    } else {
        $xt->assign("tanggal_tabfieldblock", true);
    }
    $xt->assign("tanggal_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("tanggal_label", "<label for=\"" . GetInputElementId("tanggal", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("teguran_no")) {
        $xt->assign("teguran_no_fieldblock", true);
    } else {
        $xt->assign("teguran_no_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:pad_pad_teguran_add.php

示例5: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("jalan_kelas_id")) {
        $xt->assign("jalan_kelas_id_fieldblock", true);
    } else {
        $xt->assign("jalan_kelas_id_tabfieldblock", true);
    }
    $xt->assign("jalan_kelas_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("jalan_kelas_id_label", "<label for=\"" . GetInputElementId("jalan_kelas_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("kode")) {
        $xt->assign("kode_fieldblock", true);
    } else {
        $xt->assign("kode_tabfieldblock", true);
    }
    $xt->assign("kode_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("kode_label", "<label for=\"" . GetInputElementId("kode", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("nama")) {
        $xt->assign("nama_fieldblock", true);
    } else {
        $xt->assign("nama_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:pad_pad_reklame_jalan_add.php

示例6: getLangFileName

 if ($inlineedit == EDIT_SIMPLE) {
     $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
     $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
     if (!isMobile()) {
         $includes .= "<div id=\"search_suggest" . $id . "\"></div>\r\n";
     }
     $pageObject->body["begin"] .= $includes;
 }
 if (!$pageObject->isAppearOnTabs("tahun")) {
     $xt->assign("tahun_fieldblock", true);
 } else {
     $xt->assign("tahun_tabfieldblock", true);
 }
 $xt->assign("tahun_label", true);
 if (isEnableSection508()) {
     $xt->assign_section("tahun_label", "<label for=\"" . GetInputElementId("tahun", $id, PAGE_EDIT) . "\">", "</label>");
 }
 if (!$pageObject->isAppearOnTabs("usaha_id")) {
     $xt->assign("usaha_id_fieldblock", true);
 } else {
     $xt->assign("usaha_id_tabfieldblock", true);
 }
 $xt->assign("usaha_id_label", true);
 if (isEnableSection508()) {
     $xt->assign_section("usaha_id_label", "<label for=\"" . GetInputElementId("usaha_id", $id, PAGE_EDIT) . "\">", "</label>");
 }
 if (!$pageObject->isAppearOnTabs("kohirno")) {
     $xt->assign("kohirno_fieldblock", true);
 } else {
     $xt->assign("kohirno_tabfieldblock", true);
 }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:pad_pad_kohir_edit.php

示例7: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("daftar_id")) {
        $xt->assign("daftar_id_fieldblock", true);
    } else {
        $xt->assign("daftar_id_tabfieldblock", true);
    }
    $xt->assign("daftar_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("daftar_id_label", "<label for=\"" . GetInputElementId("daftar_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("nourut")) {
        $xt->assign("nourut_fieldblock", true);
    } else {
        $xt->assign("nourut_tabfieldblock", true);
    }
    $xt->assign("nourut_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("nourut_label", "<label for=\"" . GetInputElementId("nourut", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("notes")) {
        $xt->assign("notes_fieldblock", true);
    } else {
        $xt->assign("notes_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:pad_pad_daftar_kd_det_add.php

示例8: getLangFileName

//for basic files
$includes = "";
if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        $includes .= "<div id=\"search_suggest\"></div>\r\n";
    }
    if (!$pageObject->isAppearOnTabs("Customer ID")) {
        $xt->assign("Customer_ID_fieldblock", true);
    } else {
        $xt->assign("Customer_ID_tabfieldblock", true);
    }
    $xt->assign("Customer_ID_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Customer_ID_label", "<label for=\"" . GetInputElementId("Customer ID", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Bill Month")) {
        $xt->assign("Bill_Month_fieldblock", true);
    } else {
        $xt->assign("Bill_Month_tabfieldblock", true);
    }
    $xt->assign("Bill_Month_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Bill_Month_label", "<label for=\"" . GetInputElementId("Bill Month", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Previous Readings")) {
        $xt->assign("Previous_Readings_fieldblock", true);
    } else {
        $xt->assign("Previous_Readings_tabfieldblock", true);
    }
開發者ID:samsulpendis,項目名稱:Instant_Appointment,代碼行數:31,代碼來源:Month_Billings_add.php

示例9: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("tahun")) {
        $xt->assign("tahun_fieldblock", true);
    } else {
        $xt->assign("tahun_tabfieldblock", true);
    }
    $xt->assign("tahun_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("tahun_label", "<label for=\"" . GetInputElementId("tahun", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("stpdno")) {
        $xt->assign("stpdno_fieldblock", true);
    } else {
        $xt->assign("stpdno_tabfieldblock", true);
    }
    $xt->assign("stpdno_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("stpdno_label", "<label for=\"" . GetInputElementId("stpdno", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("stpdtgl")) {
        $xt->assign("stpdtgl_fieldblock", true);
    } else {
        $xt->assign("stpdtgl_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:pad_pad_stpd_add.php

示例10: getLangFileName

//for basic files
$includes = "";
if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        $includes .= "<div id=\"search_suggest\"></div>\r\n";
    }
    if (!$pageObject->isAppearOnTabs("UserID")) {
        $xt->assign("UserID_fieldblock", true);
    } else {
        $xt->assign("UserID_tabfieldblock", true);
    }
    $xt->assign("UserID_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("UserID_label", "<label for=\"" . GetInputElementId("UserID", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Password")) {
        $xt->assign("Password_fieldblock", true);
    } else {
        $xt->assign("Password_tabfieldblock", true);
    }
    $xt->assign("Password_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Password_label", "<label for=\"" . GetInputElementId("Password", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("User Name")) {
        $xt->assign("User_Name_fieldblock", true);
    } else {
        $xt->assign("User_Name_tabfieldblock", true);
    }
開發者ID:samsulpendis,項目名稱:Instant_Appointment,代碼行數:31,代碼來源:System_Users_add.php

示例11: getLangFileName

//for basic files
$includes = "";
if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        $includes .= "<div id=\"search_suggest\"></div>\r\n";
    }
    if (!$pageObject->isAppearOnTabs("Type")) {
        $xt->assign("Type_fieldblock", true);
    } else {
        $xt->assign("Type_tabfieldblock", true);
    }
    $xt->assign("Type_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Type_label", "<label for=\"" . GetInputElementId("Type", $id) . "\">", "</label>");
    }
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $pageObject->body["begin"] .= $includes;
        $xt->assign("backbutton_attrs", "id=\"backButton" . $id . "\"");
        $xt->assign("back_button", true);
    } else {
        $xt->assign("cancelbutton_attrs", "id=\"cancelButton" . $id . "\"");
        $xt->assign("cancel_button", true);
        $xt->assign("header", "");
    }
    $xt->assign("save_button", true);
}
$xt->assign("savebutton_attrs", "id=\"saveButton" . $id . "\"");
if ($message) {
    $xt->assign("message_block", true);
開發者ID:samsulpendis,項目名稱:Instant_Appointment,代碼行數:31,代碼來源:LU_Customer_Type_add.php

示例12: GetRootPathForResources

// button handlers file names
//fill jsSettings and ControlsHTMLMap
$pageObject->fillSetCntrlMaps();
$pageObject->body['end'] .= '<script>';
$pageObject->body['end'] .= "window.controlsMap = " . my_json_encode($pageObject->controlsHTMLMap) . ";";
$pageObject->body['end'] .= "window.viewControlsMap = " . my_json_encode($pageObject->viewControlsHTMLMap) . ";";
$pageObject->body['end'] .= "window.settings = " . my_json_encode($pageObject->jsSettings) . ";</script>";
$pageObject->body["end"] .= "<script type=\"text/javascript\" src=\"" . GetRootPathForResources("include/runnerJS/RunnerAll.js") . "\"></script>";
$pageObject->body["end"] .= '<script>' . $pageObject->PrepareJS() . "</script>";
$pageObject->addButtonHandlers();
$xt->assignbyref("body", $pageObject->body);
$xt->assign("username_label", true);
$xt->assign("password_label", true);
$xt->assign("remember_password_label", true);
if (isEnableSection508()) {
    $xt->assign_section("username_label", "<label for=\"username\">", "</label>");
    $xt->assign_section("password_label", "<label for=\"password\">", "</label>");
    $xt->assign_section("remember_password_label", "<label for=\"remember_password\">", "</label>");
}
if ($globalEvents->exists("BeforeShowLogin")) {
    $globalEvents->BeforeShowLogin($xt, $pageObject->templatefile, $pageObject);
}
// submit on popup login page
if ($onFly == 2) {
    if ($message) {
        $returnJSON['message'] = $message;
    } elseif ($d) {
        $returnJSON['redirect'] = $ajaxmessage;
    }
    if ($pageObject->isCaptchaOk == 0 && $useCaptcha) {
        $returnJSON['message'] = "Invalid security code.";
開發者ID:sdev1,項目名稱:CloudStockEnquiry,代碼行數:31,代碼來源:login.php

示例13: getLangFileName

//javascript code
if ($inlineedit != EDIT_INLINE) {
    if ($inlineedit == EDIT_SIMPLE) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        $includes .= "<div id=\"search_suggest" . $id . "\"></div>\r\n";
        $pageObject->body["begin"] .= $includes;
    }
    if (!$pageObject->isAppearOnTabs("Name")) {
        $xt->assign("Name_fieldblock", true);
    } else {
        $xt->assign("Name_tabfieldblock", true);
    }
    $xt->assign("Name_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Name_label", "<label for=\"" . GetInputElementId("Name", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Father Name")) {
        $xt->assign("Father_Name_fieldblock", true);
    } else {
        $xt->assign("Father_Name_tabfieldblock", true);
    }
    $xt->assign("Father_Name_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("Father_Name_label", "<label for=\"" . GetInputElementId("Father Name", $id) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("Address")) {
        $xt->assign("Address_fieldblock", true);
    } else {
        $xt->assign("Address_tabfieldblock", true);
    }
開發者ID:samsulpendis,項目名稱:Instant_Appointment,代碼行數:31,代碼來源:Customers_edit.php

示例14: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("daftar_id")) {
        $xt->assign("daftar_id_fieldblock", true);
    } else {
        $xt->assign("daftar_id_tabfieldblock", true);
    }
    $xt->assign("daftar_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("daftar_id_label", "<label for=\"" . GetInputElementId("daftar_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("status_id")) {
        $xt->assign("status_id_fieldblock", true);
    } else {
        $xt->assign("status_id_tabfieldblock", true);
    }
    $xt->assign("status_id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("status_id_label", "<label for=\"" . GetInputElementId("status_id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("create_date")) {
        $xt->assign("create_date_fieldblock", true);
    } else {
        $xt->assign("create_date_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:pad_pad_daftar_hist_add.php

示例15: getLangFileName

if ($inlineadd != ADD_INLINE) {
    if ($inlineadd != ADD_ONTHEFLY && $inlineadd != ADD_POPUP) {
        $includes .= "<script language=\"JavaScript\" src=\"include/loadfirst.js\"></script>\r\n";
        $includes .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("id")) {
        $xt->assign("id_fieldblock", true);
    } else {
        $xt->assign("id_tabfieldblock", true);
    }
    $xt->assign("id_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("id_label", "<label for=\"" . GetInputElementId("id", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("tgl")) {
        $xt->assign("tgl_fieldblock", true);
    } else {
        $xt->assign("tgl_tabfieldblock", true);
    }
    $xt->assign("tgl_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("tgl_label", "<label for=\"" . GetInputElementId("tgl", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("iso_request")) {
        $xt->assign("iso_request_fieldblock", true);
    } else {
        $xt->assign("iso_request_tabfieldblock", true);
    }
開發者ID:aagusti,項目名稱:padl-tng,代碼行數:31,代碼來源:public_pad_reversal_add.php


注:本文中的Xtempl::assign_section方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。