aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-10 15:52:56 +0200
committermarijus <mario@mariovavti.com>2014-10-10 15:52:56 +0200
commit4e9bd8b8f0a2629cf1ad7c7274369e795852a8ab (patch)
treeb9bac2faae4b1cf1be196198fcb48079e28dbc7c /mod
parent053e6061089ba89a53caf264ea4a055cec8be8ba (diff)
downloadvolse-hubzilla-4e9bd8b8f0a2629cf1ad7c7274369e795852a8ab.tar.gz
volse-hubzilla-4e9bd8b8f0a2629cf1ad7c7274369e795852a8ab.tar.bz2
volse-hubzilla-4e9bd8b8f0a2629cf1ad7c7274369e795852a8ab.zip
This is a fix to not interfere the ongoing adding of .generic-content-wrapper with the ongoing styling of redbasic theme.
adding of .generic-content-wrapper is needed and useful for derivative themes but it should not contain any styling information for redbasic theme. therefor i added .generic-content-wrapper-styled as a quickfix for spots where redbasic is not finished yet. Sidenote: please avoid opening a div in one *.tpl and close it in another or (even worse) open a div in a *.tpl and close it in an already templatified mod/*.php. This will really make the code and templates very, very confusing.
Diffstat (limited to 'mod')
-rw-r--r--mod/bookmarks.php2
-rw-r--r--mod/profiles.php2
-rw-r--r--mod/webpages.php2
3 files changed, 2 insertions, 4 deletions
diff --git a/mod/bookmarks.php b/mod/bookmarks.php
index 6225c0980..6b2476a8e 100644
--- a/mod/bookmarks.php
+++ b/mod/bookmarks.php
@@ -55,7 +55,7 @@ function bookmarks_content(&$a) {
$o = profile_tabs($a,true,$channel['channel_address']);
- $o .= '<div class="generic-content-wrapper">';
+ $o .= '<div class="generic-content-wrapper-styled">';
$o .= '<h3>' . t('My Bookmarks') . '</h3>';
diff --git a/mod/profiles.php b/mod/profiles.php
index cde768b1e..5d0416e9a 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -767,8 +767,6 @@ logger('extra_fields: ' . print_r($extra_fields,true));
));
}
- $o .= '</div>';
-
}
return $o;
}
diff --git a/mod/webpages.php b/mod/webpages.php
index 341e75a0c..2c3cc36ea 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -81,7 +81,7 @@ function webpages_content(&$a) {
require_once('include/conversation.php');
$o = profile_tabs($a,true);
- $o .= '<div class="generic-content-wrapper">';
+ $o .= '<div class="generic-content-wrapper-styled">';
$o .= '<h2>' . t('Webpages') . '</h2>';