* Added the HTTP Logout module, integer user fields, and the user prefs module to the test app. * Changed unknownCommand to noCommand. Unknown commands now cause errors. * Changed the arbitrary default command to some other arbitrary default command and made the login command consistent with it. * Filled in the stylesheet a little. * Added an error page. * Reworked the hello page. * Moved some stuff into the common footer. * Added a request login page. * Did some other minor fixups. * Added some incomplete userPrefs pages. git-svn-id: svn://10.0.0.236/trunk@111174 18797224-902f-48f8-a5cc-f745e15eee43
26 lines
863 B
Plaintext
26 lines
863 B
Plaintext
COSES
|
|
1
|
|
|
|
<text xml:space="default" xmlns="http://bugzilla.mozilla.org/coses">
|
|
|
|
<set variable="title" value="Hello World">
|
|
<include href="template.html.header"/>
|
|
</set>
|
|
|
|
<text><![CDATA[ <p>Welcome to the Main PLIF Test Application</p>]]></text><br/>
|
|
|
|
<if lvalue="(data.session)" condition="is" rvalue="hash"><![CDATA[
|
|
<p>You have logged in! You may <a href="nph-Main?command=loginLogout">log out</a>.</p>
|
|
<p>See also:</p>
|
|
<ul>
|
|
<li><a href="nph-Main?command=cosesEditor">Edit the strings</a></li>
|
|
<li><a href="nph-Main?command=userPrefs">Edit user preferences</a></li>
|
|
</ul>
|
|
]]></if><else><![CDATA[
|
|
<p>If you have already registered you may <a href="nph-Main?command=login">log in</a>.</p>
|
|
<p>Otherwise you may <a href="nph-Main?command=loginRequestAccount">create an account</a>.</p>
|
|
]]></else>
|
|
|
|
<include href="template.html.footer"/>
|
|
|
|
</text> |