]> git.mxchange.org Git - friendica.git/commitdiff
fix filer bug; some interface tweaks
authorZach Prezkuta <fermion@gmx.com>
Sun, 29 Jul 2012 20:49:12 +0000 (14:49 -0600)
committerZach Prezkuta <fermion@gmx.com>
Sun, 29 Jul 2012 20:49:12 +0000 (14:49 -0600)
include/conversation.php
mod/editpost.php
view/theme/frost-mobile/jot.tpl
view/theme/frost-mobile/style.css
view/theme/frost/field_combobox.tpl [new file with mode: 0644]
view/theme/frost/style.css

index 6a2b2ae633768fa7715abfe3e27da1d2cc09b3a5..9047a97796c9460f7ccb9a0e3103b02a7063701d 100644 (file)
@@ -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'),
        ));
 
 
index 653601686a23107ac589f23d102a87b6386482d4..4270ef1133f8cdde128e06f0685f4e48dcda6e1d 100644 (file)
@@ -132,6 +132,7 @@ function editpost_content(&$a) {
                '$profile_uid' => $_SESSION['uid'],
                '$preview' => t('Preview'),
                '$jotplugins' => $jotplugins,
+               '$mobileapp' => t('Friendica mobile web'),
        ));
 
        return $o;
index a858a2da20ac2aaab1ad86d3e9a8c424b7f5d2fa..dcb542735f1a242ea089ef747b0d9136dfb23d7f 100644 (file)
@@ -13,6 +13,7 @@
                <input type="hidden" name="location" id="jot-location" value="$defloc" />
                <input type="hidden" name="coord" id="jot-coord" value="" />
                <input type="hidden" name="post_id" value="$post_id" />
+               <input type="hidden" name="source" value="$mobileapp" />
                <input type="hidden" name="preview" id="jot-preview" value="0" />
                <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"></div>
                <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
index e4df023aeaa3bcc7f6d4ddc929a1d5ab14935807..ec260de79df6f7abbb2f0853ac41e20edbbf1348 100644 (file)
@@ -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 (file)
index 0000000..c454352
--- /dev/null
@@ -0,0 +1,18 @@
+       
+       <div class='field combobox'>
+               <label for='id_$field.0' id='id_$field.0_label'>$field.1</label>
+               {# html5 don't work on Chrome, Safari and IE9
+               <input id="id_$field.0" type="text" list="data_$field.0" >
+               <datalist id="data_$field.0" >
+                  {{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }}
+               </datalist> #}
+               
+               <input id="id_$field.0" type="text" value="$field.2">
+               <select id="select_$field.0" onChange="$j('#id_$field.0').val($j(this).val())">
+                       <option value="">$field.5</option>
+                       {{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }}
+               </select>
+               
+               <span class='field_help'>$field.3</span>
+       </div>
+
index e1ce26bd30628e065f79caddb871c10d656813c7..6e52c888fd015ff00cb1c99a4309a207ddceacfe 100644 (file)
@@ -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;