Esempio n. 1
0
 }
 ?>
     </div>
 <?php 
 if ($addonType && $addonType != 'Core') {
     $typeHelp = t('AddonHelpFor' . $addonType, '');
     if ($typeHelp) {
         echo '<div class="Help">' . $typeHelp . '</div>';
     }
 }
 if ($this->data('Icon') != '') {
     echo '<img class="Icon" src="' . Gdn_Upload::url($this->data('Icon')) . '" itemprop="image" />';
 }
 $currentVersion = $this->data('CurrentVersion');
 if ($currentVersion && $currentVersion != $this->data('Version')) {
     echo '<p>', sprintf(t("This is not the most recent version of this plugin.", 'This is not the most recent version of this plugin. For the most recent version click <a href="%s">here</a>.'), URL('addon/' . AddonModel::Slug($this->Data, false))), '</p>';
 }
 echo '<div itemprop="description">';
 echo Gdn_Format::html($this->data('Description'));
 if ($this->data('Description2') && $ver != 'v1') {
     echo '<br /><br />', Gdn_Format::markdown($this->data('Description2'));
 }
 echo '</div>';
 ?>
 </div>
 <?php 
 if ($this->PictureData->numRows() > 0) {
     ?>
     <div class="PictureBox">
         <?php 
     foreach ($this->PictureData->result() as $picture) {