summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 08:48:10 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-31 08:48:10 +0000
commita2cfdaaec5666a08af864ebad8133e18d7cbbcb3 (patch)
tree0d2b9c644d4124d3d20c1958ecde277025f78e0a /templates/page.tmpl
parentf9e8c6012903cb98b9885ff8b76d897fa151dadb (diff)
* Hide excess backlinks and expand using CSS trick; control quantiy via
the numbacklinks setting.
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r--templates/page.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 471ed1a7d..61d22723f 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -73,6 +73,15 @@ Links:
<TMPL_LOOP NAME="BACKLINKS">
<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
</TMPL_LOOP>
+<TMPL_IF NAME="MORE_BACKLINKS">
+<span class="popup">...
+<span class="expand">
+<TMPL_LOOP NAME="MORE_BACKLINKS">
+<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>
+</TMPL_LOOP>
+</span>
+</span>
+</TMPL_IF>
</TMPL_IF>
</div>