]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Changed purity => habitorio.
authorSem <sembrestels@riseup.net>
Fri, 25 May 2012 20:25:26 +0000 (22:25 +0200)
committerSem <sembrestels@riseup.net>
Fri, 25 May 2012 20:25:26 +0000 (22:25 +0200)
manifest.xml
start.php
views/default/css/elements/layout.php
views/default/habitorio_theme/css.php [moved from views/default/purity_theme/css.php with 87% similarity]
views/default/habitorio_theme/leftside.php [moved from views/default/purity_theme/leftside.php with 64% similarity]
views/default/habitorio_theme/rightside.php [moved from views/default/purity_theme/rightside.php with 64% similarity]
views/default/page/layouts/custom_index.php
views/default/plugins/purity_theme/settings.php

index 3b7858997ea38a1155347d2d559556299d612285..1bf9f30c21f7dd85c32409de65234643c5267bb7 100644 (file)
@@ -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>
index 4d32d0a974f9e389ae6b5a0b01a3e41fdfde41f3..595b41b1cee0ab56191898e008278e05dd67bf20 100644 (file)
--- 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');
+?>
index 06c23f1478e037037742ec60fc13eefe5f6c0ef7..2a3780681c24b9e80ed8853fadc92a876050fb3a 100644 (file)
@@ -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
+}
similarity index 87%
rename from views/default/purity_theme/css.php
rename to views/default/habitorio_theme/css.php
index 11b5f0c5733d9a8d99a6a93075d66f2b960f77ff..bf475dcd407a31f3a6212518bae03d002a4a95a6 100644 (file)
@@ -2,14 +2,14 @@
 ?>\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
@@ -123,7 +123,7 @@ bottom: 49px;
 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
@@ -175,4 +175,4 @@ background:#333333;
 }\r
 .elgg-menu-page li.elgg-state-selected > a {\r
 background:#000000;\r
-}
\ No newline at end of file
+}\r
similarity index 64%
rename from views/default/purity_theme/leftside.php
rename to views/default/habitorio_theme/leftside.php
index fddfe09b35c4aba3da99fcfc477574efe7947e5a..d49c8413749841562cf4e9492111d8bca4ef3099 100644 (file)
@@ -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
+?>
similarity index 64%
rename from views/default/purity_theme/rightside.php
rename to views/default/habitorio_theme/rightside.php
index 34aeee0e33dd8e65a19e00a5079a98308625f17b..02b18dd6aee8b79cf13fbc4aba6ba606a0c6ff9a 100644 (file)
@@ -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
+?>
index 5aa9f9abcb860f42a2e0e86be53d15c1e4e3e654..d42b45d0d85f69ba900f4287652501a32c6ae08d 100644 (file)
@@ -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>
index a16b2903468dfe0714a37eb01d70676cf424bc8d..a7ffd5bee849cfa88e18eb45f26208082d5667bf 100644 (file)
@@ -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>