parent
f3c53ae075
commit
78fa5c9dc1
@ -1,17 +1,29 @@ |
||||
<?php |
||||
/* PHP code to install the plugin |
||||
/* PHP code to install the plugin |
||||
* For example: |
||||
* |
||||
* |
||||
// To query something to the database |
||||
|
||||
$table = Database::get_main_table(TABLE_MAIN_USER); // TABLE_MAIN_USER is a constant check the main/inc/database.constants.inc.php |
||||
$sql = "SELECT firstname, lastname FROM $table_users "; |
||||
$users = Database::query($sql); |
||||
$users = Database::query($sql); |
||||
|
||||
You can also use the Chamilo classes |
||||
You can also use the Chamilo classes |
||||
$users = UserManager::get_user_list(); |
||||
*/ |
||||
global $_configuration; |
||||
|
||||
api_add_setting(@$_configuration['defaults']['customfooter_footer_left'], 'customfooter_footer_left', 'customfooter', 'setting', 'Plugins'); |
||||
api_add_setting(@$_configuration['defaults']['customfooter_footer_right'], 'customfooter_footer_right', 'customfooter', 'setting', 'Plugins'); |
||||
api_add_setting( |
||||
@$_configuration['defaults']['customfooter_footer_left'], |
||||
'customfooter_footer_left', |
||||
'customfooter', |
||||
'setting', |
||||
'Plugins' |
||||
); |
||||
api_add_setting( |
||||
@$_configuration['defaults']['customfooter_footer_right'], |
||||
'customfooter_footer_right', |
||||
'customfooter', |
||||
'setting', |
||||
'Plugins' |
||||
); |
||||
|
||||
Loading…
Reference in new issue