[Vtigercrm-commits] [vtiger-commits] r10620 - /vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 10 11:08:01 EDT 2007
Author: saraj
Date: Tue Apr 10 09:07:56 2007
New Revision: 10620
Log:
fix for Calendar : search combo box is not carrying the header list -- non admin. Fixes #3530 --minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl Tue Apr 10 09:07:56 2007
@@ -140,18 +140,22 @@
<td class="showPanelBg" valign="top" width=100% style="padding:10px;">
<!-- SIMPLE SEARCH -->
<div id="searchAcc" style="z-index:1;display:none;position:relative;">
+<form name="basicSearch" method="post" action="index.php" onSubmit="return callSearch('Basic');">
<table width="80%" cellpadding="5" cellspacing="0" class="searchUIBasic small" align="center" border=0>
<tr>
<td class="searchUIName small" nowrap align="left">
- <span class="moduleName">Search</span><br><span class="small"><a href="#" onClick="fnhide('searchAcc');show('advSearch');document.basicSearch.searchtype.value='advance';">{$APP.LBL_GO_TO} {$APP.LNK_ADVANCED_SEARCH}</a></span>
+ <span class="moduleName">{$APP.LBL_SEARCH}</span><br><span class="small"><a href="#" onClick="fnhide('searchAcc');show('advSearch');document.basicSearch.searchtype.value='advance';">{$APP.LBL_GO_TO} {$APP.LNK_ADVANCED_SEARCH}</a></span>
<!-- <img src="{$IMAGE_PATH}basicSearchLens.gif" align="absmiddle" alt="{$APP.LNK_BASIC_SEARCH}" title="{$APP.LNK_BASIC_SEARCH}" border=0> -->
</td>
<td class="small" nowrap align=right><b>{$APP.LBL_SEARCH_FOR}</b></td>
<td class="small"><input type="text" class="txtBox" style="width:120px" name="search_text"></td>
- <td class="small" nowrap><b>{$APP.LBL_IN}</b>
- <select name ="search_field" class="txtBox" style="width:150px">
- {html_options options=$SEARCHLISTHEADER }
- </select>
+ <td class="small" nowrap><b>{$APP.LBL_IN}</b> </td>
+ <td class="small" nowrap>
+ <div id="basicsearchcolumns_real">
+ <select name="search_field" id="bas_searchfield" class="txtBox" style="width:150px">
+ {html_options options=$SEARCHLISTHEADER }
+ </select>
+ </div>
<input type="hidden" name="searchtype" value="BasicSearch">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="parenttab" value="{$CATEGORY}">
@@ -166,7 +170,7 @@
<td class="small" valign="top" onMouseOver="this.style.cursor='pointer';" onclick="moveMe('searchAcc');searchshowhide('searchAcc','advSearch')">[x]</td>
</tr>
<tr>
- <td colspan="6" align="center" class="small">
+ <td colspan="7" align="center" class="small">
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
{$ALPHABETICAL}
@@ -175,12 +179,14 @@
</td>
</tr>
</table>
+</form>
</div>
<!-- ADVANCED SEARCH -->
<div id="advSearch" style="display:none;">
+<form name="advSearch" method="post" action="index.php" onSubmit="totalnoofrows();return callSearch('Advanced');">
<table cellspacing=0 cellpadding=5 width=80% class="searchUIAdv1 small" align="center" border=0>
<tr>
- <td class="searchUIName small" nowrap align="left"><span class="moduleName">Search</span><br><span class="small"><a href="#" onClick="show('searchAcc');fnhide('advSearch')">{$APP.LBL_GO_TO} {$APP.LNK_BASIC_SEARCH}</a></span></td>
+ <td class="searchUIName small" nowrap align="left"><span class="moduleName">{$APP.LBL_SEARCH}</span><br><span class="small"><a href="#" onClick="show('searchAcc');fnhide('advSearch')">{$APP.LBL_GO_TO} {$APP.LNK_BASIC_SEARCH}</a></span></td>
<td nowrap class="small"><b><input name="matchtype" type="radio" value="all"> {$APP.LBL_ADV_SEARCH_MSG_ALL}</b></td>
<td nowrap width=60% class="small" ><b><input name="matchtype" type="radio" value="any" checked> {$APP.LBL_ADV_SEARCH_MSG_ANY}</b></td>
<td class="small" valign="top" onMouseOver="this.style.cursor='pointer';" onclick="moveMe('searchAcc');searchshowhide('searchAcc','advSearch')">[x]</td>
@@ -224,8 +230,8 @@
</td>
</tr>
</table>
+</form>
</div>
-</form>
{*<!-- Searching UI -->*}
More information about the vtigercrm-commits
mailing list