This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
plugins:demo [2014/02/23 09:32] nuxwin [Configuration file sample] |
plugins:demo [2014/02/23 09:34] nuxwin [Configuration file sample] |
||
---|---|---|---|
Line 14: | Line 14: | ||
====Modal dialog box on login page==== | ====Modal dialog box on login page==== | ||
- | The dialog box is only displayed if you provide a set of configuration parameters that describe user accounts. The plugin configuration file contains a simple PHP associative array (//See the sample below//). | + | The dialog box is only shown if you provide a set of configuration parameters that describe user accounts. The plugin configuration file contains a simple PHP associative array (//See the sample below//). |
To describe an user account, you must add a new section like below in the configuration file: | To describe an user account, you must add a new section like below in the configuration file: | ||
Line 33: | Line 33: | ||
====Protection against deletion and password modification (Demo users)==== | ====Protection against deletion and password modification (Demo users)==== | ||
- | If an user account has the protected option set to TRUE (as above), it will be protected against deletion, and password modification. | + | If an user account has the protected option set to TRUE (//as above//), it will be protected against deletion, and password modification. |
====Disabled actions==== | ====Disabled actions==== | ||
Line 59: | Line 59: | ||
A configuration file for the demo plugin can be: | A configuration file for the demo plugin can be: | ||
- | // Configuration file sample for the demo plugin | + | // Configuration file sample for the demo plugin |
+ | |||
return array( | return array( | ||
// List of user accounts that will be available via select box on login page. If an user account is protected, it | // List of user accounts that will be available via select box on login page. If an user account is protected, it |