load to // fill them out private $maxitems; /** * Constructor * This function does nothing... */ public function __construct() { return true; } /** * install * This is a required plugin function. It inserts our preferences * into Ampache */ public function install() { // Check and see if it's already installed if (Preference::exists('shouthome_max_items')) { return false; } Preference::insert('shouthome_max_items','Shoutbox on homepage max items','5','25','integer','plugins'); return true; } /** * uninstall * This is a required plugin function. It removes our preferences from * the database returning it to its original form */ public function uninstall() { Preference::delete('shouthome_max_items'); return true; } /** * upgrade * This is a recommended plugin function */ public function upgrade() { return true; } /** * display_home * This display the module in home page */ public function display_home() { if (AmpConfig::get('sociable')) { echo "