aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-07-28 12:42:43 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-07-28 12:42:43 +0000
commit2e6dd91599c5b1790d1e994797ef90b98d5a78b3 (patch)
tree193ab2e14c32203b2b310aea64583122e9cc0f02
parent1cc83dcaca750c846f87874da72c7d52cd2cf50e (diff)
downloadvolse-hubzilla-2e6dd91599c5b1790d1e994797ef90b98d5a78b3.tar.gz
volse-hubzilla-2e6dd91599c5b1790d1e994797ef90b98d5a78b3.tar.bz2
volse-hubzilla-2e6dd91599c5b1790d1e994797ef90b98d5a78b3.zip
14px>12pt as agreed on https://github.com/friendica/red/commit/075fc6727762d4e45ddcae5843eec0100ad3ab72 - Also fixed empty delete button showing up for channels without edit photo rights.
-rw-r--r--view/theme/redbasic/php/style.php2
-rwxr-xr-xview/tpl/photo_view.tpl3
2 files changed, 2 insertions, 3 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 9d42bbf69..f55b29d5e 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -132,7 +132,7 @@ if(! $a->install) {
if (! $font_size)
$font_size = "1.0em";
if (! $body_font_size)
- $body_font_size = "14px";
+ $body_font_size = "12pt";
if (! $font_colour)
$font_colour = "#4d4d4d";
if (! $selected_active_colour)
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 51e5c28b7..a0ca7e0f9 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -75,12 +75,11 @@
<div id="photo-edit-end"></div>
</form>
</div>
-{{/if}}
-
<form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post">
<input id="photo-photo-delete-button" type="submit" name="delete" value="{{$edit.delete}}" onclick="return confirmDelete();">
</form>
+{{/if}}
{{if $likebuttons}}
<div id="photo-like-div">