Author: sdumitriu
Date: 2008-02-13 18:01:32 +0100 (Wed, 13 Feb 2008)
New Revision: 7626

Removed:
   xwiki-platform/web/trunk/standard/src/main/webapp/templates/attachwysiwyg.vm
Log:
XWIKI-2114: Upgrade the default templates
XSALBATROSS-13: Move Albatross templates files to the XWiki Core templates 
directory to share them with other skins


Deleted: 
xwiki-platform/web/trunk/standard/src/main/webapp/templates/attachwysiwyg.vm
===================================================================
--- 
xwiki-platform/web/trunk/standard/src/main/webapp/templates/attachwysiwyg.vm    
    2008-02-13 17:00:50 UTC (rev 7625)
+++ 
xwiki-platform/web/trunk/standard/src/main/webapp/templates/attachwysiwyg.vm    
    2008-02-13 17:01:32 UTC (rev 7626)
@@ -1,41 +0,0 @@
-#set($attachments = $doc.attachmentList)
-<div id="xwikiattachmentscontent" class="xwikidatacontent">
-  <form id="attach" action="$doc.getURL("upload")" 
enctype="multipart/form-data" method="post"
-        onsubmit="return updateAttachName(this)" >
-    <input type="hidden" name="xredirect" value="" />
-    <p>
-      $msg.get("choosetargetfilename"):
-      <input type="text" name="filename" value="" size="20" />
-      <br /><br />
-      $msg.get("choosefiletoupload"):
-      <input type="file" name="filepath" value="" size="40"  /> <br /><br />
-      <input type="submit" id="attachment" name="attachment" 
value="$msg.get("attachthisfile")" />
-    </p>
-  </form>
-  #set($counter=0)
-  #foreach ($attach in $attachments)
-    #if((!$request.images)||$attach.isImage())
-      #if($counter==0)
-        <table width="95%">
-          <tr 
class="title"><th></th><th>$msg.get("filename")</th><th>$msg.get("version")</th><th>$msg.get("author")</th></tr>
-      #end
-      <tr>
-        <td>
-          #if ($attach.isImage())
-            <a href="$doc.getAttachmentURL("${attach.filename}", "download")" 
onclick="document.forms[0].href.value='$attach.filename'; return false;" >
-              <img src="$doc.getAttachmentURL("${attach.filename}", 
"download", "width=80")" alt="${attach.filename}" width="80" border="0" />
-            </a>
-          #end
-        </td><td align="center"><a 
href="$doc.getAttachmentURL("${attach.filename}", "download")" 
onclick="document.forms[0].href.value='$attach.filename'; return false;" 
>$attach.filename</a></td>
-        <td align="center">$attach.version</td><td 
align="center">$xwiki.getLocalUserName($attach.author)</td>
-      </tr>
-    #end
-    #set( $counter = $counter + 1)
-  #end
-  </table>
-  </div>
-  <div class="xwikidatafooter2">
-    <div class="xwikidatafooter1">&nbsp;</div>
-    <div class="xwikidatafooter">&nbsp;</div>
-  </div>
-</div>
\ No newline at end of file

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to