2016-09-12 16:23:57 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-02-01 09:59:37 +01:00
|
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
|
2016-09-12 16:23:57 +02:00
|
|
|
<!-- $Id$ -->
|
|
|
|
<overlay>
|
2016-09-13 17:30:39 +02:00
|
|
|
<template id="etemplate.avatar_edit" template="" lang="" group="0" version="16.2">
|
2016-09-12 16:23:57 +02:00
|
|
|
<vbox>
|
|
|
|
<avatar crop="true" id="cropper_image" contact_id="$cont[photo]" width ="200" height="auto"/>
|
|
|
|
<hbox>
|
2016-09-19 16:08:43 +02:00
|
|
|
<buttononly id="rotate_reset" label="Reset" image="recur" background_image="1" onclick="jQuery('#_cropper_image').cropper('reset');"/>
|
|
|
|
<buttononly id="rotate_l" label="Rotate Left" image="rotate_l" background_image="1" onclick="jQuery('#_cropper_image').cropper('rotate',-90);"/>
|
2016-09-12 16:23:57 +02:00
|
|
|
<buttononly id="rotate_r" label= "Rotate Right" image="reload" background_image="1" onclick="jQuery('#_cropper_image').cropper('rotate',90);"/>
|
|
|
|
<hbox>
|
2016-09-13 17:30:39 +02:00
|
|
|
<file id='upload_photo' label="upload new photo" onFinishOne="et2_avatar.uploadAvatar_onFinish"/>
|
2016-09-12 16:23:57 +02:00
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<styles>
|
2016-09-19 16:08:43 +02:00
|
|
|
div.et2_file {margin-top: 5px;}
|
2016-09-12 16:23:57 +02:00
|
|
|
</styles>
|
|
|
|
</template>
|
|
|
|
</overlay>
|