aboutsummaryrefslogtreecommitdiff
path: root/views/default/layouts
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:10:57 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-02 03:10:57 +0000
commit4d80bc33b8924038bd1ca57d548828afe661bb42 (patch)
tree600b8a2d46ea899d35582667ed00049a0a4367cc /views/default/layouts
parent89ded32abebd0f2100e0014249df54bde7a44258 (diff)
downloadelgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.gz
elgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.bz2
Refs #2700 replaced most underscores with hyphens - there may be broken display code due to extent of this change
git-svn-id: http://code.elgg.org/elgg/trunk@7493 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/layouts')
-rw-r--r--views/default/layouts/administration.php8
-rw-r--r--views/default/layouts/one_column.php4
-rw-r--r--views/default/layouts/one_column_with_sidebar.php6
-rw-r--r--views/default/layouts/widgets.php2
4 files changed, 10 insertions, 10 deletions
diff --git a/views/default/layouts/administration.php b/views/default/layouts/administration.php
index cfc831a33..f7ed84935 100644
--- a/views/default/layouts/administration.php
+++ b/views/default/layouts/administration.php
@@ -11,23 +11,23 @@
?>
<div id="admin_header">
- <span class="network_title"><h2>
+ <span class="network-title"><h2>
<a href="<?php echo elgg_get_site_url(); ?>">
<?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a>
<a class="return_to_network" href="<?php echo elgg_get_site_url(); ?>">&lt;&lt; Return to network</a>
</h2></span>
</div>
-<div id="elgg_content" class="clearfix admin_area">
+<div id="elgg-content" class="clearfix admin_area">
- <div id="elgg_page_contents" class="clearfix">
+ <div id="elgg-page-contents" class="clearfix">
<?php
if (isset($vars['content'])) {
echo $vars['content'];
}
?>
</div>
- <div id="elgg_sidebar" class="clearfix">
+ <div id="elgg-sidebar" class="clearfix">
<?php
echo elgg_view('page_elements/sidebar', $vars);
?>
diff --git a/views/default/layouts/one_column.php b/views/default/layouts/one_column.php
index e4a7845f5..9555707ce 100644
--- a/views/default/layouts/one_column.php
+++ b/views/default/layouts/one_column.php
@@ -8,8 +8,8 @@
* @uses $vars['content'] Content string
*/
?>
-<div id="elgg_content" class="clearfix">
- <div id="elgg_page_contents" class="clearfix one_column">
+<div id="elgg-content" class="clearfix">
+ <div id="elgg-page-contents" class="clearfix one_column">
<?php echo $vars['content']; ?>
<?php echo $vars['area1']; ?>
</div>
diff --git a/views/default/layouts/one_column_with_sidebar.php b/views/default/layouts/one_column_with_sidebar.php
index 046c49997..f3ca08f06 100644
--- a/views/default/layouts/one_column_with_sidebar.php
+++ b/views/default/layouts/one_column_with_sidebar.php
@@ -9,14 +9,14 @@
* @uses $vars['sidebar'] Optional content that is displayed in the sidebar
*/
?>
-<div id="elgg_content" class="clearfix sidebar">
- <div id="elgg_sidebar">
+<div id="elgg-content" class="clearfix sidebar">
+ <div id="elgg-sidebar">
<?php
echo elgg_view('page_elements/sidebar', $vars);
?>
</div>
- <div id="elgg_page_contents" class="clearfix">
+ <div id="elgg-page-contents" class="clearfix">
<?php
// @todo deprecated so remove in Elgg 2.0
if (isset($vars['area1'])) {
diff --git a/views/default/layouts/widgets.php b/views/default/layouts/widgets.php
index afb44f551..c5607314a 100644
--- a/views/default/layouts/widgets.php
+++ b/views/default/layouts/widgets.php
@@ -34,7 +34,7 @@ $widget_class = "widget_{$num_columns}_columns";
for ($column_index = 1; $column_index <= $num_columns; $column_index++) {
$column_widgets = $widgets[$column_index];
- echo "<div class=\"widget_column $widget_class\" id=\"widget_col_$column_index\">";
+ echo "<div class=\"widget-column $widget_class\" id=\"widget_col_$column_index\">";
if (is_array($column_widgets) && sizeof($column_widgets) > 0) {
foreach ($column_widgets as $widget) {
echo elgg_view_entity($widget);