Item12373: Add ATTACHLINKBOX to link checkbox

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release:
Applies To: Extension
Component: TopicInteractionPlugin
Branches: trunk
Reported By: MartinKaufmann
Waiting For:
Last Change By: MichaelDaum
Add %ATTACHLINKBOX% to the checkbox which ask if a link should be generated for uploaded attachments. ATTACHLINKBOX is usually defined in SitePreferences and set to checked="checked".

Change to metadata.tmpl:
--- metadata.tmpl.orig  2013-01-25 15:57:51.000000000 +0100
+++ metadata.tmpl       2013-01-30 23:16:29.000000000 +0100
@@ -568,7 +568,7 @@
   <h3>%MAKETEXT{"Options"}%:</h3>
   <div class="foswikiFormOptions">
     <label>
-      <input type="checkbox" class="foswikiCheckbox jqUploaderCreateLink" name="createlink" />
+      <input type="checkbox" class="foswikiCheckbox jqUploaderCreateLink" name="createlink"  %ATTACHLINKBOX% />
       %MAKETEXT{"Create a <b>link</b> to the attached files at the end of the topic."}%
     </label> %BR%
     <label>

-- MartinKaufmann - 30 Jan 2013

Added to new release.

-- MichaelDaum - 31 Jan 2013
 
Topic revision: r3 - 31 Jan 2013, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy