You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.4 KiB

10 years ago
10 years ago
  1. <li class="h-entry">
  2. <?php if($this->entry->latitude): ?>
  3. <img src="<?= build_static_map_url($this->entry->latitude, $this->entry->longitude, 174,300,14) ?>" class="map-img">
  4. <?php endif; ?>
  5. <div class="author h-card p-author">
  6. <a class="photo" href="http://<?= $this->user->url ?>"><img src="<?= $this->user->photo_url ?>" class="u-photo" height="50" width="50" alt="<?= $this->user->url ?>"></a>
  7. <a class="name p-name" href="http://<?= $this->user->url ?>"><?= $this->user->name ?></a>
  8. <a class="url u-url" href="http://<?= $this->user->url ?>"><?= $this->user->url ?></a>
  9. <div style="clear:both;"></div>
  10. </div>
  11. <div class="content e-content p-name"><?= $this->entry->content ?></div>
  12. <?php if($this->entry->latitude): ?>
  13. <div class="location">
  14. <div class="p-location h-geo">
  15. <i class="fa fa-map-marker"></i>
  16. <data class="p-latitude" value="<?= $this->entry->latitude ?>"><?= $this->entry->latitude ?></data>, <data class="p-longitude" value="<?= $this->entry->longitude ?>"><?= $this->entry->longitude ?></data>
  17. </div>
  18. </div>
  19. <?php endif; ?>
  20. <div class="date">
  21. <a href="<?= entry_url($this->entry, $this->user) ?>" class="u-url"><time class="dt-published" datetime="<?= entry_date($this->entry, $this->user)->format('c') ?>"><?= entry_date($this->entry, $this->user)->format('F j, Y g:ia T') ?></time></a>
  22. </div>
  23. </li>