changeset 126:02a3e2fba89f

text_x_arnica: renamed html_show_tools_restricted to html_tools_restricted
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 29 Jun 2008 09:29:51 +0200
parents 922ac221ea10
children 6f578becaf71
files data/plugin/parser/text_x_arnica.py htdocs/modern/css/text_x_arnica.css
diffstat 2 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sun Jun 29 09:18:01 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Sun Jun 29 09:29:51 2008 +0200
@@ -244,7 +244,7 @@
         self.description = [] # array of description
         self.webimg = [] # array of images for forms
 
-    def html_show_tools_restricted(self, this_target):
+    def html_tools_restricted(self, this_target):
         """ shows restricted tools
             @param this_target: image
         """
@@ -252,7 +252,7 @@
             return ''
 
         return '''
-    <div class="html_show_tools_restricted">
+    <div class="html_tools_restricted">
         <form action="%(baseurl)s/%(pagename)s" method="POST" enctype="multipart/form-data">
             <div class="rotate_to_left">
                 <input type="hidden" name="action" value="arnica_slides">
@@ -310,7 +310,7 @@
                 <input type="hidden" name="image_for_webnail" value="%(image_for_webnail)s">
                 <input type="image" value="submit" title="slide show" src="%(htdocs)s/common/arnica/arnica_load_slide_show.png">
             </div>
-        </form> %(html_show_tools_restricted)s''' % {
+        </form> %(html_tools_restricted)s''' % {
             "baseurl": self.request.getScriptname(),
             "pagename": wikiutil.quoteWikinameURL(self.pagename),
             "htdocs": self.request.cfg.url_prefix_static,
@@ -324,7 +324,7 @@
             "images": packLine([self.webimg[idx]] + self.webimg),
             "this_target": self.full[idx],
             "thumbnail": "%s%s" % (AttachFile.getAttachUrl(self.pagename, '', self.request), self.thumb[idx]),
-            "html_show_tools_restricted": self.html_show_tools_restricted(this_image)
+            "html_tools_restricted": self.html_tools_restricted(this_image)
             }
         return text
 
--- a/htdocs/modern/css/text_x_arnica.css	Sun Jun 29 09:18:01 2008 +0200
+++ b/htdocs/modern/css/text_x_arnica.css	Sun Jun 29 09:29:51 2008 +0200
@@ -20,7 +20,7 @@
     border: none;
 }
 
-div.arrange_thumbnails {
+.arrange_thumbnails {
     position: relative;
     display: block;
     text-align: center;
@@ -61,7 +61,7 @@
     margin: 0em;
 }
 
-.arnica .html_show_tools_restricted {
+.arnica .html_tools_restricted {
     position: relative;
     text-align: center;
     vertical-align: middle;
@@ -102,5 +102,4 @@
 
 .arnica .delete_image {
     vertical-align: middle;
-    
 }