diff options
Diffstat (limited to 'emacs.d/nxhtml/tests/in/400415-index.phtml')
-rw-r--r-- | emacs.d/nxhtml/tests/in/400415-index.phtml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/400415-index.phtml b/emacs.d/nxhtml/tests/in/400415-index.phtml new file mode 100644 index 0000000..de950e7 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/400415-index.phtml @@ -0,0 +1,43 @@ +<h2>CLEO Memorandum Assignment #1. What'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 ? '✔' : ' ' + ?></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; +?> |