/** * Get the rendering of this field type for a repeatable (grid) display, * e.g. in a view listing many item (typically a "browse" task) * * @since 2.0 * * @return string The field HTML */ public function getRepeatable() { include_once F0FTemplateUtils::parsePath('admin://components/com_akeebasubs/helpers/image.php', true); // Initialise $class = $this->id; // Get field parameters if ($this->element['class']) { $class = (string) $this->element['class']; } // Start the HTML output $html = '<span class="' . $class . '">'; $html .= '<img src="' . AkeebasubsHelperImage::getURL($this->value) . '" width="32" height="32" class="sublevelpic" />'; // End the HTML output $html .= '</span>'; return $html; }
</td> <?php } ?> </tr> <?php } ?> <tr> <?php foreach ($this->items as $level) { ?> <td class="akeebasubs-strappy-image"> <img src="<?php echo AkeebasubsHelperImage::getURL($level->image); ?> " /> </td> <?php } ?> </tr> <tr> <?php foreach ($this->items as $level) { ?> <td class="akeebasubs-strappy-description"> <?php echo JHTML::_('content.prepare', AkeebasubsHelperMessage::processLanguage($level->description)); ?>
echo sprintf('%05u', (int) $subscription->akeebasubs_subscription_id); ?> </strong> </a> </span> </td> <td> <span class="editlinktip hasTip" title="<?php echo $this->escape($subscription->title); ?> ::<?php echo JText::_('COM_AKEEBASUBS_SUBSCRIPTION_LEVEL_EDIT_TOOLTIP'); ?> "> <img src="<?php echo AkeebasubsHelperImage::getURL($subscription->image); ?> " width="32" height="32" class="sublevelpic" /> <a href="index.php?option=com_akeebasubs&view=level&id=<?php echo $subscription->akeebasubs_level_id; ?> " class="subslevel"> <?php echo $this->escape($subscription->title); ?> </a> </span> </td> <td> <span class="editlinktip hasTip" title="<?php echo $this->escape($subscription->username);
$this->loadHelper('message'); require_once JPATH_ADMINISTRATOR . '/components/com_akeebasubs/helpers/image.php'; ?> <div id="akeebasubs-subscribe-level"> <h3 class="level-title"> <span class="level-title-text"> <?php echo $this->escape($this->item->title); ?> </span> </h3> <div class="level-description level-description-short"> <div class="level-description-inner"> <?php if (!empty($this->item->image)) { ?> <img class="level-image" src="<?php echo AkeebasubsHelperImage::getURL($this->item->image); ?> " /> <?php } ?> <?php echo JHTML::_('content.prepare', AkeebasubsHelperMessage::processLanguage($this->item->description)); ?> </div> </div> <div class="level-clear"></div> </div>