[Erp5-report] r25279 - in /erp5/trunk/bt5/erp5_dms: SkinTemplateItem/portal_skins/erp5_dms/...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 22 17:37:02 CET 2009


Author: ivan
Date: Thu Jan 22 17:36:56 2009
New Revision: 25279

URL: http://svn.erp5.org?rev=25279&view=rev
Log:
Make previous changes in r25278 configurable from outside.

Modified:
    erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_showFoundText.xml
    erp5/trunk/bt5/erp5_dms/bt/revision

Modified: erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_showFoundText.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_showFoundText.xml?rev=25279&r1=25278&r2=25279&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_showFoundText.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_showFoundText.xml [utf8] Thu Jan 22 17:36:56 2009
@@ -61,8 +61,6 @@
   containing searched words as well highlighting the searched \n
   words in the text itself.\n
 """\n
-max_lines = 5\n
-max_text_length = 500\n
 is_gadget_mode = context.REQUEST.get(\'is_gadget_mode\', 0)\n
 \n
 if is_gadget_mode:\n
@@ -145,7 +143,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>document_text=None, selection=None</string> </value>
+            <value> <string>document_text=None, selection=None, max_lines = 5, max_text_length = 500</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -165,7 +163,7 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>2</int> </value>
+                        <value> <int>4</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
@@ -211,6 +209,8 @@
               <tuple>
                 <none/>
                 <none/>
+                <int>5</int>
+                <int>500</int>
               </tuple>
             </value>
         </item>

Modified: erp5/trunk/bt5/erp5_dms/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/revision?rev=25279&r1=25278&r2=25279&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/bt/revision [utf8] Thu Jan 22 17:36:56 2009
@@ -1,1 +1,1 @@
-954
+955




More information about the Erp5-report mailing list