aboutsummaryrefslogtreecommitdiff
path: root/documentation/css/preview/nav.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 16:19:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 16:19:52 +0000
commit53433d73e36f36ccff2df95447c48c433ba0efef (patch)
tree00989c9e4fa7d38f6b336b679b0339cdcc600e19 /documentation/css/preview/nav.php
parent23633a68a0a48e273dbffcd998603a6bb787f73a (diff)
downloadelgg-53433d73e36f36ccff2df95447c48c433ba0efef.tar.gz
elgg-53433d73e36f36ccff2df95447c48c433ba0efef.tar.bz2
changed named from css preview to theming preview
git-svn-id: http://code.elgg.org/elgg/trunk@8029 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/css/preview/nav.php')
-rw-r--r--documentation/css/preview/nav.php77
1 files changed, 0 insertions, 77 deletions
diff --git a/documentation/css/preview/nav.php b/documentation/css/preview/nav.php
deleted file mode 100644
index 3a9daea98..000000000
--- a/documentation/css/preview/nav.php
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-/**
- * Navigation CSS
- */
-
-$title = 'Navigation';
-
-require dirname(__FILE__) . '/head.php';
-
-$url = current_page_url();
-
-elgg_push_breadcrumb('First', "$url#");
-elgg_push_breadcrumb('Second', "$url#");
-elgg_push_breadcrumb('Third');
-
-?>
-<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="general.php">< previous</a>&nbsp;&nbsp;<a href="forms.php">next ></a>
- </div>
- <h2>Breadcrumbs</h2>
- <div class="mbl">
- <?php echo elgg_view('navigation/breadcrumbs'); ?>
- </div>
- <h2>Tabs</h2>
- <div class="mbl">
- <?php
- $tabs = array(
- array('title' => 'First', 'url' => "$url#"),
- array('title' => 'Second', 'url' => "$url#", 'selected' => true),
- array('title' => 'Third', 'url' => "$url#"),
- );
- echo elgg_view('navigation/tabs', array('tabs' => $tabs));
- ?>
- </div>
- <h2>Pagination</h2>
- <div class="mbl">
- <?php
- $params = array(
- 'count' => 1000,
- 'limit' => 10,
- 'offset' => 230,
- );
- echo elgg_view('navigation/pagination', $params);
- ?>
- </div>
- <h2>Site Menu</h2>
- <div class="mbl">
- <div class="elgg-page-header" style="height: 40px;">
- <?php
- $params = array();
- $params['menu'] = array();
- $params['menu']['default'] = array();
- for ($i=1; $i<=5; $i++) {
- $params['menu']['default'][] = new ElggMenuItem($i, "Page $i", "$url#");
- }
- $params['menu']['default'][2]->setSelected(true);
- echo elgg_view('navigation/menu/site', $params);
- ?>
- </div>
- </div>
- <h2>Page Menu</h2>
- <div class="mbl pam" style="width: 200px; background-color: #cccccc;">
- <?php
- $m = new ElggMenuItem(10, "Child", "$url#");
- $m->setParent($params['menu']['default'][1]);
- $params['menu']['default'][1]->addChild($m);
- echo elgg_view('navigation/menu/page', $params);
- ?>
- </div>
- </div>
-</body>
-</html> \ No newline at end of file