ZF-9794: Add support to load jQuery UI themes from google CDN

Description

Much like the ajax libraries are available via the google CDN, the CSS and image files for the jQuery UI themes are also available via google CDN. This is not documented as good as the library documentation itself, however there have been some good blog postings about this. Read the details here: http://encosia.com/2009/10/…

This would be a very great enhancement in my opionen, as this enables the developer to use jQuery + UI without hosting any of the files himself, which made it a bummer for myself.

Currently I'm getting this done formyself via the following line of code in the layout script


<?php echo $this->jQuery()->addStyleSheet('http://ajax.googleapis.com/ajax/libs/…') ?>

If this feature will be added to one of the future releases, we need to make sure to tell the implementor of ZendX_Application_Resource_Jquery that support for the UI theme is added to the resource plugin.

Comments

Since we now have options to fetch from GOOGLE CDN language for UI and the thems I am adding support for that.

The support would not affect back.

Here is the fix to work with the Translation files from google CDN.

It uses the full translation file and selecting regional using reginal selection API for JQuery.

Looks like I dont have SVN access from this client, I will add Test case and normal submission later.

This patch has support for language files...

Plus support for setting correct language in datepicker.

Finished adding support for themes and for languages.

Plus switched all request from deprecated methods.