mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-01-29 14:20:22 +00:00
Compare commits
321 Commits
v5.0.16-be
...
v5.0.17-be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7e3e36564 | ||
|
|
a00d21a6b3 | ||
|
|
c0e420051b | ||
|
|
dd6659d393 | ||
|
|
fc11e8cd13 | ||
|
|
af019623e0 | ||
|
|
0903c35f61 | ||
|
|
2588f996f1 | ||
|
|
d65f80efbb | ||
|
|
68b19a48f7 | ||
|
|
9093f04ba3 | ||
|
|
65f242f857 | ||
|
|
1b11e4e949 | ||
|
|
f187122c35 | ||
|
|
c713eddbef | ||
|
|
af8c435487 | ||
|
|
a878f0a5c9 | ||
|
|
2e72162b0c | ||
|
|
2d188c2436 | ||
|
|
06ef809cf2 | ||
|
|
3d4a3a0f54 | ||
|
|
872e6fc253 | ||
|
|
c8a131ffd4 | ||
|
|
905c793964 | ||
|
|
22060fc198 | ||
|
|
1bcada1f4b | ||
|
|
bda349801e | ||
|
|
fe83d289f4 | ||
|
|
c430f9d2c3 | ||
|
|
5351102990 | ||
|
|
9ca6b6bfb8 | ||
|
|
fcf65433ea | ||
|
|
45f7b6cc45 | ||
|
|
54eb85218b | ||
|
|
a464256e18 | ||
|
|
022eba9c75 | ||
|
|
8b0c471736 | ||
|
|
bc985553ed | ||
|
|
ed4597f12d | ||
|
|
05dfddeb04 | ||
|
|
184b9817b4 | ||
|
|
e20ef97c27 | ||
|
|
def4aca200 | ||
|
|
f72bb66f6a | ||
|
|
a95bb2b6ec | ||
|
|
f781b2b8d0 | ||
|
|
0ee4d21d0d | ||
|
|
b7ce2a8ab6 | ||
|
|
9adc30f69f | ||
|
|
ccd916ca7c | ||
|
|
50be85287b | ||
|
|
08d588fb08 | ||
|
|
673ede5b3c | ||
|
|
ffb26956b5 | ||
|
|
411ed76c70 | ||
|
|
6a952387d2 | ||
|
|
5d0c32b454 | ||
|
|
58ff092d4a | ||
|
|
9840b8783b | ||
|
|
ab944bbf02 | ||
|
|
5e81684b5b | ||
|
|
c9f9de3e18 | ||
|
|
1a95ec9ac4 | ||
|
|
faafeca02c | ||
|
|
e8ae77e738 | ||
|
|
c3eeaeb89f | ||
|
|
04df2a4a20 | ||
|
|
b7f638aef3 | ||
|
|
7ed1a2ebc7 | ||
|
|
f6ff0a7f71 | ||
|
|
d45c417c18 | ||
|
|
418be0fda8 | ||
|
|
d56d4b0c65 | ||
|
|
f4fff7a330 | ||
|
|
04a5f7f002 | ||
|
|
24e7c7fc0f | ||
|
|
df2cf8bf06 | ||
|
|
3119254373 | ||
|
|
10482d993e | ||
|
|
b84fee6285 | ||
|
|
9e56a9a5c1 | ||
|
|
1be8ca4a40 | ||
|
|
c9384f6fdf | ||
|
|
8b6ae7164b | ||
|
|
15debf7d6a | ||
|
|
3c951476ee | ||
|
|
97a4612916 | ||
|
|
3014fa0b61 | ||
|
|
b8167633ef | ||
|
|
36b47b962e | ||
|
|
15d75dfef5 | ||
|
|
80179968a1 | ||
|
|
ad0cc031b8 | ||
|
|
b3b4567fc4 | ||
|
|
7140ed997e | ||
|
|
4b1ccc4171 | ||
|
|
469affa2a5 | ||
|
|
7d16691035 | ||
|
|
d70182a7f7 | ||
|
|
8e838bb7a5 | ||
|
|
9eb542da20 | ||
|
|
179cba3425 | ||
|
|
00b3fd1761 | ||
|
|
e8e04aa1f9 | ||
|
|
efd4d2afef | ||
|
|
3e1a64f99c | ||
|
|
1e8aeb0d9f | ||
|
|
7d2cb13377 | ||
|
|
2c3aa4e723 | ||
|
|
e04cddced8 | ||
|
|
8432a9f0fb | ||
|
|
22feaa55f2 | ||
|
|
3dd7c66597 | ||
|
|
4637119b96 | ||
|
|
7c561ac191 | ||
|
|
f818b1c923 | ||
|
|
af169bf434 | ||
|
|
c3b5c06c3e | ||
|
|
be2dd6e8cb | ||
|
|
6a2f4092a1 | ||
|
|
4ea2a1b5e1 | ||
|
|
307ecbdef4 | ||
|
|
a115a8c168 | ||
|
|
6cc8b2d06e | ||
|
|
8fcaf7c628 | ||
|
|
53b55e6949 | ||
|
|
20f3e38da3 | ||
|
|
15a078d0a7 | ||
|
|
bd123b01e0 | ||
|
|
a70e928921 | ||
|
|
257accb7bf | ||
|
|
aadab77a08 | ||
|
|
d13e23132a | ||
|
|
ac54fe3326 | ||
|
|
210d7fbc23 | ||
|
|
7c356a300c | ||
|
|
58d05af356 | ||
|
|
8dceb7206e | ||
|
|
7cfe62e566 | ||
|
|
1fca2792b8 | ||
|
|
f1f9db9378 | ||
|
|
0e03bace94 | ||
|
|
e51d78187f | ||
|
|
c8bc314a33 | ||
|
|
219f305fae | ||
|
|
5ea7cc0f83 | ||
|
|
5a0a7146b9 | ||
|
|
fdabb5ce4a | ||
|
|
880fe59c80 | ||
|
|
0f8e877f73 | ||
|
|
d7d2b7a846 | ||
|
|
c6c4cf2289 | ||
|
|
8e0a58ddf6 | ||
|
|
6b06cbd7b2 | ||
|
|
1764300000 | ||
|
|
507e1bbaf7 | ||
|
|
8dd8db86b8 | ||
|
|
57967769f4 | ||
|
|
c8d2af7f2b | ||
|
|
8534171c41 | ||
|
|
cead56f92f | ||
|
|
efe562e6a9 | ||
|
|
375549c68c | ||
|
|
1bbe440856 | ||
|
|
f020ba0e2a | ||
|
|
5ef9140463 | ||
|
|
dbbf283673 | ||
|
|
c1de85838f | ||
|
|
a599b76b0c | ||
|
|
0a481e4b93 | ||
|
|
051ea8ac82 | ||
|
|
d34968b494 | ||
|
|
c58975e97a | ||
|
|
9221b575ce | ||
|
|
b14744c20c | ||
|
|
43dcb02a88 | ||
|
|
cba737f4ca | ||
|
|
ea929d445b | ||
|
|
20ff91f615 | ||
|
|
a875269a56 | ||
|
|
a41ae54b41 | ||
|
|
285aa33739 | ||
|
|
32b660d1b9 | ||
|
|
671f783c9b | ||
|
|
6fe19d5f42 | ||
|
|
9292a41751 | ||
|
|
52027e5028 | ||
|
|
5fba012f6a | ||
|
|
2e55a9fae9 | ||
|
|
3d5ad42ac8 | ||
|
|
9e8617c56f | ||
|
|
3f0606990a | ||
|
|
bb6ad83cfa | ||
|
|
cf5d4998a9 | ||
|
|
63c109280a | ||
|
|
c41b7806c6 | ||
|
|
6e9cd59437 | ||
|
|
278f58c19e | ||
|
|
87449ff156 | ||
|
|
917ed9752f | ||
|
|
d22ed1d10d | ||
|
|
e395f96ad0 | ||
|
|
9126fb6afa | ||
|
|
ba0a2f185f | ||
|
|
52c6ae8505 | ||
|
|
3ca4b34c6e | ||
|
|
64b60445b8 | ||
|
|
1b4274d7e5 | ||
|
|
1c1a5c7252 | ||
|
|
1a18e361cc | ||
|
|
2cb85e045a | ||
|
|
63a2eafe5f | ||
|
|
1a0b567458 | ||
|
|
d7e774562e | ||
|
|
ead4e9276a | ||
|
|
f16d1832aa | ||
|
|
5cb4e69839 | ||
|
|
7f9c7b441f | ||
|
|
95229674a1 | ||
|
|
756e05504b | ||
|
|
5ce4c4ab7b | ||
|
|
6a508e580d | ||
|
|
3aaa71a513 | ||
|
|
6cc442e7b5 | ||
|
|
efad7ba896 | ||
|
|
16e59ab78b | ||
|
|
4888d12099 | ||
|
|
1f2f5d3ed8 | ||
|
|
2a15e7d473 | ||
|
|
0ce99cdf49 | ||
|
|
477d1da1ce | ||
|
|
60ef76612b | ||
|
|
ed36658291 | ||
|
|
328e068ea8 | ||
|
|
74afa06394 | ||
|
|
e1d4e2739c | ||
|
|
48bb73f036 | ||
|
|
6e577a02d8 | ||
|
|
f36e58a315 | ||
|
|
b4e0a6de1e | ||
|
|
1e5ca780a1 | ||
|
|
ba3f800235 | ||
|
|
7e93c93785 | ||
|
|
ede244f0a4 | ||
|
|
f90c649d2a | ||
|
|
9826562e8f | ||
|
|
a976b312b3 | ||
|
|
94a885fe2d | ||
|
|
cf1ae23c28 | ||
|
|
3ee587b6a0 | ||
|
|
23157ffac4 | ||
|
|
e114a1df24 | ||
|
|
924c685215 | ||
|
|
296c9b8c31 | ||
|
|
3713b17955 | ||
|
|
47012fa61b | ||
|
|
b88ead37b0 | ||
|
|
7460fab46e | ||
|
|
c15ba77be0 | ||
|
|
7bd8d6f02b | ||
|
|
47ae6be590 | ||
|
|
f461b1ab91 | ||
|
|
914cc6e8d7 | ||
|
|
5a5fe75289 | ||
|
|
465b3ac1de | ||
|
|
48d4c615d6 | ||
|
|
f64e25cb44 | ||
|
|
28b4e0951e | ||
|
|
22ec703f5f | ||
|
|
656a0070ef | ||
|
|
b2ceee3be6 | ||
|
|
19caee517e | ||
|
|
abe9a0dbc2 | ||
|
|
cbab2b6245 | ||
|
|
3f07e6b220 | ||
|
|
aa6e317435 | ||
|
|
a7e45c221f | ||
|
|
b0ddb54e09 | ||
|
|
341db4e4d2 | ||
|
|
0f5dcfe1a9 | ||
|
|
d1fe83cd4c | ||
|
|
f738972f12 | ||
|
|
4bbfef72b2 | ||
|
|
f44a538bcf | ||
|
|
4ccc0fc262 | ||
|
|
d2f0cd6321 | ||
|
|
9b657bc1d6 | ||
|
|
8961e2ba19 | ||
|
|
66fd1ed1ea | ||
|
|
5910afae4f | ||
|
|
474d2ddb72 | ||
|
|
e9519d7ad5 | ||
|
|
169a38164f | ||
|
|
94c9f303b1 | ||
|
|
efd3d1b089 | ||
|
|
42f1a04cd7 | ||
|
|
47c53f924f | ||
|
|
6f4af4fc27 | ||
|
|
487c4a40ab | ||
|
|
8ae0c583b0 | ||
|
|
542788bfeb | ||
|
|
bb97bc11fd | ||
|
|
7f75d651d4 | ||
|
|
a375d2d9b6 | ||
|
|
e7358c9b31 | ||
|
|
f87ce7e98a | ||
|
|
e34e83db0b | ||
|
|
f8ae0bf3e6 | ||
|
|
2428111daf | ||
|
|
c1f80ab05d | ||
|
|
2690d2cb7c | ||
|
|
c956d9c1dc | ||
|
|
5b7dbfc5fb | ||
|
|
3788571802 | ||
|
|
ad045a28db | ||
|
|
b498726561 | ||
|
|
d7b40b235d | ||
|
|
2136d1de5a | ||
|
|
7c8f50c898 | ||
|
|
cb607820dd | ||
|
|
cda0b542f9 |
@@ -40,6 +40,15 @@ node .\tiddlywiki.js ^
|
||||
--build favicon empty static index ^
|
||||
|| exit 1
|
||||
|
||||
rem dev/: developer material
|
||||
|
||||
node .\tiddlywiki.js ^
|
||||
.\editions\dev ^
|
||||
--verbose ^
|
||||
--output %TW5_BUILD_OUTPUT%\dev ^
|
||||
--build index favicon static ^
|
||||
|| exit 1
|
||||
|
||||
rem upgrade.html: custom edition for handling upgrades
|
||||
|
||||
node .\tiddlywiki.js ^
|
||||
@@ -118,4 +127,4 @@ echo tiddlywiki.com > %TW5_BUILD_OUTPUT%\CNAME
|
||||
|
||||
rem Run the test edition to run the Node.js tests and to generate test.html for tests in the browser
|
||||
|
||||
.\test.cmd
|
||||
.\bin\test.cmd
|
||||
@@ -41,6 +41,15 @@ node ./tiddlywiki.js \
|
||||
--build favicon empty static index \
|
||||
|| exit 1
|
||||
|
||||
# dev/: developer material
|
||||
|
||||
node ./tiddlywiki.js \
|
||||
./editions/dev \
|
||||
--verbose \
|
||||
--output $TW5_BUILD_OUTPUT/dev \
|
||||
--build index favicon static \
|
||||
|| exit 1
|
||||
|
||||
# upgrade.html: custom edition for handling upgrades
|
||||
|
||||
node ./tiddlywiki.js \
|
||||
@@ -115,4 +124,4 @@ node ./tiddlywiki.js \
|
||||
|
||||
# Run the test edition to run the Node.js tests and to generate test.html for tests in the browser
|
||||
|
||||
./test.sh
|
||||
./bin/test.sh
|
||||
30
bin/devbld.sh
Executable file
30
bin/devbld.sh
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build the dev wiki
|
||||
|
||||
# Set up the build output directory
|
||||
|
||||
if [ -z "$TW5_BUILD_OUTPUT" ]; then
|
||||
TW5_BUILD_OUTPUT=../jermolene.github.com
|
||||
fi
|
||||
|
||||
if [ ! -d "$TW5_BUILD_OUTPUT" ]; then
|
||||
echo 'A valid TW5_BUILD_OUTPUT environment variable must be set'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Using TW5_BUILD_OUTPUT as [$TW5_BUILD_OUTPUT]"
|
||||
|
||||
# Make the CNAME file that GitHub Pages requires
|
||||
|
||||
echo "tiddlywiki.com" > $TW5_BUILD_OUTPUT/CNAME
|
||||
|
||||
# The tw5.com wiki
|
||||
# index.html: the main file, including content
|
||||
|
||||
node ./tiddlywiki.js \
|
||||
./editions/dev \
|
||||
--verbose \
|
||||
--output $TW5_BUILD_OUTPUT/dev \
|
||||
--build index favicon \
|
||||
|| exit 1
|
||||
5
bin/readme.md
Normal file
5
bin/readme.md
Normal file
File diff suppressed because one or more lines are too long
95
bin/serve.cmd
Executable file
95
bin/serve.cmd
Executable file
@@ -0,0 +1,95 @@
|
||||
:: This script allows you to serve different TiddlyWiki editions.
|
||||
::
|
||||
:: It respects a TW_SERVE_EDITION_PATH environment variable.
|
||||
:: If this variable is set it will be used. A command line parameter will overwrite it.
|
||||
::
|
||||
:: Ensure your server tiddlywiki.info configuration contains
|
||||
:: these plugins, otherwise saving is not possible:
|
||||
:: - "tiddlywiki/tiddlyweb"
|
||||
:: - "tiddlywiki/filesystem"
|
||||
|
||||
@echo off
|
||||
echo.
|
||||
|
||||
:: Help Wanted!!
|
||||
:: If you know how to improve -help and -version handling let us know
|
||||
|
||||
if "%1" == "--help" call :help
|
||||
if "%1" == "-h" call :help
|
||||
|
||||
if "%1" == "--version" call :version
|
||||
if "%1" == "-v" call :version
|
||||
|
||||
if "%1" == "help" (
|
||||
call :help
|
||||
) else (
|
||||
call :main %1 %2 %3 %4 %5
|
||||
)
|
||||
exit 0
|
||||
|
||||
:version
|
||||
echo TiddlyWiki serve.cmd script version 0.0.2"
|
||||
echo.
|
||||
exit 0
|
||||
goto:eof
|
||||
|
||||
:help
|
||||
echo Serve TiddlyWiki over HTTP
|
||||
echo.
|
||||
echo Optional parameters
|
||||
echo - %%1 .. edition directory .. full or relative path to edition directory
|
||||
echo - %%2 .. username .. for signing edits - can be empty like this: '""'
|
||||
echo - %%3 .. password .. can be empty like this: '""'
|
||||
echo - %%4 .. IP address or HOST .. defaults to localhost
|
||||
echo - %%5 .. PORT .. defaults to 8080
|
||||
echo.
|
||||
echo Example 1 .\serve .\edition\tw5.com-server username
|
||||
echo Example 2 .\serve .\edition\tw5.com-server '""' '""' localhost 9090
|
||||
echo .. Example 2 defines: empty username, empty password
|
||||
echo.
|
||||
echo Help information
|
||||
echo -v, --version .. shows the script version
|
||||
echo -h, --help, help .. shows this help information
|
||||
echo.
|
||||
|
||||
exit 0
|
||||
goto:eof
|
||||
|
||||
:main
|
||||
if [%1] NEQ [] (
|
||||
:: if there is a editions parameter .. use it.
|
||||
set TW_SERVE_EDITION_PATH=%1
|
||||
) else (
|
||||
if [%TW_SERVE_EDITION_PATH%] == [] (
|
||||
echo Please provide an edition path as your first parameter or
|
||||
echo define a valid TW_SERVE_EDITION_PATH environment variable.
|
||||
echo.
|
||||
echo Using default edition path 'editions\tw5.com-server' because no environment variable is set
|
||||
echo.
|
||||
set TW_SERVE_EDITION_PATH= editions\tw5.com-server
|
||||
)
|
||||
)
|
||||
|
||||
:: The editions path must exist!
|
||||
if not exist %TW_SERVE_EDITION_PATH%\nul (
|
||||
echo The Path: "%TW_SERVE_EDITION_PATH%" does not exist
|
||||
exit 1
|
||||
)
|
||||
|
||||
if [%5] == [] (
|
||||
echo Using default port 8080
|
||||
set PORT=8080
|
||||
) else (
|
||||
echo Using port %5
|
||||
set PORT=%5
|
||||
)
|
||||
|
||||
echo Using edition: %TW_SERVE_EDITION_PATH%
|
||||
echo.
|
||||
|
||||
node .\tiddlywiki.js ^
|
||||
%TW_SERVE_EDITION_PATH% ^
|
||||
--verbose ^
|
||||
--server %PORT% $:/core/save/all text/plain text/html %2 %3 %4^
|
||||
|| exit 1
|
||||
goto:eof
|
||||
124
bin/serve.sh
Executable file
124
bin/serve.sh
Executable file
@@ -0,0 +1,124 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This script allows you to serve different TiddlyWiki editions.
|
||||
#
|
||||
# It respects a TW_SERVE_EDITION_PATH environment variable.
|
||||
# If this variable is set it will be used. A command line parameter will overwrite it.
|
||||
#
|
||||
# Ensure your server tiddlywiki.info configuration contains
|
||||
# these plugins, otherwise saving is not possible:
|
||||
# - "tiddlywiki/tiddlyweb"
|
||||
# - "tiddlywiki/filesystem"
|
||||
|
||||
# Global settings
|
||||
# set -o nounset #exit if a variable is not set
|
||||
set -o errexit #exit on error
|
||||
|
||||
# Get command name and path info needed for help text
|
||||
ARG0=$(basename $0)
|
||||
#ARG0DIR=$(dirname $0)
|
||||
#[ $ARG0DIR == "." ] && ARG0DIR=$PWD
|
||||
|
||||
# ---- helper functions ----
|
||||
version () {
|
||||
echo "$ARG0, TiddlyWiki serve script version 0.0.2"
|
||||
echo
|
||||
}
|
||||
|
||||
usage() {
|
||||
version
|
||||
echo Usage:$'\t'$ARG0 [edition dir] [username] [password] [host] [port]
|
||||
echo
|
||||
}
|
||||
|
||||
help() {
|
||||
usage
|
||||
|
||||
echo Optional parameters
|
||||
echo
|
||||
echo $'\t'\$1 .. edition directory .. full or relative path to edition directory
|
||||
echo $'\t'\$2 .. username for signing edits - can be empty like this: \"\"
|
||||
echo $'\t'\$3 .. password - can be empty like this: \"\"
|
||||
echo $'\t'\$4 .. IP address or HOST name .. defaults to: localhost
|
||||
echo $'\t'\$5 .. PORT .. defaults to: 8080
|
||||
echo
|
||||
echo $'\t'-v .. Version
|
||||
echo $'\t'-h .. Help
|
||||
echo
|
||||
echo Example 1 ./serve ./edition/tw5.com-server username
|
||||
echo Example 2 ./serve ./edition/tw5.com-server \"\" \"\" localhost 9090
|
||||
echo .. Example 2 defines: empty username, empty password
|
||||
echo
|
||||
}
|
||||
|
||||
_log () {
|
||||
echo
|
||||
echo "---> $1"
|
||||
}
|
||||
|
||||
# error handling for wrong parameters
|
||||
error() {
|
||||
echo "$ARG0: $*" 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# start the server
|
||||
serve () {
|
||||
#echo 1:$1 2:$2 3:$3 4:$4 5:$5
|
||||
|
||||
node ./tiddlywiki.js \
|
||||
"$1" \
|
||||
--verbose \
|
||||
--server "$5" $:/core/save/all text/plain text/html "$2" "$3" "$4" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
check_edition_directory () {
|
||||
# The editions directory must exist and should contain a tiddlywiki.info file
|
||||
if [ ! -d $TW_SERVE_EDITION_PATH ]; then
|
||||
_log "Edition directory: '$TW_SERVE_EDITION_PATH' does not exist"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# --------------------------------------------------
|
||||
# command line parameter handler
|
||||
while getopts vh flag
|
||||
do
|
||||
case "$flag" in
|
||||
(h) help; exit 0;;
|
||||
(v) version; exit 0;;
|
||||
(*) help
|
||||
error
|
||||
exit 1;;
|
||||
esac
|
||||
done
|
||||
shift $(expr $OPTIND - 1)
|
||||
|
||||
#----------------------------------------------------
|
||||
|
||||
# If no edition parameter is provided, use Jeremy's defaults
|
||||
if [ $# -eq 0 ]; then
|
||||
# check if the edition path environment variable is set. If yes use it.
|
||||
[ -z $TW_SERVE_EDITION_PATH ] && TW_SERVE_EDITION_PATH="./editions/tw5.com-server"
|
||||
|
||||
# directory must exist
|
||||
check_edition_directory
|
||||
|
||||
# serve the default settings.
|
||||
serve "$TW_SERVE_EDITION_PATH" "" "" localhost 8080
|
||||
else
|
||||
if [ -z "$5" ]; then
|
||||
PORT=8080
|
||||
else
|
||||
PORT=$5
|
||||
fi
|
||||
|
||||
# If the 1st parameter (edition) is set, it has priority.
|
||||
TW_SERVE_EDITION_PATH=$1
|
||||
|
||||
# directory must exist
|
||||
check_edition_directory
|
||||
|
||||
serve "$TW_SERVE_EDITION_PATH" "$2" "$3" "$4" $PORT
|
||||
fi
|
||||
@@ -1103,7 +1103,7 @@ $tw.Wiki.prototype.processSafeMode = function() {
|
||||
// Assemble a report tiddler
|
||||
var titleReportTiddler = "TiddlyWiki Safe Mode",
|
||||
report = [];
|
||||
report.push("TiddlyWiki has been started in [[safe mode|http://tiddlywiki.com/static/SafeMode.html]]. Most customisations have been disabled by renaming the following tiddlers:")
|
||||
report.push("TiddlyWiki has been started in [[safe mode|http://tiddlywiki.com/static/SafeMode.html]]. All plugins are temporarily disabled. Most customisations have been disabled by renaming the following tiddlers:")
|
||||
// Delete the overrides
|
||||
overrides.forEach(function(title) {
|
||||
var tiddler = self.getTiddler(title),
|
||||
@@ -1752,7 +1752,7 @@ $tw.boot.startup = function(options) {
|
||||
}
|
||||
// Unpack plugin tiddlers
|
||||
$tw.wiki.readPluginInfo();
|
||||
$tw.wiki.registerPluginTiddlers("plugin");
|
||||
$tw.wiki.registerPluginTiddlers("plugin",$tw.safeMode ? ["$:/core"] : undefined);
|
||||
$tw.wiki.unpackPluginTiddlers();
|
||||
// Process "safe mode"
|
||||
if($tw.safeMode) {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<h1 class=''>Contributing to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a></h1><p><a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> welcomes contributions to its code and documentation via <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5' target='_blank'>GitHub</a>. Please take a moment to read these notes to help make the process as smooth as possible.</p><h2 class=''>Coding Style</h2><p>Code contributions should follow the <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki%2520Coding%2520Style%2520Guidelines.html'>TiddlyWiki Coding Style Guidelines</a>.</p><h2 class=''><a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/GitHub.html'>GitHub</a> Issues</h2><p>See <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/ReportingBugs.html'>ReportingBugs</a> for information about how <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> handles bug reports.</p><h2 class=''>Contributor License Agreement</h2><p>Like other <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/OpenSource.html'>OpenSource</a> projects, <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/UnaMesa.html'>UnaMesa</a> Association (the legal entity that owns <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> on behalf of the community).</p><ul><li>For individuals use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-individual.md' target='_blank'>licenses/CLA-individual</a></li><li>For entities use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-entity.md' target='_blank'>licenses/CLA-entity</a></li></ul><p><em>This is a first pass at a CLA for <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a>. Please let us know if we missed something important. If we do have to make essential changes to the CLA, there is a possibility that all contributors will need to sign it again</em></p><h3 class=''>How to sign the CLA</h3><p>Create a <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/GitHub.html'>GitHub</a> pull request to add your name to <code>cla-individual.md</code> or <code>cla-entity.md</code>, with the date in the format (YYYY/MM/DD).</p><p>eg: <code>Jeremy Ruston, @Jermolene, 2011/11/22</code></p><p><strong>Thank you!</strong></p><h4 class=''>Attribution</h4><p>The CLA documents used for this project were created using <a class='tc-tiddlylink-external' href='http://www.harmonyagreements.org' target='_blank'>Harmony Project Templates</a>. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity"
|
||||
<h1 class=''>Contributing to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a></h1><p>We welcome contributions to the code and documentation of <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> in several ways:</p><ul><li><a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/ReportingBugs.html'>ReportingBugs</a></li><li>Helping to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/Improving%2520TiddlyWiki%2520Documentation.html'>improve our documentation</a></li><li>Contributing to the code via <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5' target='_blank'>GitHub</a><ul><li>See <a class='tc-tiddlylink-external' href='http://tiddlywiki.com/dev' target='_blank'>http://tiddlywiki.com/dev</a> for more details</li></ul></li></ul><p>There are other ways to <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/HelpingTiddlyWiki.html'>help TiddlyWiki</a> too.</p><h1 class=''>Contributor License Agreement</h1><p>Like other <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/OpenSource.html'>OpenSource</a> projects, <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a> needs a signed contributor license agreement from individual contributors. This is a legal agreement that allows contributors to assert that they own the copyright of their contribution, and that they agree to license it to the <a class='tc-tiddlylink tc-tiddlylink-missing' href='http://tiddlywiki.com/static/UnaMesa.html'>UnaMesa</a> Association (the legal entity that owns <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki.html'>TiddlyWiki</a> on behalf of the community).</p><ul><li>For individuals use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-individual.md' target='_blank'>licenses/CLA-individual</a></li><li>For entities use: <a class='tc-tiddlylink-external' href='https://github.com/Jermolene/TiddlyWiki5/tree/master/licenses/cla-entity.md' target='_blank'>licenses/CLA-entity</a></li></ul><h1 class=''>How to sign the CLA</h1><p>Create a <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/GitHub.html'>GitHub</a> pull request to add your name to <code>cla-individual.md</code> or <code>cla-entity.md</code>, with the date in the format (YYYY/MM/DD).</p><p>eg: <code>Jeremy Ruston, @Jermolene, 2011/11/22</code></p><hr><p><em>The CLA documents used for this project were created using <a class='tc-tiddlylink-external' href='http://www.harmonyagreements.org' target='_blank'>Harmony Project Templates</a>. "HA-CLA-I-LIST Version 1.0" for "CLA-individual" and "HA-CLA-E-LIST Version 1.0" for "CLA-entity".</em>
|
||||
</p><p><em>This file was automatically generated by <a class='tc-tiddlylink tc-tiddlylink-resolves' href='http://tiddlywiki.com/static/TiddlyWiki5.html'>TiddlyWiki5</a></em>
|
||||
</p>
|
||||
@@ -1,53 +1,9 @@
|
||||
title: $:/language/ControlPanel/
|
||||
|
||||
Advanced/Caption: Advanced
|
||||
Advanced/EditorTypes/Caption: Editor Types
|
||||
Advanced/EditorTypes/Editor/Caption: Editor
|
||||
Advanced/EditorTypes/Hint: These tiddlers determine which editor is used to edit specific tiddler types.
|
||||
Advanced/EditorTypes/Type/Caption: Type
|
||||
Advanced/Hint: Internal information about this TiddlyWiki
|
||||
Advanced/LoadedModules/Caption: Loaded Modules
|
||||
Advanced/LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.
|
||||
Advanced/Settings/Caption: Settings
|
||||
Advanced/Settings/Hint: These advanced settings let you customise the behaviour of TiddlyWiki.
|
||||
Advanced/Settings/NavigationAddressBar/Caption: Navigation Address Bar
|
||||
Advanced/Settings/NavigationAddressBar/Hint: Behaviour of the browser address bar when navigating to a tiddler:
|
||||
Advanced/Settings/NavigationAddressBar/No/Description: Do not update the address bar
|
||||
Advanced/Settings/NavigationAddressBar/Permalink/Description: Include the target tiddler
|
||||
Advanced/Settings/NavigationAddressBar/Permaview/Description: Include the target tiddler and the current story sequence
|
||||
Advanced/Settings/NavigationHistory/Caption: Navigation History
|
||||
Advanced/Settings/NavigationHistory/Hint: Update browser history when navigating to a tiddler:
|
||||
Advanced/Settings/NavigationHistory/No/Description: Do not update history
|
||||
Advanced/Settings/NavigationHistory/Yes/Description: Update history
|
||||
Advanced/Settings/ToolbarButtons/Caption: Toolbar Buttons
|
||||
Advanced/Settings/ToolbarButtons/Hint: Default toolbar button appearance:
|
||||
Advanced/Settings/ToolbarButtons/Text/Description: Include text
|
||||
Advanced/Settings/ToolbarButtons/Icons/Description: Include icon
|
||||
Advanced/TiddlerFields/Caption: Tiddler Fields
|
||||
Advanced/TiddlerFields/Hint: This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).
|
||||
Appearance/Caption: Appearance
|
||||
Appearance/Hint: Ways to customise the appearance of your TiddlyWiki.
|
||||
Appearance/Palette/Caption: Palette
|
||||
Appearance/Palette/Editor/Clone/Caption: clone
|
||||
Appearance/Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it
|
||||
Appearance/Palette/Editor/Prompt/Modified: This shadow palette has been modified
|
||||
Appearance/Palette/Editor/Prompt: Editing
|
||||
Appearance/Palette/Editor/Reset/Caption: reset
|
||||
Appearance/Palette/HideEditor/Caption: hide editor
|
||||
Appearance/Palette/Prompt: Current palette:
|
||||
Appearance/Palette/ShowEditor/Caption: show editor
|
||||
Appearance/StoryView/Caption: Story View
|
||||
Appearance/StoryView/Prompt: Current view:
|
||||
Appearance/Theme/Caption: Theme
|
||||
Appearance/Theme/Prompt: Current theme:
|
||||
Appearance/Toolbars/Caption: Toolbars
|
||||
Appearance/Toolbars/Hint: Select which toolbar buttons are displayed
|
||||
Appearance/Toolbars/EditToolbar/Caption: Edit Toolbar
|
||||
Appearance/Toolbars/EditToolbar/Hint: Choose which buttons are displayed for tiddlers in edit mode
|
||||
Appearance/Toolbars/ViewToolbar/Caption: View Toolbar
|
||||
Appearance/Toolbars/ViewToolbar/Hint: Choose which buttons are displayed for tiddlers in view mode
|
||||
Appearance/Toolbars/PageControls/Caption: Page Toolbar
|
||||
Appearance/Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar
|
||||
Basics/AnimDuration/Prompt: Animation duration:
|
||||
Basics/Caption: Basics
|
||||
Basics/DefaultTiddlers/BottomHint: Use [[double square brackets]] for titles with spaces. Or you can choose to <$button set="$:/DefaultTiddlers" setTo="[list[$:/StoryList]]">retain story ordering</$button>
|
||||
@@ -63,6 +19,23 @@ Basics/Tiddlers/Prompt: Number of tiddlers:
|
||||
Basics/Title/Prompt: Title of this ~TiddlyWiki:
|
||||
Basics/Username/Prompt: Username for signing edits:
|
||||
Basics/Version/Prompt: ~TiddlyWiki version:
|
||||
EditorTypes/Caption: Editor Types
|
||||
EditorTypes/Editor/Caption: Editor
|
||||
EditorTypes/Hint: These tiddlers determine which editor is used to edit specific tiddler types.
|
||||
EditorTypes/Type/Caption: Type
|
||||
Info/Caption: Info
|
||||
Info/Hint: Information about this TiddlyWiki
|
||||
LoadedModules/Caption: Loaded Modules
|
||||
LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.
|
||||
Palette/Caption: Palette
|
||||
Palette/Editor/Clone/Caption: clone
|
||||
Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it
|
||||
Palette/Editor/Prompt/Modified: This shadow palette has been modified
|
||||
Palette/Editor/Prompt: Editing
|
||||
Palette/Editor/Reset/Caption: reset
|
||||
Palette/HideEditor/Caption: hide editor
|
||||
Palette/Prompt: Current palette:
|
||||
Palette/ShowEditor/Caption: show editor
|
||||
Plugins/Caption: Plugins
|
||||
Plugins/Disable/Caption: disable
|
||||
Plugins/Disable/Hint: Disable this plugin when reloading page
|
||||
@@ -73,11 +46,6 @@ Plugins/Enable/Hint: Enable this plugin when reloading page
|
||||
Plugins/Language/Prompt: Languages
|
||||
Plugins/Plugin/Prompt: Plugins
|
||||
Plugins/Theme/Prompt: Themes
|
||||
Saving/AutoSave/Disabled/Button: enable
|
||||
Saving/AutoSave/Disabled/Prompt: Autosave is currently disabled
|
||||
Saving/AutoSave/Enabled/Button: disable
|
||||
Saving/AutoSave/Enabled/Prompt: Autosave is currently enabled
|
||||
Saving/AutoSave: Autosave
|
||||
Saving/Caption: Saving
|
||||
Saving/Heading: Saving
|
||||
Saving/TiddlySpot/Advanced/Heading: Advanced Settings
|
||||
@@ -90,16 +58,40 @@ Saving/TiddlySpot/Password: Password
|
||||
Saving/TiddlySpot/ServerURL: Server URL
|
||||
Saving/TiddlySpot/UploadDir: Upload Directory
|
||||
Saving/TiddlySpot/UserName: Wiki Name
|
||||
Settings/AutoSave/Caption: Autosave
|
||||
Settings/AutoSave/Disabled/Description: Do not save changes automatically
|
||||
Settings/AutoSave/Enabled/Description: Save changes automatically
|
||||
Settings/AutoSave/Hint: Automatically save changes during editing
|
||||
Settings/Caption: Settings
|
||||
Settings/Hint: These settings let you customise the behaviour of TiddlyWiki.
|
||||
Settings/NavigationAddressBar/Caption: Navigation Address Bar
|
||||
Settings/NavigationAddressBar/Hint: Behaviour of the browser address bar when navigating to a tiddler:
|
||||
Settings/NavigationAddressBar/No/Description: Do not update the address bar
|
||||
Settings/NavigationAddressBar/Permalink/Description: Include the target tiddler
|
||||
Settings/NavigationAddressBar/Permaview/Description: Include the target tiddler and the current story sequence
|
||||
Settings/NavigationHistory/Caption: Navigation History
|
||||
Settings/NavigationHistory/Hint: Update browser history when navigating to a tiddler:
|
||||
Settings/NavigationHistory/No/Description: Do not update history
|
||||
Settings/NavigationHistory/Yes/Description: Update history
|
||||
Settings/ToolbarButtons/Caption: Toolbar Buttons
|
||||
Settings/ToolbarButtons/Hint: Default toolbar button appearance:
|
||||
Settings/ToolbarButtons/Icons/Description: Include icon
|
||||
Settings/ToolbarButtons/Text/Description: Include text
|
||||
StoryView/Caption: Story View
|
||||
StoryView/Prompt: Current view:
|
||||
Theme/Caption: Theme
|
||||
Theme/Prompt: Current theme:
|
||||
TiddlerFields/Caption: Tiddler Fields
|
||||
TiddlerFields/Hint: This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).
|
||||
Toolbars/Caption: Toolbars
|
||||
Toolbars/EditToolbar/Caption: Edit Toolbar
|
||||
Toolbars/EditToolbar/Hint: Choose which buttons are displayed for tiddlers in edit mode
|
||||
Toolbars/Hint: Select which toolbar buttons are displayed
|
||||
Toolbars/PageControls/Caption: Page Toolbar
|
||||
Toolbars/PageControls/Hint: Choose which buttons are displayed on the main page toolbar
|
||||
Toolbars/ViewToolbar/Caption: View Toolbar
|
||||
Toolbars/ViewToolbar/Hint: Choose which buttons are displayed for tiddlers in view mode
|
||||
Tools/Caption: Tools
|
||||
Tools/Download/Full/Caption: Download full wiki
|
||||
Tools/Encryption/ChangePassword/Button: change password
|
||||
Tools/Encryption/ClearPassword/Button: clear password
|
||||
Tools/Encryption/Disabled/Prompt: This wiki is not encrypted
|
||||
Tools/Encryption/Enabled/Prompt: This wiki is encrypted
|
||||
Tools/Encryption/Heading: Encryption
|
||||
Tools/Encryption/SetPassword/Button: set password
|
||||
Tools/Export/AllAsStaticHTML/Caption: Download all tiddlers as static HTML
|
||||
Tools/Export/Heading: Export
|
||||
Tools/Import/Heading: Import
|
||||
Tools/Import/Hint: Browse for files on your computer to import their contents (the individual tiddlers within TiddlyWiki HTML files are imported separately). You can also drag and drop files directly to the browser window.
|
||||
Tools/Import/Prompt: Import:
|
||||
|
||||
14
core/language/en-GB/Help/makelibrary.tid
Normal file
14
core/language/en-GB/Help/makelibrary.tid
Normal file
@@ -0,0 +1,14 @@
|
||||
title: $:/language/Help/makelibrary
|
||||
description: Construct library plugin required by upgrade process
|
||||
|
||||
Constructs the `$:/UpgradeLibrary` tiddler for the upgrade process.
|
||||
|
||||
The upgrade library is formatted as an ordinary plugin tiddler with the plugin type `library`. It contains a copy of each of the plugins, themes and language packs available within the TiddlyWiki5 repository.
|
||||
|
||||
This command is intended for internal use; it is only relevant to users constructing a custom upgrade procedure.
|
||||
|
||||
```
|
||||
--makelibrary <title>
|
||||
```
|
||||
|
||||
The title argument defaults to `$:/UpgradeLibrary`.
|
||||
@@ -28,4 +28,10 @@ For example:
|
||||
--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd
|
||||
```
|
||||
|
||||
The username and password can be specified as empty strings if you need to set the hostname or pathprefix and don't want to require a password:
|
||||
|
||||
```
|
||||
--server 8080 $:/core/save/all text/plain text/html "" "" 192.168.0.245
|
||||
```
|
||||
|
||||
To run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
title: $:/language/Search/
|
||||
|
||||
Filter/Caption: Filter
|
||||
Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/TiddlerFilters.html]]
|
||||
Filter/Hint: Search via a [[filter expression|http://tiddlywiki.com/static/Filters.html]]
|
||||
Filter/Matches: //<small><$count filter={{$:/temp/advancedsearch}}/> matches</small>//
|
||||
Matches: //<small><$count filter="[!is[system]search{$:/temp/search}]"/> matches</small>//
|
||||
Shadows/Caption: Shadows
|
||||
|
||||
@@ -70,6 +70,8 @@ function parseFilterOperation(operators,filterString,p) {
|
||||
rexMatch = rex.exec(filterString.substring(p));
|
||||
if(rexMatch) {
|
||||
operator.regexp = new RegExp(rexMatch[1], rexMatch[2]);
|
||||
// DEPRECATION WARNING
|
||||
console.log("WARNING: Filter",operator.operator,"has a deprecated regexp operand",operator.regexp);
|
||||
nextBracketPos = p + rex.lastIndex - 1;
|
||||
}
|
||||
else {
|
||||
|
||||
68
core/modules/filters/regexp.js
Normal file
68
core/modules/filters/regexp.js
Normal file
@@ -0,0 +1,68 @@
|
||||
/*\
|
||||
title: $:/core/modules/filters/regexp.js
|
||||
type: application/javascript
|
||||
module-type: filteroperator
|
||||
|
||||
Filter operator for regexp matching
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
Export our filter function
|
||||
*/
|
||||
exports.regexp = function(source,operator,options) {
|
||||
var results = [],
|
||||
fieldname = (operator.suffix || "title").toLowerCase(),
|
||||
regexpString, regexp, flags = "", match,
|
||||
getFieldString = function(tiddler,title) {
|
||||
if(tiddler) {
|
||||
return tiddler.getFieldString(fieldname);
|
||||
} else if(fieldname === "title") {
|
||||
return title;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
// Process flags and construct regexp
|
||||
regexpString = operator.operand;
|
||||
match = /^\(\?([gim]+)\)/.exec(regexpString);
|
||||
if(match) {
|
||||
flags = match[1];
|
||||
regexpString = regexpString.substr(match[0].length);
|
||||
} else {
|
||||
match = /\(\?([gim]+)\)$/.exec(regexpString);
|
||||
if(match) {
|
||||
flags = match[1];
|
||||
regexpString = regexpString.substr(0,regexpString.length - match[0].length);
|
||||
}
|
||||
}
|
||||
regexp = new RegExp(regexpString,flags);
|
||||
// Process the incoming tiddlers
|
||||
if(operator.prefix === "!") {
|
||||
source(function(tiddler,title) {
|
||||
var text = getFieldString(tiddler,title);
|
||||
if(text !== null) {
|
||||
if(!regexp.exec(text)) {
|
||||
results.push(title);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
source(function(tiddler,title) {
|
||||
var text = getFieldString(tiddler,title);
|
||||
if(text !== null) {
|
||||
if(!!regexp.exec(text)) {
|
||||
results.push(title);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
return results;
|
||||
};
|
||||
|
||||
})();
|
||||
41
core/modules/macros/dumpvariables.js
Normal file
41
core/modules/macros/dumpvariables.js
Normal file
@@ -0,0 +1,41 @@
|
||||
/*\
|
||||
title: $:/core/modules/macros/dumpvariables.js
|
||||
type: application/javascript
|
||||
module-type: macro
|
||||
|
||||
Macro to dump all active variable values
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
Information about this macro
|
||||
*/
|
||||
|
||||
exports.name = "dumpvariables";
|
||||
|
||||
exports.params = [
|
||||
];
|
||||
|
||||
/*
|
||||
Run the macro
|
||||
*/
|
||||
exports.run = function() {
|
||||
var output = ["|!Variable |!Value |"],
|
||||
variables = [], variable;
|
||||
for(variable in this.variables) {
|
||||
variables.push(variable);
|
||||
}
|
||||
variables.sort();
|
||||
for(var index=0; index<variables.length; index++) {
|
||||
var variable = variables[index];
|
||||
output.push("|" + variable + " |<input size=50 value=<<" + variable + ">>/> |")
|
||||
}
|
||||
return output.join("\n");
|
||||
};
|
||||
|
||||
})();
|
||||
@@ -60,11 +60,12 @@ exports.parseKeyDescriptor = function(keyDescriptor) {
|
||||
};
|
||||
|
||||
exports.checkKeyDescriptor = function(event,keyInfo) {
|
||||
var metaKeyStatus = !!keyInfo.metaKey; // Using a temporary variable to keep JSHint happy
|
||||
return event.keyCode === keyInfo.keyCode &&
|
||||
event.shiftKey === keyInfo.shiftKey &&
|
||||
event.altKey === keyInfo.altKey &&
|
||||
event.ctrlKey === keyInfo.ctrlKey &&
|
||||
event.metaKey === keyInfo.metaKey;
|
||||
event.metaKey === metaKeyStatus;
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
@@ -36,7 +36,9 @@ BrowseWidget.prototype.render = function(parent,nextSibling) {
|
||||
// Create element
|
||||
var domNode = this.document.createElement("input");
|
||||
domNode.setAttribute("type","file");
|
||||
domNode.setAttribute("multiple","multiple");
|
||||
if(this.browseMultiple) {
|
||||
domNode.setAttribute("multiple","multiple");
|
||||
}
|
||||
// Add a click event handler
|
||||
domNode.addEventListener("change",function (event) {
|
||||
self.wiki.readFiles(event.target.files,function(tiddlerFieldsArray) {
|
||||
@@ -54,6 +56,7 @@ BrowseWidget.prototype.render = function(parent,nextSibling) {
|
||||
Compute the internal state of the widget
|
||||
*/
|
||||
BrowseWidget.prototype.execute = function() {
|
||||
this.browseMultiple = this.getAttribute("multiple");
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -50,8 +50,8 @@ ButtonWidget.prototype.render = function(parent,nextSibling) {
|
||||
if(this.style) {
|
||||
domNode.setAttribute("style",this.style);
|
||||
}
|
||||
if(this.title) {
|
||||
domNode.setAttribute("title",this.title);
|
||||
if(this.tooltip) {
|
||||
domNode.setAttribute("title",this.tooltip);
|
||||
}
|
||||
if(this["aria-label"]) {
|
||||
domNode.setAttribute("aria-label",this["aria-label"]);
|
||||
@@ -141,7 +141,14 @@ ButtonWidget.prototype.execute = function() {
|
||||
this.hover = this.getAttribute("hover");
|
||||
this["class"] = this.getAttribute("class","");
|
||||
this["aria-label"] = this.getAttribute("aria-label");
|
||||
this.title = this.getAttribute("title");
|
||||
this.tooltip = this.getAttribute("tooltip");
|
||||
// DEPRECATION WARNING
|
||||
var title = this.getAttribute("title");
|
||||
if(title) {
|
||||
console.log("WARNING: attribute 'title' on button widget should be replaced with 'tooltip'");
|
||||
this.tooltip = title;
|
||||
}
|
||||
|
||||
this.style = this.getAttribute("style");
|
||||
this.selectedClass = this.getAttribute("selectedClass");
|
||||
this.defaultSetValue = this.getAttribute("default");
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
title: $:/ControlPanel
|
||||
|
||||
<div class="tc-control-panel">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Basics">>
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]" "$:/core/ui/ControlPanel/Info">>
|
||||
</div>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced
|
||||
tags: $:/tags/ControlPanel
|
||||
tags: $:/tags/ControlPanel/Info
|
||||
caption: {{$:/language/ControlPanel/Advanced/Caption}}
|
||||
|
||||
{{$:/language/ControlPanel/Advanced/Hint}}
|
||||
|
||||
<div class="tc-control-panel">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]" "$:/core/ui/ControlPanel/Advanced/TiddlerFields">>
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]" "$:/core/ui/ControlPanel/TiddlerFields">>
|
||||
</div>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/LoadedModules
|
||||
tags: $:/tags/ControlPanel/Advanced
|
||||
caption: {{$:/language/ControlPanel/Advanced/LoadedModules/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/
|
||||
<<lingo LoadedModules/Hint>>
|
||||
|
||||
{{$:/snippets/modules}}
|
||||
@@ -1,19 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/Settings
|
||||
tags: $:/tags/ControlPanel/Advanced
|
||||
caption: {{$:/language/ControlPanel/Advanced/Settings/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/
|
||||
|
||||
<<lingo Hint>>
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced/Settings]]">
|
||||
|
||||
<div style="border-top:1px solid #eee;">
|
||||
|
||||
!! <$link><$transclude field="caption"/></$link>
|
||||
|
||||
<$transclude/>
|
||||
|
||||
</div>
|
||||
|
||||
</$list>
|
||||
@@ -1,10 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/Settings/NavigationHistory
|
||||
tags: $:/tags/ControlPanel/Advanced/Settings
|
||||
caption: {{$:/language/ControlPanel/Advanced/Settings/NavigationHistory/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/NavigationHistory/
|
||||
<$link to="$:/config/Navigation/UpdateHistory"><<lingo Hint>></$link>
|
||||
|
||||
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="yes"> <<lingo Yes/Description>> </$radio>
|
||||
|
||||
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="no"> <<lingo No/Description>> </$radio>
|
||||
@@ -1,9 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/TiddlerFields
|
||||
tags: $:/tags/ControlPanel/Advanced
|
||||
caption: {{$:/language/ControlPanel/Advanced/TiddlerFields/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/
|
||||
|
||||
<<lingo TiddlerFields/Hint>>
|
||||
|
||||
{{$:/snippets/allfields}}
|
||||
@@ -5,5 +5,5 @@ caption: {{$:/language/ControlPanel/Appearance/Caption}}
|
||||
{{$:/language/ControlPanel/Appearance/Hint}}
|
||||
|
||||
<div class="tc-control-panel">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Theme">>
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]" "$:/core/ui/ControlPanel/Theme">>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/StoryView
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Appearance/StoryView/Caption}}
|
||||
|
||||
{{$:/snippets/viewswitcher}}
|
||||
@@ -1,5 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/Theme
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Appearance/Theme/Caption}}
|
||||
|
||||
{{$:/snippets/themeswitcher}}
|
||||
@@ -1,9 +0,0 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/Toolbars
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Appearance/Toolbars/Caption}}
|
||||
|
||||
{{$:/language/ControlPanel/Appearance/Toolbars/Hint}}
|
||||
|
||||
<div class="tc-control-panel">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance/Toolbars]!has[draft.of]]" "$:/core/ui/ControlPanel/Appearance/Toolbars/ViewToolbar" "$:/state/tabs/controlpanel/toolbars" "tc-vertical">>
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
title: $:/core/ui/ControlPanel/Basics
|
||||
tags: $:/tags/ControlPanel
|
||||
tags: $:/tags/ControlPanel/Info
|
||||
caption: {{$:/language/ControlPanel/Basics/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Basics/
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/EditorTypes
|
||||
title: $:/core/ui/ControlPanel/EditorTypes
|
||||
tags: $:/tags/ControlPanel/Advanced
|
||||
caption: {{$:/language/ControlPanel/Advanced/EditorTypes/Caption}}
|
||||
caption: {{$:/language/ControlPanel/EditorTypes/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/EditorTypes/
|
||||
\define lingo-base() $:/language/ControlPanel/EditorTypes/
|
||||
|
||||
<<lingo Hint>>
|
||||
|
||||
9
core/ui/ControlPanel/Info.tid
Normal file
9
core/ui/ControlPanel/Info.tid
Normal file
@@ -0,0 +1,9 @@
|
||||
title: $:/core/ui/ControlPanel/Info
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: {{$:/language/ControlPanel/Info/Caption}}
|
||||
|
||||
{{$:/language/ControlPanel/Info/Hint}}
|
||||
|
||||
<div class="tc-control-panel">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]" "$:/core/ui/ControlPanel/Basics">>
|
||||
</div>
|
||||
8
core/ui/ControlPanel/LoadedModules.tid
Normal file
8
core/ui/ControlPanel/LoadedModules.tid
Normal file
@@ -0,0 +1,8 @@
|
||||
title: $:/core/ui/ControlPanel/LoadedModules
|
||||
tags: $:/tags/ControlPanel/Advanced
|
||||
caption: {{$:/language/ControlPanel/LoadedModules/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/
|
||||
<<lingo LoadedModules/Hint>>
|
||||
|
||||
{{$:/snippets/modules}}
|
||||
@@ -1,8 +1,8 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/Palette
|
||||
title: $:/core/ui/ControlPanel/Palette
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Appearance/Palette/Caption}}
|
||||
caption: {{$:/language/ControlPanel/Palette/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Appearance/Palette/
|
||||
\define lingo-base() $:/language/ControlPanel/Palette/
|
||||
|
||||
{{$:/snippets/paletteswitcher}}
|
||||
|
||||
@@ -64,12 +64,12 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
|
||||
<$list filter="[all[current]] -[[$:/core]]">
|
||||
<div style="float:right;">
|
||||
<$reveal type="nomatch" state=<<plugin-disable-title>> text="yes">
|
||||
<$button set=<<plugin-disable-title>> setTo="yes" title={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>
|
||||
<$button set=<<plugin-disable-title>> setTo="yes" tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}>
|
||||
<<lingo Disable/Caption>>
|
||||
</$button>
|
||||
</$reveal>
|
||||
<$reveal type="match" state=<<plugin-disable-title>> text="yes">
|
||||
<$button set=<<plugin-disable-title>> setTo="no" title={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>
|
||||
<$button set=<<plugin-disable-title>> setTo="no" tooltip={{$:/language/ControlPanel/Plugins/Enable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Enable/Caption}}>
|
||||
<<lingo Enable/Caption>>
|
||||
</$button>
|
||||
</$reveal>
|
||||
|
||||
@@ -13,10 +13,6 @@ http://$(userName)$.tiddlyspot.com/backup/
|
||||
</$set>
|
||||
</$reveal>
|
||||
\end
|
||||
! <<lingo Heading>>
|
||||
|
||||
|<<lingo AutoSave>> |{{$:/snippets/autosavestatus}} |
|
||||
|
||||
! <<lingo TiddlySpot/Heading>>
|
||||
|
||||
|<<lingo TiddlySpot/UserName>> |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> |
|
||||
|
||||
19
core/ui/ControlPanel/Settings.tid
Normal file
19
core/ui/ControlPanel/Settings.tid
Normal file
@@ -0,0 +1,19 @@
|
||||
title: $:/core/ui/ControlPanel/Settings
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: {{$:/language/ControlPanel/Settings/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/
|
||||
|
||||
<<lingo Hint>>
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings]]">
|
||||
|
||||
<div style="border-top:1px solid #eee;">
|
||||
|
||||
!! <$link><$transclude field="caption"/></$link>
|
||||
|
||||
<$transclude/>
|
||||
|
||||
</div>
|
||||
|
||||
</$list>
|
||||
11
core/ui/ControlPanel/Settings/AutoSave.tid
Normal file
11
core/ui/ControlPanel/Settings/AutoSave.tid
Normal file
@@ -0,0 +1,11 @@
|
||||
title: $:/core/ui/ControlPanel/Settings/AutoSave
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
caption: {{$:/language/ControlPanel/Settings/AutoSave/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/AutoSave/
|
||||
|
||||
<$link to="$:/config/AutoSave"><<lingo Hint>></$link>
|
||||
|
||||
<$radio tiddler="$:/config/AutoSave" value="yes"> <<lingo Enabled/Description>> </$radio>
|
||||
|
||||
<$radio tiddler="$:/config/AutoSave" value="no"> <<lingo Disabled/Description>> </$radio>
|
||||
@@ -1,8 +1,8 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/Settings/NavigationAddressBar
|
||||
tags: $:/tags/ControlPanel/Advanced/Settings
|
||||
caption: {{$:/language/ControlPanel/Advanced/Settings/NavigationAddressBar/Caption}}
|
||||
title: $:/core/ui/ControlPanel/Settings/NavigationAddressBar
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
caption: {{$:/language/ControlPanel/Settings/NavigationAddressBar/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/NavigationAddressBar/
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/NavigationAddressBar/
|
||||
|
||||
<$link to="$:/config/Navigation/UpdateAddressBar"><<lingo Hint>></$link>
|
||||
|
||||
10
core/ui/ControlPanel/Settings/NavigationHistory.tid
Normal file
10
core/ui/ControlPanel/Settings/NavigationHistory.tid
Normal file
@@ -0,0 +1,10 @@
|
||||
title: $:/core/ui/ControlPanel/Settings/NavigationHistory
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
caption: {{$:/language/ControlPanel/Settings/NavigationHistory/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/NavigationHistory/
|
||||
<$link to="$:/config/Navigation/UpdateHistory"><<lingo Hint>></$link>
|
||||
|
||||
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="yes"> <<lingo Yes/Description>> </$radio>
|
||||
|
||||
<$radio tiddler="$:/config/Navigation/UpdateHistory" value="no"> <<lingo No/Description>> </$radio>
|
||||
@@ -1,8 +1,8 @@
|
||||
title: $:/core/ui/ControlPanel/Advanced/Settings/ToolbarButtons
|
||||
tags: $:/tags/ControlPanel/Advanced/Settings
|
||||
caption: {{$:/language/ControlPanel/Advanced/Settings/ToolbarButtons/Caption}}
|
||||
title: $:/core/ui/ControlPanel/Settings/ToolbarButtons
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
caption: {{$:/language/ControlPanel/Settings/ToolbarButtons/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Advanced/Settings/ToolbarButtons/
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtons/
|
||||
<<lingo Hint>>
|
||||
|
||||
<$checkbox tiddler="$:/config/Toolbar/Icons" field="text" checked="yes" unchecked="no" default="yes"> <$link to="$:/config/Toolbar/Icons"><<lingo Icons/Description>></$link> </$checkbox>
|
||||
5
core/ui/ControlPanel/StoryView.tid
Normal file
5
core/ui/ControlPanel/StoryView.tid
Normal file
@@ -0,0 +1,5 @@
|
||||
title: $:/core/ui/ControlPanel/StoryView
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/StoryView/Caption}}
|
||||
|
||||
{{$:/snippets/viewswitcher}}
|
||||
5
core/ui/ControlPanel/Theme.tid
Normal file
5
core/ui/ControlPanel/Theme.tid
Normal file
@@ -0,0 +1,5 @@
|
||||
title: $:/core/ui/ControlPanel/Theme
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Theme/Caption}}
|
||||
|
||||
{{$:/snippets/themeswitcher}}
|
||||
9
core/ui/ControlPanel/TiddlerFields.tid
Normal file
9
core/ui/ControlPanel/TiddlerFields.tid
Normal file
@@ -0,0 +1,9 @@
|
||||
title: $:/core/ui/ControlPanel/TiddlerFields
|
||||
tags: $:/tags/ControlPanel/Advanced
|
||||
caption: {{$:/language/ControlPanel/TiddlerFields/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/
|
||||
|
||||
<<lingo TiddlerFields/Hint>>
|
||||
|
||||
{{$:/snippets/allfields}}
|
||||
9
core/ui/ControlPanel/Toolbars.tid
Normal file
9
core/ui/ControlPanel/Toolbars.tid
Normal file
@@ -0,0 +1,9 @@
|
||||
title: $:/core/ui/ControlPanel/Toolbars
|
||||
tags: $:/tags/ControlPanel/Appearance
|
||||
caption: {{$:/language/ControlPanel/Toolbars/Caption}}
|
||||
|
||||
{{$:/language/ControlPanel/Toolbars/Hint}}
|
||||
|
||||
<div class="tc-control-panel">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]" "$:/core/ui/ControlPanel/Toolbars/ViewToolbar" "$:/state/tabs/controlpanel/toolbars" "tc-vertical">>
|
||||
</div>
|
||||
@@ -1,13 +1,13 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/Toolbars/EditToolbar
|
||||
tags: $:/tags/ControlPanel/Appearance/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Appearance/Toolbars/EditToolbar/Caption}}
|
||||
title: $:/core/ui/ControlPanel/Toolbars/EditToolbar
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Toolbars/EditToolbar/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
\define config-title()
|
||||
$:/config/EditToolbarButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
|
||||
{{$:/language/ControlPanel/Appearance/Toolbars/EditToolbar/Hint}}
|
||||
{{$:/language/ControlPanel/Toolbars/EditToolbar/Hint}}
|
||||
|
||||
<$set name="tv-config-toolbar-icons" value="yes">
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/Toolbars/PageControls
|
||||
tags: $:/tags/ControlPanel/Appearance/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Appearance/Toolbars/PageControls/Caption}}
|
||||
title: $:/core/ui/ControlPanel/Toolbars/PageControls
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Toolbars/PageControls/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
\define config-title()
|
||||
$:/config/PageControlButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
|
||||
{{$:/language/ControlPanel/Appearance/Toolbars/PageControls/Hint}}
|
||||
{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}
|
||||
|
||||
<$set name="tv-config-toolbar-icons" value="yes">
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance/Toolbars/ViewToolbar
|
||||
tags: $:/tags/ControlPanel/Appearance/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Appearance/Toolbars/ViewToolbar/Caption}}
|
||||
title: $:/core/ui/ControlPanel/Toolbars/ViewToolbar
|
||||
tags: $:/tags/ControlPanel/Toolbars
|
||||
caption: {{$:/language/ControlPanel/Toolbars/ViewToolbar/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/
|
||||
\define config-title()
|
||||
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
|
||||
{{$:/language/ControlPanel/Appearance/Toolbars/ViewToolbar/Hint}}
|
||||
{{$:/language/ControlPanel/Toolbars/ViewToolbar/Hint}}
|
||||
|
||||
<$set name="tv-config-toolbar-icons" value="yes">
|
||||
|
||||
@@ -3,16 +3,9 @@ tags: $:/tags/ControlPanel
|
||||
caption: {{$:/language/ControlPanel/Tools/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Tools/
|
||||
! <<lingo Import/Heading>>
|
||||
|
||||
<$browse/>
|
||||
|
||||
<<lingo Import/Hint>>
|
||||
//Note that before the end of the beta this tab will be removed, and more extensive export options made available via toolbar buttons//
|
||||
|
||||
! <<lingo Export/Heading>>
|
||||
|
||||
<$button message="tm-download-file" param="$:/core/templates/alltiddlers.template.html" class="tc-btn-big-green"><<lingo Export/AllAsStaticHTML/Caption>> {{$:/core/images/save-button}}</$button>
|
||||
|
||||
! <<lingo Encryption/Heading>>
|
||||
|
||||
{{$:/snippets/encryptionstatus}}
|
||||
|
||||
@@ -24,11 +24,8 @@ background-color:$(backgroundColor)$;
|
||||
</div>
|
||||
|
||||
<div class="tc-block-dropdown-wrapper">
|
||||
|
||||
<$reveal state=<<qualify "$:/state/popup/tags-auto-complete">> type="nomatch" text="" default="">
|
||||
|
||||
<div class="tc-block-dropdown">
|
||||
|
||||
<$linkcatcher set="$:/temp/NewTagName" setTo="" message="tm-add-tag">
|
||||
<$list filter="[!is[shadow]tags[]search{$:/temp/NewTagName}sort[title]]">
|
||||
<$link>
|
||||
@@ -40,9 +37,7 @@ background-color:$(backgroundColor)$;
|
||||
</$link>
|
||||
</$list>
|
||||
</$linkcatcher>
|
||||
|
||||
</div>
|
||||
|
||||
</$reveal>
|
||||
</div>
|
||||
</$fieldmangler>
|
||||
|
||||
@@ -2,7 +2,9 @@ title: $:/core/ui/EditTemplate/type
|
||||
tags: $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/
|
||||
<p><$fieldmangler><em class="tc-edit"><<lingo Type/Prompt>></em> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<<qualify "$:/state/popup/type-dropdown">> class="tc-edit-typeeditor"/> <$button popup=<<qualify "$:/state/popup/type-dropdown">> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tm-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}</$button></$fieldmangler></p>
|
||||
<div class="tc-type-selector"><$fieldmangler>
|
||||
<em class="tc-edit"><<lingo Type/Prompt>></em> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<<qualify "$:/state/popup/type-dropdown">> class="tc-edit-typeeditor"/> <$button popup=<<qualify "$:/state/popup/type-dropdown">> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}}</$button> <$button message="tm-remove-field" param="type" class="tc-btn-invisible tc-btn-icon">{{$:/core/images/delete-button}}</$button>
|
||||
</$fieldmangler></div>
|
||||
|
||||
<div class="tc-block-dropdown-wrapper">
|
||||
<$reveal state=<<qualify "$:/state/popup/type-dropdown">> type="nomatch" text="" default="">
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/EditToolbar
|
||||
caption: {{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}
|
||||
description: {{$:/language/Buttons/Cancel/Hint}}
|
||||
|
||||
<$button message="tm-cancel-tiddler" title={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-cancel-tiddler" tooltip={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/cancel-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/EditToolbar
|
||||
caption: {{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}
|
||||
description: {{$:/language/Buttons/Delete/Hint}}
|
||||
|
||||
<$button message="tm-delete-tiddler" title={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-delete-tiddler" tooltip={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/delete-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/EditToolbar
|
||||
caption: {{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}
|
||||
description: {{$:/language/Buttons/Save/Hint}}
|
||||
|
||||
<$button message="tm-save-tiddler" title={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-save-tiddler" tooltip={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/done-button}}
|
||||
</$list>
|
||||
|
||||
@@ -2,4 +2,4 @@ title: $:/core/ui/MoreSideBar/Recent
|
||||
tags: $:/tags/MoreSideBar
|
||||
caption: {{$:/language/SideBar/Recent/Caption}}
|
||||
|
||||
{{$:/snippets/recentchanges}}
|
||||
<$macrocall $name="timeline" format={{$:/language/RecentChanges/DateFormat}}/>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}}
|
||||
description: {{$:/language/Buttons/CloseAll/Hint}}
|
||||
|
||||
<$button message="tm-close-all-tiddlers" title={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-close-all-tiddlers" tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/close-all-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}
|
||||
description: {{$:/language/Buttons/ControlPanel/Hint}}
|
||||
|
||||
<$button to="$:/ControlPanel" title={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/options-button}}
|
||||
</$list>
|
||||
|
||||
@@ -4,7 +4,7 @@ caption: {{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Capt
|
||||
description: {{$:/language/Buttons/Encryption/Hint}}
|
||||
|
||||
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
||||
<$button message="tm-clear-password" title={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-clear-password" tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/locked-padlock}}
|
||||
</$list>
|
||||
@@ -14,7 +14,7 @@ description: {{$:/language/Buttons/Encryption/Hint}}
|
||||
</$button>
|
||||
</$reveal>
|
||||
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
||||
<$button message="tm-set-password" title={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-set-password" tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/unlocked-padlock}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}}
|
||||
description: {{$:/language/Buttons/FullScreen/Hint}}
|
||||
|
||||
<$button message="tm-full-screen" title={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-full-screen" tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/full-screen-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}
|
||||
description: {{$:/language/Buttons/Home/Hint}}
|
||||
|
||||
<$button message="tm-home" title={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-home" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/home-button}}
|
||||
</$list>
|
||||
|
||||
@@ -4,7 +4,7 @@ caption: {{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}}
|
||||
description: {{$:/language/Buttons/Import/Hint}}
|
||||
|
||||
<div class="tc-file-input-wrapper">
|
||||
<$button title={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button tooltip={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/import-button}}
|
||||
</$list>
|
||||
|
||||
@@ -6,7 +6,7 @@ description: {{$:/language/Buttons/Language/Hint}}
|
||||
\define flag-title()
|
||||
$(languagePluginTitle)$/icon
|
||||
\end
|
||||
<$button popup=<<qualify "$:/state/popup/language">> title={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$button popup=<<qualify "$:/state/popup/language">> tooltip={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
<span class="tc-image-button">
|
||||
<$set name="languagePluginTitle" value={{$:/language}}>
|
||||
|
||||
@@ -6,7 +6,7 @@ description: {{$:/language/Buttons/More/Hint}}
|
||||
\define config-title()
|
||||
$:/config/PageControlButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
<$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$button popup=<<qualify "$:/state/popup/more">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/down-arrow}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}
|
||||
description: {{$:/language/Buttons/NewTiddler/Hint}}
|
||||
|
||||
<$button message="tm-new-tiddler" title={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-new-tiddler" tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/new-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}}
|
||||
description: {{$:/language/Buttons/Refresh/Hint}}
|
||||
|
||||
<$button message="tm-browser-refresh" title={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-browser-refresh" tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/refresh-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}}
|
||||
description: {{$:/language/Buttons/SaveWiki/Hint}}
|
||||
|
||||
<$button message="tm-save-wiki" param={{$:/config/SaveWikiButton/Template}} title={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-save-wiki" param={{$:/config/SaveWikiButton/Template}} tooltip={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<span class="tc-dirty-indicator">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/save-button}}
|
||||
|
||||
@@ -6,7 +6,7 @@ description: {{$:/language/Buttons/StoryView/Hint}}
|
||||
\define icon()
|
||||
$:/core/images/storyview-$(storyview)$
|
||||
\end
|
||||
<$button popup=<<qualify "$:/state/popup/storyview">> title={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$button popup=<<qualify "$:/state/popup/storyview">> tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
<$set name="storyview" value={{$:/view}}>
|
||||
<$transclude tiddler=<<icon>>/>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}}
|
||||
description: {{$:/language/Buttons/TagManager/Hint}}
|
||||
|
||||
<$button to="$:/TagManager" title={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button to="$:/TagManager" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/tag-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}
|
||||
description: {{$:/language/Buttons/Theme/Hint}}
|
||||
|
||||
<$button popup=<<qualify "$:/state/popup/theme">> title={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$button popup=<<qualify "$:/state/popup/theme">> tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/theme-button}}
|
||||
</$list>
|
||||
|
||||
@@ -2,8 +2,12 @@ title: $:/core/ui/PageStylesheet
|
||||
|
||||
<$importvariables filter="[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
|
||||
<$transclude/>
|
||||
<!-- DEPRECATION WARNING --><$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
|
||||
<$transclude mode="block"/>
|
||||
</$list>
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
|
||||
<$transclude mode="block"/>
|
||||
</$list>
|
||||
|
||||
</$importvariables>
|
||||
|
||||
@@ -3,6 +3,12 @@ tags: $:/tags/PageTemplate
|
||||
|
||||
<section class="tc-story-river">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/stylesheet]!has[draft.of]]">
|
||||
|
||||
<!-- DEPRECATION WARNING -->WARNING: tag "$:/tags/stylesheet" on <$link><$view field="title"/></$link> should be replaced with "$:/tags/Stylesheet"
|
||||
|
||||
</$list>
|
||||
|
||||
<section class="story-backdrop">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]">
|
||||
|
||||
@@ -5,7 +5,7 @@ caption: {{$:/language/SideBar/Open/Caption}}
|
||||
\define lingo-base() $:/language/CloseAll/
|
||||
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
|
||||
|
||||
<$button message="tm-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">×</$button> <$link to={{!!title}}><$view field="title"/></$link>
|
||||
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">×</$button> <$link to={{!!title}}><$view field="title"/></$link>
|
||||
|
||||
</$list>
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@ title: $:/core/ui/SideBar/Recent
|
||||
tags: $:/tags/SideBar
|
||||
caption: {{$:/language/SideBar/Recent/Caption}}
|
||||
|
||||
{{$:/snippets/recentchanges}}
|
||||
<$macrocall $name="timeline" format={{$:/language/RecentChanges/DateFormat}}/>
|
||||
|
||||
@@ -2,8 +2,8 @@ title: $:/core/ui/TopBar/menu
|
||||
tags: $:/tags/TopRightBar
|
||||
|
||||
<$reveal state="$:/state/sidebar" type="nomatch" text="no">
|
||||
<$button set="$:/state/sidebar" setTo="no" title={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class="tc-btn-invisible">{{$:/core/images/chevron-right}}</$button>
|
||||
<$button set="$:/state/sidebar" setTo="no" tooltip={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class="tc-btn-invisible">{{$:/core/images/chevron-right}}</$button>
|
||||
</$reveal>
|
||||
<$reveal state="$:/state/sidebar" type="match" text="no">
|
||||
<$button set="$:/state/sidebar" setTo="yes" title={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class="tc-btn-invisible">{{$:/core/images/chevron-left}}</$button>
|
||||
<$button set="$:/state/sidebar" setTo="yes" tooltip={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class="tc-btn-invisible">{{$:/core/images/chevron-left}}</$button>
|
||||
</$reveal>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewTemplate
|
||||
|
||||
<div class="tc-tiddler-body">
|
||||
|
||||
<$list filter="[all[current]!has[plugin-type]]">
|
||||
<$list filter="[all[current]!has[plugin-type]!field:hide-body[yes]]">
|
||||
|
||||
<$transclude>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar
|
||||
caption: {{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}
|
||||
description: {{$:/language/Buttons/Clone/Hint}}
|
||||
|
||||
<$button message="tm-new-tiddler" param=<<currentTiddler>> title={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-new-tiddler" param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/clone-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar
|
||||
caption: {{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}
|
||||
description: {{$:/language/Buttons/CloseOthers/Hint}}
|
||||
|
||||
<$button message="tm-close-other-tiddlers" param=<<currentTiddler>> title={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-close-other-tiddlers" param=<<currentTiddler>> tooltip={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/close-others-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar
|
||||
caption: {{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}
|
||||
description: {{$:/language/Buttons/Close/Hint}}
|
||||
|
||||
<$button message="tm-close-tiddler" title={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/close-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar
|
||||
caption: {{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}
|
||||
description: {{$:/language/Buttons/Edit/Hint}}
|
||||
|
||||
<$button message="tm-edit-tiddler" title={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-edit-tiddler" tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/edit-button}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar
|
||||
caption: {{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}
|
||||
description: {{$:/language/Buttons/Info/Hint}}
|
||||
|
||||
<$button popup=<<tiddlerInfoState>> title={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$button popup=<<tiddlerInfoState>> tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/info-button}}
|
||||
</$list>
|
||||
|
||||
@@ -6,7 +6,7 @@ description: {{$:/language/Buttons/More/Hint}}
|
||||
\define config-title()
|
||||
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
<$button popup=<<qualify "$:/state/popup/more">> title={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$button popup=<<qualify "$:/state/popup/more">> tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/down-arrow}}
|
||||
</$list>
|
||||
|
||||
@@ -3,7 +3,7 @@ tags: $:/tags/ViewToolbar
|
||||
caption: {{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}
|
||||
description: {{$:/language/Buttons/Permalink/Hint}}
|
||||
|
||||
<$button message="tm-permalink" title={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$button message="tm-permalink" tooltip={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/permalink-button}}
|
||||
</$list>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user