summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-10-23 14:05:01 +0200
committerJonas Smedegaard <dr@jones.dk>2008-10-23 14:05:01 +0200
commit1cfffdb2e36828b02936774f91ec28cfa13a1235 (patch)
treef2e80d344ebcf294a0a5c1555a14c0a18b998fc8
parentec307de3ba9901c3760173179c29388e491af0da (diff)
parent03cdb15da3f28c109a1a176d6c3f53cf5e1a18f3 (diff)
Merge branch 'clean' into allinone
-rw-r--r--googleform.tmpl6
-rw-r--r--renamesummary.tmpl9
2 files changed, 13 insertions, 2 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 e165e81..60f81b3 100644
--- a/renamesummary.tmpl
+++ b/renamesummary.tmpl
@@ -1,3 +1,9 @@
+<TMPL_IF ERROR>
+<p>
+<b>Failed to rename <TMPL_VAR SRC> to <TMPL_VAR DEST>: </b>
+<TMPL_VAR ERROR>
+</p>
+<TMPL_ELSE>
<p>
<b>Successfully renamed <TMPL_VAR SRC> to <TMPL_VAR DEST>.</b>
</p>
@@ -14,8 +20,7 @@ The following pages still link to <TMPL_VAR SRC>:
<ul>
<TMPL_LOOP NAME=BROKENLINKS><li><TMPL_VAR PAGE></li></TMPL_LOOP>
</ul>
-<TMPL_ELSE>
-No pages have broken links to <TMPL_VAR SRC>.
</TMPL_IF>
</TMPL_IF>
</p>
+</TMPL_IF>