Replaced the account.options loop in the displayAccount auth methods with new macros for displaying deactivate account and back to site links. Another macro which allows text to be displayed according to whether the value passed in is empty or not was added to allow functionality similar to that which currently exists.
This commit is contained in:
parent
d91bc5754d
commit
32979d75e1
13 changed files with 175 additions and 82 deletions
|
|
@ -5,6 +5,9 @@
|
|||
- New Inbox Account module added providing a better interface into WebGUI's various messaging systems
|
||||
- New Friends Account module added providing a better interface into WebGUI's friends system
|
||||
- The Display Account and My Purchases interfaces have been added to the new Account system
|
||||
- Added a new macro which returns the self deactivation link if the setting is enabled.
|
||||
- Added a new macro which returns the back to site link
|
||||
- Added a new macro which allows users to test to see if a value is not empty and set the display text accordingly.
|
||||
not be imported, only the surveys themselves.
|
||||
- Made syndicated content asset use cache.
|
||||
- Added Cashier/Point of Sale mode for the Shop.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,11 @@ save you many hours of grief.
|
|||
custom templates prior to upgrading as you will need to modify them for
|
||||
the new system.
|
||||
|
||||
* The Survey system has been completely updated. Please make sure you
|
||||
* The Auth display account template no longer has the account.options loop
|
||||
available. This loop has been replaced entirely by macros to provide more
|
||||
flexibility. Any custom templates will need to be updated accordingly.
|
||||
|
||||
* The Survey system has been completely updated. Please make sure you
|
||||
create full backups of your survey results and export them as needed.
|
||||
Results will not be imported into the new Survey system. Your old surveys
|
||||
will be imported into the new survey system.
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -383,6 +383,12 @@ sub upgradeAccount {
|
|||
}
|
||||
$session->config->set( "contentHandlers", \@newHandlers );
|
||||
}
|
||||
|
||||
#Add new macros to the config file
|
||||
$session->config->addToHash("macros","BackToSite","BackToSite");
|
||||
$session->config->addToHash("macros","HasValueText","HasValueText");
|
||||
$session->config->addToHash("macros","DeactivateAccount","DeactivateAccount");
|
||||
|
||||
|
||||
#Add the settings for the profile module
|
||||
$setting->add("profileStyleTemplateId",""); #Use the userStyle by default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue