Source for file functions.php
Documentation is available at functions.php
* Copyright (c) 1999-2020 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
* This is a standard Squirrelmail-1.2 API for plugins.
* $Id: functions.php 14840 2020-01-07 07:42:38Z pdontthink $
* Show the button in the main bar
$bug_report_visible =
getPref($data_dir, $username, 'bug_report_visible');
if (! $bug_report_visible) {
* Register bug report option block
function bug_report_block_do() {
global $username, $data_dir, $optpage_data, $bug_report_visible;
$bug_report_visible =
getPref($data_dir, $username, 'bug_report_visible', FALSE);
$optpage_data['grps']['bug_report'] =
_("Bug Reports");
'name' =>
'bug_report_visible',
'caption' =>
_("Show button in toolbar"),
$optpage_data['vals']['bug_report'] =
$optionValues;
Documentation generated on Mon, 13 Jan 2020 04:24:39 +0100 by phpDocumentor 1.4.3