Development

Changeset 7082

You must first sign up to be able to contribute.

Changeset 7082

Show
Ignore:
Timestamp:
01/17/08 19:12:27 (10 months ago)
Author:
Leon.van.der.Ree
Message:

added option to remove border-panel around grid

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/config/config.php

    r6717 r7082  
    55 
    66sfConfig::set('extjs_quote_except', $quoteExcept); 
     7 
     8sfConfig::set('app_sf_extjs_theme_plugin_border_panel', true); 
  • plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/_json_list_td.php

    r6885 r7082  
    99$tableDelimiter = sfConfig::get('app_sf_extjs_theme_plugin_table_delimiter', '-'); 
    1010 
    11 //TODO merge with edit.hide, or make different json page for edit, which reduces data overhead (you only send the columns for that view, since datastores are different anyway) 
     11//TODO: seperate json-data in list and edit-page, maybe even per tab-page 
     12//TODO merge with edit.hide, OR!!! make different json page for edit, which reduces data overhead (you only send the columns for that view, since datastores are different anyway) 
    1213$hs = $this->getParameterValue('list.hide', array()); 
    1314 
  • plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/listSuccess.php

    r7032 r7082  
    5757[?php // Extjs GRID ?] 
    5858<?php else: ?> 
     59 
    5960  <div id="htmlMessageBox"></div> 
     61  <?php if ($this->getParameterValue('border_panel', sfConfig::get('app_sf_extjs_theme_plugin_border_panel', true))): ?>   
    6062  <div style="width:100%;" class="x-gray"> 
    6163      <div class="x-box-tl"><div class="x-box-tr"><div class="x-box-tc"></div></div></div> 
     
    6365          <h3 style="margin-bottom:5px;"><?php echo $this->getI18NString('list.title', $this->getModuleName().' list') ?></h3> 
    6466          <div id="ajax-border" style="border:1px solid transparent;"> 
     67  <?php endif; ?> 
     68           
    6569            <div id="tabs"></div> 
    6670            <div id="tabContent"> 
     
    6872              <div id="htmlPanelGrid"></div> 
    6973            </div> 
     74 
     75  <?php if ($this->getParameterValue('border_panel', sfConfig::get('app_sf_extjs_theme_plugin_border_panel', true))): ?>   
    7076          </div> 
    7177      </div></div></div> 
    7278      <div class="x-box-bl"><div class="x-box-br"><div class="x-box-bc"></div></div></div> 
    7379  </div> 
     80  <?php endif; ?> 
    7481 
    7582<?php endif; ?>