Imagen/Link Drupal


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $attributes = array('attributes' => array('title' => t('Oficina de ventas.')), 'html' => TRUE);
  3. $link = l('<img src="'. base_path().drupal_get_path('theme', 'staig') .'/img/b_oficina.png" alt="Oficina de Ventas">', "oficinas", $attributes);
  4. print $link;
  5. ?>
  6.  
  7. <!-- CSS -->
  8. .block a.boton {
  9. background:url("../img/botones.png") no-repeat scroll left top transparent;
  10. display:block;
  11. height:78px;
  12. text-decoration:none;
  13. text-indent:-5000px;
  14. width:221px;
  15. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.