[Vtigercrm-commits] [vtiger-commits] r9100 - /vtigercrm/trunk/Smarty/templates/ActivityEditView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Aug 24 01:17:46 EDT 2006
Author: richie
Date: Wed Aug 23 23:17:42 2006
New Revision: 9100
Log:
changes made to fix the calendar related issue --Minnie
Modified:
vtigercrm/trunk/Smarty/templates/ActivityEditView.tpl
Modified: vtigercrm/trunk/Smarty/templates/ActivityEditView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ActivityEditView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ActivityEditView.tpl Wed Aug 23 23:17:42 2006
@@ -104,13 +104,17 @@
<td width=80%>
<table>
<tr>
- {if $ACTIVITY_TYPE eq 'Meeting'}
- {assign var='meetcheck' value='checked'}
- {assign var='callcheck' value=''}
- {else}
- {assign var='meetcheck' value=''}
- {assign var='callcheck' value='checked'}
- {/if}
+ {foreach key=tyeparrkey item=typearr from=$ACTIVITYDATA.activitytype}
+ {foreach key=sel_value item=value from=$typearr}
+ {if $value eq 'selected' && $sel_value eq 'Meeting'}
+ {assign var='meetcheck' value='checked'}
+ {assign var='callcheck' value=''}
+ {else}
+ {assign var='meetcheck' value=''}
+ {assign var='callcheck' value='checked'}
+ {/if}
+ {/foreach}
+ {/foreach}
<td><input type="radio" name='activitytype' value='Call' style='vertical-align: middle;' {$callcheck}></td><td>{$APP.Call}</td><td style="width:10px">
<td><input type="radio" name='activitytype' value='Meeting' style='vertical-align: middle;' {$meetcheck}></td><td>{$APP.Meeting}</td><td style="width:20px">
</tr>
More information about the vtigercrm-commits
mailing list