• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP ew_HtmlTitle函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: RenderListOptions

 function RenderListOptions()
 {
     global $Security, $Language, $objForm;
     $this->ListOptions->LoadDefault();
     // "view"
     $oListOpt =& $this->ListOptions->Items["view"];
     if ($Security->IsLoggedIn()) {
         $oListOpt->Body = "<a class=\"ewRowLink ewView\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewLink")) . "\" href=\"" . ew_HtmlEncode($this->ViewUrl) . "\">" . $Language->Phrase("ViewLink") . "</a>";
     } else {
         $oListOpt->Body = "";
     }
     // "edit"
     $oListOpt =& $this->ListOptions->Items["edit"];
     if ($Security->IsLoggedIn()) {
         $oListOpt->Body = "<a class=\"ewRowLink ewEdit\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("EditLink")) . "\" href=\"" . ew_HtmlEncode($this->EditUrl) . "\">" . $Language->Phrase("EditLink") . "</a>";
     } else {
         $oListOpt->Body = "";
     }
     // "copy"
     $oListOpt =& $this->ListOptions->Items["copy"];
     if ($Security->IsLoggedIn()) {
         $oListOpt->Body = "<a class=\"ewRowLink ewCopy\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("CopyLink")) . "\" href=\"" . ew_HtmlEncode($this->CopyUrl) . "\">" . $Language->Phrase("CopyLink") . "</a>";
     } else {
         $oListOpt->Body = "";
     }
     // "delete"
     $oListOpt =& $this->ListOptions->Items["delete"];
     if ($Security->IsLoggedIn()) {
         $oListOpt->Body = "<a class=\"ewRowLink ewDelete\"" . "" . " data-caption=\"" . ew_HtmlTitle($Language->Phrase("DeleteLink")) . "\" href=\"" . ew_HtmlEncode($this->DeleteUrl) . "\">" . $Language->Phrase("DeleteLink") . "</a>";
     } else {
         $oListOpt->Body = "";
     }
     // "checkbox"
     $oListOpt =& $this->ListOptions->Items["checkbox"];
     $oListOpt->Body = "<label class=\"checkbox\"><input type=\"checkbox\" name=\"key_m[]\" value=\"" . ew_HtmlEncode($this->id->CurrentValue) . "\" onclick='ew_ClickMultiCheckbox(event, this);'></label>";
     $this->RenderListOptionsExt();
     // Call ListOptions_Rendered event
     $this->ListOptions_Rendered();
 }
开发者ID:scintes,项目名称:sistemas,代码行数:39,代码来源:montoslist.php


示例2: SetupOtherOptions

 function SetupOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     $option =& $options["action"];
     // Edit
     $item =& $option->Add("edit");
     $item->Body = "<a class=\"ewAction ewEdit\" title=\"" . ew_HtmlTitle($Language->Phrase("ViewPageEditLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewPageEditLink")) . "\" href=\"" . ew_HtmlEncode($this->EditUrl) . "\">" . $Language->Phrase("ViewPageEditLink") . "</a>";
     $item->Visible = $this->EditUrl != "" && $Security->CanEdit() && $this->ShowOptionLink('edit');
     // Set up action default
     $option =& $options["action"];
     $option->DropDownButtonPhrase = $Language->Phrase("ButtonActions");
     $option->UseImageAndText = TRUE;
     $option->UseDropDownButton = FALSE;
     $option->UseButtonGroup = TRUE;
     $item =& $option->Add($option->GroupOptionName);
     $item->Body = "";
     $item->Visible = FALSE;
 }
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:19,代码来源:statusview.php


示例3: RenderOtherOptions

 function RenderOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     if ($this->CurrentAction != "gridadd" && $this->CurrentAction != "gridedit") {
         // Not grid add/edit mode
         $option =& $options["action"];
         foreach ($this->CustomActions as $action => $name) {
             // Add custom action
             $item =& $option->Add("custom_" . $action);
             $item->Body = "<a class=\"ewAction ewCustomAction\" href=\"\" onclick=\"ew_SubmitSelected(document.fseguimiento_tramiteslist, '" . ew_CurrentUrl() . "', null, '" . $action . "');return false;\">" . $name . "</a>";
         }
         // Hide grid edit, multi-delete and multi-update
         if ($this->TotalRecs <= 0) {
             $option =& $options["addedit"];
             $item =& $option->GetItem("gridedit");
             if ($item) {
                 $item->Visible = FALSE;
             }
             $option =& $options["action"];
             $item =& $option->GetItem("multidelete");
             if ($item) {
                 $item->Visible = FALSE;
             }
             $item =& $option->GetItem("multiupdate");
             if ($item) {
                 $item->Visible = FALSE;
             }
         }
     } else {
         // Grid add/edit mode
         // Hide all options first
         foreach ($options as &$option) {
             $option->HideAllOptions();
         }
         if ($this->CurrentAction == "gridadd") {
             if ($this->AllowAddDeleteRow) {
                 // Add add blank row
                 $option =& $options["addedit"];
                 $option->UseDropDownButton = FALSE;
                 $option->UseImageAndText = TRUE;
                 $item =& $option->Add("addblankrow");
                 $item->Body = "<a class=\"ewAddEdit ewAddBlankRow\" title=\"" . ew_HtmlTitle($Language->Phrase("AddBlankRow")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddBlankRow")) . "\" href=\"javascript:void(0);\" onclick=\"ew_AddGridRow(this);\">" . $Language->Phrase("AddBlankRow") . "</a>";
                 $item->Visible = FALSE;
             }
             $option =& $options["action"];
             $option->UseDropDownButton = FALSE;
             $option->UseImageAndText = TRUE;
             // Add grid insert
             $item =& $option->Add("gridinsert");
             $item->Body = "<a class=\"ewAction ewGridInsert\" title=\"" . ew_HtmlTitle($Language->Phrase("GridInsertLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("GridInsertLink")) . "\" href=\"\" onclick=\"return ewForms(this).Submit();\">" . $Language->Phrase("GridInsertLink") . "</a>";
             // Add grid cancel
             $item =& $option->Add("gridcancel");
             $item->Body = "<a class=\"ewAction ewGridCancel\" title=\"" . ew_HtmlTitle($Language->Phrase("GridCancelLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("GridCancelLink")) . "\" href=\"" . $this->PageUrl() . "a=cancel\">" . $Language->Phrase("GridCancelLink") . "</a>";
         }
         if ($this->CurrentAction == "gridedit") {
             if ($this->AllowAddDeleteRow) {
                 // Add add blank row
                 $option =& $options["addedit"];
                 $option->UseDropDownButton = FALSE;
                 $option->UseImageAndText = TRUE;
                 $item =& $option->Add("addblankrow");
                 $item->Body = "<a class=\"ewAddEdit ewAddBlankRow\" title=\"" . ew_HtmlTitle($Language->Phrase("AddBlankRow")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddBlankRow")) . "\" href=\"javascript:void(0);\" onclick=\"ew_AddGridRow(this);\">" . $Language->Phrase("AddBlankRow") . "</a>";
                 $item->Visible = FALSE;
             }
             $option =& $options["action"];
             $option->UseDropDownButton = FALSE;
             $option->UseImageAndText = TRUE;
             $item =& $option->Add("gridsave");
             $item->Body = "<a class=\"ewAction ewGridSave\" title=\"" . ew_HtmlTitle($Language->Phrase("GridSaveLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("GridSaveLink")) . "\" href=\"\" onclick=\"return ewForms(this).Submit();\">" . $Language->Phrase("GridSaveLink") . "</a>";
             $item =& $option->Add("gridcancel");
             $item->Body = "<a class=\"ewAction ewGridCancel\" title=\"" . ew_HtmlTitle($Language->Phrase("GridCancelLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("GridCancelLink")) . "\" href=\"" . $this->PageUrl() . "a=cancel\">" . $Language->Phrase("GridCancelLink") . "</a>";
         }
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:75,代码来源:cciag_seguimiento_tramiteslist.php


示例4: SetupOtherOptions

 function SetupOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     $option =& $options["action"];
     // Add
     $item =& $option->Add("add");
     $item->Body = "<a class=\"ewAction ewAdd\" title=\"" . ew_HtmlTitle($Language->Phrase("ViewPageAddLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewPageAddLink")) . "\" href=\"" . ew_HtmlEncode($this->AddUrl) . "\">" . $Language->Phrase("ViewPageAddLink") . "</a>";
     $item->Visible = $this->AddUrl != "" && $Security->CanAdd();
     // Edit
     $item =& $option->Add("edit");
     $item->Body = "<a class=\"ewAction ewEdit\" title=\"" . ew_HtmlTitle($Language->Phrase("ViewPageEditLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewPageEditLink")) . "\" href=\"" . ew_HtmlEncode($this->EditUrl) . "\">" . $Language->Phrase("ViewPageEditLink") . "</a>";
     $item->Visible = $this->EditUrl != "" && $Security->CanEdit() && $this->ShowOptionLink('edit');
     // Copy
     $item =& $option->Add("copy");
     $item->Body = "<a class=\"ewAction ewCopy\" title=\"" . ew_HtmlTitle($Language->Phrase("ViewPageCopyLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewPageCopyLink")) . "\" href=\"" . ew_HtmlEncode($this->CopyUrl) . "\">" . $Language->Phrase("ViewPageCopyLink") . "</a>";
     $item->Visible = $this->CopyUrl != "" && $Security->CanAdd() && $this->ShowOptionLink('add');
     // Delete
     $item =& $option->Add("delete");
     $item->Body = "<a class=\"ewAction ewDelete\" title=\"" . ew_HtmlTitle($Language->Phrase("ViewPageDeleteLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewPageDeleteLink")) . "\" href=\"" . ew_HtmlEncode($this->DeleteUrl) . "\">" . $Language->Phrase("ViewPageDeleteLink") . "</a>";
     $item->Visible = $this->DeleteUrl != "" && $Security->CanDelete() && $this->ShowOptionLink('delete');
     // Show detail edit/copy
     if ($this->getCurrentDetailTable() != "") {
         // Detail Edit
         $item =& $option->Add("detailedit");
         $item->Body = "<a class=\"ewAction ewDetailEdit\" title=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailEditLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailEditLink")) . "\" href=\"" . ew_HtmlEncode($this->GetEditUrl(EW_TABLE_SHOW_DETAIL . "=" . $this->getCurrentDetailTable())) . "\">" . $Language->Phrase("MasterDetailEditLink") . "</a>";
         $item->Visible = $Security->CanEdit() && $this->ShowOptionLink('delete');
         // Detail Copy
         $item =& $option->Add("detailcopy");
         $item->Body = "<a class=\"ewAction ewDetailCopy\" title=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailCopyLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailCopyLink")) . "\" href=\"" . ew_HtmlEncode($this->GetCopyUrl(EW_TABLE_SHOW_DETAIL . "=" . $this->getCurrentDetailTable())) . "\">" . $Language->Phrase("MasterDetailCopyLink") . "</a>";
         $item->Visible = $Security->CanAdd() && $this->ShowOptionLink('delete');
     }
     $option =& $options["detail"];
     $DetailTableLink = "";
     $DetailViewTblVar = "";
     $DetailCopyTblVar = "";
     $DetailEditTblVar = "";
     // "detail_detalle_deudas"
     $item =& $option->Add("detail_detalle_deudas");
     $body = $Language->Phrase("DetailLink") . $Language->TablePhrase("detalle_deudas", "TblCaption");
     $body .= str_replace("%c", $this->detalle_deudas_Count, $Language->Phrase("DetailCount"));
     $body = "<a class=\"btn btn-default btn-sm ewRowLink ewDetail\" data-action=\"list\" href=\"" . ew_HtmlEncode("cciag_detalle_deudaslist.php?" . EW_TABLE_SHOW_MASTER . "=deudas&fk_id=" . strval($this->id->CurrentValue) . "") . "\">" . $body . "</a>";
     $links = "";
     if ($GLOBALS["detalle_deudas_grid"] && $GLOBALS["detalle_deudas_grid"]->DetailView && $Security->CanView() && $this->ShowOptionLink('view') && $Security->AllowView(CurrentProjectID() . 'detalle_deudas')) {
         $links .= "<li><a class=\"ewRowLink ewDetailView\" data-action=\"view\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailViewLink")) . "\" href=\"" . ew_HtmlEncode($this->GetViewUrl(EW_TABLE_SHOW_DETAIL . "=detalle_deudas")) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailViewLink")) . "</a></li>";
         if ($DetailViewTblVar != "") {
             $DetailViewTblVar .= ",";
         }
         $DetailViewTblVar .= "detalle_deudas";
     }
     if ($GLOBALS["detalle_deudas_grid"] && $GLOBALS["detalle_deudas_grid"]->DetailEdit && $Security->CanEdit() && $this->ShowOptionLink('edit') && $Security->AllowEdit(CurrentProjectID() . 'detalle_deudas')) {
         $links .= "<li><a class=\"ewRowLink ewDetailEdit\" data-action=\"edit\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailEditLink")) . "\" href=\"" . ew_HtmlEncode($this->GetEditUrl(EW_TABLE_SHOW_DETAIL . "=detalle_deudas")) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailEditLink")) . "</a></li>";
         if ($DetailEditTblVar != "") {
             $DetailEditTblVar .= ",";
         }
         $DetailEditTblVar .= "detalle_deudas";
     }
     if ($GLOBALS["detalle_deudas_grid"] && $GLOBALS["detalle_deudas_grid"]->DetailAdd && $Security->CanAdd() && $this->ShowOptionLink('add') && $Security->AllowAdd(CurrentProjectID() . 'detalle_deudas')) {
         $links .= "<li><a class=\"ewRowLink ewDetailCopy\" data-action=\"add\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailCopyLink")) . "\" href=\"" . ew_HtmlEncode($this->GetCopyUrl(EW_TABLE_SHOW_DETAIL . "=detalle_deudas")) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailCopyLink")) . "</a></li>";
         if ($DetailCopyTblVar != "") {
             $DetailCopyTblVar .= ",";
         }
         $DetailCopyTblVar .= "detalle_deudas";
     }
     if ($links != "") {
         $body .= "<button class=\"dropdown-toggle btn btn-default btn-sm ewDetail\" data-toggle=\"dropdown\"><b class=\"caret\"></b></button>";
         $body .= "<ul class=\"dropdown-menu\">" . $links . "</ul>";
     }
     $body = "<div class=\"btn-group\">" . $body . "</div>";
     $item->Body = $body;
     $item->Visible = $Security->AllowList(CurrentProjectID() . 'pagos') && $this->ShowOptionLink();
     if ($item->Visible) {
         if ($DetailTableLink != "") {
             $DetailTableLink .= ",";
         }
         $DetailTableLink .= "detalle_deudas";
     }
     if ($this->ShowMultipleDetails) {
         $item->Visible = FALSE;
     }
     // "detail_pagos"
     $item =& $option->Add("detail_pagos");
     $body = $Language->Phrase("DetailLink") . $Language->TablePhrase("pagos", "TblCaption");
     $body .= str_replace("%c", $this->pagos_Count, $Language->Phrase("DetailCount"));
     $body = "<a class=\"btn btn-default btn-sm ewRowLink ewDetail\" data-action=\"list\" href=\"" . ew_HtmlEncode("cciag_pagoslist.php?" . EW_TABLE_SHOW_MASTER . "=deudas&fk_id=" . strval($this->id->CurrentValue) . "") . "\">" . $body . "</a>";
     $links = "";
     if ($GLOBALS["pagos_grid"] && $GLOBALS["pagos_grid"]->DetailView && $Security->CanView() && $this->ShowOptionLink('view') && $Security->AllowView(CurrentProjectID() . 'pagos')) {
         $links .= "<li><a class=\"ewRowLink ewDetailView\" data-action=\"view\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailViewLink")) . "\" href=\"" . ew_HtmlEncode($this->GetViewUrl(EW_TABLE_SHOW_DETAIL . "=pagos")) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailViewLink")) . "</a></li>";
         if ($DetailViewTblVar != "") {
             $DetailViewTblVar .= ",";
         }
         $DetailViewTblVar .= "pagos";
     }
     if ($GLOBALS["pagos_grid"] && $GLOBALS["pagos_grid"]->DetailEdit && $Security->CanEdit() && $this->ShowOptionLink('edit') && $Security->AllowEdit(CurrentProjectID() . 'pagos')) {
         $links .= "<li><a class=\"ewRowLink ewDetailEdit\" data-action=\"edit\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailEditLink")) . "\" href=\"" . ew_HtmlEncode($this->GetEditUrl(EW_TABLE_SHOW_DETAIL . "=pagos")) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailEditLink")) . "</a></li>";
         if ($DetailEditTblVar != "") {
             $DetailEditTblVar .= ",";
         }
         $DetailEditTblVar .= "pagos";
     }
//.........这里部分代码省略.........
开发者ID:scintes,项目名称:sistemas,代码行数:101,代码来源:cciag_deudasview.php


示例5: SetupOtherOptions

 function SetupOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     $option = $options["addedit"];
     // Add
     $item =& $option->Add("add");
     $item->Body = "<a class=\"ewAddEdit ewAdd\" title=\"" . ew_HtmlTitle($Language->Phrase("AddLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddLink")) . "\" href=\"" . ew_HtmlEncode($this->AddUrl) . "\">" . $Language->Phrase("AddLink") . "</a>";
     $item->Visible = $this->AddUrl != "";
     $option = $options["action"];
     // Set up options default
     foreach ($options as &$option) {
         $option->UseImageAndText = TRUE;
         $option->UseDropDownButton = FALSE;
         $option->UseButtonGroup = TRUE;
         $option->ButtonClass = "btn-sm";
         // Class for button group
         $item =& $option->Add($option->GroupOptionName);
         $item->Body = "";
         $item->Visible = FALSE;
     }
     $options["addedit"]->DropDownButtonPhrase = $Language->Phrase("ButtonAddEdit");
     $options["detail"]->DropDownButtonPhrase = $Language->Phrase("ButtonDetails");
     $options["action"]->DropDownButtonPhrase = $Language->Phrase("ButtonActions");
     // Filter button
     $item =& $this->FilterOptions->Add("savecurrentfilter");
     $item->Body = "<a class=\"ewSaveFilter\" data-form=\"fnewslistsrch\" href=\"#\">" . $Language->Phrase("SaveCurrentFilter") . "</a>";
     $item->Visible = FALSE;
     $item =& $this->FilterOptions->Add("deletefilter");
     $item->Body = "<a class=\"ewDeleteFilter\" data-form=\"fnewslistsrch\" href=\"#\">" . $Language->Phrase("DeleteFilter") . "</a>";
     $item->Visible = FALSE;
     $this->FilterOptions->UseDropDownButton = TRUE;
     $this->FilterOptions->UseButtonGroup = !$this->FilterOptions->UseDropDownButton;
     $this->FilterOptions->DropDownButtonPhrase = $Language->Phrase("Filters");
     // Add group option item
     $item =& $this->FilterOptions->Add($this->FilterOptions->GroupOptionName);
     $item->Body = "";
     $item->Visible = FALSE;
 }
开发者ID:NaurozAhmad,项目名称:G-Axis,代码行数:39,代码来源:newslist.php


示例6: RenderOtherOptions

 function RenderOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     if (($this->CurrentMode == "add" || $this->CurrentMode == "copy" || $this->CurrentMode == "edit") && $this->CurrentAction != "F") {
         // Check add/copy/edit mode
         if ($this->AllowAddDeleteRow) {
             $option =& $options["addedit"];
             $option->UseDropDownButton = FALSE;
             $option->UseImageAndText = TRUE;
             $item =& $option->Add("addblankrow");
             $item->Body = "<a class=\"ewAddEdit ewAddBlankRow\" title=\"" . ew_HtmlTitle($Language->Phrase("AddBlankRow")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddBlankRow")) . "\" href=\"javascript:void(0);\" onclick=\"ew_AddGridRow(this);\">" . $Language->Phrase("AddBlankRow") . "</a>";
             $item->Visible = TRUE;
             $this->ShowOtherOptions = $item->Visible;
         }
     }
 }
开发者ID:AngeloGalindo,项目名称:PracticasGrupo9DesarrolloWeb,代码行数:17,代码来源:cuentagridcls.php


示例7: SetupOtherOptions

 function SetupOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     $option = $options["addedit"];
     // Add
     $item =& $option->Add("add");
     $item->Body = "<a class=\"ewAddEdit ewAdd\" title=\"" . ew_HtmlTitle($Language->Phrase("AddLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddLink")) . "\" href=\"" . ew_HtmlEncode($this->AddUrl) . "\">" . $Language->Phrase("AddLink") . "</a>";
     $item->Visible = $this->AddUrl != "" && $Security->CanAdd();
     $option = $options["action"];
     // Add multi update
     $item =& $option->Add("multiupdate");
     $item->Body = "<a class=\"ewAction ewMultiUpdate\" title=\"" . ew_HtmlTitle($Language->Phrase("UpdateSelectedLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("UpdateSelectedLink")) . "\" href=\"\" onclick=\"ew_SubmitSelected(document.fusuarioslist, '" . $this->MultiUpdateUrl . "');return false;\">" . $Language->Phrase("UpdateSelectedLink") . "</a>";
     $item->Visible = $Security->CanEdit();
     // Set up options default
     foreach ($options as &$option) {
         $option->UseImageAndText = TRUE;
         $option->UseDropDownButton = FALSE;
         $option->UseButtonGroup = TRUE;
         $option->ButtonClass = "btn-sm";
         // Class for button group
         $item =& $option->Add($option->GroupOptionName);
         $item->Body = "";
         $item->Visible = FALSE;
     }
     $options["addedit"]->DropDownButtonPhrase = $Language->Phrase("ButtonAddEdit");
     $options["detail"]->DropDownButtonPhrase = $Language->Phrase("ButtonDetails");
     $options["action"]->DropDownButtonPhrase = $Language->Phrase("ButtonActions");
 }
开发者ID:scintes,项目名称:sistemas,代码行数:29,代码来源:usuarioslist.php


示例8: SetupOtherOptions

 function SetupOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     $option =& $options["action"];
     $option =& $options["detail"];
     $DetailTableLink = "";
     $DetailViewTblVar = "";
     $DetailCopyTblVar = "";
     $DetailEditTblVar = "";
     // "detail_in_bodegaubicaciones"
     $item =& $option->Add("detail_in_bodegaubicaciones");
     $body = $Language->Phrase("ViewPageDetailLink") . $Language->TablePhrase("in_bodegaubicaciones", "TblCaption");
     $body = "<a class=\"btn btn-default btn-sm ewRowLink ewDetail\" data-action=\"list\" href=\"" . ew_HtmlEncode("in_bodegaubicacioneslist.php?" . EW_TABLE_SHOW_MASTER . "=in_bodegas&fk_codigo_bodega=" . urlencode(strval($this->codigo_bodega->CurrentValue)) . "") . "\">" . $body . "</a>";
     $links = "";
     if ($GLOBALS["in_bodegaubicaciones_grid"] && $GLOBALS["in_bodegaubicaciones_grid"]->DetailView && $Security->CanView() && $Security->AllowView(CurrentProjectID() . 'in_bodegaubicaciones')) {
         $links .= "<li><a class=\"ewRowLink ewDetailView\" data-action=\"view\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailViewLink")) . "\" href=\"" . ew_HtmlEncode($this->GetViewUrl(EW_TABLE_SHOW_DETAIL . "=in_bodegaubicaciones")) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailViewLink")) . "</a></li>";
         if ($DetailViewTblVar != "") {
             $DetailViewTblVar .= ",";
         }
         $DetailViewTblVar .= "in_bodegaubicaciones";
     }
     if ($links != "") {
         $body .= "<button class=\"dropdown-toggle btn btn-default btn-sm ewDetail\" data-toggle=\"dropdown\"><b class=\"caret\"></b></button>";
         $body .= "<ul class=\"dropdown-menu\">" . $links . "</ul>";
     }
     $body = "<div class=\"btn-group\">" . $body . "</div>";
     $item->Body = $body;
     $item->Visible = $Security->AllowList(CurrentProjectID() . 'in_bodegaubicaciones');
     if ($item->Visible) {
         if ($DetailTableLink != "") {
             $DetailTableLink .= ",";
         }
         $DetailTableLink .= "in_bodegaubicaciones";
     }
     if ($this->ShowMultipleDetails) {
         $item->Visible = FALSE;
     }
     // Multiple details
     if ($this->ShowMultipleDetails) {
         $body = $Language->Phrase("MultipleMasterDetails");
         $body = "<div class=\"btn-group\">";
         $links = "";
         if ($DetailViewTblVar != "") {
             $links .= "<li><a class=\"ewRowLink ewDetailView\" data-action=\"view\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailViewLink")) . "\" href=\"" . ew_HtmlEncode($this->GetViewUrl(EW_TABLE_SHOW_DETAIL . "=" . $DetailViewTblVar)) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailViewLink")) . "</a></li>";
         }
         if ($DetailEditTblVar != "") {
             $links .= "<li><a class=\"ewRowLink ewDetailEdit\" data-action=\"edit\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailEditLink")) . "\" href=\"" . ew_HtmlEncode($this->GetEditUrl(EW_TABLE_SHOW_DETAIL . "=" . $DetailEditTblVar)) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailEditLink")) . "</a></li>";
         }
         if ($DetailCopyTblVar != "") {
             $links .= "<li><a class=\"ewRowLink ewDetailCopy\" data-action=\"add\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailCopyLink")) . "\" href=\"" . ew_HtmlEncode($this->GetCopyUrl(EW_TABLE_SHOW_DETAIL . "=" . $DetailCopyTblVar)) . "\">" . ew_HtmlImageAndText($Language->Phrase("MasterDetailCopyLink")) . "</a></li>";
         }
         if ($links != "") {
             $body .= "<button class=\"dropdown-toggle btn btn-default btn-sm ewMasterDetail\" title=\"" . ew_HtmlTitle($Language->Phrase("MultipleMasterDetails")) . "\" data-toggle=\"dropdown\">" . $Language->Phrase("MultipleMasterDetails") . "<b class=\"caret\"></b></button>";
             $body .= "<ul class=\"dropdown-menu ewMenu\">" . $links . "</ul>";
         }
         $body .= "</div>";
         // Multiple details
         $oListOpt =& $option->Add("details");
         $oListOpt->Body = $body;
     }
     // Set up detail default
     $option =& $options["detail"];
     $options["detail"]->DropDownButtonPhrase = $Language->Phrase("ButtonDetails");
     $option->UseImageAndText = TRUE;
     $ar = explode(",", $DetailTableLink);
     $cnt = count($ar);
     $option->UseDropDownButton = $cnt > 1;
     $option->UseButtonGroup = TRUE;
     $item =& $option->Add($option->GroupOptionName);
     $item->Body = "";
     $item->Visible = FALSE;
     // Set up action default
     $option =& $options["action"];
     $option->DropDownButtonPhrase = $Language->Phrase("ButtonActions");
     $option->UseImageAndText = TRUE;
     $option->UseDropDownButton = TRUE;
     $option->UseButtonGroup = TRUE;
     $item =& $option->Add($option->GroupOptionName);
     $item->Body = "";
     $item->Visible = FALSE;
 }
开发者ID:erick-chali,项目名称:Ubicacion,代码行数:82,代码来源:in_bodegasview.php


示例9: SetupOtherOptions

 function SetupOtherOptions()
 {
     global $Language, $Security;
     $options =& $this->OtherOptions;
     $option = $options["addedit"];
     // Add
     $item =& $option->Add("add");
     $item->Body = "<a class=\"ewAddEdit ewAdd\" title=\"" . ew_HtmlTitle($Language->Phrase("AddLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddLink")) . "\" href=\"" . ew_HtmlEncode($this->AddUrl) . "\">" . $Language->Phrase("AddLink") . "</a>";
     $item->Visible = $this->AddUrl != "";
     $option = $options["detail"];
     $DetailTableLink = "";
     $item =& $option->Add("detailadd_sub_category");
     $item->Body = "<a class=\"ewDetailAddGroup ewDetailAdd\" title=\"" . ew_HtmlTitle($Language->Phrase("AddMasterDetailLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddMasterDetailLink")) . "\" href=\"" . ew_HtmlEncode($this->GetAddUrl() . "?" . EW_TABLE_SHOW_DETAIL . "=sub_category") . "\">" . $Language->Phrase("Add") . "&nbsp;" . $this->TableCaption() . "/" . $GLOBALS["sub_category"]->TableCaption() . "</a>";
     $item->Visible = $GLOBALS["sub_category"]->DetailAdd;
     if ($item->Visible) {
         if ($DetailTableLink != "") {
             $DetailTableLink .= ",";
         }
         $DetailTableLink .= "sub_category";
     }
     // Add multiple details
     if ($this->ShowMultipleDetails) {
         $item =& $option->Add("detailsadd");
         $item->Body = "<a class=\"ewDetailAddGroup ewDetailAdd\" title=\"" . ew_HtmlTitle($Language->Phrase("AddMasterDetailLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("AddMasterDetailLink")) . "\" href=\"" . ew_HtmlEncode($this->GetAddUrl() . "?" . EW_TABLE_SHOW_DETAIL . "=" . $DetailTableLink) . "\">" . $Language->Phrase("AddMasterDetailLink") . "</a>";
         $item->Visible = $DetailTableLink != "";
         // Hide single master/detail items
         $ar = explode(",", $DetailTableLink);
         $cnt = count($ar);
         for ($i = 0; $i < $cnt; $i++) {
             if ($item =& $option->GetItem("detailadd_" . $ar[$i])) {
                 $item->Visible = FALSE;
             }
         }
     }
     $option = $options["action"];
     // Set up options default
     foreach ($options as &$option) {
         $option->UseImageAndText = TRUE;
         $option->UseDropDownButton = FALSE;
         $option->UseButtonGroup = TRUE;
         $option->ButtonClass = "btn-sm";
         // Class for button group
         $item =& $option->Add($option->GroupOptionName);
         $item->Body = "";
         $item->Visible = FALSE;
     }
     $options["addedit"]->DropDownButtonPhrase = $Language->Phrase("ButtonAddEdit");
     $options["detail"]->DropDownButtonPhrase = $Language->Phrase("ButtonDetails");
     $options["action"]->DropDownButtonPhrase = $Language->Phrase("ButtonActions");
     // Filter button
     $item =& $this->FilterOptions->Add("savecurrentfilter");
     $item->Body = "<a class=\"ewSaveFilter\" data-form=\"fcategorylistsrch\" href=\"#\">" . $Language->Phrase("SaveCurrentFilter") . "</a>";
     $item->Visible = TRUE;
     $item =& $this->FilterOptions->Add("deletefilter");
     $item->Body = "<a class=\"ewDeleteFilter\" data-form=\"fcategorylistsrch\" href=\"#\">" . $Language->Phrase("DeleteFilter") . "</a>";
     $item->Visible = TRUE;
     $this->FilterOptions->UseDropDownButton = TRUE;
     $this->FilterOptions->UseButtonGroup = !$this->FilterOptions->UseDropDownButton;
     $this->FilterOptions->DropDownButtonPhrase = $Language->Phrase("Filters");
     // Add group option item
     $item =& $this->FilterOptions->Add($this->FilterOptions->GroupOptionName);
     $item->Body = "";
     $item->Visible = FALSE;
 }
开发者ID:NaurozAhmad,项目名称:G-Axis,代码行数:64,代码来源:categorylist.php


示例10: ew_HtmlTitle

            ?>
"<?php 
            echo $selwrk;
            ?>
>
<?php 
            echo $arwrk[$rowcntwrk][1];
            ?>
</option>
<?php 
        }
    }
    ?>
</select>
<button type="button" title="<?php 
    echo ew_HtmlTitle($Language->Phrase("AddLink")) . "&nbsp;" . $localidades->id_provincia->FldCaption();
    ?>
" onclick="ew_AddOptDialogShow({lnk:this,el:'x_id_provincia',url:'provinciasaddopt.php'});" class="ewAddOptBtn btn btn-default btn-sm" id="aol_x_id_provincia"><span class="glyphicon glyphicon-plus ewIcon"></span><span class="hide"><?php 
    echo $Language->Phrase("AddLink");
    ?>
&nbsp;<?php 
    echo $localidades->id_provincia->FldCaption();
    ?>
</span></button>
<?php 
    $sSqlWrk = "SELECT `codigo`, `provincia` AS `DispFld`, '' AS `Disp2Fld`, '' AS `Disp3Fld`, '' AS `Disp4Fld` FROM `provincias`";
    $sWhereWrk = "";
    // Call Lookup selecting
    $localidades->Lookup_Selecting($localidades->id_provincia, $sWhereWrk);
    if ($sWhereWrk != "") {
        $sSqlWrk .= " WHERE " . $sWhereWrk;
开发者ID:scintes,项目名称:sistemas,代码行数:31,代码来源:localidadesedit.php


示例11: RenderListOptions

 function RenderListOptions()
 {
     global $Security, $Language, $objForm;
     $this->ListOptions->LoadDefault();
     // "view"
     $oListOpt =& $this->ListOptions->Items["view"];
     if ($Security->CanView() && $this->ShowOptionLink('view')) {
         $oListOpt->Body = "<a class=\"ewRowLink ewView\" title=\"" . ew_HtmlTitle($Language->Phrase("ViewLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("ViewLink")) . "\" href=\"" . ew_HtmlEncode($this->ViewUrl) . "\">" . $Language->Phrase("ViewLink") . "</a>";
     } else {
         $oListOpt->Body = "";
     }
     // "edit"
     $oListOpt =& $this->ListOptions->Items["edit"];
     if ($Security->CanEdit() && $this->ShowOptionLink('edit')) {
         $oListOpt->Body = "<a class=\"ewRowLink ewEdit\" title=\"" . ew_HtmlTitle($Language->Phrase("EditLink")) . "\" data-caption=\"" . ew_HtmlTitle($Language->Phrase("EditLink")) . "\" href=\"" . ew_HtmlEncode($this->EditUrl) . "\">" . $Language->Phrase("EditLink") . "</a>";
     } else {
         $oListOpt->Body = "";
     }
     // "checkbox"
     $oListOpt =& $this->ListOptions->Items["checkbox"];
     $oListOpt->Body = "<input type=\"checkbox\" name=\"key_m[]\" value=\"" . ew_HtmlEncode($this->id->CurrentValue) . "\" onclick='ew_ClickMultiCheckbox(event, this);'>";
     $this->RenderListOptionsExt();
     // Call ListOptions_Rendered event
     $this->ListOptions_Rendered();
 }
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:25,代码来源:statuslist.php


示例12: ew_HtmlEncode

>
<span id="el_user_password">
<div class="input-group" id="ig_x_password">
<input type="text" data-password-strength="pst_x_password" data-password-generated="pgt_x_password" data-table="user" data-field="x_password" name="x_password" id="x_password" value="<?php 
    echo $user->password->EditValue;
    ?>
" size="30" maxlength="200" placeholder="<?php 
    echo ew_HtmlEncode($user->password->getPlaceHolder());
    ?>
"<?php 
    echo $user->password->EditAttributes();
    ?>
>
<span class="input-group-btn">
	<button type="button" class="btn btn-default ewPasswordGenerator" title="<?php 
    echo ew_HtmlTitle($Language->Phrase("GeneratePassword"));
    ?>
" data-password-field="x_password" data-password-confirm="c_password" data-password-strength="pst_x_password" data-password-generated="pgt_x_password"><?php 
    echo $Language->Phrase("GeneratePassword");
    ?>
</button>
</span>
</div>
<span class="help-block" id="pgt_x_password" style="display: none;"></span>
<div class="progress ewPasswordStrengthBar" id="pst_x_password" style="display: none;">
	<div class="progress-bar" role="progressbar"></div>
</div>
</span>
<?php 
    echo $user->password->CustomMsg;
    ?>
开发者ID:ahmarmahmood,项目名称:tabedaar,代码行数:31,代码来源:useradd.php


示例13: RenderListOptionsExt

 function RenderListOptionsExt()
 {
     global $Security, $Language;
     $links = "";
     $btngrps = "";
     $sSqlWrk = "[codigo_bodega]='" . ew_AdjustSql($this->codigo_bodega->CurrentValue) . "'";
     // Column "detail_in_bodegaubicaciones"
     $link = "";
     $option =& $this->ListOptions->Items["detail_in_bodegaubicaciones"];
     $url = "in_bodegaubicacionespreview.php?t=in_bodegas&f=" . ew_Encrypt($sSqlWrk);
     $btngrp = "<div data-table=\"in_bodegaubicaciones\" data-url=\"" . $url . "\" class=\"btn-group\">";
     if ($Security->IsLoggedIn()) {
         $label = $Language->TablePhrase("in_bodegaubicaciones", "TblCaption");
         $link = "<li><a href=\"#\" data-toggle=\"tab\" data-table=\"in_bodegaubicaciones\" data-url=\"" . $url . "\">" . $label . "</a></li>";
         $links .= $link;
         $detaillnk = ew_JsEncode3("in_bodegaubicacioneslist.php?" . EW_TABLE_SHOW_MASTER . "=in_bodegas&fk_codigo_bodega=" . urlencode(strval($this->codigo_bodega->CurrentValue)) . "");
         $btngrp .= "<button type=\"button\" class=\"btn btn-default btn-sm\" title=\"" . $Language->TablePhrase("in_bodegaubicaciones", "TblCaption") . "\" onclick=\"window.location='" . $detaillnk . "'\">" . $Language->Phrase("MasterDetailListLink") . "</button>";
     }
     if ($GLOBALS["in_bodegaubicaciones_grid"]->DetailView && $Security->CanView() && $Security->IsLoggedIn()) {
         $btngrp .= "<button type=\"button\" class=\"btn btn-default btn-sm\" title=\"" . ew_HtmlTitle($Language->Phrase("MasterDetailViewLink")) . "\" onclick=\"window.location='" . $this->GetViewUrl(EW_TABLE_SHOW_DETAIL . "=in_bodegaubicaciones") . "'\">" . $Language->Phrase("MasterDetailViewLink&q 

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ew_IncludeTrailingDelimiter函数代码示例发布时间:2022-05-15
下一篇:
PHP ew_HtmlImageAndText函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap