X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fpreview_pane%2Fsetup.php;h=376ffd7fe1934b622a24dea2b50f2fdf260ca3d0;hp=e0ac59fa91cef1eb34fc2d6df681b458818a7289;hb=59927db317c6b031765a88ca3508edeb7ccbcc6e;hpb=e1b9b8633c359bb1afcaa6b4ebcc1dd941309551 diff --git a/plugins/preview_pane/setup.php b/plugins/preview_pane/setup.php index e0ac59fa..376ffd7f 100644 --- a/plugins/preview_pane/setup.php +++ b/plugins/preview_pane/setup.php @@ -1,22 +1,20 @@ - * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * @version $Id$ - * @package plugins - * @subpackage preview_pane - * - */ + * SquirrelMail Preview Pane Plugin + * + * @copyright 1999-2018 The SquirrelMail Project Team + * @author Paul Lesniewski + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + * @version $Id$ + * @package plugins + * @subpackage preview_pane + */ /** - * Register this plugin with SquirrelMail - * - */ + * Register this plugin with SquirrelMail + */ function squirrelmail_plugin_init_preview_pane() { @@ -40,9 +38,8 @@ if (!defined('SM_PATH')) /** - * Returns info about this plugin - * - */ + * Returns info about this plugin + */ function preview_pane_info() { @@ -63,9 +60,8 @@ function preview_pane_info() /** - * Returns version info about this plugin - * - */ + * Returns version info about this plugin + */ function preview_pane_version() { @@ -77,9 +73,8 @@ function preview_pane_version() /** - * Build user options for display on "Display Preferences" page - * - */ + * Build user options for display on "Display Preferences" page + */ function preview_pane_show_options() { @@ -91,12 +86,11 @@ function preview_pane_show_options() /** - * Construct button that clears out any preview pane - * contents and inserts JavaScript function used by - * message subject link onclick handler. Also disallows - * the message list to be loaded into the bottom frame. - * - */ + * Construct button that clears out any preview pane + * contents and inserts JavaScript function used by + * message subject link onclick handler. Also disallows + * the message list to be loaded into the bottom frame. + */ function preview_pane_message_list() { @@ -108,25 +102,23 @@ function preview_pane_message_list() /** - * Points message targets to open in the preview pane - * (and possibly refresh message list as well) - * - */ -function preview_pane_change_message_target() + * Points message targets to open in the preview pane + * (and possibly refresh message list as well) + */ +function preview_pane_change_message_target($args) { include_once(SM_PATH . 'plugins/preview_pane/functions.php'); - preview_pane_change_message_target_do(); + preview_pane_change_message_target_do($args); } /** - * Adds preview pane open/close (and clear) buttons next to - * "provider link" - * - */ + * Adds preview pane open/close (and clear) buttons next to + * "provider link" + */ function preview_pane_open_close_buttons() {