Development

Changeset 13117

You must first sign up to be able to contribute.

Changeset 13117

Show
Ignore:
Timestamp:
11/18/08 11:36:28 (5 years ago)
Author:
Stephen.Ostrow
Message:
  • This plugin now works with symfony 1.2
  • Added a helpful note in the README about using this as a helper.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineNestedSetManagerPlugin/trunk/README

    r13116 r13117  
    1313    [php] 
    1414    <?php 
     15    // Need to use the helper 
     16    use_helper('NestedSetManager'); 
     17 
    1518    // Category nested set with 1 root 
    1619    echo get_nested_set_manager('Category', 'name'); 
  • plugins/sfDoctrineNestedSetManagerPlugin/trunk/modules/sfNestedSetManager/templates/_edit_field.php

    r4692 r13117  
     1<?php use_helper('Form')?> 
     2 
    13<?php echo input_tag($record->getId(), $record->get($field), 'onchange="'.remote_function(array('url' => 'sfNestedSetManager/edit_field', 'with' => "'field=".$field."&model=".$model."&id=".$record->getId()."&root=".$root."&value=' + escape(value)")).'"'); ?> 
  • plugins/sfDoctrineNestedSetManagerPlugin/trunk/modules/sfNestedSetManager/templates/move_toSuccess.php

    r4692 r13117  
    11<?php 
    2 use_helper('Javascript'); 
     2use_helper('Form', 'Javascript'); 
    33 
    44$options = array(); 
  • plugins/sfDoctrineNestedSetManagerPlugin/trunk/package.xml

    r13116 r13117  
    2020  <active>yes</active> 
    2121 </developer> 
    22  <date>2007-02-20</date> 
    23  <time>15:54:35</time> 
     22 <date>2008-11-18</date> 
     23 <time>05:33:35</time> 
    2424 <version> 
    25   <release>0.0.1</release> 
     25  <release>1.2.0</release> 
    2626  <api>0.0.1</api> 
    2727 </version> 
    2828 <stability> 
    29   <release>alpha</release> 
    30   <api>alpha</api> 
     29  <release>stable</release> 
     30  <api>stable</api> 
    3131 </stability> 
    32  <license uri="http://svn.symfony-project.com/plugins/sfDoctrineNestedSetManagerPlugin/branches/1.0/LICENSE">MIT</license> 
     32 <license uri="http://svn.symfony-project.com/plugins/sfDoctrineNestedSetManagerPlugin/trunk/LICENSE">MIT</license> 
    3333 <notes>This is the initial plugin</notes> 
    3434 <contents> 
     
    6363    <name>symfony</name> 
    6464    <channel>pear.symfony-project.com</channel> 
    65     <min>1.0</min> 
    66     <max>1.1.0</max> 
    67     <exclude>1.1.0</exclude> 
     65    <min>1.2</min> 
     66    <max>1.3.0</max> 
     67    <exclude>1.3.0</exclude> 
    6868   </package> 
    6969   <package> 
     
    104104   <notes>Adding Stephen.Ostrow as a developer</notes> 
    105105  </release> 
     106  <release> 
     107   <version> 
     108    <release>1.2.0</release> 
     109    <api>0.0.1</api> 
     110   </version> 
     111   <stability> 
     112    <release>stable</release> 
     113    <api>stable</api> 
     114   </stability> 
     115   <date>2008-11-18</date> 
     116   <license uri="http://svn.symfony-project.com/plugins/sfDoctrineNestedSetManagerPlugin/trunk/LICENSE">MIT</license> 
     117   <notes> * Added a helpful note about using this as a helper 
     118 * Updated it to work with symfony 1.2</notes> 
     119  </release> 
    106120 </changelog> 
    107121</package>