Exemplo n.º 1
0
}
$format = $current_user->hour_format == '' ? 'am/pm' : $current_user->hour_format;
$stdate = key($value['date_start']);
$enddate = key($value['due_date']);
$sttime = $value['date_start'][$stdate];
$endtime = $value['due_date'][$enddate];
$time_arr = getaddEventPopupTime($sttime, $endtime, $format);
$value['starthr'] = $time_arr['starthour'];
$value['startmin'] = $time_arr['startmin'];
$value['startfmt'] = $time_arr['startfmt'];
$value['endhr'] = $time_arr['endhour'];
$value['endmin'] = $time_arr['endmin'];
$value['endfmt'] = $time_arr['endfmt'];
$smarty->assign("STARTHOUR", getTimeCombo($format, 'start', $time_arr['starthour'], $time_arr['startmin'], $time_arr['startfmt'], $taskcheck));
$smarty->assign("ENDHOUR", getTimeCombo($format, 'end', $time_arr['endhour'], $time_arr['endmin'], $time_arr['endfmt']));
$smarty->assign("FOLLOWUP", getTimeCombo($format, 'followup_start', $time_arr['endhour'], $time_arr['endmin'], $time_arr['endfmt']));
$smarty->assign("ACTIVITYDATA", $value);
$smarty->assign("LABEL", $fldlabel);
$smarty->assign("secondvalue", $secondvalue);
$smarty->assign("thirdvalue", $thirdvalue);
$smarty->assign("fldlabel_combo", $fldlabel_combo);
$smarty->assign("fldlabel_sel", $fldlabel_sel);
$smarty->assign("OP_MODE", $disp_view);
$smarty->assign("ACTIVITY_MODE", $activity_mode);
$smarty->assign("HOURFORMAT", $format);
$smarty->assign("USERSLIST", $userDetails);
$smarty->assign("USEREMAILID", $to_email);
$smarty->assign("MODULE", $currentModule);
$smarty->assign("DATEFORMAT", parse_calendardate($app_strings['NTC_DATE_FORMAT']));
global $theme;
$theme_path = "themes/" . $theme . "/";
Exemplo n.º 2
0
				</table>
			</td>
		</tr>
		<tr><td colspan="2">    <hr noshade="noshade" size="1"></td></tr>
	</table>
	<table bgcolor="#ffffff" border="0" cellpadding="5" cellspacing="0" width="95%" align=center>
		<tr><td>
			<table border="0" cellpadding="2" cellspacing="0" width="100%" align=center>
				<tr><td width=50% valign=top style="border-right:1px solid #dddddd">
					<table border=0 cellspacing=0 cellpadding=2 width=95% align=center>
						<tr><td colspan=3 align="left"><b><?php 
echo $mod_strings['LBL_TODODATETIME'];
?>
</b></td></tr>
						<tr><td colspan=3 align="left"><?php 
echo getTimeCombo($calendar_arr['calendar']->hour_format, 'start', '', '', '', true);
?>
</td></tr>
						<tr><td align="left">
								<input type="text" name="task_date_start" id="task_date_start" class="textbox" style="width:90px" onChange="dochange('task_date_start','task_due_date');" value="<?php 
echo $date->getDisplayDate();
?>
" ></td><td width=100% align="left"><img border=0 src="<?php 
echo $image_path;
?>
btnL3Calendar.gif" alt="<?php 
echo $mod_strings['LBL_SET_DATE'];
?>
" title="<?php 
echo $mod_strings['LBL_SET_DATE'];
?>