summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-23 14:04:06 +0200
committerJonas Smedegaard <dr@jones.dk>2008-10-23 14:04:06 +0200
commitb81caafb38d60b1d93c6bde0e88985d99ded4bb9 (patch)
tree5d7dc10af510fbbaae470dd1722da41fe3c06b94
parentb812ce24fa7c6b4ade81923b9082fd1e4f6afbb1 (diff)
parent67acb77d38849b83b4520e824acd06d1fcdf3c52 (diff)
Merge branch 'master-da' into master-nb
-rw-r--r--googleform.tmpl6
-rw-r--r--renamesummary.tmpl9
-rw-r--r--searchquery.tmpl4
3 files changed, 15 insertions, 4 deletions
diff --git a/googleform.tmpl b/googleform.tmpl
new file mode 100644
index 0000000..523cff0
--- /dev/null
+++ b/googleform.tmpl
@@ -0,0 +1,6 @@
+<form method="get" action="http://www.google.com/search" id="searchform">
+ <div>
+ <input name="sitesearch" value="<TMPL_VAR SITEFQDN>" type="hidden">
+ <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text">
+ </div>
+</form>
diff --git a/renamesummary.tmpl b/renamesummary.tmpl
index da97a33..e8a0b00 100644
--- a/renamesummary.tmpl
+++ b/renamesummary.tmpl
@@ -1,3 +1,9 @@
+<TMPL_IF ERROR>
+<p>
+<b>Omdøbning af <TMPL_VAR SRC> til <TMPL_VAR DEST> mislykkedes: </b>
+<TMPL_VAR ERROR>
+</p>
+<TMPL_ELSE>
<p>
<b>Succesfuldt omdøbt <TMPL_VAR SRC> til <TMPL_VAR DEST>.</b>
</p>
@@ -14,8 +20,7 @@ De følgende sider henviser fortsat til <TMPL_VAR SRC>:
<ul>
<TMPL_LOOP NAME=BROKENLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
</ul>
-<TMPL_ELSE>
-Ingen sider har brudte henvisninger til <TMPL_VAR SRC>.
</TMPL_IF>
</TMPL_IF>
</p>
+</TMPL_IF>
diff --git a/searchquery.tmpl b/searchquery.tmpl
index 90e1253..b8943fe 100644
--- a/searchquery.tmpl
+++ b/searchquery.tmpl
@@ -65,7 +65,7 @@ ${<IMG SRC="/images/xapian-omega/score-$div{$percentage,10}.png" ALT="$percentag
</div></div>
<div style='float:left;margin-top:2px;font-size:x-small;'>
<span title="$html{$date{$field{modtime},%Y-%m-%d %H:%M:%S}}">
-Modified:<br><b>$html{$date{$field{modtime},%Y-%m-%d}}</b></span><br>
+Ændret:<br><b>$html{$date{$field{modtime},%Y-%m-%d}}</b></span><br>
$if{$field{language},Sprog: <b>$html{$field{language}}</b><br>}
$if{$field{size},<span title="$html{$field{size}} bytes">Størrelse: <b>$html{$filesize{$field{size}}}</b></span><br>}
</div>
@@ -74,7 +74,7 @@ $if{$field{size},<span title="$html{$field{size}} bytes">Størrelse: <b>$html{$f
<small>$highlight{$field{sample},$terms}$if{$field{sample},...}</small><br>
<small>
$percentage% relevant$. matchede:
-<i>$list{$map{$terms,$html{$prettyterm{$_}}},$. ,</i> aog <i>}</i></small>${for lynx:}<p></td></tr>}
+<i>$list{$map{$terms,$html{$prettyterm{$_}}},$. ,</i> og <i>}</i></small>${for lynx:}<p></td></tr>}
</table>
<br><center>