Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
6faf6eeb
Commit
6faf6eeb
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
parents
bae8ed23
b3d1df37
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+1
-0
1 addition, 0 deletions
ChangeLog
htdocs/core/tpl/login.tpl.php
+13
-1
13 additions, 1 deletion
htdocs/core/tpl/login.tpl.php
with
14 additions
and
1 deletion
ChangeLog
+
1
−
0
View file @
6faf6eeb
...
...
@@ -34,6 +34,7 @@ For translators:
For developers:
- New: Function yn can show a visual checkbox.
- New: Introduced select2 jquery plugin.
- New: Possibility to add javascript in main login page with "getLoginPageOptions" hook
WARNING: Following changes may create regression for some external modules, but was necessary to make
Dolibarr better:
...
...
This diff is collapsed.
Click to expand it.
htdocs/core/tpl/login.tpl.php
+
13
−
1
View file @
6faf6eeb
<?php
/* Copyright (C) 2009-201
0
Regis Houssin <regis.houssin@capnetworks.com>
/* Copyright (C) 2009-201
5
Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2011-2013 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -245,6 +245,18 @@ if (isset($conf->file->main_authentication) && preg_match('/openid/',$conf->file
<?php
if
(
!
empty
(
$conf
->
global
->
MAIN_HTML_FOOTER
))
print
$conf
->
global
->
MAIN_HTML_FOOTER
;
?>
<?php
if
(
!
empty
(
$hookmanager
->
resArray
[
'options'
]))
{
foreach
(
$hookmanager
->
resArray
[
'options'
]
as
$format
=>
$option
)
{
if
(
$format
==
'js'
)
{
echo
"
\n
"
.
'<!-- Javascript by hook -->'
;
echo
$option
.
"
\n
"
;
}
}
}
?>
<?php
// Google Analytics (need Google module)
if
(
!
empty
(
$conf
->
google
->
enabled
)
&&
!
empty
(
$conf
->
global
->
MAIN_GOOGLE_AN_ID
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment