summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/400415-index.phtml
blob: de950e7eb2edde5bb8549397bdce0f0fe96e1423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<h2>CLEO Memorandum Assignment #1. What&apos;s Next?</h2>
<table cellpadding="0" cellspacing="0">
	<thead>
		<tr>
			<th class="first author">Activity</th>
<!--			<th class="time">Progress</th> -->
		</tr>
	</thead>

	<tbody>
		<?php
		$AM = $this->activity_model; 
		foreach ($this->focus_transitions as $tran => $satisfied) {
			$props = $AM->getTransitionProps($tran);
			$url_params = $props['url_params'];
			$link_text = $props['link_text'];
			if (null !== $url_params and null !== $link_text) {
				// TODO Add $sat class to <td>, style accordingly.
		?>
			<tr>
				<td class="first author"><a href="<?= 
					$this->url($url_params) ?>"><?= $link_text ?></a></td>
<!--				<td><?=
				// TODO $props['allotted']
				$satisfied ? '&#x2714;' : '&nbsp;'
				?></td> -->
			</tr>
		<?php }} ?>
	</tbody>
</table>
<!--
<?php
print_r($this->acts);
print_r($this->states);
print_r($this->payload);
print_r($this->activity_model);
?>
-->
<?php
$foo = <<<MY_FOO
I am a heredoc
MY_FOO;
?>