block.pre.php 225 B

123456
  1. <?php
  2. //
  3. $vars['attributes']['class']='block block-'. $vars['block']->module .' '. (isset($vars['skinr']) ? $vars['skinr'] : '');
  4. $vars['attributes']['id'] = 'block-'. $vars['block']->module .'-'. $vars['block']->delta;