1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-30 19:52:17 +01:00

Contacts: Last inline js gone.

This commit is contained in:
Thomas Tanghus 2013-01-25 16:22:38 +01:00
parent 5475d3f16e
commit dd508c2784
2 changed files with 2 additions and 5 deletions

View File

@ -1041,7 +1041,7 @@ OC.Contacts = OC.Contacts || {};
featureClass: "P", featureClass: "P",
style: "full", style: "full",
maxRows: 12, maxRows: 12,
lang: lang, lang: $elem.data('lang'),
name_startsWith: request.term name_startsWith: request.term
}, },
success: function( data ) { success: function( data ) {

View File

@ -1,7 +1,4 @@
<div id='notification'></div> <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"> <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="requesttoken" value="<?php echo $_['requesttoken'] ?>">
<input type="hidden" name="id" value="<?php echo $_['id'] ?>"> <input type="hidden" name="id" value="<?php echo $_['id'] ?>">
@ -323,7 +320,7 @@
</li> </li>
</div> </div>
<div class="adr"> <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"> <span class="float display">
<label class="meta parameters"></label> <label class="meta parameters"></label>
<span class="adr">{value}</span> <span class="adr">{value}</span>