diff options
author | friendica <info@friendica.com> | 2015-03-16 15:33:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-16 15:33:08 -0700 |
commit | 52374bcd6e5726828219bed7a8c04f5456b167d5 (patch) | |
tree | d085bfc5976fb22c22c4520b3ae66aa8966385f5 /view | |
parent | 4212a1f589862a9129d6856cb71a5911b40b7496 (diff) | |
download | volse-hubzilla-52374bcd6e5726828219bed7a8c04f5456b167d5.tar.gz volse-hubzilla-52374bcd6e5726828219bed7a8c04f5456b167d5.tar.bz2 volse-hubzilla-52374bcd6e5726828219bed7a8c04f5456b167d5.zip |
phase one of the great file storage unification - use one button for uploads of any type (image or attachment). We'll sort out which one it is and deal with it appropriately.
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/jot.tpl | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 51ea8eedf..e74afffce 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -57,23 +57,14 @@ </div> {{if $visitor}} <div class="btn-group hidden-xs"> - {{if $writephoto}} - <button id="wall-image-upload" class="btn btn-default btn-sm" title="{{$upload}}" > - <i class="icon-camera jot-icons"></i> - </button> - {{/if}} + {{if $writefiles}} <button id="wall-file-upload" class="btn btn-default btn-sm" title="{{$attach}}" > <i id="wall-file-upload-icon" class="icon-paper-clip jot-icons"></i> </button> + {{/if}} <button id="profile-link-wrapper" class="btn btn-default btn-sm" title="{{$weblink}}" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"> <i id="profile-link" class="icon-link jot-icons"></i> </button> - <!--button id="profile-video-wrapper" class="btn btn-default btn-sm" title="{{$video}}" onclick="jotVideoURL();return false;"> - <i id="profile-video" class="icon-facetime-video jot-icons"></i> - </button> - <button id="profile-audio-wrapper" class="btn btn-default btn-sm" title="{{$audio}}" onclick="jotAudioURL();return false;"> - <i id="profile-audio" class="icon-volume-up jot-icons"></i> - </button --> </div> <div class="btn-group hidden-xs hidden-sm"> <button id="profile-location-wrapper" class="btn btn-default btn-sm" title="{{$setloc}}" onclick="jotGetLocation();return false;"> @@ -111,8 +102,7 @@ <li class="visible-xs"><a href="#" onclick="preview_post();return false;"><i class="icon-eye-open"></i> {{$preview}}</a></li> {{if $visitor}} <li class="divider visible-xs"></li> - {{if $writephoto}}<li class="visible-xs"><a id="wall-image-upload-sub" href="#" ><i class="icon-camera"></i> {{$upload}}</a></li>{{/if}} - <li class="visible-xs"><a id="wall-file-upload-sub" href="#" ><i class="icon-paper-clip"></i> {{$attach}}</a></li> + {{if $writefiles}}<li class="visible-xs"><a id="wall-file-upload-sub" href="#" ><i class="icon-paper-clip"></i> {{$attach}}</a></li>{{/if}} <li class="visible-xs"><a href="#" onclick="jotGetLink(); return false;"><i class="icon-link"></i> {{$weblink}}</a></li> <!--li class="visible-xs"><a href="#" onclick="jotVideoURL(); return false;"><i class="icon-facetime-video"></i> {{$video}}</a></li--> <!--li class="visible-xs"><a href="#" onclick="jotAudioURL(); return false;"><i class="icon-volume-up"></i> {{$audio}}</a></li--> |