Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xobject>
- <?php foreach ($fields as $id => $field): ?>
- <?php if (!empty($field->separator)): ?>
- <?php print $field->separator; ?>
- <?php endif; ?>
- <?php if ($field->class == 'field-slideimage-fid') : ?>
- <ximg><?php print $field->content ?></ximg>
- <? elseif ($field->class == 'field-link-to-nid') : ?>
- <xlink><?php print $field->content ?></xlink>
- <? elseif ($field->class == 'title') : ?>
- <xalttitle><?php print $field->content ?></xalttitle>
- <? elseif ($field->class == 'field-nav-title-value') : ?>
- <xtitle><?php print $field->content ?></xtitle>
- <? else : ?>
- <xcontent><?php print $field->class ?>: <?php print $field->content ?></xcontent>
- <? endif; ?>
- <?php endforeach; ?>
- </xobject>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement