summaryrefslogtreecommitdiff
path: root/pages/searchtimers.ecpp
diff options
context:
space:
mode:
Diffstat (limited to 'pages/searchtimers.ecpp')
-rw-r--r--pages/searchtimers.ecpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/pages/searchtimers.ecpp b/pages/searchtimers.ecpp
index c81f30f..4fbe38a 100644
--- a/pages/searchtimers.ecpp
+++ b/pages/searchtimers.ecpp
@@ -42,7 +42,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</head>
<body onload="LiveStatusAjaxRequest('infobox.html', 'infobox')">
<& pageelems.logo &>
- <& menu active=("searchtimers") &>
+ <& menu active=("searchtimers") component=("searchtimers.searchtimer_actions")>
<div class="inhalt">
<table class="timers" cellspacing="0" cellpadding="0">
<tr class="head">
@@ -55,7 +55,7 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
- <td><a href="edit_searchtimer.html"><img src="/button_new.png" alt="" <& tooltip.hint text=(tr("New search timer")) &>/></a></td>
+ <td>&nbsp;</td>
<td style="background: url(bg_box_r.png); width: 3px;" /></td>
</tr>
<{
@@ -83,4 +83,8 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html");
</div>
</body>
</html>
-<%include>page_exit.eh</%include> \ No newline at end of file
+<%include>page_exit.eh</%include>
+
+<%def searchtimer_actions>
+<a href="edit_searchtimer.html"><$ tr("New search timer") $></a>
+</%def>