@@ -29,6 +29,8 @@ All options are now saved in cookies for one year.
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().
diff --git a/lam/lib/baseModule.inc b/lam/lib/baseModule.inc
index 31750c0b..a601e6f4 100644
--- a/lam/lib/baseModule.inc
+++ b/lam/lib/baseModule.inc
@@ -797,6 +797,7 @@ abstract class baseModule {
/**
* Returns the path to the module icon.
* The path must be releative to graphics (e.g. key.png).
+ * You can also set $this->meta['icon'].
*
* @return unknown
*/
diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php
index 8ba87281..3298a7ce 100644
--- a/lam/templates/config/confmain.php
+++ b/lam/templates/config/confmain.php
@@ -239,7 +239,13 @@ $_SESSION['conf_types'] = array();
for ($i = 0; $i < sizeof($modules); $i++) {
if (sizeof($options[$modules[$i]]) < 1) continue;
echo "\n";
diff --git a/lam/templates/config/confmodules.php b/lam/templates/config/confmodules.php
index 69d6c824..2cd844d1 100644
--- a/lam/templates/config/confmodules.php
+++ b/lam/templates/config/confmodules.php
@@ -171,7 +171,8 @@ function config_showAccountModules($scope, $title) {
}
// show account modules
- echo "