From: rabuzarus <> Date: Fri, 20 Oct 2017 13:21:42 +0000 (+0200) Subject: fix some HTML violations in frio X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2d51737eb0bb5edc0b70eec8a064aa67d3b1bef;p=friendica.git fix some HTML violations in frio --- diff --git a/include/contact_selectors.php b/include/contact_selectors.php index 05059e3358..48f2fb005e 100644 --- a/include/contact_selectors.php +++ b/include/contact_selectors.php @@ -7,7 +7,7 @@ function contact_profile_assign($current,$foreign_net) { $disabled = (($foreign_net) ? ' disabled="true" ' : ''); - $o .= "\r\n"; $r = q("SELECT `id`, `profile-name`, `is-default` FROM `profile` WHERE `uid` = %d", intval($_SESSION['uid'])); diff --git a/include/conversation.php b/include/conversation.php index 05c41e6d27..bc227d9772 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -800,6 +800,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false) { $tmp_item = array( 'template' => $tpl, 'id' => (($preview) ? 'P0' : $item['item_id']), + 'guid' => (($preview) ? 'Q0' : $item['guid']), 'network' => $item['item_network'], 'network_name' => network_to_name($item['item_network'], $profile_link), 'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])), diff --git a/mod/contacts.php b/mod/contacts.php index a129a665d1..93013972f1 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -871,7 +871,7 @@ function contacts_tab($a, $contact_id, $active_tab) { 'url' => "contacts/".$contact_id, 'sel' => (($active_tab == 2)?'active':''), 'title' => t('Profile Details'), - 'id' => 'status-tab', + 'id' => 'profile-tab', 'accesskey' => 'o', ) ); diff --git a/view/templates/field_radio.tpl b/view/templates/field_radio.tpl index 72228a1c20..6b880ed997 100644 --- a/view/templates/field_radio.tpl +++ b/view/templates/field_radio.tpl @@ -1,5 +1,5 @@
- - {{$field.3}} + + {{$field.3}}
diff --git a/view/templates/photo_albums.tpl b/view/templates/photo_albums.tpl index 0a086751e3..934e818ec4 100644 --- a/view/templates/photo_albums.tpl +++ b/view/templates/photo_albums.tpl @@ -1,6 +1,6 @@ @@ -88,26 +88,26 @@ {{* The jot text field in which the post text is inserted *}}
- +
@@ -121,7 +121,7 @@ - {{if $content}}{{/if}} + {{if $content}}{{/if}} @@ -141,7 +141,7 @@ can load different content into the jot moadl (e.g. the item edit jot) - - - diff --git a/view/theme/frio/templates/nav.tpl b/view/theme/frio/templates/nav.tpl index 3a0da9c5f3..2fab623530 100644 --- a/view/theme/frio/templates/nav.tpl +++ b/view/theme/frio/templates/nav.tpl @@ -23,56 +23,56 @@ @@ -238,11 +238,11 @@
diff --git a/view/theme/frio/templates/notifications.tpl b/view/theme/frio/templates/notifications.tpl index 126001e933..dcea0b85fa 100644 --- a/view/theme/frio/templates/notifications.tpl +++ b/view/theme/frio/templates/notifications.tpl @@ -29,7 +29,7 @@ {{* Since only the DIV's inside the notification-list are marked with the class "unseen", we need some js to transfer this class to the parent li list-elements *}} - + diff --git a/view/theme/frio/templates/photo_item.tpl b/view/theme/frio/templates/photo_item.tpl index 27cd5219f7..935e6288b3 100644 --- a/view/theme/frio/templates/photo_item.tpl +++ b/view/theme/frio/templates/photo_item.tpl @@ -8,11 +8,11 @@ {{* Dropdown menu with actions (e.g. delete comment) *}} {{if $drop.dropping }} @@ -23,7 +23,7 @@
- {{$name}} + {{$name}}
@@ -38,7 +38,7 @@
{{* comment content *}} -
+
{{if $title}}
{{$title}}
{{/if}} diff --git a/view/theme/frio/templates/photo_view.tpl b/view/theme/frio/templates/photo_view.tpl index 17edb858bc..fd47097a5c 100644 --- a/view/theme/frio/templates/photo_view.tpl +++ b/view/theme/frio/templates/photo_view.tpl @@ -19,7 +19,7 @@
{{* The photo *}}
- + {{$photo.filename}}
{{* Overlay buttons for previous and next photo *}} diff --git a/view/theme/frio/templates/photos_recent.tpl b/view/theme/frio/templates/photos_recent.tpl index 683ef544a3..894121fab0 100644 --- a/view/theme/frio/templates/photos_recent.tpl +++ b/view/theme/frio/templates/photos_recent.tpl @@ -17,4 +17,4 @@ {{$paginate}}
- + diff --git a/view/theme/frio/templates/profile_edit.tpl b/view/theme/frio/templates/profile_edit.tpl index 0e20bf2135..12ec570370 100644 --- a/view/theme/frio/templates/profile_edit.tpl +++ b/view/theme/frio/templates/profile_edit.tpl @@ -6,25 +6,25 @@