Annotation of OSAS/OSA_system/processViewerError.zpt, revision 1.1

1.1     ! dwinter     1: <html metal:use-macro="here/main_template/macros/page">
        !             2:   <head>
        !             3:     <title metal:fill-slot="title">Errors</title>
        !             4:   </head>
        !             5:   <body>
        !             6:   <div metal:fill-slot="nav_main">ERRORS</div>
        !             7:   <div metal:fill-slot="body">
        !             8:   <h2>Parsing the index.meta file gives the following errors:</h2>
        !             9:     <span tal:replace="structure python:here.geterror('error%s'%here.REQUEST['number'],here).getError()[1][0]"/>
        !            10:     <h2>You can correct the file here, then click the submit button:</h2>
        !            11:     <p><i>To go back to the archive overview without changes click also the button</i></p>
        !            12:     <form action="writefile" method="post">
        !            13:     <input type="hidden" name="path" value="XXX" tal:attributes="value python:here.geterror('error%s'%here.REQUEST['number'],here).getError()[0]+'/index.meta'"/>
        !            14: 
        !            15:    <textarea name="txt" cols="90" rows="30" tal:content="python:here.readfile(here.geterror('error%s'%here.REQUEST['number'],here).getError()[0]+'/index.meta')">
        !            16: </textarea>  
        !            17:     <input type="submit"/>
        !            18:     </form>
        !            19:   </div>
        !            20: </body>
        !            21: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>