<?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>
<?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')) {
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',
'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',
'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',
'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',
'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',
'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',
'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',
}
}
-elgg_register_event_handler('init', 'system', 'purity_theme_init');
-?>
\ No newline at end of file
+elgg_register_event_handler('init', 'system', 'habitorio_theme_init');
+?>
.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 {
.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 {
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;
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;
}
.elgg-page-footer a:hover {
color: #666;
-}
\ No newline at end of file
+}
?>\r
\r
#social_menu {\r
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/menu.png) top center no-repeat;\r
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/menu.png) top center no-repeat;\r
width:980px;\r
height:54px;\r
margin:20px auto 0px auto;\r
position:relative;\r
}\r
#social_topbar {\r
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/menu.png) bottom center no-repeat;\r
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/menu.png) bottom center no-repeat;\r
width:980px;\r
height:41px;\r
margin:0px auto;\r
height: 31px;\r
position: absolute;\r
right: 10px;\r
-background:url(<?php echo $vars['url']; ?>mod/purity_theme/graphics/search.png) no-repeat;\r
+background:url(<?php echo $vars['url']; ?>mod/habitorio_theme/graphics/search.png) no-repeat;\r
padding-right:60px;\r
width:216px;\r
height:34px;\r
}\r
.elgg-menu-page li.elgg-state-selected > a {\r
background:#000000;\r
-}
\ No newline at end of file
+}\r
<?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
+?>
<?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
+?>
} else {
$content = '';
}
-$showpeople = elgg_get_plugin_setting('showpeople','purity_theme');
+$showpeople = elgg_get_plugin_setting('showpeople','habitorio_theme');
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>
<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>
$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'))); ?>
echo elgg_view('input/longtext', array('name'=>'params[frontright]','value'=>$frontright));
?>
-</div>
\ No newline at end of file
+</div>