Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{*+**********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Initial Developer of the Original Code is vtiger.
* Portions created by vtiger are Copyright (C) vtiger.
* All Rights Reserved.
************************************************************************************}
{* modules/Vtiger/views/BasicAjax.php *}
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
<div id="searchResults-container">
<div class="container-fluid">
<div class="row" style="margin-top: 10px; margin-bottom: 10px;">
<div class="col-lg-6">
<span style="font-size: 24px;"><strong> {vtranslate('LBL_SEARCH_RESULTS', $MODULE)} </strong></span>
</div>
<div class="col-lg-6">
<div class="pull-right">
<a class="btn btn-default module-buttons" href="javascript:void(0);" id="showFilter">{vtranslate('LBL_SAVE_MODIFY_FILTER',$MODULE)}</a>
</div>
</div>
</div>
<div class="row moduleResults-container">
{include file="UnifiedSearchResultsContents.tpl"|vtemplate_path:$MODULE}
</div>
</div>
{if $ADV_SEARCH_FIELDS_INFO neq null}
<script type="text/javascript">
var adv_search_uimeta = (function() {
var fieldInfo = {$ADV_SEARCH_FIELDS_INFO};
return {
field: {
get: function(name, property) {
if (name && property === undefined) {
return fieldInfo[name];
}
if (name && property) {
return fieldInfo[name][property]
}
},
isMandatory: function(name) {
if (fieldInfo[name]) {
return fieldInfo[name].mandatory;
}
return false;
},
getType: function(name) {
if (fieldInfo[name]) {
return fieldInfo[name].type;
}
return false;
}
},
};
})();
</script>
{/if}
</div>