Author: sid.gbf
Date: 2010-04-14 21:16:06 +0200 (Wed, 14 Apr 2010)
New Revision: 29153
Modified:
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/data/generator/sfDoctrineModule/javascript/template/templates/_form_field.php
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/lib/helper/JavascriptAdminHelper.php
Log:
Modified:
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/data/generator/sfDoctrineModule/javascript/template/templates/_form_field.php
===================================================================
---
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/data/generator/sfDoctrineModule/javascript/template/templates/_form_field.php
2010-04-14 19:00:05 UTC (rev 29152)
+++
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/data/generator/sfDoctrineModule/javascript/template/templates/_form_field.php
2010-04-14 19:16:06 UTC (rev 29153)
@@ -46,7 +46,7 @@
<input type="hidden" readonly="readonly" disabled="disabled"
value="[?php echo $help ?]" id="[?php echo $form[$name]->renderId(); ?]_help" />
<div class="content content_view" id="[?php echo
$form[$name]->renderId(); ?]_view" style="display: none;">
[?php echo content_tag('a',
image_tag('../sf/sf_admin/images/edit.png', array('align' => 'right')),
array('id' => $form[$name]->renderId().'_open', 'href' => '')); ?]
- <div>[?php echo content_to_view($form[$name], ($attributes instanceof
sfOutputEscaper ? $attributes->getRawValue() : $attributes), $placeholder)
?] </div>
+ <div>[?php echo content_to_view($form[$name], ($attributes instanceof
sfOutputEscaper ? $attributes->getRawValue() : $attributes), $placeholder)
?] <br style="clear: both" /></div>
</div>
<div class="content content_edit" id="[?php echo
$form[$name]->renderId(); ?]_edit">
[?php echo content_tag('a',
image_tag('../sf/sf_admin/images/ok.png', array('align' => 'right')),
array('id' => $form[$name]->renderId().'_close', 'href' => '')); ?]
Modified:
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/lib/helper/JavascriptAdminHelper.php
===================================================================
---
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/lib/helper/JavascriptAdminHelper.php
2010-04-14 19:00:05 UTC (rev 29152)
+++
plugins/sfjQueryDoctrineAdminPlugin/tag/0.1/lib/helper/JavascriptAdminHelper.php
2010-04-14 19:16:06 UTC (rev 29153)
@@ -1,6 +1,6 @@
<?php
function getDefaultHint() {
- return '<em>'.__(sfConfig::get('app_default_hint', 'Clique a direita para
editar')).'</em>';
+ return __(sfConfig::get('app_default_hint', 'Clique a direita para
editar'));
}
function content_to_view(sfFormField $field, $attributes, $placeholder) {
@@ -14,7 +14,6 @@
foreach($values as $k => $v) {
$values[$k] = $v->__toString();
}
-
$value = implode(', ', $values);
} else {
$value = Doctrine::getTable($class)->findOneBy('id',
$field->getValue())->__toString();
--
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.