From edc61df7386d4e417de748490acc2056d05811e0 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 1 Jan 2010 23:18:44 +0000 Subject: [PATCH] dynamic inclusion of JS files --- lam/docs/devel/upgrade.htm | 174 ++++++++++++++++++++++++------------- 1 file changed, 113 insertions(+), 61 deletions(-) diff --git a/lam/docs/devel/upgrade.htm b/lam/docs/devel/upgrade.htm index 8e10aefe..dacbe1d6 100644 --- a/lam/docs/devel/upgrade.htm +++ b/lam/docs/devel/upgrade.htm @@ -1,128 +1,182 @@ - -Upgrade notes - - - - - - - + + Upgrade notes - - - - - -
+ + + + +

Upgrade notes

-
+ This is a list of API changes for all LAM releases. -

-

2.8.0 -> 2.9.0

-Several functions of the cache class were removed.

+ +
+ +

2.9.0 -> 3.0.0

+ +You can now integrate JavaScript libraries by simply putting the files +into templates/lib. All files with the name *.js are automatically +included on all pages.
+ +
+
+ +

2.8.0 -> 2.9.0

+ +Several functions of the cache +class were removed.
+ +
+
+

2.5.0 -> 2.6.0

-The class baseType has two new member variables:
+ +The class baseType +has two new member variables:
+
    +
  • $LABEL_CREATE_ANOTHER_ACCOUNT
  • $LABEL_BACK_TO_ACCOUNT_LIST
+ They can be used to show a more specific text when the user is asked to create another account or return back to the account list.
-
-The meta HTML code now supports image buttons.
-
-
-

2.4.0 -> 2.5.0

-

Self service

-$selfServiceSettings in class baseModule is now an object of the class selfServiceProfile. This way all profile settings can be read. To access the module settings use $this->selfServiceSettings->moduleSettings.
-
-
-
-
+
+ +The meta HTML code now supports image buttons.
+ +
+ +
+ +

2.4.0 -> 2.5.0

+ +

Self service

+ +$selfServiceSettings in class baseModule is now an object of the +class selfServiceProfile. +This way all profile settings can be read. To access the module +settings use $this->selfServiceSettings->moduleSettings.
+ +
+ +

2.2.0 -> 2.3.0

+

Style changes

-If you have defined your own account types then you need to update your CSS files (style/type_<type>.css).
+ +If you have defined your own account types then you need to update your +CSS files (style/type_<type>.css).
+ Please change "table.<type>list input,select" to "table.<type>list input,select,button" and "fieldset.<type>edit input" to "fieldset.<type>edit input,select,button". "fieldset.<type>edit select" may be deleted afterwards.
+
+
+

2.1.0 -> 2.2.0

Account lists

-Account lists now support to define tools. These are displayed as linked images like the edit and delete links in the list.
-Overwrite lamList::getAdditionalTools() to use this feature.
+Account lists now support to define tools. These are displayed as +linked images like the edit and delete links in the list.
+ +Overwrite lamList::getAdditionalTools() +to use this feature.

-The definition of account list options changed. The function lamList::getAdditionalTools() is no longer available. Use these functions instead: lamList::listGetAllConfigOptions() and lamList::listConfigurationChanged().
+The definition of account list options changed. The function lamList::getAdditionalTools() is no +longer available. Use these functions instead: lamList::listGetAllConfigOptions() +and lamList::listConfigurationChanged().
All options are now saved in cookies for one year.

+

Base module

- -The baseModule class has a new protected option: $autoAddObjectClasses You can set it to false if you do not want that your module's object classes are added when creating or loading an account.
+The baseModule class has a new +protected option: $autoAddObjectClasses +You can set it to false if you do not want that your module's +object classes are added when creating or loading an account.

Account modules can now have icons. See baseModule->getIcon().
-
+

Constructors

+ LAM now uses the PHP5 syntax for constructors: __construct()

Extended security model

+ Each server profile now defines an access level.
+
+ Currently these are:
+ - Please check your code and prohibit any actions which do not fit the current access level.
-There are two new functions in security.inc: checkIfWriteAccessIsAllowed() and checkIfPasswordChangeIsAllowed()
+ + Please check your code and +prohibit any actions which do not fit the current access level.
+ +There are two new functions in security.inc: +checkIfWriteAccessIsAllowed() +and checkIfPasswordChangeIsAllowed()
+ Only LAM Pro allows to change the access level from write access to a smaller level.
-
+
+

2.0.0 -> 2.1.0

Style changes

-

baseModule

- -  The class variable $base is no longer visible in child classes. Please use $this->getAccountContainer() to access the accountContainer object.
+  The class variable $base +is no longer visible in child classes. Please use $this->getAccountContainer() to +access the accountContainer object.

-Several other class variables in accountContainer etc. are now private. Use the new access methods.
+Several other class variables in accountContainer etc. are now private. +Use the new access methods.

@@ -130,7 +184,8 @@ Several other class variables in accountContainer etc. are now private. Use the

1.3.0 -> 2.0.0

-LAM is now PHP5 only. Several variables are now private and need to be accessed via functions.
+LAM is now PHP5 only. Several variables are now private and need to be +accessed via functions.

@@ -140,7 +195,6 @@ LAM is now PHP5 only. Several variables are now private and need to be accessed

New lamList functions

- -No more lamdaemon commands via delete_attributes() and save_attributes() in account modules.
+No more lamdaemon commands via delete_attributes() and +save_attributes() in account modules.
Please use these new functions to call lamdaemon directly:
@@ -171,7 +226,6 @@ Please use these new functions to call lamdaemon directly:

API changes

-