diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-19 00:32:08 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-19 00:32:08 +0000 |
commit | e3ae2734233fd11e5fedd7cd2fc3f87cff79dc20 (patch) | |
tree | 01255e78ad74c0e92200cd3846bb2e5df68b6d53 /mod/developers/views/default/theme_preview/nav.php | |
parent | 8f5c54b7acfd027bf1f95b70931a3f6ef61c8eb6 (diff) | |
download | elgg-e3ae2734233fd11e5fedd7cd2fc3f87cff79dc20.tar.gz elgg-e3ae2734233fd11e5fedd7cd2fc3f87cff79dc20.tar.bz2 |
theme_preview is using more familiar/correct page handling practices
git-svn-id: http://code.elgg.org/elgg/trunk@8300 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers/views/default/theme_preview/nav.php')
-rw-r--r-- | mod/developers/views/default/theme_preview/nav.php | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/mod/developers/views/default/theme_preview/nav.php b/mod/developers/views/default/theme_preview/nav.php deleted file mode 100644 index 4e6f4d3d6..000000000 --- a/mod/developers/views/default/theme_preview/nav.php +++ /dev/null @@ -1,65 +0,0 @@ -<?php -/** - * Navigation CSS - */ - -$url = current_page_url(); - -elgg_push_breadcrumb('First', "$url#"); -elgg_push_breadcrumb('Second', "$url#"); -elgg_push_breadcrumb('Third'); - -?> -<div class="elgg-page mal"> - <?php echo elgg_view('theme_preview/header', $vars); ?> - <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> |