JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
first stab at paypal_ipn framework
[wfpl-cms.git] / admin_files.html
index 9307b08..ad374d7 100644 (file)
@@ -2,14 +2,16 @@
 
 <html lang="en">
 <head>
-       <title><!--~$title show {~-->Files<!--~}~--></title>
+       <title><!--~$title show {~-->~$host~ Admin: Manage files<!--~}~--></title>
 </head>
 
 <body>
 <!--~$body show {~-->
 
        <!--~form {~-->
-               <h2><!--~id unset {~-->Add a new file<!--~}~--><!--~id {~-->Edit file "~description html~"<!--~}~--></h2>
+               <h1>~$host~ Admin Control Panel</h1>
+
+               <h2><!--~id unset {~-->Add a new downloadable file<!--~}~--><!--~id {~-->Edit downloadable file "~description html~"<!--~}~--></h2>
 
                <form action="admin_files" method="post" enctype="multipart/form-data"><!--~id {~--><div style="display: none"><input type="hidden" name="edit_id" value="~id attr~"></div><!--~}~--><input type="hidden" name="MAX_FILE_SIZE" value="~upload_max_filesize~">
 
@@ -30,7 +32,8 @@
        <!--~}~-->
 
        <!--~listings once {~-->
-               <h2>Files Listing</h2>
+               <h1>~$host~ Admin Control Panel</h1>
+               <h2>Manage downloadable Files</h2>
 
                <p>To create a download link on your website:</p>
                <ul>
                <p><a href="admin_files?new=1">[Add a new file]</a></p>
 
                <!--~listings once_if {~-->
-                       <table cellspacing="0" cellpadding="4" border="1" summary="">
-                               <tr><th>Path</th><th>Description</th><th>&nbsp;</th></tr><!--~listings {~-->
+                       <table cellspacing="0" cellpadding="4" border="0" summary="" class="evenodd">
+                               <tr><th>&nbsp;</th><th>Path</th><th>Description</th><th>&nbsp;</th></tr><!--~listings {~-->
                                <tr>
-                                       <td class="listing">/~filename html~<!--~filename empty {~--><em>(blank)</em><!--~}~--></td>
+                                       <td class="listing"><!--~filename nonempty {~--><a href="/~filename attr~">download</a><!--~}~--><!--~filename empty {~-->&nbsp;<!--~}~--></td>
+                                       <td class="listing"><!--~filename nonempty {~-->/~filename html~<!--~}~--><!--~filename empty {~--><em>(file missing)</em><!--~}~--></td>
                                        <td class="listing"><a href="admin_files?edit_id=~id~">~description html~<!--~description empty {~--><em>(blank)</em><!--~}~--></a></td>
                                        <td><a href="admin_files?admin_files_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete this file]</a></td>
                                </tr><!--~}~-->
@@ -57,7 +61,7 @@
                        </table>
                <!--~}~-->
                <!--~listings once_else {~-->
-                       <p>No files in database.</p>
+                       <p>No downloadable files in database.</p>
                <!--~}~-->
 
                <p><a href="admin_files?new=1">[Add a new file]</a></p>