summaryrefslogtreecommitdiff
path: root/gentoobrowse/views/user.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/views/user.xml')
-rw-r--r--gentoobrowse/views/user.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/gentoobrowse/views/user.xml b/gentoobrowse/views/user.xml
new file mode 100644
index 0000000..a2ea60d
--- /dev/null
+++ b/gentoobrowse/views/user.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<block xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:project2="http://project2.randomdan.homeip.net">
+ <xi:include href="../datasources/postgres-web.xml" />
+ <project2:sqlrows name="users" datasource="postgres-web">
+ <sql>
+ SELECT u.*
+ FROM users u
+ <filter name="username">WHERE u.username = <param name="username" /></filter>
+ <filter name="verifyguid">WHERE u.verifyguid = <param name="verifyguid" /></filter>
+ </sql>
+ </project2:sqlrows>
+</block>
+