Add ability to show login error from the IMAP server instead of traditional "Unknown...
[squirrelmail.git] / plugins / preview_pane / setup.php
index e0ac59fa91cef1eb34fc2d6df681b458818a7289..ea22b9000ede54e11e5599d804b664592ed00e78 100644 (file)
@@ -1,22 +1,20 @@
 <?php
 
 /**
-  * SquirrelMail Preview Pane Plugin
-  *
-  * @copyright &copy; 1999-2007 The SquirrelMail Project Team
-  * @author Paul Lesneiwski <paul@squirrelmail.org>
-  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
-  * @version $Id$
-  * @package plugins
-  * @subpackage preview_pane
-  *
-  */
+ * SquirrelMail Preview Pane Plugin
+ *
+ * @copyright 1999-2014 The SquirrelMail Project Team
+ * @author Paul Lesniewski <paul@squirrelmail.org>
+ * @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()
 {