PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/www/dsp/remove-page.dsp

http://github.com/cgay/wiki
Unknown | 42 lines | 40 code | 2 blank | 0 comment | 0 complexity | f3340a8730d2c176277f290a55b9567a 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/></title>
 5  <%dsp:include url="meta.dsp"/>
 6</head>
 7<body>
 8  <%dsp:include url="header.dsp"/>
 9  <div id="midsection">
10    <div id="navigation">
11      <wiki:include-page title="Wiki Left Nav"/>
12    </div>
13    <%dsp:include url="options-menu.dsp"/>
14    <div id="content">
15      <h2><wiki:show-page-title/></h2>
16
17      <dsp:show-page-errors/>
18      <dsp:show-page-notes/>
19
20      <dsp:if test="can-modify-content?">
21        <dsp:then>
22          <form action="<wiki:base/>/page/remove/<wiki:show-page-title/>" method="post">
23            <fieldset>
24              <ol>
25                <li id="comment-item">
26                  <label id="comment-label" for="comment-input">Comment:</label>
27                  <input id="comment-input" type="text" name="comment" value=""/>
28                </li>
29              </ol>
30            </fieldset>
31            <input type="submit" value="Remove '<wiki:show-page-title/>'"/>  
32          </form>
33        </dsp:then>
34        <dsp:else>
35          You do not have permission to delete this page.
36        </dsp:else>
37      </dsp:if>
38    </div>
39  </div>
40  <%dsp:include url="footer.dsp"/>
41</body>
42</html>