summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/styles.css31
-rw-r--r--i18n.cpp134
-rw-r--r--pages/searchtimers.ecpp7
-rw-r--r--pages/timers.ecpp6
4 files changed, 156 insertions, 22 deletions
diff --git a/css/styles.css b/css/styles.css
index 11603be..82919b5 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -398,18 +398,6 @@ div.__progress div.__elapsed {
background-color: #E9EFFF;
}
-/* #############
- # Tables in General
- #############
-*/
-
-
-td.border {
- padding: 0;
- margin: 0;
- width: 1px;
-}
-
/* #############
# Timers
@@ -428,8 +416,10 @@ table.timers tr td {
border-bottom: 1px solid #C0C1DA;
}
-table.timers tr.active {
- background: #DEE6EE;
+table.timers td.border {
+ padding: 0;
+ margin: 0;
+ width: 1px;
}
table.timers tr.head td {
@@ -600,6 +590,13 @@ table.error tr td.title {
padding: 3px 3px 3px 10px;
}
+table.error td.border {
+ padding: 0;
+ margin: 0;
+ width: 1px;
+}
+
+
/*
##############################
# Edit Tables
@@ -669,6 +666,8 @@ table.searchresults tr td.day {
border:none;
}
-table.searchresults tr.active {
- background: #DEE6EE;
+table.searchresults td.border {
+ padding: 0;
+ margin: 0;
+ width: 1px;
}
diff --git a/i18n.cpp b/i18n.cpp
index e2ba69a..43f1be7 100644
--- a/i18n.cpp
+++ b/i18n.cpp
@@ -2404,6 +2404,140 @@ const tI18nPhrase Phrases[] = {
"Ny",
"Nový",
},
+ { "Toggle timer active/inactive",
+ "Den Timer aktiv/inaktiv schalten",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ },
+ { "Delete timer",
+ "Den Timer löschen",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ },
+ { "Edit timer",
+ "Den Timer bearbeiten",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ },
+ { "Toggle searchtimer actions (in)active",
+ "Aktionen des Suchtimers (de)aktivieren",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ },
+ { "Browse searchtimer results",
+ "Die Ergebnisse der Suche betrachten",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ },
+ { "Edit searchtimer",
+ "Den Suchtimer bearbeiten",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ },
+
+
/*
{ "", // English
"", // Deutsch
diff --git a/pages/searchtimers.ecpp b/pages/searchtimers.ecpp
index 1b4ec5f..81a330f 100644
--- a/pages/searchtimers.ecpp
+++ b/pages/searchtimers.ecpp
@@ -18,6 +18,7 @@ using namespace vdrlive;
<head>
<title>VDR-Live - <$ pageTitle $></title>
<link rel="stylesheet" type="text/css" href="/styles.css" />
+ <& tooltip.javascript var=("domTT_styleClass") value=("domTTepg") &>
<& pageelems.ajax_js &>
</head>
<body onload="LiveStatusAjaxRequest('infobox.html', 'infobox')">
@@ -50,9 +51,9 @@ using namespace vdrlive;
<td><? timer->UseTime() ? timer->StartTimeFormatted() ?></td>
<td><? timer->UseTime() ? timer->StopTimeFormatted() ?></td>
<td>&nbsp;</td>
- <td><img src="/<$ timer->UseAsSearchTimer() ? "active" : "inactive" $>.png" alt="Aktiv?" /></td>
- <td><a href='searchresults.html?searchtimerid=<$ timer->Id() $>'"><img src="/search.png" border="0" alt="<$ tr("Search") $>"></a></td>
- <td><button type="button" class="smallbutton" onclick="location.href='edit_searchtimer.html?searchtimerid=<$ timer->Id() $>';"><$ tr("Edit") $></button></td>
+ <td><img src="/<$ timer->UseAsSearchTimer() ? "active" : "inactive" $>.png" alt="" <& tooltip.hint text=(tr("Toggle searchtimer actions (in)active")) &>/></td>
+ <td><a href="searchresults.html?searchtimerid=<$ timer->Id() $>"><img src="/search.png" border="0" alt="" <& tooltip.hint text=(tr("Browse searchtimer results")) &>></a></td>
+ <td><a href="edit_searchtimer.html?searchtimerid=<$ timer->Id() $>"><img src="/edit.png" alt="" <& tooltip.hint text=(tr("Edit searchtimer")) &>></a></td>
<td class="border" style="border-right: 1px solid black"></td>
</tr>
<{
diff --git a/pages/timers.ecpp b/pages/timers.ecpp
index 5ce2549..415b8df 100644
--- a/pages/timers.ecpp
+++ b/pages/timers.ecpp
@@ -75,9 +75,9 @@ cTimer* timer;
<td><$ FormatDateTime(tr("%I:%M %p"), timer->StopTime()) $></td>
<td><{ if (timer->Recording()) { }><img src="/record.png" alt="Record" /><{ } }></td>
<td><$ timer->File() $></td>
- <td><a href="timers.html?timerid=<$ timers.GetTimerId(*timer) $>&action=toggle"><img src="/<$ (timer->Flags() & tfActive) ? "active" : "inactive" $>.png" alt="Aktiv?" /></a></td>
- <td><button type="button" class="smallbutton" onclick="location.href='edit_timer.html?timerid=<$ timers.GetTimerId(*timer) $>';"><$ tr("Edit") $></button></td>
- <td><a href="timers.html?timerid=<$ timers.GetTimerId(*timer) $>&action=delete"><img src="del.png" border="0"></a></td>
+ <td><a href="timers.html?timerid=<$ timers.GetTimerId(*timer) $>&action=toggle"><img src="/<$ (timer->Flags() & tfActive) ? "active" : "inactive" $>.png" alt="" <& tooltip.hint text=(tr("Toggle timer active/inactive")) &>/></a></td>
+ <td><a href="edit_timer.html?timerid=<$ timers.GetTimerId(*timer) $>"><img src="edit.png" alt="" <& tooltip.hint text=(tr("Edit timer")) &>></a></td>
+ <td><a href="timers.html?timerid=<$ timers.GetTimerId(*timer) $>&action=delete"><img src="del.png" alt="" <& tooltip.hint text=(tr("Delete timer")) &>></a></td>
<td class="border" style="border-right: 1px solid black"></td>
</tr>
<{