Skip to content

Commit

Permalink
addition to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
uprel committed Aug 19, 2015
1 parent 2d79571 commit 1f18be9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions admin/languages/_lang.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var gisAppLanguages = [
['sl', 'slovenščina', 'ux-flag-si'],
['en', 'English', 'ux-flag-en'],
['de', 'Deutsch', 'ux-flag-de']
];
1 change: 1 addition & 0 deletions admin/logindialog/js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ else {
extraParamValue: map,
enableVirtualKeyboard: true,
language: langsel,
languageStore: gisAppLanguages,
onSuccess : function (form, action) {
if (this.fireEvent('success', this, action)) {
// enable buttons
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@
</script>

<script type="text/javascript" src="admin/languages/<?php echo $def_lang?>.js?v=20150811"></script>

<script type="text/javascript" src="admin/languages/_lang.js?v=20150819"></script>
<script type="text/javascript" src="admin/logindialog/js/overrides.js"></script>

<script type="text/javascript" src="admin/logindialog/js/virtualkeyboard.js"></script>
<script type="text/javascript" src="admin/logindialog/js/plugins/virtualkeyboard.js"></script>
<script type="text/javascript" src="admin/logindialog/js/Ext.ux.Crypto.SHA1.js"></script>
<script type="text/javascript" src="admin/logindialog/js/Ext.ux.form.IconCombo.js"></script>
<script type="text/javascript" src="admin/logindialog/js/Ext.ux.form.LoginDialog.js?v=20150817"></script>
<script type="text/javascript" src="admin/logindialog/js/login.js?v=20150817"></script>
<script type="text/javascript" src="admin/logindialog/js/login.js?v=20150819"></script>

</head>
<body></body>
Expand Down

0 comments on commit 1f18be9

Please sign in to comment.