tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager HTMLManagerServlet.java LocalStrings.properties
Date Thu, 02 Sep 2004 19:13:39 GMT
yoavs       2004/09/02 12:13:38

  Modified:    webapps/docs changelog.xml
               webapps/manager/WEB-INF/classes/org/apache/catalina/manager
                        HTMLManagerServlet.java LocalStrings.properties
  Log:
  Added JavaScript confirmation dialogs to "dangerous" manager servlet links.
  
  Revision  Changes    Path
  1.99      +3 -0      jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- changelog.xml	2 Sep 2004 12:53:57 -0000	1.98
  +++ changelog.xml	2 Sep 2004 19:13:38 -0000	1.99
  @@ -81,6 +81,9 @@
         <update> 
           Major documentation update with current Tomcat 5.5 changes. (remm)
         </update>
  +      <update>
  +        Added JavaScript confirmation dialog to "dangerous" Manager servler links. (yoavs)
  +      </update>
       </changelog>
     </subsection>
   </section>
  
  
  
  1.14      +6 -6      jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java
  
  Index: HTMLManagerServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- HTMLManagerServlet.java	27 Jul 2004 07:18:37 -0000	1.13
  +++ HTMLManagerServlet.java	2 Sep 2004 19:13:38 -0000	1.14
  @@ -567,9 +567,9 @@
           " <td class=\"row-left\">\n" +
           "  <small>\n" +
           "  &nbsp;{1}&nbsp;\n" +
  -        "  &nbsp;<a href=\"{2}\">{3}</a>&nbsp;\n" +
  -        "  &nbsp;<a href=\"{4}\">{5}</a>&nbsp;\n" +
  -        "  &nbsp;<a href=\"{6}\">{7}</a>&nbsp;\n" +
  +        "  &nbsp;<a href=\"{2}\" onclick=\"return(confirm('Are you sure?'))\">{3}</a>&nbsp;\n"
+
  +        "  &nbsp;<a href=\"{4}\" onclick=\"return(confirm('Are you sure?'))\">{5}</a>&nbsp;\n"
+
  +        "  &nbsp;<a href=\"{6}\" onclick=\"return(confirm('Are you sure?'))\">{7}</a>&nbsp;\n"
+
           "  </small>\n" +
           " </td>\n" +
           "</tr>\n";
  @@ -577,10 +577,10 @@
       private static final String STOPPED_APPS_ROW_BUTTON_SECTION =
           " <td class=\"row-left\">\n" +
           "  <small>\n" +
  -        "  &nbsp;<a href=\"{0}\">{1}</a>&nbsp;\n" +
  +        "  &nbsp;<a href=\"{0}\" onclick=\"return(confirm('Are you sure?'))\">{1}</a>&nbsp;\n"
+
           "  &nbsp;{3}&nbsp;\n" +
           "  &nbsp;{5}&nbsp;\n" +
  -        "  &nbsp;<a href=\"{6}\">{7}</a>&nbsp;\n" +
  +        "  &nbsp;<a href=\"{6}\" onclick=\"return(confirm('Are you sure?'))\">{7}</a>&nbsp;\n"
+
           "  </small>\n" +
           " </td>\n" +
           "</tr>\n";
  
  
  
  1.5       +1 -1      jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/LocalStrings.properties
  
  Index: LocalStrings.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/LocalStrings.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LocalStrings.properties	22 Sep 2003 12:34:45 -0000	1.4
  +++ LocalStrings.properties	2 Sep 2004 19:13:38 -0000	1.5
  @@ -58,7 +58,7 @@
   managerServlet.noSelf=FAIL - The manager can not reload, undeploy, stop, or undeploy itself
   managerServlet.noWrapper=Container has not called setWrapper() for this servlet
   managerServlet.reloaded=OK - Reloaded application at context path {0}
  -managerServlet.undeployd=OK - Undeployd application at context path {0}
  +managerServlet.undeployd=OK - Undeployed application at context path {0}
   managerServlet.resourcesAll=OK - Listed global resources of all types
   managerServlet.resourcesType=OK - Listed global resources of type {0}
   managerServlet.rolesList=OK - Listed security roles
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message