block.pre.php 281 B

12345678
  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;
  5. $vars['block']->subject = t($vars['block']->subject);