Force filenames for downloading empty and full wikis

This commit is contained in:
Jermolene 2014-12-19 15:20:07 +00:00
parent c5bb95dbfb
commit af906e4b73
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,7 @@
title: $:/snippets/download-wiki-button
\define lingo-base() $:/language/ControlPanel/Tools/Download/
<$button message="tm-download-file" param="$:/core/save/all" class="tc-btn-big-green"><<lingo Full/Caption>> {{$:/core/images/save-button}}</$button>
<$button class="tc-btn-big-green">
<$action-sendmessage $message="tm-download-file" $param="$:/core/save/all" filename="index.html"/>
<<lingo Full/Caption>> {{$:/core/images/save-button}}
</$button>

View File

@ -1,3 +1,6 @@
title: $:/editions/tw5.com/snippets/download-empty-button
<$button message="tm-download-file" param="$:/editions/tw5.com/download-empty" class="tc-btn-big-green">Download Empty {{$:/core/images/save-button}}</$button>
<$button class="tc-btn-big-green">
<$action-sendmessage $message="tm-download-file" $param="$:/editions/tw5.com/download-empty" filename="empty.html"/>
Download Empty {{$:/core/images/save-button}}
</$button>