From 04489e6b9f079e7b688a2f26c707d8bb4e2ed66d Mon Sep 17 00:00:00 2001
From: Richard Nelson <unixabg@gmail.com>
Date: Fri, 25 Jun 2010 13:59:55 -0500
Subject: Add VERSION information and source in common live-helper common
 functions.

---
 cgi/cgi                                   | 3 +++
 templates/cgi/debian-official/form.html   | 2 ++
 templates/cgi/debian-unofficial/form.html | 2 ++
 3 files changed, 7 insertions(+)

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>
-- 
cgit v1.0