From 067865db9e29b351b0c3ade73377cd6eec0dff7c Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sun, 29 Jul 2012 14:49:12 -0600 Subject: [PATCH] fix filer bug; some interface tweaks --- include/conversation.php | 1 + mod/editpost.php | 1 + view/theme/frost-mobile/jot.tpl | 1 + view/theme/frost-mobile/style.css | 2 +- view/theme/frost/field_combobox.tpl | 18 ++++++++++++++++++ view/theme/frost/style.css | 2 +- 6 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 view/theme/frost/field_combobox.tpl diff --git a/include/conversation.php b/include/conversation.php index 6a2b2ae633..9047a97796 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1163,6 +1163,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) { '$bang' => $x['bang'], '$profile_uid' => $x['profile_uid'], '$preview' => t('Preview'), + '$mobileapp' => t('Friendica mobile web'), )); diff --git a/mod/editpost.php b/mod/editpost.php index 653601686a..4270ef1133 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -132,6 +132,7 @@ function editpost_content(&$a) { '$profile_uid' => $_SESSION['uid'], '$preview' => t('Preview'), '$jotplugins' => $jotplugins, + '$mobileapp' => t('Friendica mobile web'), )); return $o; diff --git a/view/theme/frost-mobile/jot.tpl b/view/theme/frost-mobile/jot.tpl index a858a2da20..dcb542735f 100644 --- a/view/theme/frost-mobile/jot.tpl +++ b/view/theme/frost-mobile/jot.tpl @@ -13,6 +13,7 @@ +
diff --git a/view/theme/frost-mobile/style.css b/view/theme/frost-mobile/style.css index e4df023aea..ec260de79d 100644 --- a/view/theme/frost-mobile/style.css +++ b/view/theme/frost-mobile/style.css @@ -360,7 +360,7 @@ section { } .tabs li { margin: 0px 0px 20px 0px; padding-left: 1em; list-style: none; } .tabs a { - padding: 0.2em 2em; + padding: 0.4em 2em; border: 1px solid #aaa; border-radius: 8px; -moz-border-radius: 8px; diff --git a/view/theme/frost/field_combobox.tpl b/view/theme/frost/field_combobox.tpl new file mode 100644 index 0000000000..c454352d01 --- /dev/null +++ b/view/theme/frost/field_combobox.tpl @@ -0,0 +1,18 @@ + +
+ + {# html5 don't work on Chrome, Safari and IE9 + + + {{ for $field.4 as $opt=>$val }} #} + + + + + $field.3 +
+ diff --git a/view/theme/frost/style.css b/view/theme/frost/style.css index e1ce26bd30..6e52c888fd 100644 --- a/view/theme/frost/style.css +++ b/view/theme/frost/style.css @@ -2222,7 +2222,7 @@ aside input[type='text'] { .widget { border: 1px solid #DDDDDD; - padding: 8px; + padding: 1em 2em; margin-top: 5px; -moz-border-radius:5px; -webkit-border-radius:5px; -- 2.39.5