diff options
author | Tom Willemsen | 2011-03-23 11:14:27 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-23 11:14:27 +0100 |
commit | 0d342f0aee3f2f800e486c0051dabe718a7b2841 (patch) | |
tree | 1f55afabb8f4876dbe564f7ed5d8e573ddc78df3 /emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml | |
parent | d4510153b17625a3dd2f1852cc6392fc26efecf6 (diff) | |
download | dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.tar.gz dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.zip |
I don't like nxhtml
Diffstat (limited to 'emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml')
-rw-r--r-- | emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml b/emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml deleted file mode 100644 index 2f9398c..0000000 --- a/emacs.d/nxhtml/tests/in/test-only-nxml.my-xhtml +++ /dev/null @@ -1,38 +0,0 @@ -<?php - -// some basic library functions -include_once 'lib.php'; - -$book = new Mybook($api_key, $secret); - -if (isset($_POST['to'])) { - $prints_id = (int)$_POST['to']; - $prints = do_step($user, $prints_id); -} else { - if (isset($_GET['to'])) { - $prints_id = (int)$_GET['to']; - } else { - $prints_id = $user; - } - $prints = get_prints($prints_id); -} - -?> -<div style="padding: 10px;"> - <h2>Hi <mb:name firstnameonly="true" uid="<?php=$user?>" useyou="false"/>!</h2><br/> - <a href="<?= $book->get_add_url() ?>">Put prints in your profile</a>. - <form method="post" action="http://my-domain.com/footprints/"> -<?php - if ($prints_id != $user) { - echo '<input type="hidden" name="to" value="' . $prints_id . '"/>'; - } else { - echo '<br/>'; - } -?> - <input value="step" type="submit"/> - </form> - <hr/> - These are <mb:name uid="«?= $prints_id ?»" possessive="true"/> Footprints:<br/> - <?php echo render_prints($prints, 10); ?> - <div style="clear: both;"/> -</div> |