diff options
| author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-05 16:16:30 +0000 | 
|---|---|---|
| committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-05 16:16:30 +0000 | 
| commit | 23633a68a0a48e273dbffcd998603a6bb787f73a (patch) | |
| tree | aeb3c950ca9ac3bb14f873f135033ef551e90082 /documentation/css/preview/widgets.php | |
| parent | 54b01954f02adbb17df1cf44e2b215ddfb54b587 (diff) | |
| download | elgg-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.php | 9 | 
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>  <a href="icons.php">next ></a> +		</div>  <?php  $w = array();  for ($i=1; $i<=6; $i++) {  | 
