Modified, Bootstrap x-editable added in language_settings.html
This commit is contained in:
parent
b1b75e83fc
commit
140b37b19a
2 changed files with 28 additions and 7 deletions
|
@ -37,4 +37,23 @@
|
|||
<script src="assets/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
|
||||
|
||||
<!-- for popovers -->
|
||||
<script>
|
||||
$(function (){
|
||||
$("#thumbs_1").popover();
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<!-- bootstrap x-editable -->
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/x-editable/1.5.0/bootstrap3-editable/js/bootstrap-editable.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('.xedit').editable({
|
||||
mode: 'inline'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -93,16 +93,18 @@
|
|||
</tr>
|
||||
{section name=p_list loop=$lang_phrases}
|
||||
<tr>
|
||||
<div class="phrase">
|
||||
<td>{$lang_phrases[p_list].varname}</td>
|
||||
<td>{$lang_phrases[p_list].text}</td>
|
||||
<td align="left"><div class="xedit" data-type="text" data-pk="{$lang_phrases[p_list].id}" data-url="{$baseurl}/actions/update_phrase.php" ><b>{$lang_phrases[p_list].text}</b></div></td>
|
||||
</div>
|
||||
</tr>
|
||||
{/section}
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- DIsplaying Videos Ends-->
|
||||
{include file="$style_dir/blocks/pagination.html" }
|
||||
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue