%META:TOPICINFO{author="TWikiContributor" date="1380835506" format="1.1" version="4"}% ---+ Bookmarks Application Page This page contains several parts that are used by user bookmark pages. Bookmark pages reside in the %USERSWEB% web and are named <wikiname>Bookmarks, such as !JimmyNeutronBookmarks. ---++ Bookmarks Preview in Account Pulldown Menu %STARTINCLUDE%
  *Preview:*   %IF{ "' %SKIN% ' ~ '*topmenu*'" then="" else="$percntINCLUDE{%SYSTEMWEB%.TopMenuSkin}$percnt"}%
*       * [[%WIKIUSERNAME%][ %ICON{"person"}% %MAKETEXT{"Account"}% %ICON{menu-down}%]] %IF{ "context authenticated" then=' * [[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]' else="" }% %IF{ "context registration_supported AND context registration_enabled" then=" * [[%SYSTEMWEB%.TWikiRegistration][%MAKETEXT{"Register User"}%]]" else="" }% * [[%USERSWEB%.%BASETOPIC%][----- %MAKETEXT{Bookmarks}% -----]] * [[%SCRIPTURL{viewauth}%/%USERSWEB%/%BASETOPIC%?link=%BASEWEB%.%BASETOPIC%;label=%CALC{$NOP(%)ENCODE{$PROPERSPACE($SUBSTRING(.%BASETOPIC%,2,20))}$NOP(%)}%#AddBookmark][Bookmark this page...]] %SEARCH{ "^\| *<\!\-\-BOOKMARK\-\-> *\|" type="regex" web="%USERSWEB%" topic="%BASETOPIC%" multiple="on" nonoise="on" format=" * [[$pattern(\| *<\!\-\-BOOKMARK\-\-> *\| *(.*?) *\|.*)][$pattern(\| *<\!\-\-BOOKMARK\-\-> *\|[^\|]*\| *(.*?) *\|.*)]]" }% *      
%STOPINCLUDE%
---++ Edit Table Definition %EDITTABLE{ format="| label, 1, | text, 40 | text, 20 |" changerows="add" buttonrow="bottom" editbutton="Edit bookmarks" }% ---++ Comment Plugin Input Form Definition %TMPL:DEF{PROMPT:bookmark_page_comment_template}%
#AddBookmark ---++ Add Bookmark
%T% Visit any topic and select "Bookmark this page" in the "%MAKETEXT{"Account"}%" pulldown menu. Alternatively, add a bookmark here.
%T% Modify the Link Label if desired, and press "Add Bookmark" to create a bookmark for [[%URLPARAM{ "link" encode="html" }%]].
*Link:*     %GRAY% =Web.TopicName= or =URL= %ENDCOLOR% *Link Label:*     %GRAY% keep it short %ENDCOLOR%
[[ ][ ]]   [[%TOPIC%][Cancel]]
Example:  =Engineering.StatusReport= =Status report=
%BR%%TMPL:END%
---++ Comment Plugin Output Form Definition %TMPL:DEF{OUTPUT:bookmark_page_comment_template}%%POS:BEFORE%| | %URLPARAM{ "link" encode="moderate" }% | %URLPARAM{ "label" encode="moderate" }% | %TMPL:END% __Related:__ UserBookmarksTemplate, %USERSWEB%.UserList, PatternSkin