summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcgi/cgi3
-rw-r--r--templates/cgi/debian-official/form.html2
-rw-r--r--templates/cgi/debian-unofficial/form.html2
3 files changed, 7 insertions, 0 deletions
diff --git a/cgi/cgi b/cgi/cgi
index f02e2130d..1e127b8b5 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -7,6 +7,9 @@
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
+# Including common functions
+. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
+
# Reading defaults
if [ -r /etc/default/live-helper.cgi ]
then
diff --git a/templates/cgi/debian-official/form.html b/templates/cgi/debian-official/form.html
index 3c4b8eb20..099a9fa01 100644
--- a/templates/cgi/debian-official/form.html
+++ b/templates/cgi/debian-official/form.html
@@ -326,5 +326,7 @@
<input type="reset" value="Reset" />
&nbsp;
<input type="submit" value="Submit" />
+&nbsp;
+Version: VERSION
</form>
diff --git a/templates/cgi/debian-unofficial/form.html b/templates/cgi/debian-unofficial/form.html
index 0ed6cc3d6..58516ee57 100644
--- a/templates/cgi/debian-unofficial/form.html
+++ b/templates/cgi/debian-unofficial/form.html
@@ -346,5 +346,7 @@
<input type="reset" value="Reset" />
&nbsp;
<input type="submit" value="Submit" />
+&nbsp;
+Version: VERSION
</form>