From 3a7deca53606476bebf83cb2c04793b2a77325d3 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 31 Dec 2011 06:51:47 -0500
Subject: [PATCH] Always load jquery UI; minor phpdoc fix

---
 program/include/html.php             |    1 +
 program/include/rcube_plugin_api.php |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/program/include/html.php b/program/include/html.php
index 09485e5..ba70981 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -226,6 +226,7 @@
      * Derrived method to create <script> tags
      *
      * @param mixed $attr Hash array with tag attributes or string with script source (src)
+     * @param string $cont Javascript code to be placed as tag content
      * @return string HTML code
      * @see html::tag()
      */
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php
index 4846cd9..c4b3d57 100644
--- a/program/include/rcube_plugin_api.php
+++ b/program/include/rcube_plugin_api.php
@@ -5,7 +5,7 @@
  | program/include/rcube_plugin_api.php                                  |
  |                                                                       |
  | This file is part of the Roundcube Webmail client                     |
- | Copyright (C) 2008-2009, The Roundcube Dev Team                       |
+ | Copyright (C) 2008-2011, The Roundcube Dev Team                       |
  | Licensed under the GNU GPL                                            |
  |                                                                       |
  | PURPOSE:                                                              |
@@ -40,7 +40,7 @@
   private $actionmap = array();
   private $objectsmap = array();
   private $template_contents = array();
-  private $required_plugins = array('filesystem_attachments');
+  private $required_plugins = array('filesystem_attachments', 'jqueryui');
   private $active_hook = false;
 
   // Deprecated names of hooks, will be removed after 0.5-stable release

--
Gitblit v1.9.1