From 4e9bd8b8f0a2629cf1ad7c7274369e795852a8ab Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 10 Oct 2014 15:52:56 +0200 Subject: 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. --- view/tpl/channels.tpl | 2 +- view/tpl/cloud_actionspanel.tpl | 2 ++ view/tpl/cloud_directory.tpl | 3 ++- view/tpl/connections.tpl | 2 +- view/tpl/directory_header.tpl | 2 +- view/tpl/event_form.tpl | 2 +- view/tpl/events-js.tpl | 2 +- view/tpl/menulist.tpl | 2 +- view/tpl/notifications.tpl | 2 +- view/tpl/photo_view.tpl | 2 +- view/tpl/photos_upload.tpl | 5 +++-- view/tpl/profile_entry.tpl | 2 ++ view/tpl/profile_listing_header.tpl | 3 ++- 13 files changed, 19 insertions(+), 12 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl index 5f00b1535..0dec68a53 100755 --- a/view/tpl/channels.tpl +++ b/view/tpl/channels.tpl @@ -1,4 +1,4 @@ -
+

{{$header}}

{{if $links}} diff --git a/view/tpl/cloud_actionspanel.tpl b/view/tpl/cloud_actionspanel.tpl index 3d4867f7e..00f243c1e 100644 --- a/view/tpl/cloud_actionspanel.tpl +++ b/view/tpl/cloud_actionspanel.tpl @@ -1,3 +1,5 @@ +
+ diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index 40599aad3..639a6bf61 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -1,4 +1,4 @@ -
+

{{$header}}

{{$folder_header}}   
@@ -42,3 +42,4 @@ {{if $quota.limit || $quota.used}}

{{$total}} {{$quota.desc}}

{{/if}} + diff --git a/view/tpl/connections.tpl b/view/tpl/connections.tpl index 534a198cd..8e5266978 100755 --- a/view/tpl/connections.tpl +++ b/view/tpl/connections.tpl @@ -1,4 +1,4 @@ -
+

{{$header}}{{if $total}} ({{$total}}){{/if}}

diff --git a/view/tpl/directory_header.tpl b/view/tpl/directory_header.tpl index f7bbe9184..477df8a63 100755 --- a/view/tpl/directory_header.tpl +++ b/view/tpl/directory_header.tpl @@ -1,4 +1,4 @@ -
+

{{$dirlbl}}

{{if $search}} diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index a5ba69bc8..2a580e3b8 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -1,4 +1,4 @@ -
+

{{$title}}

diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index 342afb36f..69a248512 100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -1,5 +1,5 @@ {{$tabs}} -
+

{{$title}}

diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl index 083b56805..2feb75d90 100644 --- a/view/tpl/menulist.tpl +++ b/view/tpl/menulist.tpl @@ -1,4 +1,4 @@ -
+

{{$title}}

diff --git a/view/tpl/notifications.tpl b/view/tpl/notifications.tpl index 076b4e763..0b24da7c3 100755 --- a/view/tpl/notifications.tpl +++ b/view/tpl/notifications.tpl @@ -1,4 +1,4 @@ -
+

{{$notif_header}}

diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 08d7e79f0..f895b3129 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -1,5 +1,5 @@
-
+

{{$album.1}}

-
+
+
@@ -40,4 +41,4 @@
- +
diff --git a/view/tpl/profile_entry.tpl b/view/tpl/profile_entry.tpl index 709730a47..ab81a7fbc 100755 --- a/view/tpl/profile_entry.tpl +++ b/view/tpl/profile_entry.tpl @@ -1,3 +1,4 @@ +
{{$alt}} @@ -7,3 +8,4 @@
{{$visible}}
+
diff --git a/view/tpl/profile_listing_header.tpl b/view/tpl/profile_listing_header.tpl index 0b3505f34..09d00f982 100755 --- a/view/tpl/profile_listing_header.tpl +++ b/view/tpl/profile_listing_header.tpl @@ -1,4 +1,4 @@ -
+

{{$header}}

{{$chg_photo}} @@ -8,3 +8,4 @@

-- cgit v1.2.3 From d5ceb33f6d3bd2cb3ee56de4b8f69e77f6f9cdea Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 10 Oct 2014 16:13:44 +0200 Subject: found more missing wrappers --- view/tpl/profile_advanced.tpl | 2 +- view/tpl/profile_edit.tpl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index cbb078710..aa169e6c0 100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -1,4 +1,4 @@ -
+

{{$title}}

{{if $profile.canlike || $profile.like_count}} diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index b453b1cfa..535aa19dd 100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -1,4 +1,4 @@ -{{if $is_default}} +
{{if $is_default}}

{{$default}}

{{/if}} @@ -363,4 +363,5 @@
+
-- cgit v1.2.3 From f8aabd376b563b7f336f944458b84289ef2954b3 Mon Sep 17 00:00:00 2001 From: marijus Date: Fri, 10 Oct 2014 16:54:12 +0200 Subject: and more missing wrappers --- view/tpl/abook_edit.tpl | 2 +- view/tpl/admin_aside.tpl | 12 +++++++++--- view/tpl/admin_channels.tpl | 2 +- view/tpl/admin_hubloc.tpl | 2 +- view/tpl/admin_logs.tpl | 2 +- view/tpl/admin_plugins.tpl | 2 +- view/tpl/admin_plugins_details.tpl | 2 +- view/tpl/admin_site.tpl | 2 +- view/tpl/admin_summary.tpl | 2 +- view/tpl/admin_users.tpl | 2 +- view/tpl/failed_updates.tpl | 3 ++- view/tpl/settings.tpl | 2 +- view/tpl/settings_account.tpl | 2 +- view/tpl/settings_addons.tpl | 2 +- view/tpl/settings_connectors.tpl | 3 ++- view/tpl/settings_display.tpl | 2 +- view/tpl/settings_features.tpl | 2 +- view/tpl/settings_oauth.tpl | 2 +- 18 files changed, 28 insertions(+), 20 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 95285ac79..078eb4df4 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -1,4 +1,4 @@ -
+

{{$header}}

{{$addr}}

diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl index b1838ece1..2ab3edcc2 100755 --- a/view/tpl/admin_aside.tpl +++ b/view/tpl/admin_aside.tpl @@ -10,6 +10,7 @@ }); }); + {{if $admin.update}}
diff --git a/view/tpl/admin_logs.tpl b/view/tpl/admin_logs.tpl index 3d2adc660..6d2d7834c 100755 --- a/view/tpl/admin_logs.tpl +++ b/view/tpl/admin_logs.tpl @@ -1,4 +1,4 @@ -
+

{{$title}} - {{$page}}

diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index 40821c534..0f76cc4fe 100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -1,4 +1,4 @@ -
+

{{$title}} - {{$page}}

    diff --git a/view/tpl/admin_plugins_details.tpl b/view/tpl/admin_plugins_details.tpl index 1c1a59879..bdcc82c08 100755 --- a/view/tpl/admin_plugins_details.tpl +++ b/view/tpl/admin_plugins_details.tpl @@ -1,4 +1,4 @@ -
    +

    {{$title}} - {{$page}}

    {{$info.name}} - {{$info.version}} : {{$action}}

    diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index 56485dff6..8c62cb80f 100755 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -34,7 +34,7 @@ }); }); -
    +

    {{$title}} - {{$page}}

    diff --git a/view/tpl/admin_summary.tpl b/view/tpl/admin_summary.tpl index 24cdd57cc..7f752a773 100755 --- a/view/tpl/admin_summary.tpl +++ b/view/tpl/admin_summary.tpl @@ -1,4 +1,4 @@ -
    +

    {{$title}} - {{$page}}

    diff --git a/view/tpl/admin_users.tpl b/view/tpl/admin_users.tpl index 65fffd17c..5bf64b4df 100755 --- a/view/tpl/admin_users.tpl +++ b/view/tpl/admin_users.tpl @@ -10,7 +10,7 @@ return false; } -
    +

    {{$title}} - {{$page}}

    diff --git a/view/tpl/failed_updates.tpl b/view/tpl/failed_updates.tpl index 68c0bcdf2..f53f1f478 100755 --- a/view/tpl/failed_updates.tpl +++ b/view/tpl/failed_updates.tpl @@ -1,3 +1,4 @@ +

    {{$banner}}

    {{$desc}}
    @@ -14,4 +15,4 @@
    {{/foreach}} {{/if}} - +
    diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index 1340a1653..07a37f773 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -1,4 +1,4 @@ -
    +

    {{$ptitle}}

    {{$nickname_block}} diff --git a/view/tpl/settings_account.tpl b/view/tpl/settings_account.tpl index 1e28d8b84..36bb494d8 100755 --- a/view/tpl/settings_account.tpl +++ b/view/tpl/settings_account.tpl @@ -1,4 +1,4 @@ -
    +

    {{$title}}

    diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl index 3e447cd0a..f0d5195bf 100755 --- a/view/tpl/settings_addons.tpl +++ b/view/tpl/settings_addons.tpl @@ -1,4 +1,4 @@ -
    +

    {{$title}}

    diff --git a/view/tpl/settings_connectors.tpl b/view/tpl/settings_connectors.tpl index a8bde4c1e..8bea9ca63 100755 --- a/view/tpl/settings_connectors.tpl +++ b/view/tpl/settings_connectors.tpl @@ -1,3 +1,4 @@ +

    {{$title}}

    @@ -6,4 +7,4 @@ {{$settings_connectors}} - +
    diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl index f10f2e1c2..d3134ea88 100755 --- a/view/tpl/settings_display.tpl +++ b/view/tpl/settings_display.tpl @@ -1,4 +1,4 @@ -
    +

    {{$ptitle}}

    diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl index a03817f82..3291162fa 100755 --- a/view/tpl/settings_features.tpl +++ b/view/tpl/settings_features.tpl @@ -1,4 +1,4 @@ -
    +

    {{$title}}

    diff --git a/view/tpl/settings_oauth.tpl b/view/tpl/settings_oauth.tpl index 9be0035ff..f7b4a0b1a 100755 --- a/view/tpl/settings_oauth.tpl +++ b/view/tpl/settings_oauth.tpl @@ -1,4 +1,4 @@ -
    +

    {{$title}}

    -- cgit v1.2.3