From 53433d73e36f36ccff2df95447c48c433ba0efef Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Feb 2011 16:19:52 +0000 Subject: changed named from css preview to theming preview git-svn-id: http://code.elgg.org/elgg/trunk@8029 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/css/preview/forms.php | 220 --------------------- documentation/css/preview/general.php | 70 ------- documentation/css/preview/grid.php | 92 --------- documentation/css/preview/head.php | 42 ---- documentation/css/preview/icons.php | 41 ---- documentation/css/preview/index.php | 23 --- documentation/css/preview/nav.php | 77 -------- documentation/css/preview/objects.php | 84 -------- documentation/css/preview/widgets.php | 63 ------ documentation/theming/preview/forms.php | 220 +++++++++++++++++++++ documentation/theming/preview/general.php | 70 +++++++ documentation/theming/preview/grid.php | 92 +++++++++ documentation/theming/preview/head.php | 42 ++++ documentation/theming/preview/icons.php | 41 ++++ documentation/theming/preview/index.php | 23 +++ documentation/theming/preview/nav.php | 77 ++++++++ documentation/theming/preview/objects.php | 84 ++++++++ documentation/theming/preview/widgets.php | 63 ++++++ mod/developers/languages/en.php | 2 +- .../views/default/admin/developers/preview.php | 2 +- 20 files changed, 714 insertions(+), 714 deletions(-) delete mode 100644 documentation/css/preview/forms.php delete mode 100644 documentation/css/preview/general.php delete mode 100644 documentation/css/preview/grid.php delete mode 100644 documentation/css/preview/head.php delete mode 100644 documentation/css/preview/icons.php delete mode 100644 documentation/css/preview/index.php delete mode 100644 documentation/css/preview/nav.php delete mode 100644 documentation/css/preview/objects.php delete mode 100644 documentation/css/preview/widgets.php create mode 100644 documentation/theming/preview/forms.php create mode 100644 documentation/theming/preview/general.php create mode 100644 documentation/theming/preview/grid.php create mode 100644 documentation/theming/preview/head.php create mode 100644 documentation/theming/preview/icons.php create mode 100644 documentation/theming/preview/index.php create mode 100644 documentation/theming/preview/nav.php create mode 100644 documentation/theming/preview/objects.php create mode 100644 documentation/theming/preview/widgets.php diff --git a/documentation/css/preview/forms.php b/documentation/css/preview/forms.php deleted file mode 100644 index 89caf8e8b..000000000 --- a/documentation/css/preview/forms.php +++ /dev/null @@ -1,220 +0,0 @@ - - -
-

- Index > -

- -

Form

-
-
- Form legend -

- - 'f1', - 'internalid' => 'f1', - 'value' => 'input text', - )); - ?> -

-

- - 'f2', - 'internalid' => 'f2', - 'value' => 'password', - )); - ?> -

-

-
- 'f3', - 'internalid' => 'f3', - 'options' => array(1, 2), - )); - ?> -

-

-
- 'f4', - 'internalid' => 'f4', - 'options' => array(1, 2), - )); - ?> -

-

-
- 'f5', - 'internalid' => 'f5', - 'options' => array('option 1', 'option 2'), - )); - ?> -

-

- - 'f6', - 'internalid' => 'f6', - 'value' => ACCESS_PUBLIC, - )); - ?> -

-

- - 'f7', - 'internalid' => 'f7', - )); - ?> -

-

- - 'f8', - 'internalid' => 'f8', - 'value' => 'http://elgg.org/', - )); - ?> -

-

- - 'f9', - 'internalid' => 'f9', - 'value' => 'one, two, three', - )); - ?> -

-

- - 'f10', - 'internalid' => 'f10', - 'value' => 'noone@elgg.org', - )); - ?> -

-

- - 'f11', - 'internalid' => 'f11', - 'match_on' => 'users', - )); - ?> -

-

- - 'f12', - 'internalid' => 'f12', - )); - ?> -

-

- - 'f13', - 'internalid' => 'f13', - )); - ?> -

-

- - 'f14', - 'internalid' => 'f14', - 'value' => $ipsum, - )); - ?> -

-

- - 'f15', - 'internalid' => 'f15', - 'value' => $ipsum, - )); - ?> -

-
-
- -
-

Buttons

-

- 'b1', - 'value' => 'input[type=submit]', - )); - ?> -

-

- "$url#", - 'text' => 'a.elgg-submit-button', - 'class' => 'elgg-button elgg-submit-button', - )); - ?> -

-

- "$url#", - 'text' => 'submit button disabled', - 'class' => 'elgg-button elgg-submit-button disabled', - )); - ?> -

-

- 'b3', - 'value' => 'input[type=button]', - )); - ?> -

-

- "$url#", - 'text' => 'a.elgg-cancel-button', - 'class' => 'elgg-button elgg-cancel-button', - )); - ?> -

-

- "$url#", - 'text' => 'a.elgg-action-button', - 'class' => 'elgg-action-button', - )); - ?> -

-

- "$url#", - 'text' => 'action button disabled', - 'class' => 'elgg-action-button disabled', - )); - ?> -

-
- -
- - \ No newline at end of file diff --git a/documentation/css/preview/general.php b/documentation/css/preview/general.php deleted file mode 100644 index 3e8d2f6e9..000000000 --- a/documentation/css/preview/general.php +++ /dev/null @@ -1,70 +0,0 @@ - - -
-

- Index > -

-
- < previous  next > -
-

Headings

-
-

Level 1 heading

-

Level 2 heading

-

Level 3 heading

-

Level 4 heading

-
Level 5 heading
-
Level 6 heading
-
-

Paragraph

-
-

Lorem ipsum dolor sit amet, test link - adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec - faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero - nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent - mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu - volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus - eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, - consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue - quis tellus.

- -

Lorem ipsum dolor sit amet, emphasis - consectetuer - adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec - faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero - nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent - mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu - volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus - eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, - consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue - quis tellus.

-
-

Misc

-

- I am the a tag example
- I am the abbr tag example
- I am the acronym tag example
- I am the b tag example
- I am the code tag example
- I am the del tag example
- I am the em tag example
- I am the i tag example
- I am the strong tag example
-

-

Paragraph inside Blockquote:

-
Preformated:Testing one row
-				 and another
-
- - \ No newline at end of file diff --git a/documentation/css/preview/grid.php b/documentation/css/preview/grid.php deleted file mode 100644 index bf20804f8..000000000 --- a/documentation/css/preview/grid.php +++ /dev/null @@ -1,92 +0,0 @@ - - -
-

- Index > -

- - - -
-
-

1/5

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

3/5

-
-
-

1/2

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

1/2

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

1/3

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

2/3

-
-
-

1/2

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

1/2

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-

1

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
-
-
-
-
-
-

1/5

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
- -
- - \ No newline at end of file diff --git a/documentation/css/preview/head.php b/documentation/css/preview/head.php deleted file mode 100644 index 360f56647..000000000 --- a/documentation/css/preview/head.php +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - <?php echo $title; ?> - - - - - - - - diff --git a/documentation/css/preview/icons.php b/documentation/css/preview/icons.php deleted file mode 100644 index 2a3a9bb7e..000000000 --- a/documentation/css/preview/icons.php +++ /dev/null @@ -1,41 +0,0 @@ - - - -
-

- Index > -

-
- < previous  next > -
-

Icon Sprites

- -

Ajax loader

-
- false)); ?> -
-
- - \ No newline at end of file diff --git a/documentation/css/preview/index.php b/documentation/css/preview/index.php deleted file mode 100644 index ce71d28df..000000000 --- a/documentation/css/preview/index.php +++ /dev/null @@ -1,23 +0,0 @@ - - -
-

Index

- -
- - \ No newline at end of file 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 @@ - - -
-

- Index > -

- -

Breadcrumbs

-
- -
-

Tabs

-
- 'First', 'url' => "$url#"), - array('title' => 'Second', 'url' => "$url#", 'selected' => true), - array('title' => 'Third', 'url' => "$url#"), - ); - echo elgg_view('navigation/tabs', array('tabs' => $tabs)); - ?> -
-

Pagination

-
- 1000, - 'limit' => 10, - 'offset' => 230, - ); - echo elgg_view('navigation/pagination', $params); - ?> -
-

Site Menu

-
-
- setSelected(true); - echo elgg_view('navigation/menu/site', $params); - ?> -
-
-

Page Menu

-
- setParent($params['menu']['default'][1]); - $params['menu']['default'][1]->addChild($m); - echo elgg_view('navigation/menu/page', $params); - ?> -
-
- - \ No newline at end of file diff --git a/documentation/css/preview/objects.php b/documentation/css/preview/objects.php deleted file mode 100644 index f90009cab..000000000 --- a/documentation/css/preview/objects.php +++ /dev/null @@ -1,84 +0,0 @@ - - -
-

- Index > -

- -

Modules

-
-
-
- 'elgg-aside-module', - 'body' => $ipsum, - 'class' => 'elgg-aside-module', - )); - ?> - 'elgg-popup-module', - 'body' => $ipsum, - 'class' => 'elgg-popup-module', - )); - ?> -
-
-
-
- 'elgg-group-module', - 'body' => $ipsum, - 'class' => 'elgg-group-module', - )); - ?> -
-
- 'elgg-info-module', - 'body' => $ipsum, - 'class' => 'elgg-info-module', - )); - ?> -
-
-
-

Image Block

-
- "; - echo elgg_view_image_block($image, $ipsum); - ?> -
-

List

-
- title = "Object 1"; - $obj1->description = $ipsum; - $obj2 = new ElggObject(); - $obj2->title = "Object 2"; - $obj2->description = $ipsum; - echo elgg_view('layout/objects/list', array('items' => array($obj1, $obj2))); - ?> -
-
- - \ No newline at end of file diff --git a/documentation/css/preview/widgets.php b/documentation/css/preview/widgets.php deleted file mode 100644 index ca45132df..000000000 --- a/documentation/css/preview/widgets.php +++ /dev/null @@ -1,63 +0,0 @@ - - -
-

- Index > -

- -handler = 'friends'; - $obj->title = "Widget $i"; - $w[] = $obj; -} -$column1 = array($w[0], $w[1]); -$column2 = array($w[2], $w[3]); -$column3 = array($w[4], $w[5]); -$widgets = array(1 => $column1, 2 => $column2, 3 => $column3); -$num_columns = 3; -$widget_class = "elgg-col-1of{$num_columns}"; -for ($column_index = 1; $column_index <= $num_columns; $column_index++) { - $column_widgets = $widgets[$column_index]; - - echo "
"; - if (is_array($column_widgets) && sizeof($column_widgets) > 0) { - foreach ($column_widgets as $widget) { - echo elgg_view_entity($widget); - } - } - echo '
'; -} -?> -
- - \ No newline at end of file diff --git a/documentation/theming/preview/forms.php b/documentation/theming/preview/forms.php new file mode 100644 index 000000000..89caf8e8b --- /dev/null +++ b/documentation/theming/preview/forms.php @@ -0,0 +1,220 @@ + + +
+

+ Index > +

+ +

Form

+
+
+ Form legend +

+ + 'f1', + 'internalid' => 'f1', + 'value' => 'input text', + )); + ?> +

+

+ + 'f2', + 'internalid' => 'f2', + 'value' => 'password', + )); + ?> +

+

+
+ 'f3', + 'internalid' => 'f3', + 'options' => array(1, 2), + )); + ?> +

+

+
+ 'f4', + 'internalid' => 'f4', + 'options' => array(1, 2), + )); + ?> +

+

+
+ 'f5', + 'internalid' => 'f5', + 'options' => array('option 1', 'option 2'), + )); + ?> +

+

+ + 'f6', + 'internalid' => 'f6', + 'value' => ACCESS_PUBLIC, + )); + ?> +

+

+ + 'f7', + 'internalid' => 'f7', + )); + ?> +

+

+ + 'f8', + 'internalid' => 'f8', + 'value' => 'http://elgg.org/', + )); + ?> +

+

+ + 'f9', + 'internalid' => 'f9', + 'value' => 'one, two, three', + )); + ?> +

+

+ + 'f10', + 'internalid' => 'f10', + 'value' => 'noone@elgg.org', + )); + ?> +

+

+ + 'f11', + 'internalid' => 'f11', + 'match_on' => 'users', + )); + ?> +

+

+ + 'f12', + 'internalid' => 'f12', + )); + ?> +

+

+ + 'f13', + 'internalid' => 'f13', + )); + ?> +

+

+ + 'f14', + 'internalid' => 'f14', + 'value' => $ipsum, + )); + ?> +

+

+ + 'f15', + 'internalid' => 'f15', + 'value' => $ipsum, + )); + ?> +

+
+
+ +
+

Buttons

+

+ 'b1', + 'value' => 'input[type=submit]', + )); + ?> +

+

+ "$url#", + 'text' => 'a.elgg-submit-button', + 'class' => 'elgg-button elgg-submit-button', + )); + ?> +

+

+ "$url#", + 'text' => 'submit button disabled', + 'class' => 'elgg-button elgg-submit-button disabled', + )); + ?> +

+

+ 'b3', + 'value' => 'input[type=button]', + )); + ?> +

+

+ "$url#", + 'text' => 'a.elgg-cancel-button', + 'class' => 'elgg-button elgg-cancel-button', + )); + ?> +

+

+ "$url#", + 'text' => 'a.elgg-action-button', + 'class' => 'elgg-action-button', + )); + ?> +

+

+ "$url#", + 'text' => 'action button disabled', + 'class' => 'elgg-action-button disabled', + )); + ?> +

+
+ +
+ + \ No newline at end of file diff --git a/documentation/theming/preview/general.php b/documentation/theming/preview/general.php new file mode 100644 index 000000000..3e8d2f6e9 --- /dev/null +++ b/documentation/theming/preview/general.php @@ -0,0 +1,70 @@ + + +
+

+ Index > +

+
+ < previous  next > +
+

Headings

+
+

Level 1 heading

+

Level 2 heading

+

Level 3 heading

+

Level 4 heading

+
Level 5 heading
+
Level 6 heading
+
+

Paragraph

+
+

Lorem ipsum dolor sit amet, test link + adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec + faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero + nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent + mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu + volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus + eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, + consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue + quis tellus.

+ +

Lorem ipsum dolor sit amet, emphasis + consectetuer + adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec + faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero + nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent + mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu + volutpat enim diam eget metus. Maecenas ornare tortor. Donec sed tellus + eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, + consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue + quis tellus.

+
+

Misc

+

+ I am the a tag example
+ I am the abbr tag example
+ I am the acronym tag example
+ I am the b tag example
+ I am the code tag example
+ I am the del tag example
+ I am the em tag example
+ I am the i tag example
+ I am the strong tag example
+

+

Paragraph inside Blockquote:

+
Preformated:Testing one row
+				 and another
+
+ + \ No newline at end of file diff --git a/documentation/theming/preview/grid.php b/documentation/theming/preview/grid.php new file mode 100644 index 000000000..bf20804f8 --- /dev/null +++ b/documentation/theming/preview/grid.php @@ -0,0 +1,92 @@ + + +
+

+ Index > +

+ + + +
+
+

1/5

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+

3/5

+
+
+

1/2

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+

1/2

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+

1/3

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+

2/3

+
+
+

1/2

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+

1/2

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+

1

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+
+
+
+
+
+
+

1/5

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+
+
+ +
+ + \ No newline at end of file diff --git a/documentation/theming/preview/head.php b/documentation/theming/preview/head.php new file mode 100644 index 000000000..360f56647 --- /dev/null +++ b/documentation/theming/preview/head.php @@ -0,0 +1,42 @@ + + + + + + <?php echo $title; ?> + + + + + + + + diff --git a/documentation/theming/preview/icons.php b/documentation/theming/preview/icons.php new file mode 100644 index 000000000..2a3a9bb7e --- /dev/null +++ b/documentation/theming/preview/icons.php @@ -0,0 +1,41 @@ + + + +
+

+ Index > +

+
+ < previous  next > +
+

Icon Sprites

+ +

Ajax loader

+
+ false)); ?> +
+
+ + \ No newline at end of file diff --git a/documentation/theming/preview/index.php b/documentation/theming/preview/index.php new file mode 100644 index 000000000..ce71d28df --- /dev/null +++ b/documentation/theming/preview/index.php @@ -0,0 +1,23 @@ + + +
+

Index

+ +
+ + \ No newline at end of file diff --git a/documentation/theming/preview/nav.php b/documentation/theming/preview/nav.php new file mode 100644 index 000000000..3a9daea98 --- /dev/null +++ b/documentation/theming/preview/nav.php @@ -0,0 +1,77 @@ + + +
+

+ Index > +

+ +

Breadcrumbs

+
+ +
+

Tabs

+
+ 'First', 'url' => "$url#"), + array('title' => 'Second', 'url' => "$url#", 'selected' => true), + array('title' => 'Third', 'url' => "$url#"), + ); + echo elgg_view('navigation/tabs', array('tabs' => $tabs)); + ?> +
+

Pagination

+
+ 1000, + 'limit' => 10, + 'offset' => 230, + ); + echo elgg_view('navigation/pagination', $params); + ?> +
+

Site Menu

+
+
+ setSelected(true); + echo elgg_view('navigation/menu/site', $params); + ?> +
+
+

Page Menu

+
+ setParent($params['menu']['default'][1]); + $params['menu']['default'][1]->addChild($m); + echo elgg_view('navigation/menu/page', $params); + ?> +
+
+ + \ No newline at end of file diff --git a/documentation/theming/preview/objects.php b/documentation/theming/preview/objects.php new file mode 100644 index 000000000..f90009cab --- /dev/null +++ b/documentation/theming/preview/objects.php @@ -0,0 +1,84 @@ + + +
+

+ Index > +

+ +

Modules

+
+
+
+ 'elgg-aside-module', + 'body' => $ipsum, + 'class' => 'elgg-aside-module', + )); + ?> + 'elgg-popup-module', + 'body' => $ipsum, + 'class' => 'elgg-popup-module', + )); + ?> +
+
+
+
+ 'elgg-group-module', + 'body' => $ipsum, + 'class' => 'elgg-group-module', + )); + ?> +
+
+ 'elgg-info-module', + 'body' => $ipsum, + 'class' => 'elgg-info-module', + )); + ?> +
+
+
+

Image Block

+
+ "; + echo elgg_view_image_block($image, $ipsum); + ?> +
+

List

+
+ title = "Object 1"; + $obj1->description = $ipsum; + $obj2 = new ElggObject(); + $obj2->title = "Object 2"; + $obj2->description = $ipsum; + echo elgg_view('layout/objects/list', array('items' => array($obj1, $obj2))); + ?> +
+
+ + \ No newline at end of file diff --git a/documentation/theming/preview/widgets.php b/documentation/theming/preview/widgets.php new file mode 100644 index 000000000..ca45132df --- /dev/null +++ b/documentation/theming/preview/widgets.php @@ -0,0 +1,63 @@ + + +
+

+ Index > +

+ +handler = 'friends'; + $obj->title = "Widget $i"; + $w[] = $obj; +} +$column1 = array($w[0], $w[1]); +$column2 = array($w[2], $w[3]); +$column3 = array($w[4], $w[5]); +$widgets = array(1 => $column1, 2 => $column2, 3 => $column3); +$num_columns = 3; +$widget_class = "elgg-col-1of{$num_columns}"; +for ($column_index = 1; $column_index <= $num_columns; $column_index++) { + $column_widgets = $widgets[$column_index]; + + echo "
"; + if (is_array($column_widgets) && sizeof($column_widgets) > 0) { + foreach ($column_widgets as $widget) { + echo elgg_view_entity($widget); + } + } + echo '
'; +} +?> +
+ + \ No newline at end of file diff --git a/mod/developers/languages/en.php b/mod/developers/languages/en.php index bd16a8c61..af23aaa46 100644 --- a/mod/developers/languages/en.php +++ b/mod/developers/languages/en.php @@ -8,7 +8,7 @@ $english = array( // menu 'admin:developers' => 'Developers', 'admin:developers:settings' => 'Settings', - 'admin:developers:preview' => 'CSS Preview', + 'admin:developers:preview' => 'Theming Preview', // settings 'developers:label:simple_cache' => '', diff --git a/mod/developers/views/default/admin/developers/preview.php b/mod/developers/views/default/admin/developers/preview.php index fcaf5e86b..59e403bf7 100644 --- a/mod/developers/views/default/admin/developers/preview.php +++ b/mod/developers/views/default/admin/developers/preview.php @@ -3,6 +3,6 @@ * CSS Preview */ -$url = elgg_get_site_url() . 'documentation/css/preview/index.php'; +$url = elgg_get_site_url() . 'documentation/theming/preview/index.php'; ?> \ No newline at end of file -- cgit v1.2.3