Author: ornicar2
Date: 2010-02-05 19:11:30 +0100 (Fri, 05 Feb 2010)
New Revision: 27606

Modified:
   
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_list_pagination.php
   
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/indexSuccess.php
Log:
[Diem]
- fixed admin generator php notices due to recent changes in symfony url_for() 
method

Modified: 
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_list_pagination.php
===================================================================
--- 
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_list_pagination.php
 2010-02-05 18:07:39 UTC (rev 27605)
+++ 
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/_list_pagination.php
 2010-02-05 18:11:30 UTC (rev 27606)
@@ -2,14 +2,14 @@
 
 [?php if ($pager->getPage() > 1): ?]
 [?php if ($pager->getPage() > 2): ?]
-  <a title="[?php echo __('First page'); ?]" href="[?php echo url_for('<?php 
echo $this->getUrlForAction('list') ?>') ?]?page=1">
+  <a title="[?php echo __('First page'); ?]" href="[?php echo url_for1('<?php 
echo $this->getUrlForAction('list') ?>') ?]?page=1">
     <span class="s16block s16_first">&lt;&lt;</span>
   </a>
 [?php else: ?]
     <div class="disabled"><span class="s16block s16_first"></span></div>
 [?php endif; ?]
   
-  <a title="[?php echo __('Previous page'); ?]" href="[?php echo 
url_for('<?php echo $this->getUrlForAction('list') ?>') ?]?page=[?php echo 
($pager->getPage() - 1) ?]">
+  <a title="[?php echo __('Previous page'); ?]" href="[?php echo 
url_for1('<?php echo $this->getUrlForAction('list') ?>') ?]?page=[?php echo 
($pager->getPage() - 1) ?]">
     <span class="s16block s16_previous">&lt;</span>
   </a>
 [?php else: ?]
@@ -26,12 +26,12 @@
   ?]
 
 [?php if ($pager->getPage() < $pager->getLastPage()): ?]
-  <a title="[?php echo __('Next page'); ?]" href="[?php echo url_for('<?php 
echo $this->getUrlForAction('list') ?>') ?]?page=[?php echo ($pager->getPage() 
+ 1) ?]">
+  <a title="[?php echo __('Next page'); ?]" href="[?php echo url_for1('<?php 
echo $this->getUrlForAction('list') ?>') ?]?page=[?php echo ($pager->getPage() 
+ 1) ?]">
     <span class="s16block s16_next">&nbsp;</span>
   </a>
 
 [?php if ($pager->getPage() < ($pager->getLastPage()-1)): ?]
-  <a title="[?php echo __('Last page'); ?]" href="[?php echo url_for('<?php 
echo $this->getUrlForAction('list') ?>') ?]?page=[?php echo 
$pager->getLastPage() ?]">
+  <a title="[?php echo __('Last page'); ?]" href="[?php echo url_for1('<?php 
echo $this->getUrlForAction('list') ?>') ?]?page=[?php echo 
$pager->getLastPage() ?]">
     <span class="s16block s16_last">&nbsp;</span>
   </a>
 [?php else: ?]

Modified: 
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/indexSuccess.php
===================================================================
--- 
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/indexSuccess.php
     2010-02-05 18:07:39 UTC (rev 27605)
+++ 
plugins/diemPlugin/trunk/dmAdminPlugin/data/generator/dmAdminDoctrineModule/dmAdmin/template/templates/indexSuccess.php
     2010-02-05 18:11:30 UTC (rev 27606)
@@ -9,7 +9,7 @@
   end_slot();
 ?]
 
-<div id="sf_admin_container" class='{baseUrl: "[?php echo url_for('<?php echo 
$this->getUrlForAction('list') ?>') ?]"}'>
+<div id="sf_admin_container" class='{baseUrl: "[?php echo url_for1('<?php echo 
$this->getUrlForAction('list') ?>') ?]"}'>
 
   <div id="list_header" class="clearfix">
     [?php

-- 
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