From 9cd7ebd1ece016577c435b85f56d6c30545ff363 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 7 Dec 2010 02:47:31 +0000 Subject: reorganized the layout views git-svn-id: http://code.elgg.org/elgg/trunk@7553 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layouts/administration.php | 36 --------------- views/default/layouts/default.php | 18 -------- views/default/layouts/main_content.php | 53 ----------------------- views/default/layouts/one_column.php | 16 ------- views/default/layouts/one_column_with_sidebar.php | 31 ------------- views/default/layouts/one_sidebar.php | 31 ------------- views/default/layouts/two_sidebar.php | 42 ------------------ views/default/layouts/widgets.php | 46 -------------------- 8 files changed, 273 deletions(-) delete mode 100644 views/default/layouts/administration.php delete mode 100644 views/default/layouts/default.php delete mode 100644 views/default/layouts/main_content.php delete mode 100644 views/default/layouts/one_column.php delete mode 100644 views/default/layouts/one_column_with_sidebar.php delete mode 100644 views/default/layouts/one_sidebar.php delete mode 100644 views/default/layouts/two_sidebar.php delete mode 100644 views/default/layouts/widgets.php (limited to 'views/default/layouts') diff --git a/views/default/layouts/administration.php b/views/default/layouts/administration.php deleted file mode 100644 index f7ed84935..000000000 --- a/views/default/layouts/administration.php +++ /dev/null @@ -1,36 +0,0 @@ - - -
-

- - sitename; echo " ".elgg_echo('admin'); ?> - << Return to network -

-
- -
- -
- -
-
- -
-
- \ No newline at end of file diff --git a/views/default/layouts/default.php b/views/default/layouts/default.php deleted file mode 100644 index 60dc90b0d..000000000 --- a/views/default/layouts/default.php +++ /dev/null @@ -1,18 +0,0 @@ - $body, - 'sidebar' => $sidebar, -); -echo elgg_view_layout('one_sidebar', $params); diff --git a/views/default/layouts/one_column.php b/views/default/layouts/one_column.php deleted file mode 100644 index 84a304e14..000000000 --- a/views/default/layouts/one_column.php +++ /dev/null @@ -1,16 +0,0 @@ - -
-
- - -
-
\ No newline at end of file diff --git a/views/default/layouts/one_column_with_sidebar.php b/views/default/layouts/one_column_with_sidebar.php deleted file mode 100644 index e408c6c1c..000000000 --- a/views/default/layouts/one_column_with_sidebar.php +++ /dev/null @@ -1,31 +0,0 @@ - - -
-
- -
- -
- -
-
diff --git a/views/default/layouts/one_sidebar.php b/views/default/layouts/one_sidebar.php deleted file mode 100644 index d0bb3879f..000000000 --- a/views/default/layouts/one_sidebar.php +++ /dev/null @@ -1,31 +0,0 @@ - - -
-
- -
- -
- -
-
diff --git a/views/default/layouts/two_sidebar.php b/views/default/layouts/two_sidebar.php deleted file mode 100644 index 26fb64920..000000000 --- a/views/default/layouts/two_sidebar.php +++ /dev/null @@ -1,42 +0,0 @@ - - -
-
- -
-
- elgg_view('layout_elements/module', array('title' => 'Testing', 'body' => 'Hello, world!')) - ); - echo elgg_view('page_elements/sidebar', $params); - ?> -
- -
- -
-
diff --git a/views/default/layouts/widgets.php b/views/default/layouts/widgets.php deleted file mode 100644 index 130b2eaad..000000000 --- a/views/default/layouts/widgets.php +++ /dev/null @@ -1,46 +0,0 @@ -guid, $context); - -if (elgg_can_edit_widget_layout($context)) { - if ($show_add_widgets) { - echo elgg_view('widgets/add-button'); - } - $params = array( - 'widgets' => $widgets, - 'context' => $context, - ); - echo elgg_view('widgets/add_panel', $params); -} - -echo $vars['box']; - -$widget_class = "widget-{$num_columns}-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 '
'; -} - -elgg_pop_context(); \ No newline at end of file -- cgit v1.2.3