aboutsummaryrefslogtreecommitdiff
path: root/documentation/css/preview/widgets.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 16:16:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-05 16:16:30 +0000
commit23633a68a0a48e273dbffcd998603a6bb787f73a (patch)
treeaeb3c950ca9ac3bb14f873f135033ef551e90082 /documentation/css/preview/widgets.php
parent54b01954f02adbb17df1cf44e2b215ddfb54b587 (diff)
downloadelgg-23633a68a0a48e273dbffcd998603a6bb787f73a.tar.gz
elgg-23633a68a0a48e273dbffcd998603a6bb787f73a.tar.bz2
better navigation for theming previews
git-svn-id: http://code.elgg.org/elgg/trunk@8028 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/css/preview/widgets.php')
-rw-r--r--documentation/css/preview/widgets.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/documentation/css/preview/widgets.php b/documentation/css/preview/widgets.php
index e98e95054..ca45132df 100644
--- a/documentation/css/preview/widgets.php
+++ b/documentation/css/preview/widgets.php
@@ -7,6 +7,8 @@ $title = 'Widgets';
require dirname(__FILE__) . '/head.php';
+$url = current_page_url();
+
elgg_register_plugin_hook_handler('view', 'widgets/friends/content', 'css_widget_content');
elgg_register_plugin_hook_handler('view', 'widgets/friends/edit', 'css_widget_content');
elgg_register_plugin_hook_handler('permissions_check', 'all', 'css_permissions_override');
@@ -24,7 +26,12 @@ function css_permissions_override() {
?>
<body>
<div class="elgg-page mal">
- <h1 class="mbl"><a href="index.php">Index</a> > <?php echo $title; ?></h1>
+ <h1 class="mbs">
+ <a href="index.php">Index</a> > <a href="<?php echo $url; ?>"><?php echo $title; ?></a>
+ </h1>
+ <div class="mbl">
+ <a href="grid.php">< previous</a>&nbsp;&nbsp;<a href="icons.php">next ></a>
+ </div>
<?php
$w = array();
for ($i=1; $i<=6; $i++) {