'$bang' => $x['bang'],
'$profile_uid' => $x['profile_uid'],
'$preview' => t('Preview'),
+ '$mobileapp' => t('Friendica mobile web'),
));
'$profile_uid' => $_SESSION['uid'],
'$preview' => t('Preview'),
'$jotplugins' => $jotplugins,
+ '$mobileapp' => t('Friendica mobile web'),
));
return $o;
<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>
}
.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;
--- /dev/null
+
+ <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>
+
.widget {
border: 1px solid #DDDDDD;
- padding: 8px;
+ padding: 1em 2em;
margin-top: 5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;