Author: ornicar2
Date: 2010-02-02 22:16:12 +0100 (Tue, 02 Feb 2010)
New Revision: 27454

Modified:
   plugins/dmGoogleMapPlugin/lib/dmWidget/dmWidgetGoogleMapShowView.php
   plugins/dmGoogleMapPlugin/lib/helper/DmGoogleMapHelper.php
   plugins/dmGoogleMapPlugin/lib/view/dmGoogleMapHelper.php
   plugins/dmGoogleMapPlugin/modules/dmWidgetGoogleMap/templates/_showForm.php
Log:
[Diem][dmGoogleMapPlugin] replaced ?\194?\163-based helpers with new helpers

Modified: plugins/dmGoogleMapPlugin/lib/dmWidget/dmWidgetGoogleMapShowView.php
===================================================================
--- plugins/dmGoogleMapPlugin/lib/dmWidget/dmWidgetGoogleMapShowView.php        
2010-02-02 21:13:07 UTC (rev 27453)
+++ plugins/dmGoogleMapPlugin/lib/dmWidget/dmWidgetGoogleMapShowView.php        
2010-02-02 21:16:12 UTC (rev 27454)
@@ -22,7 +22,7 @@
   {
     $vars = $this->getViewVars();
 
-    $map = $this->getService('google_map_helper')->£map()
+    $map = $this->getService('google_map_helper')->map()
     ->address($vars['address'])
     ->mapTypeId($vars['mapTypeId'])
     ->zoom($vars['zoom'])

Modified: plugins/dmGoogleMapPlugin/lib/helper/DmGoogleMapHelper.php
===================================================================
--- plugins/dmGoogleMapPlugin/lib/helper/DmGoogleMapHelper.php  2010-02-02 
21:13:07 UTC (rev 27453)
+++ plugins/dmGoogleMapPlugin/lib/helper/DmGoogleMapHelper.php  2010-02-02 
21:16:12 UTC (rev 27454)
@@ -3,15 +3,15 @@
 /*
  * Get a dmGoogleMapTag instance
  */
-function £map()
+function _map()
 {
-  return sfContext::getInstance()->get('google_map_helper')->£map();
+  return sfContext::getInstance()->get('google_map_helper')->map();
 }
 
 /*
  * Alternative to £map
  */
-function _map()
+function £map()
 {
-  return £map();
+  return _map();
 }
\ No newline at end of file

Modified: plugins/dmGoogleMapPlugin/lib/view/dmGoogleMapHelper.php
===================================================================
--- plugins/dmGoogleMapPlugin/lib/view/dmGoogleMapHelper.php    2010-02-02 
21:13:07 UTC (rev 27453)
+++ plugins/dmGoogleMapPlugin/lib/view/dmGoogleMapHelper.php    2010-02-02 
21:16:12 UTC (rev 27454)
@@ -20,7 +20,7 @@
   /*
    * Get a dmGoogleMapTag instance
    */
-  public function £map()
+  public function map()
   {
     $map = $this->context->get('google_map_tag');
 
@@ -48,8 +48,8 @@
     return $map;
   }
 
-  public function _map()
+  public function £map()
   {
-    return $this->£map();
+    return $this->map();
   }
 }
\ No newline at end of file

Modified: 
plugins/dmGoogleMapPlugin/modules/dmWidgetGoogleMap/templates/_showForm.php
===================================================================
--- plugins/dmGoogleMapPlugin/modules/dmWidgetGoogleMap/templates/_showForm.php 
2010-02-02 21:13:07 UTC (rev 27453)
+++ plugins/dmGoogleMapPlugin/modules/dmWidgetGoogleMap/templates/_showForm.php 
2010-02-02 21:16:12 UTC (rev 27454)
@@ -4,36 +4,36 @@
 
 $form->renderGlobalErrors(),
 
-£o('div.dm_tabbed_form'),
+_open('div.dm_tabbed_form'),
 
-£('ul.tabs',
-  £('li', £link('#'.$baseTabId.'_map')->text(__('Map'))).
-  £('li', £link('#'.$baseTabId.'_controls')->text(__('Controls'))).
-  £('li', £link('#'.$baseTabId.'_presentation')->text(__('Presentation')))
+_tag('ul.tabs',
+  _tag('li', _link('#'.$baseTabId.'_map')->text(__('Map'))).
+  _tag('li', _link('#'.$baseTabId.'_controls')->text(__('Controls'))).
+  _tag('li', _link('#'.$baseTabId.'_presentation')->text(__('Presentation')))
 ),
 
-£('div#'.$baseTabId.'_map.drop_zone',
-  £('ul.dm_form_elements',
+_tag('div#'.$baseTabId.'_map.drop_zone',
+  _tag('ul.dm_form_elements',
     $form['address']->renderRow().
     $form['mapTypeId']->renderRow().
     $form['zoom']->renderRow()
   )
 ),
 
-£('div#'.$baseTabId.'_controls.drop_zone',
-  £('ul.dm_form_elements',
+_tag('div#'.$baseTabId.'_controls.drop_zone',
+  _tag('ul.dm_form_elements',
     $form['navigationControl']->renderRow().
     $form['mapTypeControl']->renderRow().
     $form['scaleControl']->renderRow()
   )
 ),
 
-£('div#'.$baseTabId.'_presentation',
-  £('ul.dm_form_elements',
-    £('li.dm_form_element.multi_inputs.clearfix',
+_tag('div#'.$baseTabId.'_presentation',
+  _tag('ul.dm_form_elements',
+    _tag('li.dm_form_element.multi_inputs.clearfix',
       $form['width']->renderError().
       $form['height']->renderError().
-      £('label', __('Dimensions')).
+      _tag('label', __('Dimensions')).
       $form['width']->render().
       'x'.
       $form['height']->render()
@@ -43,4 +43,4 @@
   )
 ),
 
-£c('div'); //div.dm_tabbed_form
\ No newline at end of file
+_close('div'); //div.dm_tabbed_form
\ No newline at end of file

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to