mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
c5ea6628f5
Shout out to the TiddlySpot tiddler macro for being completely broken, but also being completely unused, so no one noticed.
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
title: $:/core/ui/ControlPanel/Saving/TiddlySpot
|
|
tags: $:/tags/ControlPanel/Saving
|
|
caption: {{$:/language/ControlPanel/Saving/TiddlySpot/Caption}}
|
|
|
|
\define lingo-base() $:/language/ControlPanel/Saving/TiddlySpot/
|
|
|
|
\define siteURL(path)
|
|
http://$(userName)$.tiddlyspot.com/$path$/
|
|
\end
|
|
\define siteLink(path)
|
|
\whitespace trim
|
|
<$reveal type="nomatch" state="$:/UploadName" text="">
|
|
<$set name="userName" value={{$:/UploadName}}>
|
|
<$reveal type="match" state="$:/UploadURL" text="">
|
|
<<siteURL $path$>>
|
|
</$reveal>
|
|
<$reveal type="nomatch" state="$:/UploadURL" text="">
|
|
<$macrocall $name=resolvePath source={{$:/UploadBackupDir}} root={{$:/UploadURL}}/>
|
|
</$reveal>
|
|
</$set>
|
|
</$reveal>
|
|
\end
|
|
|
|
<div class="tc-message-box">
|
|
|
|
<<lingo ReadOnly>>
|
|
|
|
</div>
|
|
|
|
<<lingo Description>>
|
|
|
|
|<<lingo UserName>> |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> |
|
|
|<<lingo Password>> |<$password name="upload"/> |
|
|
|
|
''<<lingo Advanced/Heading>>''
|
|
|
|
|<<lingo ServerURL>> |<$edit-text tiddler="$:/UploadURL" default="" tag="input"/> |
|
|
|<<lingo Filename>> |<$edit-text tiddler="$:/UploadFilename" default="index.html" tag="input"/> |
|
|
|<<lingo UploadDir>> |<$edit-text tiddler="$:/UploadDir" default="." tag="input"/> |
|
|
|<<lingo BackupDir>> |<$edit-text tiddler="$:/UploadBackupDir" default="." tag="input"/> |
|
|
|
|
<<lingo TiddlySpot/Hint>>
|