summaryrefslogtreecommitdiffstats
path: root/web/template/template.phps
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-11-04 03:52:07 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-11-04 03:52:07 +0100
commita6147ab5ab297728adefdb97aaeedc93114b896d (patch)
tree49b508439ab2aa0cf4bd039d3b2d2d53e8860df0 /web/template/template.phps
parentc85dfacc747387b9be6c53b4518ac680b505e0f7 (diff)
parent100451a9665cb387eeae2cb06cc22870cfd57c82 (diff)
downloadaur-a6147ab5ab297728adefdb97aaeedc93114b896d.tar.gz
aur-a6147ab5ab297728adefdb97aaeedc93114b896d.tar.xz
Merge branch 'testing'
Conflicts: web/html/pkgsubmit.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/template.phps')
-rw-r--r--web/template/template.phps21
1 files changed, 21 insertions, 0 deletions
diff --git a/web/template/template.phps b/web/template/template.phps
new file mode 100644
index 00000000..7a866861
--- /dev/null
+++ b/web/template/template.phps
@@ -0,0 +1,21 @@
+<?php
+
+# This template shows how a front page script is commonly coded.
+
+set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
+
+include("aur.inc"); # access AUR common functions
+include("template_po.inc"); # use some form of this for i18n support
+set_lang(); # this sets up the visitor's language
+check_sid(); # see if they're still logged in
+html_header(); # print out the HTML header
+
+
+# Any text you print out to the visitor, use the __() function
+# for i18n support. See web/lib/translator.inc for more info.
+#
+print __("Hi, this is worth reading!")."<br />\n";
+
+
+html_footer(AUR_VERSION);
+