aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/profile_edit.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-04 16:47:49 -0700
committerfriendica <info@friendica.com>2014-08-04 16:48:40 -0700
commit00fc23bf4e169b4a48ae0bafae12cc3946b38cd6 (patch)
treea6353842e1cb0785e36483a41647d1500a5a5318 /view/tpl/profile_edit.tpl
parenta0695fa04fdc73a20beb216060573e1204950df6 (diff)
downloadvolse-hubzilla-00fc23bf4e169b4a48ae0bafae12cc3946b38cd6.tar.gz
volse-hubzilla-00fc23bf4e169b4a48ae0bafae12cc3946b38cd6.tar.bz2
volse-hubzilla-00fc23bf4e169b4a48ae0bafae12cc3946b38cd6.zip
issue #551 provide import/export of profiles (if this feature is enabled)
Diffstat (limited to 'view/tpl/profile_edit.tpl')
-rwxr-xr-xview/tpl/profile_edit.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index 1a99a07be..afd24185c 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -2,23 +2,29 @@
<h1>{{$banner}}</h1>
+<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" enctype="multipart/form-data" method="post" >
+
<div id="profile-edit-links">
<ul>
<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li>
<li><a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li>
{{if ! $default}}<li><a href="profperm/{{$profile_id}}" id="profile-edit-view-link" title="{{$editvis}}">{{$editvis}}</a></li>{{/if}}
{{if $profile_clone_link}}<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>{{/if}}
+{{if $exportable}}<li><a href="profiles/export/{{$profile_id}}" target="_blank">{{$lbl_export}}</a></li>
+<li><b>{{$lbl_import}}</b> <input type="file" name="userfile" ></li>
+{{/if}}
<li></li>
{{if ! $default}}<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li>{{/if}}
</ul>
</div>
+
+
<div id="profile-edit-links-end"></div>
<div id="profile-edit-wrapper" >
-<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" >
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
<div id="profile-edit-profile-name-wrapper" >