title: $:/core/ui/ControlPanel/Plugins/Add tags: $:/tags/ControlPanel/Plugins caption: {{$:/language/ControlPanel/Plugins/Add/Caption}} \define lingo-base() $:/language/ControlPanel/Plugins/ \define install-plugin-button() <$button> <$action-sendmessage $message="tm-load-plugin-from-library" url={{!!url}} title={{$(assetInfo)$!!original-title}}/> <$list filter="[get[original-title]get[version]]" variable="installedVersion" emptyMessage="""install"""> reinstall \end \define display-plugin-info() <>
''<$view tiddler=<> field="description"/>''
<$view tiddler=<> field="original-title"/> <$view tiddler=<> field="version"/> <$list filter="[get[original-title]get[version]]" variable="installedVersion">
Installed:
<$text text=<>/>
\end \define load-plugin-library-button() <$button> <$action-sendmessage $message="tm-load-plugin-library" url={{!!url}} infoTitlePrefix="$:/temp/RemoteAssetInfo/"/> open plugin library \end \define display-server-connection() <$list filter="[all[tiddlers+shadows]tag[$:/tags/ServerConnection]suffix{!!url}]" variable="connectionTiddler" emptyMessage=<>> Search: <$edit-text tiddler="""$:/temp/RemoteAssetSearch/$(currentTiddler)$""" default="" type="search" tag="input" focus="true"/> <$select tiddler="$:/temp/RemoteAssetCategory/$(currentTiddler)$" default="plugin"> <$set name="pluginType" filter="[[$:/temp/RemoteAssetCategory/$(currentTiddler)$]is[tiddler]]" value={{$:/temp/RemoteAssetCategory/$(currentTiddler)$}} emptyValue="plugin"> <$list filter="[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-typesearch{$:/temp/RemoteAssetSearch/$(currentTiddler)$}sort[description]]" variable="assetInfo"> <>
\end \define plugin-library-listing() <$list filter="[all[tiddlers+shadows]tag[$:/tags/PluginLibrary]]">
!! <$link><$transclude field="caption"><$view field="title"/> //<$view field="url"/>// <$transclude/> <>
\end
<>