projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
generate static pages with league/commonmark
[mdref/mdref]
/
views
/
stub.phtml
diff --git
a/views/stub.phtml
b/views/stub.phtml
index 05679ab1a2e914a75044f153bea99cc53b2bc09f..140cd064d783e4f9602ac638626630109200a963 100644
(file)
--- a/
views/stub.phtml
+++ b/
views/stub.phtml
@@
-2,7
+2,11
@@
<p><strong>Download the Stub file:</strong></p>
<ul style="list-style-type: '»'">
<li>
<p><strong>Download the Stub file:</strong></p>
<ul style="list-style-type: '»'">
<li>
+ <?php if (defined("REF2HTML") && constant("REF2HTML")) :?>
+ <a href="<?= $entry->getName() ?>.stub.php"><?= $entry->getName() ?>.stub.php</a><br>
+ <?php else : ?>
<a href="stub?ref=<?= $entry->getName() ?>"><?= $entry->getName() ?>.stub.php</a><br>
<a href="stub?ref=<?= $entry->getName() ?>"><?= $entry->getName() ?>.stub.php</a><br>
+ <?php endif; ?>
<small>
Last modified:
<?= date_create("@".filemtime($stub))->setTimezone(new DateTimezone("UTC"))->format("Y-m-d H:i:s T") ?>
<small>
Last modified:
<?= date_create("@".filemtime($stub))->setTimezone(new DateTimezone("UTC"))->format("Y-m-d H:i:s T") ?>
@@
-10,4
+14,3
@@
</li>
</ul>
</div>
</li>
</ul>
</div>
-