diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt
index ad2e2ee9a..be538437f 100644
--- a/docs/changelog/6.x.x.txt
+++ b/docs/changelog/6.x.x.txt
@@ -83,6 +83,9 @@
- bugfix [ 977201 ] ws client bug
- bugfix [ 969740 ] Messageboard: Deleting of postings
- Added an option to sort a select list by its values. Thanks to Roy Johnson.
+ - RFE [ 960747 ] Make the attachment box templated. Thanks to Flavio Curti.
+ - Snippets can now take up to 9 optional parameters as replacements similar
+ to the SQL macro. Thanks to Andreas Ljunggren.
6.0.3
diff --git a/docs/upgrades/upgrade_6.0.3-6.1.0.sql b/docs/upgrades/upgrade_6.0.3-6.1.0.sql
index 809d43fbd..9760e4467 100644
--- a/docs/upgrades/upgrade_6.0.3-6.1.0.sql
+++ b/docs/upgrades/upgrade_6.0.3-6.1.0.sql
@@ -15,5 +15,6 @@ INSERT INTO template VALUES (1,'Default Group Delete Macro','
\r\n
\r\n![]() | \r\n | \r\n
'.
- '![]() |
NOTES: You can also use the special case ^a(linkonly); to return only the URL to the account page and nothing more. Also, the .myAccountLink style sheet class is tied to this macro. @@ -4649,7 +4649,7 @@ Displays a small text message to a user who is in admin mode. Example: ^Admi
^AdminToggle; or ^AdminToggle();
-Places a link on the page which is only visible to content managers and adminstrators. The link toggles on/off admin mode. You can optionally specify other messages to display like this: ^AdminToggle("Edit On","Edit Off");
+Places a link on the page which is only visible to content managers and adminstrators. The link toggles on/off admin mode. You can optionally specify other messages to display like this: ^AdminToggle("Edit On","Edit Off");
This macro optionally takes a third parameter that allows you to specify an alternate template name in the Macro/AdminToggle namespace.
^CanEditText();
@@ -4659,18 +4659,18 @@ Display a message to a user that can edit the current page.
^EditableToggle; or ^EditableToggle();
-Exactly the same as AdminToggle, except that the toggle is only displayed if the user has the rights to edit the current page.
+Exactly the same as AdminToggle, except that the toggle is only displayed if the user has the rights to edit the current page. This macro takes up to three parameters. The first is a labe for "Turn Admin On", the second is a label for "Turn Admin Off", and the third is the name of a template in the Macro/EditableToggle namespace to replace the default template.
^GroupAdd();
-Using this macro you can allow users to add themselves to a group. The first parameter is the name of the group this user should be added to. The second parameter is a text string for the user to click on to add themselves to this group.
+Using this macro you can allow users to add themselves to a group. The first parameter is the name of the group this user should be added to. The second parameter is a text string for the user to click on to add themselves to this group.
The third parameter allows you to specify the name of a template in the Macro/GroupAdd namespace to replace the default template.
NOTE: If the user is not logged in, or or already belongs to the group, or the group is not set to allow auto adds, then no link will be displayed.
^GroupDelete();
-Using this macro you can allow users to delete themselves from a group. The first parameter is the name of the group this user should be deleted from. The second parameter is a text string for the user to click on to delete themselves from this group.
+Using this macro you can allow users to delete themselves from a group. The first parameter is the name of the group this user should be deleted from. The second parameter is a text string for the user to click on to delete themselves from this group.
The third parameter allows you to specify the name of a template in the Macro/GroupDelete namespace to replace the default template.
NOTE: If the user is not logged in or the user does not belong to the group, or the group is not set to allow auto deletes, then no link will be displayed.
@@ -4702,7 +4702,7 @@ The user id of the currently logged in user.
|,
- lastUpdated => 1053779917
+ lastUpdated => 1089730066
},
'841' => {
@@ -5776,7 +5776,7 @@ Using parameters
^Snippet();
-This macro retrieves the contents of a snippet in the collateral management system and inserts it into the page.
+This macro retrieves the contents of a snippet in the collateral management system and inserts it into the page.
You can optionally specify up to 9 additional parameters that will be replace these special characters in the snippet: ^1; ^2; ^3; ^4; ^5; ^6; ^7; ^8; ^9;
These macros are used to create navigation on the site.
^H; or ^H(); - Home Link
A link to the home page of this site. In addition you can change the link text by creating a macro like this ^H("Go Home");.
-
NOTES: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more. Also, the .homeLink style sheet class is tied to this macro.
+NOTES: You can also use the special case ^H(linkonly); to return only the URL to the home page and nothing more. Also, the .homeLink style sheet class is tied to this macro. And you can specify a second parameter that with the name of a template in the Macro/H_homeLink namespace that will override the default template.
^/; - System URL
The URL to the gateway script (example: /index.pl/).
^\; - Page URL
The URL to the current page (example: /index.pl/pagename).
^Navigation(crumbTrail);
A dynamically generated crumb trail to the current page.
@@ -6985,7 +6985,7 @@ The description of this forum as passed by the calling object.
.selectedMenuItem
Use this class to highlight the current page in any of the menu macros.
.verticalMenu
The vertical menu (if you use a vertical menu macro).
.horizontalMenu
The horizontal menu (if you use a horizontal menu macro).