Author: tkoomzaaskz
Date: 2010-09-12 23:35:47 +0200 (Sun, 12 Sep 2010)
New Revision: 30891

Added:
   plugins/tdCorePlugin/trunk/modules/tdLink/templates/displaySuccess.php
Modified:
   plugins/tdCorePlugin/trunk/config/doctrine/schema.yml
   plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdConfigForm.class.php
   plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdLinkForm.class.php
   plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdSubpageForm.class.php
Log:
[td][core] improving forms, schema and frontend actions

Modified: plugins/tdCorePlugin/trunk/config/doctrine/schema.yml
===================================================================
--- plugins/tdCorePlugin/trunk/config/doctrine/schema.yml       2010-09-12 
16:52:54 UTC (rev 30890)
+++ plugins/tdCorePlugin/trunk/config/doctrine/schema.yml       2010-09-12 
21:35:47 UTC (rev 30891)
@@ -25,7 +25,7 @@
       type: string(255)
       notnull: true
     description:
-      type: text
+      type: string
       notnull: true
     active:
       type: boolean

Modified: 
plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdConfigForm.class.php
===================================================================
--- plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdConfigForm.class.php   
2010-09-12 16:52:54 UTC (rev 30890)
+++ plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdConfigForm.class.php   
2010-09-12 21:35:47 UTC (rev 30891)
@@ -10,4 +10,10 @@
  */
 abstract class PlugintdConfigForm extends BasetdConfigForm
 {
+  public function setup()
+  {
+    parent::setup();
+    unset($this['created_at'], $this['updated_at']);
+  }
 }
+

Modified: 
plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdLinkForm.class.php
===================================================================
--- plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdLinkForm.class.php     
2010-09-12 16:52:54 UTC (rev 30890)
+++ plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdLinkForm.class.php     
2010-09-12 21:35:47 UTC (rev 30891)
@@ -10,4 +10,10 @@
  */
 abstract class PlugintdLinkForm extends BasetdLinkForm
 {
+  public function setup()
+  {
+    parent::setup();
+    unset($this['created_at'], $this['updated_at']);
+  }
 }
+

Modified: 
plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdSubpageForm.class.php
===================================================================
--- plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdSubpageForm.class.php  
2010-09-12 16:52:54 UTC (rev 30890)
+++ plugins/tdCorePlugin/trunk/lib/form/doctrine/PlugintdSubpageForm.class.php  
2010-09-12 21:35:47 UTC (rev 30891)
@@ -10,4 +10,10 @@
  */
 abstract class PlugintdSubpageForm extends BasetdSubpageForm
 {
+  public function setup()
+  {
+    parent::setup();
+    unset($this['created_at'], $this['updated_at']);
+  }
 }
+

Added: plugins/tdCorePlugin/trunk/modules/tdLink/templates/displaySuccess.php
===================================================================
--- plugins/tdCorePlugin/trunk/modules/tdLink/templates/displaySuccess.php      
                        (rev 0)
+++ plugins/tdCorePlugin/trunk/modules/tdLink/templates/displaySuccess.php      
2010-09-12 21:35:47 UTC (rev 30891)
@@ -0,0 +1,9 @@
+<?php slot('heading') ?>
+<em>L</em>inki
+<?php end_slot() ?>
+
+<ul>
+<?php foreach($td_links as $td_link): ?>
+  <li><a href="<?php echo $td_link->getUrl() ?>"><?php echo $td_link->getUrl() 
?></a> - <?php echo $td_link->getDescription() ?></li>
+<?php endforeach; ?>
+</ul>

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