aboutsummaryrefslogtreecommitdiff
path: root/documentation/theming/preview/objects.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 00:10:03 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-14 00:10:03 +0000
commitd3c49d7ee73a6f0bc680868147cc68cccba611a9 (patch)
treee598deec2b98faada3acc62477371e408499c6e1 /documentation/theming/preview/objects.php
parent5a955c633c1ac314ccff3fe5a719ae730105c13a (diff)
downloadelgg-d3c49d7ee73a6f0bc680868147cc68cccba611a9.tar.gz
elgg-d3c49d7ee73a6f0bc680868147cc68cccba611a9.tar.bz2
Refs #2903 moving theme preview into developers plugin - navigation and titles are broken
git-svn-id: http://code.elgg.org/elgg/trunk@8214 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/theming/preview/objects.php')
-rw-r--r--documentation/theming/preview/objects.php85
1 files changed, 0 insertions, 85 deletions
diff --git a/documentation/theming/preview/objects.php b/documentation/theming/preview/objects.php
deleted file mode 100644
index 0dc08cd98..000000000
--- a/documentation/theming/preview/objects.php
+++ /dev/null
@@ -1,85 +0,0 @@
-<?php
-/**
- * CSS Objects: list, module, image_block
- */
-
-$title = 'CSS Objects';
-
-require dirname(__FILE__) . '/head.php';
-
-$url = current_page_url();
-
-?>
-<body>
- <div class="elgg-page mal">
- <h1 class="mbs">
- <a href="index.php">Index</a> > <a href="<?php echo $url; ?>"><?php echo $title; ?></a>
- </h1>
- <div class="mbl">
- <a href="forms.php">< previous</a>&nbsp;&nbsp;<a href="grid.php">next ></a>
- </div>
- <h2>Modules</h2>
- <div class="mbl clearfix">
- <div class="elgg-col elgg-col-1of2">
- <div class="pam">
- <?php
- echo elgg_view_module('aside', 'elgg-module-aside', $ipsum);
- echo elgg_view_module('popup', 'elgg-module-popup', $ipsum);
- ?>
- </div>
- </div>
- <div class="elgg-col elgg-col-1of2">
- <div class="pam">
- <?php
- echo elgg_view_module('info', 'elgg-module-info', $ipsum);
- echo elgg_view_module('featured', 'elgg-module-featured', $ipsum);
- ?>
- </div>
- </div>
- </div>
- <h2>Image Block</h2>
- <div class="mbl clearfix">
- <?php
- $user = new ElggUser();
- $image = elgg_view_entity_icon($user, 'small');
- echo elgg_view_image_block($image, $ipsum);
- ?>
- </div>
- <h2>List</h2>
- <div class="mbl clearfix">
- <?php
- $obj1 = new ElggObject();
- $obj1->title = "Object 1";
- $obj1->description = $ipsum;
- $obj2 = new ElggObject();
- $obj2->title = "Object 2";
- $obj2->description = $ipsum;
- echo elgg_view('layout/objects/list', array('items' => array($obj1, $obj2)));
- ?>
- </div>
- <h2>Table</h2>
- <div class="mbl clearfix">
- <table class="elgg-table">
- <?php
- echo "<thead><tr><th>column 1</th><th>column 2</th></tr></thead>";
- for ($i = 1; $i < 5; $i++) {
- echo '<tr>';
- for ($j = 1; $j < 3; $j++) {
- echo "<td>value $j</td>";
- }
- echo '</tr>';
- }
- ?>
- </table>
- </div>
- <h2>Messages</h2>
- <div class="mbl clearfix">
- <ul>
- <li class="elgg-message elgg-state-success mas">Success message</li>
- <li class="elgg-message elgg-state-error mas">Error message</li>
- <li class="elgg-message elgg-state-notice mas">Notice message</li>
- </ul>
- </div>
- </div>
-</body>
-</html> \ No newline at end of file