![]() |
|---|
| [ Index ] |
Source Code Reference for V1.00 |
[Summary view] [Print] [Text view]
1 <?php /* $Id: vw_day_tasks.php 38 2008-02-11 11:38:51Z pedroix $ $URL: https://web2project.svn.sourceforge.net/svnroot/web2project/trunk/modules/calendar/vw_day_tasks.php $ */ 2 if (!defined('W2P_BASE_DIR')) { 3 die('You should not access this file directly.'); 4 } 5 6 global $this_day, $first_time, $last_time, $company_id, $m, $a; 7 8 $links = array(); 9 // assemble the links for the tasks 10 require_once (w2PgetConfig('root_dir') . '/modules/calendar/links_tasks.php'); 11 getTaskLinks($first_time, $last_time, $links, 100, $company_id); 12 13 $s = ''; 14 $dayStamp = $this_day->format(FMT_TIMESTAMP_DATE); 15 16 echo '<table cellspacing="1" cellpadding="2" border="0" width="100%" class="tbl">'; 17 18 if (isset($links[$dayStamp])) { 19 foreach ($links[$dayStamp] as $e) { 20 $href = isset($e['href']) ? $e['href'] : null; 21 $alt = isset($e['alt']) ? $e['alt'] : null; 22 23 $s .= '<tr><td>'; 24 $s .= $href ? '<a href="' . $href . '" class="event" title="' . $alt . '">' : ''; 25 $s .= $e['text']; 26 $s .= $href ? '</a>' : ''; 27 $s .= '</td></tr>'; 28 } 29 } 30 echo $s; 31 echo '</table>'; 32 33 $min_view = 1; 34 include W2P_BASE_DIR . '/modules/tasks/todo.php'; 35 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jan 7 03:00:01 2009 | Cross-referenced by PHPXref 0.7 |