Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
QUIQQER
QUIQQER
Commits
759e8d6a
Commit
759e8d6a
authored
Nov 17, 2020
by
Henning Leutz
🥋
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
12cc6813
371638e2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
admin/ajax/users/address/save.php
admin/ajax/users/address/save.php
+5
-0
bin/QUI/controls/users/Address.js
bin/QUI/controls/users/Address.js
+2
-1
lib/templates/headerNoConflict.html
lib/templates/headerNoConflict.html
+5
-5
No files found.
admin/ajax/users/address/save.php
View file @
759e8d6a
...
...
@@ -69,6 +69,11 @@ QUI::$Ajax->registerFunction(
$Address
->
setAttributes
(
$data
);
$Address
->
save
();
if
(
isset
(
$data
[
'standard'
])
&&
$data
[
'standard'
]
===
1
)
{
$User
->
setAttribute
(
'address'
,
$Address
->
getId
());
$User
->
save
();
}
return
$Address
->
getId
();
},
[
'uid'
,
'aid'
,
'data'
],
...
...
bin/QUI/controls/users/Address.js
View file @
759e8d6a
...
...
@@ -313,7 +313,8 @@ define('controls/users/Address', [
city
:
this
.
$City
.
value
,
country
:
this
.
$Country
.
value
,
mails
:
emails
,
phone
:
this
.
$PhoneGrid
.
getData
()
phone
:
this
.
$PhoneGrid
.
getData
(),
standard
:
this
.
$Standard
.
checked
?
1
:
0
};
Ajax
.
post
(
'
ajax_users_address_save
'
,
function
()
{
...
...
lib/templates/headerNoConflict.html
View file @
759e8d6a
...
...
@@ -5,15 +5,15 @@
{if $Template->getAttribute('html5') === false}
<meta
http-equiv=
"content-language"
content=
"{$Project->getlang()}"
/>
<meta
name=
"page-topic"
content=
"
{$Site->getAttribute('title')|escape:
"
html
"
}"
/>
<meta
name=
"page-topic"
content=
'
{$Site->getAttribute('
title
')|
escape:
'
html
'
}"
/>
<meta
name=
"date"
content=
"{$Site->getAttribute('e_date')}"
/>
<meta
name=
"copyright"
content=
"{$Project->getConfig('meta.copyright')}"
/>
<meta
name=
"publisher"
content=
"{$Project->getConfig('meta.publisher')}"
/>
{/if}
<meta
name=
"description"
content=
"{$Site->getAttribute('meta.description')|escape:
"
html
"
}"
/>
<meta
name=
"keywords"
content=
"{$Site->getAttribute('meta.keywords')|escape:
"
html
"
}"
/>
<meta
name=
"description"
content=
"{$Site->getAttribute('meta.description')|escape:
'
html
'
}"
/>
<meta
name=
"keywords"
content=
"{$Site->getAttribute('meta.keywords')|escape:
'
html
'
}"
/>
{if $Locale->no_translation}
<meta
name=
"robots"
content=
"noindex"
/>
...
...
@@ -117,7 +117,7 @@
{if $Template->getAttribute('requirejs')}
<!-- include components -->
<script
src=
"{$URL_OPT_DIR}bin/requirejs/require.js?lu={$lastUpdate}"
></script>
<script
src=
"{$URL_OPT_DIR}bin/requirejs/require.js?lu={$lastUpdate}"
type=
"text/javascript"
></script>
<script>
require
.
config
({
baseUrl
:
URL_DIR
,
...
...
@@ -291,7 +291,7 @@
{/if}
{if isset($siteScript)}
<script
type=
"text/javascript"
src=
"{$siteScript}"
></script>
<script
src=
"{$siteScript}"
type=
"text/javascript"
></script>
{/if}
{$headerExtend}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment