Commit 540d0b59 authored by Fabien Morin's avatar Fabien Morin

2009-11-26 Fabien

* add two more gadgets : google maps and google search. Add title on google calendar

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30874 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81af5011
......@@ -129,6 +129,16 @@
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_title</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
......@@ -186,6 +196,10 @@
<key> <string>preferred_height</string> </key>
<value> <int>200</int> </value>
</item>
<item>
<key> <string>preferred_title</string> </key>
<value> <string>Google Calendar</string> </value>
</item>
<item>
<key> <string>preferred_width</string> </key>
<value> <int>200</int> </value>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Folder" module="Products.ERP5Type.Document.Folder"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<list>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</list>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>view_form_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>edit_form_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>type</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_width</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_height</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>render_type</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>image_id</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>multiple_instances_allowed</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>int</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>preferred_title</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>gadget_type/erp5_front</string>
<string>gadget_type/web_section</string>
<string>gadget_type/web_front</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Simple Google Search</string> </value>
</item>
<item>
<key> <string>edit_form_id</string> </key>
<value> <string>ERP5Site_viewGoogleSearchGadgetPreferenceDialog</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>google_search</string> </value>
</item>
<item>
<key> <string>image_id</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>multiple_instances_allowed</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Gadget</string> </value>
</item>
<item>
<key> <string>preferred_height</string> </key>
<value> <int>77</int> </value>
</item>
<item>
<key> <string>preferred_title</string> </key>
<value> <string>Google Search</string> </value>
</item>
<item>
<key> <string>preferred_width</string> </key>
<value> <int>280</int> </value>
</item>
<item>
<key> <string>render_type</string> </key>
<value> <string>synchronous</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Google Search</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>external</string> </value>
</item>
<item>
<key> <string>view_form_id</string> </key>
<value> <string>ERP5Site_viewGoogleSearchGadget</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
......@@ -58,8 +58,9 @@
preferences = box.KnowledgeBox_getDefaultPreferencesDict()\n
h = str(preferences.get(\'preferred_height\'))\n
w = str(preferences.get(\'preferred_width\'))\n
t = str(preferences.get(\'preferred_title\'))\n
\n
s = """<script type="text/javascript" src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/calendar-for-your-site.xml&amp;up_showCalendar2=1&amp;up_showAgenda=1&amp;up_calendarFeeds=(%7B%7D)&amp;up_firstDay=Sunday&amp;up_syndicatable=true&amp;up_stylesheet=&amp;up_sub=1&amp;up_c0u=&amp;up_c0c=&amp;up_c1u=&amp;up_c1c=&amp;up_c2u=&amp;up_c2c=&amp;up_c3u=&amp;up_c3c=&amp;up_min=&amp;up_start=&amp;up_timeFormat=1%3A00pm&amp;up_calendarFeedsImported=0&amp;synd=open&amp;w=""" + w + """&amp;h=""" + h + """&amp;title=Google+Calendar&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>"""\n
s = """<script type="text/javascript" src="http://gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/calendar-for-your-site.xml&amp;up_showCalendar2=1&amp;up_showAgenda=1&amp;up_calendarFeeds=(%7B%7D)&amp;up_firstDay=Sunday&amp;up_syndicatable=true&amp;up_stylesheet=&amp;up_sub=1&amp;up_c0u=&amp;up_c0c=&amp;up_c1u=&amp;up_c1c=&amp;up_c2u=&amp;up_c2c=&amp;up_c3u=&amp;up_c3c=&amp;up_min=&amp;up_start=&amp;up_timeFormat=1%3A00pm&amp;up_calendarFeedsImported=0&amp;synd=open&amp;w=""" + w + """&amp;h=""" + h + """&amp;title="""+ t + """&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>"""\n
\n
return s\n
......@@ -106,6 +107,7 @@ return s\n
<string>str</string>
<string>h</string>
<string>w</string>
<string>t</string>
<string>s</string>
</tuple>
</value>
......
......@@ -99,6 +99,7 @@
<string>my_title</string>
<string>my_preferred_width</string>
<string>my_preferred_height</string>
<string>my_preferred_title</string>
</list>
</value>
</item>
......
......@@ -1481,7 +1481,7 @@
</item>
<item>
<key> <string>last_id</string> </key>
<value> <string>8</string> </value>
<value> <string>10</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
......
2009-11-26 Fabien
* add two more gadgets : google maps and google search. Add title on google calendar
2009-11-06 Herve
* Update the page template ListBox_asListStyleHTML to make it compatbile with more gadgets.
......
422
\ No newline at end of file
424
\ No newline at end of file
......@@ -11,3 +11,7 @@ portal_gadgets/erp5_worklists
portal_gadgets/erp5_worklists/**
portal_gadgets/google_calendar
portal_gadgets/google_calendar/**
portal_gadgets/google_maps
portal_gadgets/google_maps/**
portal_gadgets/google_search
portal_gadgets/google_search/**
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment