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


PHP AlphabeticalSearch函数代码示例

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


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

示例1: CustomView

//<<<<cutomview>>>>>>>
$oCustomView = new CustomView($currentModule);
$viewid = $oCustomView->getViewId($currentModule);
$customviewcombo_html = $oCustomView->getCustomViewCombo($viewid);
$viewnamedesc = $oCustomView->getCustomViewByCvid($viewid);
//<<<<<customview>>>>>
$popuptype = '';
$popuptype = $_REQUEST["popuptype"];
require_once "modules/{$currentModule}/{$currentModule}.php";
$focus = new $currentModule();
$single_module = substr($currentModule, 0, strlen($currentModule) - 1);
$smarty->assign("SINGLE_MOD", $single_module);
if (isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != '') {
    $smarty->assign("RETURN_MODULE", $_REQUEST['return_module']);
}
$alphabetical = AlphabeticalSearch($currentModule, 'Popup', strtolower($single_module) . 'name', 'true', 'basic', $popuptype, "", "", "", $viewid);
if (isset($_REQUEST['select'])) {
    $smarty->assign("SELECT", 'enable');
}
if (isset($_REQUEST['return_action'])) {
    $return_action = $_REQUEST['return_action'];
    $smarty->assign("RETURN_ACTION", $return_action);
}
$theme_path = "themes/" . $theme . "/";
$image_path = $theme_path . "images/";
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("IMAGE_PATH", $image_path);
$smarty->assign("THEME_PATH", $theme_path);
$smarty->assign("MODULE", $currentModule);
$smarty->assign("CUSTOMVIEW_OPTION", $customviewcombo_html);
开发者ID:Pengzw,项目名称:c3crm,代码行数:31,代码来源:Popup.php

示例2: getListViewHeader

if ($viewid != '') {
    $url_string .= "&viewname=" . $viewid;
}
$listview_header = getListViewHeader($focus, "SalesOrder", $url_string, $sorder, $order_by, "", $oCustomView);
$smarty->assign("LISTHEADER", $listview_header);
$listview_header_search = getSearchListHeaderValues($focus, "SalesOrder", $url_string, $sorder, $order_by, "", $oCustomView);
$smarty->assign("SEARCHLISTHEADER", $listview_header_search);
$listview_entries = getListViewEntries($focus, "SalesOrder", $list_result, $navigation_array, '', '&return_module=SalesOrder&return_action=index', 'EditView', 'Delete', $oCustomView);
$smarty->assign("LISTENTITY", $listview_entries);
$smarty->assign("SELECT_SCRIPT", $view_script);
//Added to select Multiple records in multiple pages
$smarty->assign("SELECTEDIDS", vtlib_purify($_REQUEST['selobjs']));
$smarty->assign("ALLSELECTEDIDS", vtlib_purify($_REQUEST['allselobjs']));
$smarty->assign("CURRENT_PAGE_BOXES", implode(array_keys($listview_entries), ";"));
$navigationOutput = getTableHeaderSimpleNavigation($navigation_array, $url_string, "SalesOrder", 'index', $viewid);
$alphabetical = AlphabeticalSearch($currentModule, 'index', 'subject', 'true', 'basic', "", "", "", "", $viewid);
$fieldnames = getAdvSearchfields($module);
$criteria = getcriteria_options();
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("CUSTOMVIEW_OPTION", $customviewcombo_html);
$smarty->assign("VIEWID", $viewid);
$smarty->assign("BUTTONS", $other_text);
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
$_SESSION[$currentModule . '_listquery'] = $list_query;
if (isset($_REQUEST['ajax']) && $_REQUEST['ajax'] != '') {
    $smarty->display("ListViewEntries.tpl");
} else {
开发者ID:vtiger-jp,项目名称:vtigercrm-5.1.x-ja,代码行数:31,代码来源:ListView.php

示例3: getTableHeaderNavigation

    $record_string = $app_strings[LBL_SHOWING] . " " . $start_rec . " - " . $end_rec . " " . $app_strings[LBL_LIST_OF] . " " . $noofrows;
    $navigationOutput = getTableHeaderNavigation($navigation_array, $url_string, "Recyclebin", "index", "");
    $lvEntries = $controller->getListViewEntries($focus, $select_module, $list_result, $navigation_array, true);
}
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("RECORD_COUNTS", $record_string);
//to get the field name that mentions the module
$query = "select fieldname from vtiger_entityname where modulename =?";
$module_fielaname = $adb->query_result($adb->pquery($query, array($select_module)), 0, 'fieldname');
if (strpos($module_fielaname, ',')) {
    $field_array = explode(',', $module_fielaname);
    $index_field = $field_array[0];
} else {
    $index_field = $module_fielaname;
}
$alphabetical = AlphabeticalSearch($currentModule, 'index', $index_field, 'true', 'basic', "", "", "", "", $viewid);
$category = getParentTab();
$check_button = Button_Check($_REQUEST['module']);
$check_button['EditView'] = 'no';
$smarty->assign("CHECK", $check_button);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NUMBER_MODULES", $noofrows);
$smarty->assign("MODULE_NAME", $module_name);
$smarty->assign("SELECTED_MODULE", $select_module);
$smarty->assign("MODULE_DATA", $rb_listview_header);
$smarty->assign("MOD", $mod_strings);
$smarty->assign("MODULE", $currentModule);
$smarty->assign("CATEGORY", $category);
$smarty->assign("THEME", $theme);
$smarty->assign("IMAGE_PATH", $image_path);
$smarty->assign("APP", $app_strings);
开发者ID:hbsman,项目名称:vtigercrm-5.3.0-ja,代码行数:31,代码来源:ListView.php

示例4: vtlib_purify

    case 'Services':
        if (isset($_REQUEST['curr_row'])) {
            $curr_row = vtlib_purify($_REQUEST['curr_row']);
            $smarty->assign("CURR_ROW", $curr_row);
            $url_string .= "&curr_row=" . vtlib_purify($_REQUEST['curr_row']);
        }
        // vtlib customization: Generic hook for Popup selection
    // vtlib customization: Generic hook for Popup selection
    default:
        require_once "modules/{$currentModule}/{$currentModule}.php";
        $focus = new $currentModule();
        $smarty->assign("SINGLE_MOD", $currentModule);
        if (isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != '') {
            $smarty->assign("RETURN_MODULE", vtlib_purify($_REQUEST['return_module']));
        }
        $alphabetical = AlphabeticalSearch($currentModule, 'Popup', $focus->def_basicsearch_col, 'true', 'basic', $popuptype, "", "", $url);
        if (isset($_REQUEST['select'])) {
            $smarty->assign("SELECT", 'enable');
        }
        break;
        // END
}
// vtlib customization: Initialize focus to get generic popup
if ($_REQUEST['form'] == 'vtlibPopupView') {
    vtlib_setup_modulevars($currentModule, $focus);
}
// END
$smarty->assign("RETURN_ACTION", vtlib_purify($_REQUEST['return_action']));
//Retreive the list from Database
if ($currentModule == 'PriceBooks') {
    $productid = $_REQUEST['productid'];
开发者ID:vtiger-jp,项目名称:vtigercrm-5.1.x-ja,代码行数:31,代码来源:Popup.php

示例5: array_merge

        }
    }
    if (count($folders) == 0) {
        $folders[$default_folder_details['foldername']] = $default_folder_details;
    }
} else {
    $smarty->assign("NO_FOLDERS", "yes");
}
$smarty->assign("NO_OF_FOLDERS", $foldercount);
$smarty->assign("FOLDERS", $folders);
$smarty->assign("EMPTY_FOLDERS", $emptyfolders);
$smarty->assign("ALL_FOLDERS", array_merge($folders, $emptyfolders));
//Added to select Multiple records in multiple pages
$smarty->assign("SELECTEDIDS", vtlib_purify($_REQUEST['selobjs']));
$smarty->assign("ALLSELECTEDIDS", vtlib_purify($_REQUEST['allselobjs']));
$alphabetical = AlphabeticalSearch($currentModule, 'index', 'notes_title', 'true', 'basic', "", "", "", "", $viewid);
$fieldnames = $controller->getAdvancedSearchOptionString();
$criteria = getcriteria_options();
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("RECORD_COUNTS", $record_string);
$smarty->assign("IS_ADMIN", $current_user->is_admin);
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
ListViewSession::setSessionQuery($currentModule, $list_query, $viewid);
// Gather the custom link information to display
include_once 'vtlib/Vtiger/Link.php';
$customlink_params = array('MODULE' => $currentModule, 'ACTION' => vtlib_purify($_REQUEST['action']), 'CATEGORY' => $category);
$smarty->assign('CUSTOM_LINKS', Vtiger_Link::getAllByType(getTabid($currentModule), array('LISTVIEWBASIC', 'LISTVIEW'), $customlink_params));
开发者ID:latechdirect,项目名称:vtiger,代码行数:31,代码来源:ListView.php

示例6: array

    $list_result = $adb->pquery($list_query . " OFFSET {$limit_start_rec} LIMIT {$list_max_entries_per_page}", array());
} else {
    $list_result = $adb->pquery($list_query . " LIMIT {$limit_start_rec}, {$list_max_entries_per_page}", array());
}
$recordListRangeMsg = getRecordRangeMessage($list_result, $limit_start_rec);
$smarty->assign('recordListRange', $recordListRangeMsg);
$smarty->assign("CUSTOMVIEW_OPTION", $customview_html);
// Navigation
$navigationOutput = getTableHeaderSimpleNavigation($navigation_array, $url_string, $currentModule, 'index', $viewid);
$smarty->assign("NAVIGATION", $navigationOutput);
$listview_header = getListViewHeader($focus, $currentModule, $url_string, $sorder, $order_by, '', $customView);
$listview_entries = getListViewEntries($focus, $currentModule, $list_result, $navigation_array, '', '', 'EditView', 'Delete', $customView);
$listview_header_search = getSearchListHeaderValues($focus, $currentModule, $url_string, $sorder, $order_by, '', $customView);
$smarty->assign('LISTHEADER', $listview_header);
$smarty->assign('LISTENTITY', $listview_entries);
$smarty->assign('SEARCHLISTHEADER', $listview_header_search);
// Module Search
$alphabetical = AlphabeticalSearch($currentModule, 'index', $focus->def_basicsearch_col, 'true', 'basic', '', '', '', '', $viewid);
$fieldnames = getAdvSearchfields($currentModule);
$criteria = getcriteria_options();
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("AVALABLE_FIELDS", getMergeFields($currentModule, "available_fields"));
$smarty->assign("FIELDS_TO_MERGE", getMergeFields($currentModule, "fileds_to_merge"));
$_SESSION[$currentModule . '_listquery'] = $list_query;
if (isset($_REQUEST['ajax']) && $_REQUEST['ajax'] != '') {
    $smarty->display("ListViewEntries.tpl");
} else {
    $smarty->display('ListView.tpl');
}
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:31,代码来源:ListView.php

示例7: getListViewEntries

}
$delete_permissions = $Calendar4You->CheckPermissions("DELETE");
if (!$delete_permissions) {
    $deletelistview = "Delete";
} else {
    $deletelistview = "";
}
$listview_entries = getListViewEntries($focus, "Calendar", $list_result, $navigation_array, "", "", "", "", $oCustomView);
$smarty->assign("LISTENTITY", $listview_entries);
$smarty->assign("SELECT_SCRIPT", $view_script);
//Added to select Multiple records in multiple pages
$smarty->assign("SELECTEDIDS", vtlib_purify($_REQUEST['selobjs']));
$smarty->assign("ALLSELECTEDIDS", vtlib_purify($_REQUEST['allselobjs']));
$smarty->assign("CURRENT_PAGE_BOXES", implode(array_keys($listview_entries), ";"));
$navigationOutput = getTableHeaderSimpleNavigation($navigation_array, $url_string, "Calendar4You", "ListView", $viewid);
$alphabetical = AlphabeticalSearch('Calendar4You', 'ListView', 'subject', 'true', 'basic', "", "", "", "", $viewid);
$fieldnames = getAdvSearchfields($module);
$criteria = getcriteria_options();
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$category = getParentTab();
$smarty->assign("CATEGORY", $category);
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
$_SESSION[$currentModule . '_listquery'] = $list_query;
// Gather the custom link information to display
include_once 'vtlib/Vtiger/Link.php';
$customlink_params = array('MODULE' => $currentModule, 'ACTION' => vtlib_purify($_REQUEST['action']), 'CATEGORY' => $category);
$smarty->assign('CUSTOM_LINKS', Vtiger_Link::getAllByType(getTabid($currentModule), array('LISTVIEWBASIC', 'LISTVIEW'), $customlink_params));
开发者ID:casati-dolibarr,项目名称:corebos,代码行数:31,代码来源:ListView.php

示例8: ListViewController

//Retreive the List View Table Header
$controller = new ListViewController($adb, $current_user, $queryGenerator);
$listview_header = $controller->getListViewHeader($focus, $currentModule, $url_string, $sorder, $order_by);
$smarty->assign("LISTHEADER", $listview_header);
$listview_header_search = $controller->getBasicSearchFieldInfoList();
$smarty->assign("SEARCHLISTHEADER", $listview_header_search);
$listview_entries = $controller->getListViewEntries($focus, $currentModule, $list_result, $navigation_array);
$smarty->assign("LISTHEADER", $listview_header);
$smarty->assign("LISTENTITY", $listview_entries);
$smarty->assign("SELECT_SCRIPT", $view_script);
//Added to select Multiple records in multiple pages
$smarty->assign("SELECTEDIDS", vtlib_purify($_REQUEST['selobjs']));
$smarty->assign("ALLSELECTEDIDS", vtlib_purify($_REQUEST['allselobjs']));
$smarty->assign("CURRENT_PAGE_BOXES", implode(array_keys($listview_entries), ";"));
$navigationOutput = getTableHeaderSimpleNavigation($navigation_array, $url_string, "Faq", "index", $viewid);
$alphabetical = AlphabeticalSearch($currentModule, 'index', 'question', 'true', 'basic', "", "", "", "", $viewid);
$fieldnames = $controller->getAdvancedSearchOptionString();
$criteria = getcriteria_options();
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("CUSTOMVIEW_OPTION", $customviewcombo_html);
$smarty->assign("VIEWID", $viewid);
$smarty->assign("SINGLE_MOD", 'Faq');
if (isPermitted('Faq', 'EditView', '') == 'yes') {
    $other_text['mass_edit'] = $app_strings[LBL_MASS_EDIT];
}
$smarty->assign("BUTTONS", $other_text);
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
开发者ID:hbsman,项目名称:vtigercrm-5.3.0-ja,代码行数:31,代码来源:ListView.php

示例9: getListViewHeader

}
$list_result = $adb->limitQuery2($query, $limit_start_rec, $list_max_entries_per_page, $query_order_by, $sorder);
$record_string = $app_strings["LBL_SHOWING"] . " " . $start_rec . " - " . $end_rec . " " . $app_strings["LBL_LIST_OF"] . " " . $noofrows;
//Retreive the List View Table Header
if ($viewid != '') {
    $url_string .= "&viewname=" . $viewid;
}
$listview_header = getListViewHeader($focus, "Memdays", $url_string, $sorder, $order_by, "", $oCustomView);
$smarty->assign("LISTHEADER", $listview_header);
$listview_header_search = getSearchListHeaderValues($focus, "Memdays", $url_string, $sorder, $order_by, "", $oCustomView);
$smarty->assign("SEARCHLISTHEADER", $listview_header_search);
$listview_entries = getListViewEntries($focus, "Memdays", $list_result, $navigation_array, "", "", "EditView", "Delete", $oCustomView);
$smarty->assign("LISTENTITY", $listview_entries);
$navigationOutput = getTableHeaderNavigation($navigation_array, $url_string, "Memdays", "index", $viewid);
//setup alphabetical search field
$alphabetical = AlphabeticalSearch($currentModule, 'index', 'memdayname', 'true', 'basic', "", "", "", "", $viewid, "", $alpbtselectedvalue);
$fieldnames = getAdvSearchfields($module);
$criteria = getcriteria_options();
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("RECORD_COUNTS", $record_string);
//changed by dingjianting on 2007-3-1 for security view scope
$viewscope = get_viewscope($module);
$smarty->assign("VIEWSCOPE_OPTION", getViewScopeFilterHTML($module, $viewscope));
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
$smarty->assign("ISADMIN", $current_user->is_admin);
if (isset($_REQUEST['ajax']) && $_REQUEST['ajax'] != '') {
    $smarty->display("ListViewEntries.tpl");
开发者ID:Pengzw,项目名称:c3crm,代码行数:31,代码来源:ListView.php

示例10: Products

$viewnamedesc = $oCustomView->getCustomViewByCvid($viewid);
//<<<<<customview>>>>>
$popuptype = '';
$popuptype = $_REQUEST["popuptype"];
require_once "modules/Products/Products.php";
$focus = new Products();
$smarty->assign("SINGLE_MOD", 'Product');
if (isset($_REQUEST['curr_row'])) {
    $curr_row = $_REQUEST['curr_row'];
    $smarty->assign("CURR_ROW", $curr_row);
    $url_string .= "&curr_row=" . $_REQUEST['curr_row'];
}
if (isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != '') {
    $smarty->assign("RETURN_MODULE", $_REQUEST['return_module']);
}
$alphabetical = AlphabeticalSearch($currentModule, 'Popup', 'productcode', 'true', 'basic', $popuptype, "", "", "", $viewid);
if (isset($_REQUEST['return_action'])) {
    $return_action = $_REQUEST['return_action'];
    $smarty->assign("RETURN_ACTION", $return_action);
}
$theme_path = "themes/" . $theme . "/";
$image_path = $theme_path . "images/";
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("IMAGE_PATH", $image_path);
$smarty->assign("THEME_PATH", $theme_path);
$smarty->assign("MODULE", $currentModule);
$smarty->assign("CUSTOMVIEW_OPTION", $customviewcombo_html);
$smarty->assign("VIEWID", $viewid);
if (isPermitted($currentModule, "Create") == 'yes') {
    $smarty->assign("CREATE_PERMISSION", "permitted");
开发者ID:honj51,项目名称:taobaocrm,代码行数:31,代码来源:PopupForSO.php

示例11: Accounts

//<<<<<customview>>>>>
$popuptype = '';
$popuptype = $_REQUEST["popuptype"];
require_once "modules/Accounts/Accounts.php";
$focus = new Accounts();
$log = LoggerManager::getLogger('account_list');
$smarty->assign("SINGLE_MOD", 'Account');
if (isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != '') {
    $smarty->assign("RETURN_MODULE", $_REQUEST['return_module']);
} else {
    $smarty->assign("RETURN_MODULE", 'Campaigns');
}
if (isset($_REQUEST['select'])) {
    $smarty->assign("SELECT", 'enable');
}
$alphabetical = AlphabeticalSearch($currentModule, 'Popup', 'ec_account.prefix', 'true', 'basic', $popuptype, "", "", "", $viewid);
if (isset($_REQUEST['return_action'])) {
    $return_action = $_REQUEST['return_action'];
    $smarty->assign("RETURN_ACTION", $return_action);
}
$theme_path = "themes/" . $theme . "/";
$image_path = $theme_path . "images/";
$smarty->assign("MOD", $mod_strings);
$smarty->assign("APP", $app_strings);
$smarty->assign("IMAGE_PATH", $image_path);
$smarty->assign("THEME_PATH", $theme_path);
$smarty->assign("MODULE", $currentModule);
$smarty->assign("CUSTOMVIEW_OPTION", $customviewcombo_html);
$smarty->assign("VIEWID", $viewid);
if (isPermitted($currentModule, "Create") == 'yes') {
    $smarty->assign("CREATE_PERMISSION", "permitted");
开发者ID:honj51,项目名称:taobaocrm,代码行数:31,代码来源:Popup.php

示例12: ListViewController

$controller = new ListViewController($adb, $current_user, $queryGenerator);
$listview_header = $controller->getListViewHeader($focus, $currentModule, $url_string, $sorder, $order_by);
$smarty->assign("LISTHEADER", $listview_header);
$listview_header_search = $controller->getBasicSearchFieldInfoList();
$smarty->assign("SEARCHLISTHEADER", $listview_header_search);
$listview_entries = $controller->getListViewEntries($focus, $currentModule, $list_result, $navigation_array);
$smarty->assign("LISTHEADER", $listview_header);
$smarty->assign("LISTENTITY", $listview_entries);
$smarty->assign("AVALABLE_FIELDS", getMergeFields($currentModule, "available_fields"));
$smarty->assign("FIELDS_TO_MERGE", getMergeFields($currentModule, "fileds_to_merge"));
//Added to select Multiple records in multiple pages
$smarty->assign("SELECTEDIDS", vtlib_purify($_REQUEST['selobjs']));
$smarty->assign("ALLSELECTEDIDS", vtlib_purify($_REQUEST['allselobjs']));
$smarty->assign("CURRENT_PAGE_BOXES", implode(array_keys($listview_entries), ";"));
$navigationOutput = getTableHeaderSimpleNavigation($navigation_array, $url_string, "Potentials", "index", $viewid);
$alphabetical = AlphabeticalSearch($currentModule, 'index', 'potentialname', 'true', 'basic', "", "", "", "", $viewid);
$fieldnames = $controller->getAdvancedSearchOptionString();
$criteria = getcriteria_options();
$smarty->assign("CRITERIA", $criteria);
$smarty->assign("FIELDNAMES", $fieldnames);
$smarty->assign("ALPHABETICAL", $alphabetical);
$smarty->assign("NAVIGATION", $navigationOutput);
$smarty->assign("SELECT_SCRIPT", $view_script);
$check_button = Button_Check($currentModule);
$smarty->assign("CHECK", $check_button);
ListViewSession::setSessionQuery($currentModule, $list_query, $viewid);
// Gather the custom link information to display
include_once 'vtlib/Vtiger/Link.php';
$customlink_params = array('MODULE' => $currentModule, 'ACTION' => vtlib_purify($_REQUEST['action']), 'CATEGORY' => $category);
$smarty->assign('CUSTOM_LINKS', Vtiger_Link::getAllByType(getTabid($currentModule), array('LISTVIEWBASIC', 'LISTVIEW'), $customlink_params));
// END
开发者ID:hardikk,项目名称:HNH,代码行数:31,代码来源:ListView.php

示例13: Button_Check

$smarty->assign("CATEGORY", $category);
if (is_admin($current_user)) {
    $smarty->assign('IS_ADMIN', '1');
}
$smarty->assign("MODULE", $currentModule);
$tool_buttons = Button_Check($currentModule);
$tool_buttons["Import"] = "no";
$tool_buttons["Export"] = "no";
$smarty->assign('CHECK', $tool_buttons);
if ($ITS4YouReports->CheckPermissions("EDIT")) {
    $smarty->assign("EXPORT", "yes");
}
if ($ITS4YouReports->CheckPermissions("EDIT") && $ITS4YouReports->GetVersionType() != "deactivate") {
    $smarty->assign("EDIT", "permitted");
    $smarty->assign("IMPORT", "yes");
}
if ($ITS4YouReports->CheckPermissions("DELETE") && $ITS4YouReports->GetVersionType() != "deactivate") {
    $smarty->assign("DELETE", "permitted");
}
//search options
$alphabetical = AlphabeticalSearch($currentModule, 'index', 'reports4youname', 'true', 'basic', '', '', '', '', '');
$smarty->assign("ALPHABETICAL", $alphabetical);
$listview_header_search = array("reports4youname" => $mod_strings["LBL_REPORT_NAME"], "primarymodule" => $mod_strings["LBL_MODULENAMES"], "foldername" => $mod_strings["LBL_FOLDERNAMES"], "description" => $mod_strings["LBL_DESCRIPTION"]);
$smarty->assign("SEARCHLISTHEADER", $listview_header_search);
$smarty->assign("SEARCHFIELD", vtlib_purify($_REQUEST["search_field"]));
$smarty->assign("SEARCHTEXT", vtlib_purify($_REQUEST["search_text"]));
if (isset($_REQUEST['ajax']) && $_REQUEST['ajax'] != '') {
    $smarty->display(vtlib_getModuleTemplate($currentModule, 'ListViewEntries.tpl'));
} else {
    $smarty->display(vtlib_getModuleTemplate($currentModule, 'ListReports4You.tpl'));
}
开发者ID:cin-system,项目名称:cinrepo,代码行数:31,代码来源:ListReports4You.php


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