Guest User

Untitled

a guest
May 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <?php if ($field->element_type): ?>
  2. <?php $thistype = ($field->element_type) ?>
  3. <?php
  4. if(strstr($thistype, 'thumbnail')) ?>
  5. print "<div class='leftcolumn'>";
  6. endif;
  7. ?>
  8. <<?php print $field->element_type; ?><?php print drupal_attributes($field->attributes); ?>>
  9. <?php endif; ?>
  10.  
  11. The error is...
  12.  
  13. Parse error: syntax error, unexpected T_ENDIF in /var/www/drupal/scaroadside/sites/all/themes/fusion_sca/semanticviews-view-fields--resources.tpl.php on line 40
  14.  
  15. Line 40 is the one that just reads, 'endif;'
Add Comment
Please, Sign In to add comment