From 8b247fd8dfcddcaebab0b11b8e63b9e20b41398b Mon Sep 17 00:00:00 2001 From: Sem Date: Fri, 25 May 2012 22:25:26 +0200 Subject: Changed purity => habitorio. --- manifest.xml | 10 +- start.php | 24 ++-- views/default/css/elements/layout.php | 10 +- views/default/habitorio_theme/css.php | 178 ++++++++++++++++++++++++ views/default/habitorio_theme/leftside.php | 5 + views/default/habitorio_theme/rightside.php | 5 + views/default/page/layouts/custom_index.php | 12 +- views/default/plugins/purity_theme/settings.php | 4 +- views/default/purity_theme/css.php | 178 ------------------------ views/default/purity_theme/leftside.php | 5 - views/default/purity_theme/rightside.php | 5 - 11 files changed, 218 insertions(+), 218 deletions(-) create mode 100644 views/default/habitorio_theme/css.php create mode 100644 views/default/habitorio_theme/leftside.php create mode 100644 views/default/habitorio_theme/rightside.php delete mode 100644 views/default/purity_theme/css.php delete mode 100644 views/default/purity_theme/leftside.php delete mode 100644 views/default/purity_theme/rightside.php diff --git a/manifest.xml b/manifest.xml index 3b7858997..1bf9f30c2 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,14 +1,14 @@ - Purity Theme - SocialApparatus + Habitorio Theme + Lorea developers 2.0 theme - Premium Theme from SocialApparatus, Compatible with Chameleon Theme Engine available at http://socia.us + Theme for Habitorio.net. Original authors: SocialApparatus http://socia.us - http://socia.us - (C) 2012 SocialApparatus + https://lorea.org + (C) 2012 SocialApparatus, Lorea developers GNU General Public License (GPL) version 2 simple diff --git a/start.php b/start.php index 4d32d0a97..595b41b1c 100644 --- a/start.php +++ b/start.php @@ -1,8 +1,8 @@ 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(mod/purity_theme/graphics/purity_01.png) top center no-repeat; +background:url(mod/habitorio_theme/graphics/purity_01.png) top center no-repeat; } .elgg-page-default .elgg-page-header { @@ -33,7 +33,7 @@ background:url(mod/purity_theme/graphics/purity_01.pn .elgg-page-default .elgg-page-body > .elgg-inner { width: 990px; margin: 0px auto; -background:url(mod/purity_theme/graphics/purity_02.png) top center repeat-y; +background: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(mod/purity_theme/graphics/purity_03.png) bottom center no-repeat; +background: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(mod/purity_theme/graphics/sidebar_background.gif) repeat-y right top; +background: transparent url(mod/habitorio_theme/graphics/sidebar_background.gif) repeat-y right top; } .elgg-layout-two-sidebar { background: transparent 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/habitorio_theme/css.php b/views/default/habitorio_theme/css.php new file mode 100644 index 000000000..bf475dcd4 --- /dev/null +++ b/views/default/habitorio_theme/css.php @@ -0,0 +1,178 @@ + + +#social_menu { +background: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(mod/habitorio_theme/graphics/menu.png) bottom center no-repeat; +width:980px; +height:41px; +margin:0px auto; +padding-top:3px; +} +#social_topbar a { +color:#333333; +} +.elgg-menu-site > li > a { +padding: 6px 6px 3px 6px; +height: 20px; +font-weight:bold; +box-shadow:none; +} + +.elgg-menu-site-default { +position: absolute; +bottom: 13px; +left: 30px; +height: 23px; +} +.elgg-menu-site-default > li { +float: left; +margin-right: 1px; +} +.elgg-menu-site-default li:last-child{ +background:none; +} +.elgg-menu-site-default > li > a { +color: #333333; +} +.elgg-menu-site-default > .elgg-state-selected > a, +.elgg-menu-site-default > li:hover > a { +color: #fff; +-moz-border-radius:8px; +-webkit-border-radius:8px; +border-radius:8px; +-webkit-box-shadow: none; +-moz-box-shadow: none; +box-shadow: none; +background:#A7A7A7; +text-shadow:none; +} +.elgg-menu-site > li > a:hover { +text-decoration: none; +text-shadow:none; +box-shadow:inset 0 0 1px #ffffff; +} +.elgg-menu-site-more { +display: none; +position: relative; +left: -1px; +width: 100%; +z-index: 1; +min-width: 150px; +padding:0px; +background:#ffffff; +-webkit-border-radius: 10px; +-moz-border-radius: 10px; +border-radius: 10px; +} + +li:hover > .elgg-menu-site-more { +display: block; +-webkit-box-shadow: none; +-moz-box-shadow: none; +box-shadow: none; +border:none; +background:#ffffff; +box-shadow:0px 0px 4px #333333; +text-shadow:none; +} + +.elgg-menu-site-more > li > a { +color: #333; +background:#ffffff; +padding:5px; +} +.elgg-menu-site-more > li > a:hover { +background:#A7A7A7; +color:#ffffff; +text-shadow:none; +} +.elgg-menu-site-more >li:first-child> a, +.elgg-menu-site-more > li:first-child >a:hover { +-webkit-border-top-left-radius: 10px; +-webkit-border-top-right-radius: 10px; +-moz-border-radius-topleft: 10px; +-moz-border-radius-topright: 10px; +border-top-left-radius: 10px; +border-top-right-radius: 10px; +text-shadow:none; +} +.elgg-menu-site-more > li:last-child > a, +.elgg-menu-site-more > li:last-child > a:hover { +-webkit-border-bottom-right-radius: 10px; +-webkit-border-bottom-left-radius: 10px; +-moz-border-radius-bottomright: 10px; +-moz-border-radius-bottomleft: 10px; +border-bottom-right-radius: 10px; +border-bottom-left-radius: 10px; +text-shadow:none; +} +.elgg-more > a:before { +content: "\25BC"; +font-size: smaller; +margin-right: 4px; +} +.elgg-page-header .elgg-search { +bottom: 49px; +height: 31px; +position: absolute; +right: 10px; +background:url(mod/habitorio_theme/graphics/search.png) no-repeat; +padding-right:60px; +width:216px; +height:34px; +} +.front_left { +width:420px; +margin-left:50px; +} +.front_right { +width:420px; +margin-right:50px; +} +.search-input { +border:none; +} +.elgg-page-header .elgg-search input[type=text] { +width: 166px; +} +.elgg-page-header .elgg-search input[type=submit] { +display: none; +} +.elgg-search input[type=text] { +color: #333; +font-size: 12px; +font-weight: bold; +padding: 2px 4px 2px 26px; +margin-top:10px; +margin-left:6px; +border:none; +} +.elgg-search input[type=text]:focus, .elgg-search input[type=text]:active { + +color: #0054A7; +border:none; +} +.search-list li { +padding: 5px 0 0; +} +.search-heading-category { +margin-top: 20px; +color: #666666; +} + +*:hover, .elgg-state-selected { +text-shadow:none; +} +.elgg-menu-page a:hover, #profile-owner-block a:hover{ +background:#333333; +} +.elgg-menu-page li.elgg-state-selected > a { +background:#000000; +} diff --git a/views/default/habitorio_theme/leftside.php b/views/default/habitorio_theme/leftside.php new file mode 100644 index 000000000..d49c84137 --- /dev/null +++ b/views/default/habitorio_theme/leftside.php @@ -0,0 +1,5 @@ +You can edit this information in the admin section of this theme.'; +echo $frontleft; +?> diff --git a/views/default/habitorio_theme/rightside.php b/views/default/habitorio_theme/rightside.php new file mode 100644 index 000000000..02b18dd6a --- /dev/null +++ b/views/default/habitorio_theme/rightside.php @@ -0,0 +1,5 @@ +You can edit this information in the admin section of this theme.'; +echo $frontright; +?> 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';
- + - +
@@ -39,10 +39,10 @@ if (!$showpeople) $showpeople = 'right';
- + - +
- \ No newline at end of file + 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'; ?> -
+

'params[showpeople]','value'=>$showpeople,'options'=>array('no','Left','Right'))); ?> @@ -21,4 +21,4 @@ echo elgg_view('input/longtext', array('name'=>'params[frontright]','value'=>$frontright)); ?> -
\ No newline at end of file +
diff --git a/views/default/purity_theme/css.php b/views/default/purity_theme/css.php deleted file mode 100644 index 11b5f0c57..000000000 --- a/views/default/purity_theme/css.php +++ /dev/null @@ -1,178 +0,0 @@ - - -#social_menu { -background:url(mod/purity_theme/graphics/menu.png) top center no-repeat; -width:980px; -height:54px; -margin:20px auto 0px auto; -position:relative; -} -#social_topbar { -background:url(mod/purity_theme/graphics/menu.png) bottom center no-repeat; -width:980px; -height:41px; -margin:0px auto; -padding-top:3px; -} -#social_topbar a { -color:#333333; -} -.elgg-menu-site > li > a { -padding: 6px 6px 3px 6px; -height: 20px; -font-weight:bold; -box-shadow:none; -} - -.elgg-menu-site-default { -position: absolute; -bottom: 13px; -left: 30px; -height: 23px; -} -.elgg-menu-site-default > li { -float: left; -margin-right: 1px; -} -.elgg-menu-site-default li:last-child{ -background:none; -} -.elgg-menu-site-default > li > a { -color: #333333; -} -.elgg-menu-site-default > .elgg-state-selected > a, -.elgg-menu-site-default > li:hover > a { -color: #fff; --moz-border-radius:8px; --webkit-border-radius:8px; -border-radius:8px; --webkit-box-shadow: none; --moz-box-shadow: none; -box-shadow: none; -background:#A7A7A7; -text-shadow:none; -} -.elgg-menu-site > li > a:hover { -text-decoration: none; -text-shadow:none; -box-shadow:inset 0 0 1px #ffffff; -} -.elgg-menu-site-more { -display: none; -position: relative; -left: -1px; -width: 100%; -z-index: 1; -min-width: 150px; -padding:0px; -background:#ffffff; --webkit-border-radius: 10px; --moz-border-radius: 10px; -border-radius: 10px; -} - -li:hover > .elgg-menu-site-more { -display: block; --webkit-box-shadow: none; --moz-box-shadow: none; -box-shadow: none; -border:none; -background:#ffffff; -box-shadow:0px 0px 4px #333333; -text-shadow:none; -} - -.elgg-menu-site-more > li > a { -color: #333; -background:#ffffff; -padding:5px; -} -.elgg-menu-site-more > li > a:hover { -background:#A7A7A7; -color:#ffffff; -text-shadow:none; -} -.elgg-menu-site-more >li:first-child> a, -.elgg-menu-site-more > li:first-child >a:hover { --webkit-border-top-left-radius: 10px; --webkit-border-top-right-radius: 10px; --moz-border-radius-topleft: 10px; --moz-border-radius-topright: 10px; -border-top-left-radius: 10px; -border-top-right-radius: 10px; -text-shadow:none; -} -.elgg-menu-site-more > li:last-child > a, -.elgg-menu-site-more > li:last-child > a:hover { --webkit-border-bottom-right-radius: 10px; --webkit-border-bottom-left-radius: 10px; --moz-border-radius-bottomright: 10px; --moz-border-radius-bottomleft: 10px; -border-bottom-right-radius: 10px; -border-bottom-left-radius: 10px; -text-shadow:none; -} -.elgg-more > a:before { -content: "\25BC"; -font-size: smaller; -margin-right: 4px; -} -.elgg-page-header .elgg-search { -bottom: 49px; -height: 31px; -position: absolute; -right: 10px; -background:url(mod/purity_theme/graphics/search.png) no-repeat; -padding-right:60px; -width:216px; -height:34px; -} -.front_left { -width:420px; -margin-left:50px; -} -.front_right { -width:420px; -margin-right:50px; -} -.search-input { -border:none; -} -.elgg-page-header .elgg-search input[type=text] { -width: 166px; -} -.elgg-page-header .elgg-search input[type=submit] { -display: none; -} -.elgg-search input[type=text] { -color: #333; -font-size: 12px; -font-weight: bold; -padding: 2px 4px 2px 26px; -margin-top:10px; -margin-left:6px; -border:none; -} -.elgg-search input[type=text]:focus, .elgg-search input[type=text]:active { - -color: #0054A7; -border:none; -} -.search-list li { -padding: 5px 0 0; -} -.search-heading-category { -margin-top: 20px; -color: #666666; -} - -*:hover, .elgg-state-selected { -text-shadow:none; -} -.elgg-menu-page a:hover, #profile-owner-block a:hover{ -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/purity_theme/leftside.php deleted file mode 100644 index fddfe09b3..000000000 --- a/views/default/purity_theme/leftside.php +++ /dev/null @@ -1,5 +0,0 @@ -You can edit this information in the admin section of this theme.'; -echo $frontleft; -?> \ No newline at end of file diff --git a/views/default/purity_theme/rightside.php b/views/default/purity_theme/rightside.php deleted file mode 100644 index 34aeee0e3..000000000 --- a/views/default/purity_theme/rightside.php +++ /dev/null @@ -1,5 +0,0 @@ -You can edit this information in the admin section of this theme.'; -echo $frontright; -?> \ No newline at end of file -- cgit v1.2.3