svn commit: r738154 - /lenya/trunk/src/modules-core/administration/usecases/reports.jx

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Jan 27 17:18:19 2009
New Revision: 738154

URL: http://svn.apache.org/viewvc?rev=738154&view=rev
Log:
Removing some validation issues in administration module.

Modified:
    lenya/trunk/src/modules-core/administration/usecases/reports.jx

Modified: lenya/trunk/src/modules-core/administration/usecases/reports.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/administration/usecases/reports.jx?rev=738154&r1=738153&r2=738154&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/administration/usecases/reports.jx (original)
+++ lenya/trunk/src/modules-core/administration/usecases/reports.jx Tue Jan 27 17:18:19 2009
@@ -24,6 +24,10 @@
   xmlns:i18n="http://apache.org/cocoon/i18n/2.1"    
   >
   
+  <page:head>
+    <link rel="stylesheet" type="text/css" href="/modules/gui/css/lenya.css"/>
+  </page:head>
+  
   <page:body>
     <jx:import uri="fallback://lenya/modules/usecase/templates/tabs.jx"/>
     <div id="contentblock1" class="lenya-tab">
@@ -56,20 +60,11 @@
           </jx:choose>
         </jx:when>
         <jx:otherwise>
-          <table class="lenya-table-noborder">
-            <tr>
-              <td>
-                <i18n:text>find-broken-links</i18n:text>
-              </td>
-              <td>
-                <form id="form-brokenLinks" method="get" action="${usecase.getSourceURL()}">
-                  <input type="hidden" name="lenya.usecase" value="${usecase.getName()}"/>
-                  <input type="hidden" name="report" value="brokenLinks"/>
-                  <input type="submit" value="Submit" i18n:attr="value"/>
-                </form>
-              </td>
-            </tr>
-          </table>
+          <p>
+            <a href="${usecase.getSourceURL()}?lenya.usecase=${usecase.getName()}&amp;report=brokenLinks" class="lenyaButton">
+              <i18n:text>find-broken-links</i18n:text>
+            </a>
+          </p>
         </jx:otherwise>
       </jx:choose>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.