diff options
author | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
commit | 94d2fc1815a919734353c942f224db1de4b4fcb8 (patch) | |
tree | 4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/400415-index.phtml | |
parent | d0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff) | |
download | dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip |
Django, org
* Added nxhtml, mostly for django support.
* Changed some org settings.
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; +?> |