change function name from getExplicitState to tf.getExplicitState
This commit is contained in:
parent
983fa80175
commit
8e07d50fc8
|
@ -16,7 +16,7 @@ dependents: For a plugin, lists the dependent plugin titles
|
|||
description: The descriptive text for a plugin, or a modal dialogue
|
||||
draft.of: For draft tiddlers, contains the title of the tiddler of which this is a draft
|
||||
draft.title: For draft tiddlers, contains the proposed new title of the tiddler
|
||||
explicitState: Used in tiddlers that contain the tabs-macro with a `<<getExplicitState>>` parameter
|
||||
explicitState: Used in tiddlers that contain the tabs-macro with a `<<tf.getExplicitState>>` parameter
|
||||
footer: The footer text for a modal
|
||||
hide-body: The view template will hide bodies of tiddlers if set to ''yes''
|
||||
icon: The title of the tiddler containing the icon associated with a tiddler
|
||||
|
|
|
@ -9,6 +9,6 @@ explicitState: $:/state/tab--1498284803
|
|||
tabsList="[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]"
|
||||
default="$:/core/ui/AdvancedSearch/System"
|
||||
actions="""<$action-setfield $tiddler="$:/state/advancedsearch/currentTab" text=<<currentTab>>/>"""
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -8,6 +8,6 @@ explicitState: $:/state/tab-1749438307
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/Info"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -10,6 +10,6 @@ explicitState: $:/state/tab--959111941
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/TiddlerFields"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -10,6 +10,6 @@ explicitState: $:/state/tab--1963855381
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/Theme"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -10,6 +10,6 @@ explicitState: $:/state/tab-99014043
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Cascades]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/StoryTiddler"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -10,6 +10,6 @@ explicitState: $:/state/tab--2112689675
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/Basics"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -21,5 +21,5 @@ explicitState: $:/state/tab--86143343
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[tiddlers+shadows]tag[$:/tags/ControlPanel/Plugins]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/Plugins/Installed/Plugins"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
|
|
|
@ -10,6 +10,6 @@ explicitState: $:/state/tab-2065006209
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Saving]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/Saving/General"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -11,6 +11,6 @@ explicitState: $:/state/tabs/controlpanel/toolbars-1345989671
|
|||
tabsList="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]"
|
||||
default="$:/core/ui/ControlPanel/Toolbars/ViewToolbar"
|
||||
class="tc-vertical"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -9,5 +9,5 @@ explicitState: $:/state/tab-1163638994
|
|||
<$macrocall $name="tabs"
|
||||
tabsList="[all[shadows+tiddlers]tag[$:/tags/MoreSideBar/Plugins]!has[draft.of]]"
|
||||
default="$:/core/ui/MoreSideBar/Plugins/Plugins"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
|
|
|
@ -11,7 +11,7 @@ explicitState: $:/state/tab/search-results/sidebar
|
|||
tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]"
|
||||
default={{$:/config/SearchResults/Default}}
|
||||
actions="<$action-setfield $tiddler='$:/state/search/currentTab' text=<<currentTab>>/>"
|
||||
explicitState=<<getExplicitState>>/>
|
||||
explicitState=<<tf.getExplicitState>>/>
|
||||
|
||||
</$list>
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ explicitState: $:/state/tab/moresidebar-1850697562
|
|||
default={{$:/config/DefaultMoreSidebarTab}}
|
||||
state="$:/state/tab/moresidebar"
|
||||
class={{{ [{$:/config/ui/SideBar/More/horizontal}match[yes]then[tc-sidebar-tabs-more]else[tc-vertical tc-sidebar-tabs-more]] }}}
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@ explicitState: $:/state/tab/sidebar--595412856
|
|||
default={{$:/config/DefaultSidebarTab}}
|
||||
state="$:/state/tab/sidebar"
|
||||
class="tc-sidebar-tabs-main"
|
||||
explicitState=<<getExplicitState>>
|
||||
explicitState=<<tf.getExplicitState>>
|
||||
/>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -2,4 +2,4 @@ title: $:/core/macros/functions
|
|||
tags: $:/tags/Global
|
||||
|
||||
<!-- This global function can be used when the eexplicitState parameter is used with tabs-macros -->
|
||||
\function getExplicitState() [<currentTab>get[explicitState]] ~[<currentTiddler>get[explicitState]] ~[<thisTiddler>get[explicitState]]
|
||||
\function tf.getExplicitState() [<currentTab>get[explicitState]] ~[<currentTiddler>get[explicitState]] ~[<thisTiddler>get[explicitState]]
|
||||
|
|
Loading…
Reference in New Issue