Changeset 7032
- Timestamp:
- 01/14/08 00:58:29 (10 months ago)
- Files:
-
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/_edit_ajax_menu.php (added)
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/_list_ajax_gridpanel.php (modified) (1 diff)
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/editAjaxSuccess.php (modified) (5 diffs)
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/editSuccess.php (modified) (1 diff)
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/jsonListAutocompleteSuccess.php (modified) (1 diff)
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/jsonListSuccess.php (modified) (1 diff)
- plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/listSuccess.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/_list_ajax_gridpanel.php
r6839 r7032 36 36 37 37 function onClickGrid(e, target){ 38 if(target = e.getTarget('a' , 1)){38 if(target = e.getTarget('a')){ 39 39 // stop propogation (stops loading the clicked link) 40 40 e.stopEvent(); plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/editAjaxSuccess.php
r7018 r7032 15 15 ?] 16 16 17 [?php //take a look at: http://www.ephicient.com/ext/examples/layout/# ?] 18 17 19 <script type="text/javascript"> 20 [?php include_partial('edit_ajax_store') ?] 21 [?php include_partial('related_ajax_stores') ?] 18 22 [?php include_partial('related_ajax_editors') ?] 19 23 </script> 20 21 22 <div id="sf_admin_container">23 24 24 25 [?php if ($<?php echo $this->getSingularName() ?>->isNew()): ?] … … 32 33 [?php endif; ?] 33 34 34 35 <div id="sf_admin_header">36 [?php include_partial('<?php echo $this->getModuleName() ?>/edit_header', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?]37 </div>38 39 35 <?php 40 36 … … 42 38 43 39 $sfExtjs2Plugin->begin(); 40 41 echo "Ext.Panel.prototype.border = false;"; 42 44 43 $sfExtjs2Plugin->beginApplication(array( 45 44 'name' => 'EditLayout', … … 55 54 $sfExtjs2Plugin->Panel(array( 56 55 'region' => 'north', 57 'contentEl' => 'sf_admin_content_message' 56 'contentEl' => 'sf_admin_header' 57 )), 58 $sfExtjs2Plugin->BoxComponent(array( 59 'region' => 'west', 60 'el' => 'sf_admin_content_menu', 61 'margins' => '10 10 10 10' 58 62 )), 59 63 $sfExtjs2Plugin->Panel(array( 60 64 'region' => 'center', 61 'contentEl' => 'sf_admin_content_main' 65 'layout' => 'border', 66 'items' => array( 67 $sfExtjs2Plugin->Panel(array( 68 'region' => 'north', 69 'contentEl' => 'sf_admin_content_message' 70 )), 71 $sfExtjs2Plugin->Panel(array( 72 'region' => 'center', 73 'contentEl' => 'sf_admin_content_main' 74 )), 75 $sfExtjs2Plugin->Panel(array( 76 'region' => 'south', 77 'contentEl' => 'sf_admin_content_pages' 78 )) 79 ) 62 80 )), 63 81 $sfExtjs2Plugin->Panel(array( 64 82 'region' => 'south', 65 'contentEl' => 'sf_admin_ content_pages'83 'contentEl' => 'sf_admin_footer' 66 84 )) 67 85 ) … … 74 92 ?> 75 93 76 //Ext.onReady(function(){94 Ext.onReady(function(){ 77 95 // EditLayout.init(); 78 //});96 }); 79 97 80 [?php include_partial('edit_ajax_store') ?]81 [?php include_partial('related_ajax_stores') ?]82 83 98 <?php 84 99 $sfExtjs2Plugin->end(); 85 100 ?> 86 101 102 <div id="sf_admin_container"> 103 104 <div id="sf_admin_header"> 105 [?php include_partial('edit_header', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 106 </div> 107 108 <div id="sf_admin_content_menu"> 109 [?php include_partial('edit_ajax_menu', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 110 </div> 111 87 112 <div id="sf_admin_content_message"> 88 [?php include_partial(' <?php echo $this->getModuleName() ?>/edit_messages', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?]113 [?php include_partial('edit_messages', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 89 114 </div> 90 115 <div id="sf_admin_content_main"> 91 [?php include_partial('<?php echo $this->getModuleName() ?>/edit_form_ajax', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 116 [?php include_partial('edit_form_ajax', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 117 [?php include_partial('edit_form_ajax_tabpages', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 92 118 </div> 119 93 120 <div id="sf_admin_content_pages"> 94 [?php include_partial('<?php echo $this->getModuleName() ?>/edit_form_ajax_tabpages', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 121 95 122 </div> 96 123 97 124 <div id="sf_admin_footer"> 98 [?php include_partial(' <?php echo $this->getModuleName() ?>/edit_footer', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?]125 [?php include_partial('edit_footer', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 99 126 </div> 100 127 plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/editSuccess.php
r5473 r7032 15 15 16 16 <div id="sf_admin_header"> 17 [?php include_partial( '<?php echo $this->getModuleName() ?>/edit_header', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?]17 [?php include_partial(edit_header', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 18 18 </div> 19 19 20 20 <div id="sf_admin_content"> 21 [?php include_partial( '<?php echo $this->getModuleName() ?>/edit_messages', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?]22 [?php include_partial( '<?php echo $this->getModuleName() ?>/edit_form', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?]21 [?php include_partial(edit_messages', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 22 [?php include_partial(edit_form', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>, 'labels' => $labels)) ?] 23 23 </div> 24 24 25 25 <div id="sf_admin_footer"> 26 [?php include_partial( '<?php echo $this->getModuleName() ?>/edit_footer', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?]26 [?php include_partial(edit_footer', array('<?php echo $this->getSingularName() ?>' => $<?php echo $this->getSingularName() ?>)) ?] 27 27 </div> 28 28 plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/jsonListAutocompleteSuccess.php
r5891 r7032 1 [?php include_partial(' <?php echo $this->getModuleName() ?>/json_list_autocomplete', array('pager' => $pager)) ?]1 [?php include_partial('json_list_autocomplete', array('pager' => $pager)) ?] plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/jsonListSuccess.php
r5891 r7032 1 [?php include_partial(' <?php echo $this->getModuleName() ?>/json_list', array('pager' => $pager)) ?]1 [?php include_partial('json_list', array('pager' => $pager)) ?] plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/listSuccess.php
r7018 r7032 36 36 37 37 <div id="sf_admin_header"> 38 [?php include_partial(' <?php echo $this->getModuleName() ?>/list_header', array('pager' => $pager)) ?]39 [?php include_partial(' <?php echo $this->getModuleName() ?>/list_messages', array('pager' => $pager)) ?]38 [?php include_partial('list_header', array('pager' => $pager)) ?] 39 [?php include_partial('list_messages', array('pager' => $pager)) ?] 40 40 </div> 41 41 … … 76 76 77 77 <div id="sf_admin_footer"> 78 [?php include_partial(' <?php echo $this->getModuleName() ?>/list_footer', array('pager' => $pager)) ?]78 [?php include_partial('list_footer', array('pager' => $pager)) ?] 79 79 80 80 </div>