first import
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Outputs the Image XML node for piecemaker xml files
|
||||
*
|
||||
* @variables
|
||||
* $item: An associative array. @see template_preprocess_piecemaker_xml for details
|
||||
*/
|
||||
?>
|
||||
<Image <?php print drupal_attributes($item['#attributes']); ?>>
|
||||
<?php if (!empty($item['Text'])):?>
|
||||
<Text><?php print $item['Text']; ?></Text>
|
||||
<?php endif;?>
|
||||
<?php if (!empty($item['Hyperlink']['#attributes'])):?>
|
||||
<Hyperlink <?php print drupal_attributes($item['Hyperlink']['#attributes']);?>/>
|
||||
<?php endif;?>
|
||||
</Image>
|
Reference in New Issue
Block a user