aboutsummaryrefslogtreecommitdiff
path: root/views/default/entities/list_item.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-03 13:29:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-03 13:29:09 +0000
commitfb125354d94ad2784e73886a57476e4fc1dc72aa (patch)
tree8e722e0dce141649c7b9c955fad03962c1f76d73 /views/default/entities/list_item.php
parent3500fcfa23ec6d140b88ab0f75b2116b12d739c6 (diff)
downloadelgg-fb125354d94ad2784e73886a57476e4fc1dc72aa.tar.gz
elgg-fb125354d94ad2784e73886a57476e4fc1dc72aa.tar.bz2
Refs #2189 the beginning of semantic markup for entity lists - needs some reorganization
git-svn-id: http://code.elgg.org/elgg/trunk@7516 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/entities/list_item.php')
-rw-r--r--views/default/entities/list_item.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/default/entities/list_item.php b/views/default/entities/list_item.php
new file mode 100644
index 000000000..4b6636db7
--- /dev/null
+++ b/views/default/entities/list_item.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Generic display for a single entity in list view.
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses string $vars['icon'] Full icon HTML to display.
+ * @uses string $vars['info'] Info about the entity.
+ */
+?>
+<div class="listing entity-listing">
+ <div class="icon">
+ <?php echo $vars['icon']; ?>
+ </div>
+ <div class="info">
+ <?php echo $vars['info']; ?>
+ </div>
+</div>