aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-10-09 14:54:04 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-10-09 14:54:04 +0000
commite06c3e5a911176bd2afc5d9d391e629f282122b8 (patch)
treeeca1a3d27c3e3131f0ef781d0011e0fb8de4b291 /mod
parent6b48672343264da63013be873b025eb0ea9735c2 (diff)
downloadvolse-hubzilla-e06c3e5a911176bd2afc5d9d391e629f282122b8.tar.gz
volse-hubzilla-e06c3e5a911176bd2afc5d9d391e629f282122b8.tar.bz2
volse-hubzilla-e06c3e5a911176bd2afc5d9d391e629f282122b8.zip
Added and changed on some places div class generic-content-wrapper. And added to redbasic. Other thems can now also theme backgrounds of a lot of pages. I'm not completely done, but till now - this is it.
Diffstat (limited to 'mod')
-rw-r--r--mod/bookmarks.php4
-rw-r--r--mod/profiles.php3
-rw-r--r--mod/webpages.php6
3 files changed, 10 insertions, 3 deletions
diff --git a/mod/bookmarks.php b/mod/bookmarks.php
index 9ccc171fe..6225c0980 100644
--- a/mod/bookmarks.php
+++ b/mod/bookmarks.php
@@ -55,6 +55,8 @@ function bookmarks_content(&$a) {
$o = profile_tabs($a,true,$channel['channel_address']);
+ $o .= '<div class="generic-content-wrapper">';
+
$o .= '<h3>' . t('My Bookmarks') . '</h3>';
$x = menu_list(local_user(),'',MENU_BOOKMARK);
@@ -78,7 +80,7 @@ function bookmarks_content(&$a) {
}
}
-
+ $o .= '</div>';
return $o;
diff --git a/mod/profiles.php b/mod/profiles.php
index 063e714e7..cde768b1e 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -766,6 +766,9 @@ logger('extra_fields: ' . print_r($extra_fields,true));
: '<a href="' . $a->get_baseurl(true) . '/profperm/' . $rr['id'] . '" />' . t('Edit visibility') . '</a>')
));
}
+
+ $o .= '</div>';
+
}
return $o;
}
diff --git a/mod/webpages.php b/mod/webpages.php
index efaf3c4bf..341e75a0c 100644
--- a/mod/webpages.php
+++ b/mod/webpages.php
@@ -81,6 +81,8 @@ function webpages_content(&$a) {
require_once('include/conversation.php');
$o = profile_tabs($a,true);
+ $o .= '<div class="generic-content-wrapper">';
+
$o .= '<h2>' . t('Webpages') . '</h2>';
$x = array(
@@ -95,7 +97,7 @@ function webpages_content(&$a) {
'mimetype' => $mimetype,
'layout' => $layout,
);
-
+
if($_REQUEST['title'])
$x['title'] = $_REQUEST['title'];
if($_REQUEST['body'])
@@ -105,7 +107,6 @@ function webpages_content(&$a) {
$o .= status_editor($a,$x);
-
// Get a list of webpages. We can't display all them because endless scroll makes that unusable, so just list titles and an edit link.
//TODO - this should be replaced with pagelist_widget
@@ -142,5 +143,6 @@ function webpages_content(&$a) {
));
+ $o .= '</div>';
}