1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Example addons added to _blank plugin.

This commit is contained in:
Cameron
2016-04-11 00:18:29 -07:00
parent 5e862682be
commit a05d127375
11 changed files with 526 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
if (!defined('e107_INIT')) { exit; }
class _blank_dashboard // include plugin-folder in the name.
{
function chart()
{
return false;
}
function status() // Status Panel in the admin area
{
$var[0]['icon'] = "<img src='' alt='' />";
$var[0]['title'] = "My Title";
$var[0]['url'] = e_PLUGIN_ABS."_blank/_blank.php";
$var[0]['total'] = 10;
return $var;
}
function latest() // Latest panel in the admin area.
{
$var[0]['icon'] = "<img src='' alt='' />";
$var[0]['title'] = "My Title";
$var[0]['url'] = e_PLUGIN_ABS."_blank/_blank.php";
$var[0]['total'] = 10;
return $var;
}
}
?>