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 f02e213..1e127b8 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 3c4b8eb..099a9fa 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 0ed6cc3..58516ee 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>