mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Contacts: Last inline js gone.
This commit is contained in:
parent
5475d3f16e
commit
dd508c2784
@ -1041,7 +1041,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
featureClass: "P",
|
||||
style: "full",
|
||||
maxRows: 12,
|
||||
lang: lang,
|
||||
lang: $elem.data('lang'),
|
||||
name_startsWith: request.term
|
||||
},
|
||||
success: function( data ) {
|
||||
|
@ -1,7 +1,4 @@
|
||||
<div id='notification'></div>
|
||||
<script type='text/javascript'>
|
||||
var lang = '<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en'); ?>';
|
||||
</script>
|
||||
<form class="float" id="file_upload_form" action="<?php echo OCP\Util::linkTo('contacts', 'ajax/uploadphoto.php'); ?>" method="post" enctype="multipart/form-data" target="file_upload_target">
|
||||
<input type="hidden" name="requesttoken" value="<?php echo $_['requesttoken'] ?>">
|
||||
<input type="hidden" name="id" value="<?php echo $_['id'] ?>">
|
||||
@ -323,7 +320,7 @@
|
||||
</li>
|
||||
</div>
|
||||
<div class="adr">
|
||||
<li data-element="adr" data-checksum="{checksum}" class="propertycontainer">
|
||||
<li data-element="adr" data-checksum="{checksum}" data-lang="<?php echo OCP\Config::getUserValue(OCP\USER::getUser(), 'core', 'lang', 'en'); ?>" class="propertycontainer">
|
||||
<span class="float display">
|
||||
<label class="meta parameters"></label>
|
||||
<span class="adr">{value}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user