[Vtigercrm-commits] [vtiger-commits] r9334 - /vtigercrm/trunk/modules/Calendar/EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Sep 7 03:54:55 EDT 2006
Author: saraj
Date: Thu Sep 7 01:54:48 2006
New Revision: 9334
Log:
changes made for weekly recurring events --Minnie
Modified:
vtigercrm/trunk/modules/Calendar/EditView.php
Modified: vtigercrm/trunk/modules/Calendar/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/EditView.php (original)
+++ vtigercrm/trunk/modules/Calendar/EditView.php Thu Sep 7 01:54:48 2006
@@ -95,9 +95,16 @@
$value['repeat_frequency'] = $adb->query_result($res,0,'recurringfreq');
$recurringinfo = explode("::",$adb->query_result($res,0,'recurringinfo'));
$value['eventrecurringtype'] = $recurringinfo[0];
- if($recurringinfo[0] == 'Monthly')
+ if($recurringinfo[0] == 'Weekly')
{
- $monthrpt_str = '';
+ for($i=0;$i<6;$i++)
+ {
+ $label = 'week'.$recurringinfo[$i+1];
+ $value[$label] = 'checked';
+ }
+ }
+ elseif($recurringinfo[0] == 'Monthly')
+ {
$value['repeatMonth'] = $recurringinfo[1];
if($recurringinfo[1] == 'date')
{
More information about the vtigercrm-commits
mailing list