aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-23 03:12:31 -0700
committerFriendika <info@friendika.com>2011-09-23 03:12:31 -0700
commit3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9 (patch)
treefafa7002e190d420602d816c8669788085c8db20 /include
parenta2b2318106be9b133a7265697dc8776bcc248839 (diff)
downloadvolse-hubzilla-3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9.tar.gz
volse-hubzilla-3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9.tar.bz2
volse-hubzilla-3a2bf8ab7ced5f7cc88f8f48b372a0ad08735ed9.zip
w3c compliance fixes, owner attribution on likes defaulting to local owner, not item creator
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php2
-rw-r--r--include/group.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/conversation.php b/include/conversation.php
index a4069c9fd..b8364ad3b 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -730,7 +730,7 @@ function status_editor($a,$x, $notes_cid = 0) {
if($mail_enabled) {
$selected = (($pubmail_enabled) ? ' checked="checked" ' : '');
- $jotnets .= '<div class="profile-jot-net"><input type="checkbox" name="pubmail_enable"' . $selected . 'value="1" /> '
+ $jotnets .= '<div class="profile-jot-net"><input type="checkbox" name="pubmail_enable"' . $selected . ' value="1" /> '
. t("Post to Email") . '</div>';
}
diff --git a/include/group.php b/include/group.php
index 4f3d5ee91..edc3de76c 100644
--- a/include/group.php
+++ b/include/group.php
@@ -164,7 +164,7 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0
$createtext = t('Create a new group');
$linktext= t('Everybody');
- $selected = (($group_id == 0) ? ' class="group-selected" ' : '');
+ $selected = (($group_id == 0) ? ' group-selected' : '');
$o .= <<< EOT
<div id="group-sidebar">
@@ -172,7 +172,7 @@ $o .= <<< EOT
<div id="sidebar-group-list">
<ul id="sidebar-group-ul">
- <li class="sidebar-group-li" ><a href="$every" class="sidebar-group-element" $selected >$linktext</a></li>
+ <li class="sidebar-group-li" ><a href="$every" class="sidebar-group-element$selected" >$linktext</a></li>
EOT;
@@ -185,13 +185,13 @@ EOT;
if(count($r)) {
foreach($r as $rr) {
- $selected = (($group_id == $rr['id']) ? ' class="group-selected" ' : '');
+ $selected = (($group_id == $rr['id']) ? ' group-selected' : '');
$o .= ' <li class="sidebar-group-li">'
. (($edit) ? "<a href=\"group/{$rr['id']}\" title=\"" . t('Edit')
. "\" class=\"groupsideedit\" ><img src=\"images/spencil.gif\" alt=\"" . t('Edit') . "\"></a> " : "")
. (($cid) ? '<input type="checkbox" class="' . (($selected) ? 'ticked' : 'unticked') . '" onclick="contactgroupChangeMember(' . $rr['id'] . ',' . $cid . ');return true;" '
. ((in_array($rr['id'],$member_of)) ? ' checked="checked" ' : '') . '/>' : '')
- . "<a href=\"$each/{$rr['id']}\" class=\"sidebar-group-element\" $selected >{$rr['name']}</a></li>\r\n";
+ . "<a href=\"$each/{$rr['id']}\" class=\"sidebar-group-element" . $selected ."\" >{$rr['name']}</a></li>\r\n";
}
}
$o .= " </ul>\r\n </div>";