aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.xml10
-rw-r--r--start.php24
-rw-r--r--views/default/css/elements/layout.php10
-rw-r--r--views/default/habitorio_theme/css.php (renamed from views/default/purity_theme/css.php)8
-rw-r--r--views/default/habitorio_theme/leftside.php (renamed from views/default/purity_theme/leftside.php)4
-rw-r--r--views/default/habitorio_theme/rightside.php (renamed from views/default/purity_theme/rightside.php)4
-rw-r--r--views/default/page/layouts/custom_index.php12
-rw-r--r--views/default/plugins/purity_theme/settings.php4
8 files changed, 38 insertions, 38 deletions
diff --git a/manifest.xml b/manifest.xml
index 3b7858997..1bf9f30c2 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8">
- <name>Purity Theme</name>
- <author>SocialApparatus</author>
+ <name>Habitorio Theme</name>
+ <author>Lorea developers</author>
<version>2.0</version>
<category>theme</category>
<description>
- Premium Theme from SocialApparatus, Compatible with Chameleon Theme Engine available at http://socia.us
+ Theme for Habitorio.net. Original authors: SocialApparatus http://socia.us
</description>
- <website>http://socia.us</website>
- <copyright>(C) 2012 SocialApparatus</copyright>
+ <website>https://lorea.org</website>
+ <copyright>(C) 2012 SocialApparatus, Lorea developers</copyright>
<license>GNU General Public License (GPL) version 2</license>
<admin_interface>simple</admin_interface>
<requires>
diff --git a/start.php b/start.php
index 4d32d0a97..595b41b1c 100644
--- a/start.php
+++ b/start.php
@@ -1,8 +1,8 @@
<?php
-function purity_theme_init() {
- elgg_extend_view('page/elements/head', 'purity_theme/meta');
- elgg_extend_view('css/elgg', 'purity_theme/css');
+function habitorio_theme_init() {
+ elgg_extend_view('page/elements/head', 'habitorio_theme/meta');
+ elgg_extend_view('css/elgg', 'habitorio_theme/css');
elgg_unregister_menu_item('topbar', 'elgg_logo');
if (elgg_is_active_plugin(CHAMELEONTHEMEENGINE)) {
if (!function_exists('chameleonPresets')) {
@@ -10,7 +10,7 @@ function purity_theme_init() {
function chameleonPresets() {
$presets = array(
'preset1' => array(
- 'thumbnail' => 'purity_theme/graphics/preset1.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset1.png',
'body_background_color' => 'ECECEC',
'body_background_pattern' => 'eleven',
'accent_color' => '1d1d1d',
@@ -19,7 +19,7 @@ function purity_theme_init() {
'logo_color' => 'f34557'
),
'preset2' => array(
- 'thumbnail' => 'purity_theme/graphics/preset2.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset2.png',
'body_background_color' => 'a52a2a',
'body_background_pattern' => 'twelve',
'accent_color' => '216587',
@@ -28,7 +28,7 @@ function purity_theme_init() {
'logo_color' => '000000'
),
'preset3' => array(
- 'thumbnail' => 'purity_theme/graphics/preset3.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset3.png',
'body_background_color' => 'e8e8e8',
'body_background_pattern' => 'twentyone',
'accent_color' => '61871f',
@@ -37,7 +37,7 @@ function purity_theme_init() {
'logo_color' => '61871f'
),
'preset4' => array(
- 'thumbnail' => 'purity_theme/graphics/preset4.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset4.png',
'body_background_color' => '1e1436',
'body_background_pattern' => 'four',
'accent_color' => '000000',
@@ -46,7 +46,7 @@ function purity_theme_init() {
'logo_color' => '1e1436'
),
'preset5' => array(
- 'thumbnail' => 'purity_theme/graphics/preset5.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset5.png',
'body_background_color' => '163853',
'body_background_pattern' => 'twentyfive',
'accent_color' => '0F7516',
@@ -55,7 +55,7 @@ function purity_theme_init() {
'logo_color' => 'ff0000'
),
'preset6' => array(
- 'thumbnail' => 'purity_theme/graphics/preset6.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset6.png',
'body_background_color' => 'e6e3de',
'body_background_pattern' => 'fourteen',
'accent_color' => 'ea7a3e',
@@ -64,7 +64,7 @@ function purity_theme_init() {
'logo_color' => '4c4a47'
),
'preset7' => array(
- 'thumbnail' => 'purity_theme/graphics/preset7.png',
+ 'thumbnail' => 'habitorio_theme/graphics/preset7.png',
'body_background_color' => '000000',
'body_background_pattern' => 'fifteen',
'accent_color' => '1d1d1d',
@@ -80,5 +80,5 @@ function purity_theme_init() {
}
}
-elgg_register_event_handler('init', 'system', 'purity_theme_init');
-?> \ No newline at end of file
+elgg_register_event_handler('init', 'system', 'habitorio_theme_init');
+?>
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php
index 06c23f147..2a3780681 100644
--- a/views/default/css/elements/layout.php
+++ b/views/default/css/elements/layout.php
@@ -25,7 +25,7 @@ min-width: 998px;
.elgg-page-default .elgg-page-header > .elgg-inner {
width: 1016px;
margin:20px auto 0px auto;
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_01.png) top center no-repeat;
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/purity_01.png) top center no-repeat;
}
.elgg-page-default .elgg-page-header {
@@ -33,7 +33,7 @@ background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_01.pn
.elgg-page-default .elgg-page-body > .elgg-inner {
width: 990px;
margin: 0px auto;
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_02.png) top center repeat-y;
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/purity_02.png) top center repeat-y;
padding:0px 13px;
}
.elgg-body {
@@ -45,7 +45,7 @@ margin: 0 auto;
padding: 5px 0;
}
.elgg-page-default .elgg-page-footer {
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/purity_03.png) bottom center no-repeat;
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/purity_03.png) bottom center no-repeat;
width:1016px;
padding:10px;
margin:0px auto;
@@ -94,7 +94,7 @@ position: relative;
min-height: 360px;
}
.elgg-layout-one-sidebar {
-background: transparent url(<?php echo elgg_get_site_url(); ?>mod/purity_theme/graphics/sidebar_background.gif) repeat-y right top;
+background: transparent url(<?php echo elgg_get_site_url(); ?>mod/habitorio_theme/graphics/sidebar_background.gif) repeat-y right top;
}
.elgg-layout-two-sidebar {
background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top;
@@ -139,4 +139,4 @@ color: #999;
}
.elgg-page-footer a:hover {
color: #666;
-} \ No newline at end of file
+}
diff --git a/views/default/purity_theme/css.php b/views/default/habitorio_theme/css.php
index 11b5f0c57..bf475dcd4 100644
--- a/views/default/purity_theme/css.php
+++ b/views/default/habitorio_theme/css.php
@@ -2,14 +2,14 @@
?>
#social_menu {
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/menu.png) top center no-repeat;
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/menu.png) top center no-repeat;
width:980px;
height:54px;
margin:20px auto 0px auto;
position:relative;
}
#social_topbar {
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/menu.png) bottom center no-repeat;
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/menu.png) bottom center no-repeat;
width:980px;
height:41px;
margin:0px auto;
@@ -123,7 +123,7 @@ bottom: 49px;
height: 31px;
position: absolute;
right: 10px;
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/search.png) no-repeat;
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/search.png) no-repeat;
padding-right:60px;
width:216px;
height:34px;
@@ -175,4 +175,4 @@ background:#333333;
}
.elgg-menu-page li.elgg-state-selected > a {
background:#000000;
-} \ No newline at end of file
+}
diff --git a/views/default/purity_theme/leftside.php b/views/default/habitorio_theme/leftside.php
index fddfe09b3..d49c84137 100644
--- a/views/default/purity_theme/leftside.php
+++ b/views/default/habitorio_theme/leftside.php
@@ -1,5 +1,5 @@
<?php
-$frontleft=elgg_get_plugin_setting('frontleft','purity_theme');
+$frontleft = elgg_get_plugin_setting('frontleft','habitorio_theme');
if (!$frontleft) $frontleft = '<h2>You can edit this information in the admin section of this theme.</h2>';
echo $frontleft;
-?> \ No newline at end of file
+?>
diff --git a/views/default/purity_theme/rightside.php b/views/default/habitorio_theme/rightside.php
index 34aeee0e3..02b18dd6a 100644
--- a/views/default/purity_theme/rightside.php
+++ b/views/default/habitorio_theme/rightside.php
@@ -1,5 +1,5 @@
<?php
-$frontright=elgg_get_plugin_setting('frontright','purity_theme');
+$frontright = elgg_get_plugin_setting('frontright', 'habitorio_theme');
if (!$frontright) $frontright = '<h2>You can edit this information in the admin section of this theme.</h2>';
echo $frontright;
-?> \ No newline at end of file
+?>
diff --git a/views/default/page/layouts/custom_index.php b/views/default/page/layouts/custom_index.php
index 5aa9f9abc..d42b45d0d 100644
--- a/views/default/page/layouts/custom_index.php
+++ b/views/default/page/layouts/custom_index.php
@@ -19,7 +19,7 @@ if (elgg_get_config('allow_registration') != false) {
} else {
$content = '';
}
-$showpeople = elgg_get_plugin_setting('showpeople','purity_theme');
+$showpeople = elgg_get_plugin_setting('showpeople','habitorio_theme');
if (!$showpeople) $showpeople = 'right';
?>
@@ -28,9 +28,9 @@ if (!$showpeople) $showpeople = 'right';
<div class="elgg-inner pvm phm prl">
<div class="front_left">
<?php if ($showpeople == 'Left') { ?>
- <img src="<?php echo $vars['url']; ?>mod/purity_theme/graphics/people.png">
+ <img src="<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/people.png">
<?php } ?>
- <?php echo elgg_view('purity_theme/leftside'); ?>
+ <?php echo elgg_view('habitorio_theme/leftside'); ?>
<?php if (!elgg_is_logged_in()) echo $content;?>
</div>
</div>
@@ -39,10 +39,10 @@ if (!$showpeople) $showpeople = 'right';
<div class="elgg-inner pvm">
<div class="front_right">
<?php if ($showpeople == 'Right') { ?>
- <img src="<?php echo $vars['url']; ?>mod/purity_theme/graphics/people.png">
+ <img src="<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/people.png">
<?php } ?>
- <?php echo elgg_view('purity_theme/rightside'); ?>
+ <?php echo elgg_view('habitorio_theme/rightside'); ?>
</div>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/views/default/plugins/purity_theme/settings.php b/views/default/plugins/purity_theme/settings.php
index a16b29034..a7ffd5bee 100644
--- a/views/default/plugins/purity_theme/settings.php
+++ b/views/default/plugins/purity_theme/settings.php
@@ -6,7 +6,7 @@
$showpeople = $vars['entity']->showpeople;
if (!$showpeople) $showpeople = 'Right';
?>
-<div id="purity_theme_admin">
+<div id="habitorio_theme_admin">
<label>Show the default "people" image?</label><br/>
<?php echo elgg_view('input/dropdown',array('name'=>'params[showpeople]','value'=>$showpeople,'options'=>array('no','Left','Right'))); ?>
@@ -21,4 +21,4 @@
echo elgg_view('input/longtext', array('name'=>'params[frontright]','value'=>$frontright));
?>
-</div> \ No newline at end of file
+</div>