aboutsummaryrefslogtreecommitdiff
path: root/documentation/css/preview
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/css/preview')
-rw-r--r--documentation/css/preview/forms.php7
-rw-r--r--documentation/css/preview/general.php9
-rw-r--r--documentation/css/preview/grid.php9
-rw-r--r--documentation/css/preview/icons.php16
-rw-r--r--documentation/css/preview/nav.php7
-rw-r--r--documentation/css/preview/objects.php9
-rw-r--r--documentation/css/preview/widgets.php9
7 files changed, 58 insertions, 8 deletions
diff --git a/documentation/css/preview/forms.php b/documentation/css/preview/forms.php
index b2be5b0bb..89caf8e8b 100644
--- a/documentation/css/preview/forms.php
+++ b/documentation/css/preview/forms.php
@@ -12,7 +12,12 @@ $url = current_page_url();
?>
<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="nav.php">< previous</a>&nbsp;&nbsp;<a href="objects.php">next ></a>
+ </div>
<h2>Form</h2>
<form action="#">
<fieldset>
diff --git a/documentation/css/preview/general.php b/documentation/css/preview/general.php
index e0e8c8a46..3e8d2f6e9 100644
--- a/documentation/css/preview/general.php
+++ b/documentation/css/preview/general.php
@@ -7,10 +7,17 @@ $title = 'General CSS';
require dirname(__FILE__) . '/head.php';
+$url = current_page_url();
+
?>
<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">
+ < previous&nbsp;&nbsp;<a href="nav.php">next ></a>
+ </div>
<h2>Headings</h2>
<div class="mbl">
<h1>Level 1 heading</h1>
diff --git a/documentation/css/preview/grid.php b/documentation/css/preview/grid.php
index 193972dd6..bf20804f8 100644
--- a/documentation/css/preview/grid.php
+++ b/documentation/css/preview/grid.php
@@ -7,10 +7,17 @@ $title = 'Grid';
require dirname(__FILE__) . '/head.php';
+$url = current_page_url();
+
?>
<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="objects.php">< previous</a>&nbsp;&nbsp;<a href="widgets.php">next ></a>
+ </div>
<style>
h3 {text-align: center;}
.preview-outline {border: 1px solid #cccccc; padding: 5px;}
diff --git a/documentation/css/preview/icons.php b/documentation/css/preview/icons.php
index a8d44fccb..2a3a9bb7e 100644
--- a/documentation/css/preview/icons.php
+++ b/documentation/css/preview/icons.php
@@ -7,12 +7,20 @@ $title = 'Icons';
require dirname(__FILE__) . '/head.php';
+$url = current_page_url();
+
?>
<style>li {margin: 10px; float: left;} ul {background-color: #e0e0e0;}</style>
<body>
<div class="elgg-page mal">
- <h1 class="mbl"><a href="index.php">Index</a> > <?php echo $title; ?></h1>
- <ul class="clearfix">
+ <h1 class="mbs">
+ <a href="index.php">Index</a> > <a href="<?php echo $url; ?>"><?php echo $title; ?></a>
+ </h1>
+ <div class="mbl">
+ <a href="widgets.php">< previous</a>&nbsp;&nbsp;next >
+ </div>
+ <h2>Icon Sprites</h2>
+ <ul class="mbl clearfix">
<li><span class="elgg-icon elgg-icon-settings"></span>Settings</li>
<li><span class="elgg-icon elgg-icon-friends"></span>Friends</li>
<li><span class="elgg-icon elgg-icon-help"></span>Help</li>
@@ -24,6 +32,10 @@ require dirname(__FILE__) . '/head.php';
<li><span class="elgg-icon elgg-icon-arrow-s"></span>Arrow S</li>
<li><span class="elgg-icon elgg-icon-hover-menu"></span>Hover Menu</li>
</ul>
+ <h2>Ajax loader</h2>
+ <div class="mbl">
+ <?php echo elgg_view('graphics/ajax_loader', array('hidden' => false)); ?>
+ </div>
</div>
</body>
</html> \ No newline at end of file
diff --git a/documentation/css/preview/nav.php b/documentation/css/preview/nav.php
index b3a12005f..3a9daea98 100644
--- a/documentation/css/preview/nav.php
+++ b/documentation/css/preview/nav.php
@@ -16,7 +16,12 @@ elgg_push_breadcrumb('Third');
?>
<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="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'); ?>
diff --git a/documentation/css/preview/objects.php b/documentation/css/preview/objects.php
index d9bffaf9b..f90009cab 100644
--- a/documentation/css/preview/objects.php
+++ b/documentation/css/preview/objects.php
@@ -7,10 +7,17 @@ $title = 'CSS Objects';
require dirname(__FILE__) . '/head.php';
+$url = current_page_url();
+
?>
<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="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">
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++) {