PageRenderTime 4146ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 13ms app.codeStats 4111ms

/www/dsp/view-page.dsp

http://github.com/cgay/wiki
Unknown | 53 lines | 50 code | 3 blank | 0 comment | 0 complexity | 39fc9f336a3c871bdaac3cc8b1761317 MD5 | raw file
 1<%dsp:include url="xhtml-start.dsp"/>
 2<%dsp:taglib name="wiki"/>
 3<head>
 4  <title>Dylan Wiki: <wiki:show-page-title/>
 5    <dsp:unless test="latest-page-version?">
 6      @ <wiki:page-creation-date/>
 7    </dsp:unless>
 8  </title>
 9  <%dsp:include url="meta.dsp"/>
10  <dsp:if test="can-view-content?">
11    <link rel="alternate"
12          type="application/atom+xml"
13          title="Atom feed for page <wiki:show-page-title/>"
14          href="<wiki:base/>/feed/pages/<wiki:show-page-title/>" />
15  </dsp:if>
16</head>
17<body>
18  <%dsp:include url="header.dsp"/>
19  <div id="midsection">
20    <div id="navigation">
21      <wiki:include-page title="Wiki Left Nav"/>
22    </div>
23    <%dsp:include url="options-menu.dsp"/>
24    <div id="content">
25      <h2><wiki:show-page-title/>
26          <dsp:unless test="latest-page-version?">
27            <em>@ <wiki:page-creation-date/></em>
28          </dsp:unless>
29          <dsp:if test="can-view-content?">
30            <a href="<wiki:base/>/feed/pages/<wiki:show-page-title/>">
31              <img border="0" src="<wiki:base/>/static/images/feed-icon-14x14.png" alt="Atom feed for this page"/>
32            </a>
33          </dsp:if>
34      </h2>
35
36      <dsp:show-page-errors/>
37      <dsp:show-page-notes/>
38
39      <dsp:if test="can-view-content?">
40        <dsp:then>
41          <wiki:render-page/>
42          <%dsp:include url="view-page-tags.dsp"/>
43        </dsp:then>
44        <dsp:else>
45          You do not have permission to view this page.
46        </dsp:else>
47      </dsp:if>
48
49    </div>
50  </div>
51  <%dsp:include url="footer.dsp"/>
52</body>
53</html>