当前位置: 首页>>代码示例>>PHP>>正文


PHP getLangFileName函数代码示例

本文整理汇总了PHP中getLangFileName函数的典型用法代码示例。如果您正苦于以下问题:PHP getLangFileName函数的具体用法?PHP getLangFileName怎么用?PHP getLangFileName使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getLangFileName函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getLangFileName

    $defvalues["pencatat_jabat_id"] = @$avalues["pencatat_jabat_id"];
    $defvalues["created"] = @$avalues["created"];
    $defvalues["updated"] = @$avalues["updated"];
    $defvalues["update_uid"] = @$avalues["update_uid"];
    $defvalues["npwpd_old"] = @$avalues["npwpd_old"];
    $defvalues["id_old"] = @$avalues["id_old"];
}
if ($eventObj->exists("ProcessValuesAdd")) {
    $eventObj->ProcessValuesAdd($defvalues, $pageObject);
}
//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>";
        if (!isMobile()) {
            $includes .= "<div id=\"search_suggest\"></div>\r\n";
        }
    }
    if (!$pageObject->isAppearOnTabs("parent")) {
        $xt->assign("parent_fieldblock", true);
    } else {
        $xt->assign("parent_tabfieldblock", true);
    }
    $xt->assign("parent_label", true);
    if (isEnableSection508()) {
        $xt->assign_section("parent_label", "<label for=\"" . GetInputElementId("parent", $id, PAGE_ADD) . "\">", "</label>");
    }
    if (!$pageObject->isAppearOnTabs("npwpd")) {
        $xt->assign("npwpd_fieldblock", true);
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_customer_add.php

示例2: RunnerPage

$params["xt"] =& $xt;
$params["needSearchClauseObj"] = false;
$pageObject = new RunnerPage($params);
// add button events if exist
$pageObject->addButtonHandlers();
$pageObject->body["begin"] .= "<script type=\"text/javascript\" src=\"include/loadfirst.js\"></script>\r\n";
$pageObject->body["begin"] .= "<script>\r\n";
$pageObject->body["begin"] .= "function importMore(id)\r\n";
$pageObject->body["begin"] .= "{\r\n";
$pageObject->body["begin"] .= "\tif(\$('#importDebugInfoTable'+id).css('display')=='none')\r\n";
$pageObject->body["begin"] .= "\t\t\$('#importDebugInfoTable'+id).show();\r\n";
$pageObject->body["begin"] .= "\telse\r\n";
$pageObject->body["begin"] .= "\t\t\$('#importDebugInfoTable'+id).hide();\r\n";
$pageObject->body["begin"] .= "}\r\n";
$pageObject->body["begin"] .= "</script>\r\n";
$pageObject->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
$pageObject->fillSetCntrlMaps();
$pageObject->body['end'] .= '<script>';
$pageObject->body['end'] .= "window.controlsMap = " . my_json_encode($pageObject->controlsHTMLMap) . ";";
$pageObject->body['end'] .= "window.settings = " . my_json_encode($pageObject->jsSettings) . ";";
$pageObject->body['end'] .= '</script>';
$pageObject->body["end"] .= "<script language=\"JavaScript\" src=\"include/runnerJS/RunnerAll.js\"></script>\r\n";
$pageObject->addCommonJs();
$pageObject->body["end"] .= "<script>" . $pageObject->PrepareJS() . "</script>";
$xt->assignbyref("body", $pageObject->body);
$xt->assign("importfile_attrs", "id=\"file_ImportFileName" . $pageObject->id . "\" name=\"file_ImportFileName" . $pageObject->id . "\"");
$xt->assign("backtolist_attrs", "id=\"backButton" . $pageObject->id . "\"");
$xt->assign("importlink_attrs", "id=\"saveButton" . $pageObject->id . "\"");
$xt->assign("error_message", $error_message);
$xt->display("Readings_import.htm");
?>
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Readings_import.php

示例3: addCommonHtml

 /**
  * Adds HTML and JS
  *
  */
 function addCommonHtml()
 {
     $this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/loadfirst.js\"></script>";
     $this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
     if ($this->isDisplayLoading) {
         $this->body["begin"] .= "<script type=\"text/javascript\">Runner.runLoading();</script>";
         //$this->getStopLoading();
     }
     //$this->body['end'] = "<script>".$this->PrepareJS()."</script>";
     // assign body end
     $this->body['end'] = array();
     $this->body['end']["method"] = "assignBodyEnd";
     $this->body['end']["object"] =& $this;
 }
开发者ID:aagusti,项目名称:padl-tng,代码行数:18,代码来源:rightspage.php

示例4: addCommonHtml

 /**
  * Add common html code for simple mode on list page
  */
 function addCommonHtml()
 {
     $this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/loadfirst.js\"></script>";
     $this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
     if ($this->isDisplayLoading) {
         $this->body["begin"] .= "<script type=\"text/javascript\">Runner.runLoading(" . $this->id . ",document.body,0);</script>";
     }
     //$this->AddJSFile("include/customlabels");
     //add parent common html code
     parent::addCommonHtml();
     // assign body end
     $this->body['end'] = array();
     $this->body['end']["method"] = "assignBodyEnd";
     $this->body['end']["object"] =& $this;
 }
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:18,代码来源:listpage_simple.php

示例5: GetBaseScriptsForPage

function GetBaseScriptsForPage($isDisplayLoading, $additionalScripts = "", $customText = "")
{
    $result = "";
    $result .= "<script type=\"text/javascript\" src=\"" . GetRootPathForResources("include/loadfirst.js") . "\"></script>";
    $result .= $additionalScripts;
    $result .= "<script type=\"text/javascript\" src=\"" . GetRootPathForResources("include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js") . "\"></script>";
    if ($isDisplayLoading) {
        $result .= "<script type=\"text/javascript\">Runner.runLoading('" . $customText . "');</script>";
    }
    return $result;
}
开发者ID:sdev1,项目名称:CloudStockEnquiry,代码行数:11,代码来源:commonfunctions.php


注:本文中的getLangFileName函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。