This commit is contained in:
Xes
2025-08-14 22:39:38 +02:00
parent 3641e93527
commit 5403f346e3
3370 changed files with 327179 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
Show Regions plugin
===
This plugin fills the different regions to make it easier to understand what regions are and where they are located in Chamilo.

View File

@@ -0,0 +1,9 @@
<?php
// Only show the region information if the admin is logged in.
if (api_is_platform_admin()) {
echo '<div style="color:black;height:50px;width:200px;background-color:#FFE378">';
//We can have access to the current block and the block information with the variable $plugin_info (see your plugin.php)
echo $plugin_info['current_region'];
echo '</div>';
}

View File

@@ -0,0 +1,21 @@
<?php
/**
* This script is a configuration file for the date plugin. You can use it as a master for other platform plugins (course plugins are slightly different).
* These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins).
*
* @package chamilo.plugin
*
* @author Julio Montoya <gugli100@gmail.com>
*/
/**
* Plugin details (must be present).
*/
//the plugin title
$plugin_info['title'] = 'Show regions';
//the comments that go with the plugin
$plugin_info['comment'] = "This is useful when trying to find the Chamilo regions, (<strong>only the admin </strong>can view this plugin). You have to activate all the items in the Regions area";
//the plugin version
$plugin_info['version'] = '1.0';
//the plugin author
$plugin_info['author'] = 'Julio Montoya';