Advertisement:

Author Topic: "styles" for products attributes for bender theme  (Read 1064 times)

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
"styles" for products attributes for bender theme
« on: October 04, 2013, 11:00:10 pm »
recoded styles for the bender theme....

replace all in plugins/products_attributes/item_detail.php


Code: [Select]
<div class="box products_attributes">
<h2><?php _e('Product Attributes''products_attributes') ; ?></h2>
<div class="control-group">
 
            <div class="control-label"><label for="make"><?php _e('Make''products_attributes'); ?></label></div>
            <div class="controls"><?php echo @$detail['s_make']; ?></div>
            </div>
            <div class"control-group">
            <div class="control-label"><label for="model"><?php _e('Model''products_attributes'); ?></label></div>
            <div class="controls"><?php echo @$detail['s_model']; ?></div>
            </div>
            </div>

and in plugins/products_attributes/item_edit.php replace all:
Code: [Select]
<div class="box products_attributes">
<h2><?php _e('Product Attributes''products_attributes') ; ?></h2>
<div class="control-group">
<?php if( Session::newInstance()->_getForm('pp_make') != '' ) { $detail['s_make'] = Session::newInstance()->_getForm('pp_make'); } ?>
<div class="control-label"><label for="make"><?php _e('Make''products_attributes'); ?></label></div>
<div class="controls"><input type="text" name="make" id="make" value="<?php if(@$detail['s_make'] != ''){echo @$detail['s_make']; } ?>" /></div>
</div>
<div class"control-group"><?php if( Session::newInstance()->_getForm('pp_model') != '' ) { $detail['s_model'] = Session::newInstance()->_getForm('pp_model'); } ?>
<div class="control-label"><label for="model"><?php _e('Model''products_attributes'); ?></label></div>
<div class="controls"><input type="text" name="model" id="model" value="<?php if(@$detail['s_model']){echo @$detail['s_model']; } ?>" /></div>
</div>
</div>