summaryrefslogtreecommitdiff
path: root/root/links
diff options
context:
space:
mode:
Diffstat (limited to 'root/links')
-rw-r--r--root/links24
1 files changed, 7 insertions, 17 deletions
diff --git a/root/links b/root/links
index ee07953..58a5b83 100644
--- a/root/links
+++ b/root/links
@@ -9,23 +9,7 @@
</title>
<link rel="stylesheet" href="[% href.stylesheet() %]" type="text/css" />
[% href.js_library() %]
- <script type="text/javascript">
- // <!--
- function toggle_details(linkid) {
- var theDiv=$('link_details_' + linkid);
- var theButton=$('link_toggle_' + linkid);
- if (theDiv.style.display == 'none') {
- Effect.SlideDown(theDiv);
- theButton.textContent='^';
- }
- else {
- Effect.SlideUp(theDiv);
- theButton.textContent='V';
- }
- return false;
- }
- // -->
- </script>
+ [% INCLUDE toggle_details %]
</head>
<body>
<div id="tagset">
@@ -64,6 +48,7 @@
</ul>
</div>
</div>
+ [% INCLUDE search local=1 %]
<div id="links">
<h2>Links:</h2>
<div>
@@ -93,6 +78,11 @@
</li>
[% END %]
</ul>
+ [%- IF link.descr %]
+ <div class="link descr">
+ [%- link.descr -%]
+ </div>
+ [% END -%]
</div>
</div>
</li>