Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
9fb6ce7c
Unverified
Commit
9fb6ce7c
authored
3 years ago
by
Côme Chilliet
Browse files
Options
Download
Patches
Plain Diff
fix(code) Remove useless type on script tags
issue #6187
parent
1374ca07
dev
6342-update-the-locales-for-1-5
6344-template-issue-when-creating-a-template-with-empty-password-error-message-should-not-be-seen
6365-core-locking-mechanism-is-not-changing-the-mail-ressource-it-does-lock-the-mail-account
6365-core-when-lock-mechanism-is-trigger-the-user-should-not-be-editable-if-not-unlock
6378-orcid-test-method-is-wrong-and-break-orcid-saving
core-php8
master
fusiondirectory-1.5
fusiondirectory-1.4
No related merge requests found
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
html/main.php
+1
-1
html/main.php
html/setup.php
+1
-1
html/setup.php
ihtml/themes/breezy/baseselector.tpl
+1
-1
ihtml/themes/breezy/baseselector.tpl
ihtml/themes/breezy/framework.tpl
+1
-1
ihtml/themes/breezy/framework.tpl
ihtml/themes/breezy/headers.tpl
+10
-10
ihtml/themes/breezy/headers.tpl
ihtml/themes/breezy/login.tpl
+2
-2
ihtml/themes/breezy/login.tpl
ihtml/themes/breezy/msg_dialog.tpl
+1
-1
ihtml/themes/breezy/msg_dialog.tpl
ihtml/themes/breezy/recovery.tpl
+1
-1
ihtml/themes/breezy/recovery.tpl
ihtml/themes/breezy/secondfactor.tpl
+1
-1
ihtml/themes/breezy/secondfactor.tpl
ihtml/themes/breezy/simpleplugin.tpl
+1
-1
ihtml/themes/breezy/simpleplugin.tpl
ihtml/themes/legacy/login.tpl
+2
-2
ihtml/themes/legacy/login.tpl
ihtml/themes/legacy/recovery.tpl
+1
-1
ihtml/themes/legacy/recovery.tpl
include/class_divSelectBox.inc
+1
-1
include/class_divSelectBox.inc
setup/setup_migrate_adminAccount.tpl
+1
-1
setup/setup_migrate_adminAccount.tpl
with
25 additions
and
25 deletions
+25
-25
html/main.php
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -249,7 +249,7 @@ if ($error_collector != "") {
$smarty
->
assign
(
"php_errors"
,
""
);
}
$focus
=
'<script
type="text/javascript"
>'
;
$focus
=
'<script>'
;
$focus
.
=
'next_msg_dialog();'
;
$focus
.
=
'</script>'
;
$smarty
->
assign
(
'focus'
,
$focus
);
...
...
This diff is collapsed.
Click to expand it.
html/setup.php
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -116,7 +116,7 @@ setup::mainInc();
* @var string $display filled by setup::mainInc
*/
$focus
=
'<script
type="text/javascript"
>'
;
$focus
=
'<script>'
;
$focus
.
=
'next_msg_dialog();'
;
$focus
.
=
'</script>'
;
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/baseselector.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -10,7 +10,7 @@
value=
"
{
$currentValue
|
escape
}
"
/>
<div
id=
"autocomplete_
{
$pid
}
"
class=
"autocomplete"
></div>
<script
type=
"text/javascript"
>
<script>
new
Ajax
.
Autocompleter
(
'
{
$htmlid
}
'
,
'
autocomplete_
{
$pid
}
'
,
'
autocomplete.php?type=base
'
,
{
minChars
:
3
,
frequency
:
0.5
});
{
if
$submitButton
}
$
(
'
{
$htmlid
}
'
).
observe
(
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/framework.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -57,7 +57,7 @@
<!-- Automatic logout when session is expired -->
<script
type=
"text/javascript"
>
<script>
{
literal
}
function
logout
()
{
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/headers.tpl
+
10
−
10
View file @
9fb6ce7c
...
...
@@ -15,19 +15,19 @@
<link
rel=
"shortcut icon"
href=
"favicon.ico"
/>
<script
src=
"include/prototype.js"
type=
"text/javascript"
></script>
<script
src=
"include/fusiondirectory.js"
type=
"text/javascript"
></script>
<script
src=
"include/prototype.js"
></script>
<script
src=
"include/fusiondirectory.js"
></script>
{
if
$usePrototype
==
'true'
}
<script
src=
"include/scriptaculous.js"
type=
"text/javascript"
></script>
<script
src=
"include/builder.js"
type=
"text/javascript"
></script>
<script
src=
"include/effects.js"
type=
"text/javascript"
></script>
<script
src=
"include/dragdrop.js"
type=
"text/javascript"
></script>
<script
src=
"include/controls.js"
type=
"text/javascript"
></script>
<script
src=
"include/pulldown.js"
type=
"text/javascript"
></script>
<script
src=
"include/scriptaculous.js"
></script>
<script
src=
"include/builder.js"
></script>
<script
src=
"include/effects.js"
></script>
<script
src=
"include/dragdrop.js"
></script>
<script
src=
"include/controls.js"
></script>
<script
src=
"include/pulldown.js"
></script>
{/
if
}
<script
src=
"include/tsorter.js"
type=
"text/javascript"
></script>
<script
src=
"include/tsorter.js"
></script>
{
foreach
from
=
$js_files
item
=
file
}
<script
src=
"
{
$file
}
"
type=
"text/javascript"
></script>
<script
src=
"
{
$file
}
"
></script>
{/
foreach
}
</head>
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/login.tpl
+
2
−
2
View file @
9fb6ce7c
...
...
@@ -47,7 +47,7 @@
<!-- check, if cookies are enabled -->
<p
class=
"fusiondirectoryLoginWarning"
>
<script
type=
"text/javascript"
>
<script>
<!--
document
.
cookie
=
"
fdtest=empty;path=/
"
;
if
(
document
.
cookie
.
indexOf
(
"
fdtest=
"
)
>
-
1
)
...
...
@@ -76,7 +76,7 @@
{
include
file
=
{
filePath
file
=
"copynotice.tpl"
}}
<script
type=
"text/javascript"
>
<script>
<!--
enable_keyPress
=
false
;
focus_field
(
"
{
$focusfield
|
escape
}
"
);
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/msg_dialog.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -45,7 +45,7 @@
{/
if
}
</div>
</div>
<script
type=
"text/javascript"
>
<script>
focus_field
(
'
MSG_OK
{
$dialog.id
}
'
);
</script>
{/
foreach
}
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/recovery.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -128,7 +128,7 @@
{
include
file
=
{
filePath
file
=
"copynotice.tpl"
}}
<!-- Place cursor in email field -->
<script
type=
"text/javascript"
>
<script>
<!--
// First input field on page
focus_field
(
'
error_accept
'
,
'
login
'
,
'
directory
'
,
'
username
'
,
'
current_password
'
,
'
email_address
'
);
next_msg_dialog
();
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/secondfactor.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -41,7 +41,7 @@
{
include
file
=
{
filePath
file
=
"copynotice.tpl"
}}
<script
type=
"text/javascript"
>
<script>
<!--
next_msg_dialog
();
-->
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/breezy/simpleplugin.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -14,7 +14,7 @@
{
if
isset
(
$focusedField
)
}
<!-- Place cursor -->
<script
type=
"text/javascript"
>
<script>
<!--
// First input field on page
focus_field
(
'
{
$focusedField
|
escape
}
'
);
-->
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/legacy/login.tpl
+
2
−
2
View file @
9fb6ce7c
...
...
@@ -47,7 +47,7 @@
<!-- check, if cookies are enabled -->
<p
class=
"fusiondirectoryLoginWarning"
>
<script
type=
"text/javascript"
>
<script>
<!--
document
.
cookie
=
"
fdtest=empty;path=/
"
;
if
(
document
.
cookie
.
indexOf
(
"
fdtest=
"
)
>
-
1
)
...
...
@@ -76,7 +76,7 @@
{
include
file
=
{
filePath
file
=
"copynotice.tpl"
}}
<script
type=
"text/javascript"
>
<script>
<!--
enable_keyPress
=
false
;
focus_field
(
"
{
$focusfield
}
"
);
...
...
This diff is collapsed.
Click to expand it.
ihtml/themes/legacy/recovery.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -129,7 +129,7 @@
{
include
file
=
{
filePath
file
=
"copynotice.tpl"
}}
<!-- Place cursor in email field -->
<script
type=
"text/javascript"
>
<script>
<!--
// First input field on page
focus_field
(
'
error_accept
'
,
'
login
'
,
'
directory
'
,
'
username
'
,
'
current_password
'
,
'
email_address
'
);
next_msg_dialog
();
...
...
This diff is collapsed.
Click to expand it.
include/class_divSelectBox.inc
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -105,7 +105,7 @@ class divSelectBox
$s_return
.
=
'</table></div></div>'
;
if
(
$this
->
headers
!==
FALSE
)
{
$s_return
.
=
'<script
type="text/javascript"
>
'<script>
var sorter'
.
$this
->
id
.
' = tsorter.create(\''
.
$this
->
id
.
'\');
</script>'
;
}
...
...
This diff is collapsed.
Click to expand it.
setup/setup_migrate_adminAccount.tpl
+
1
−
1
View file @
9fb6ce7c
...
...
@@ -42,7 +42,7 @@
</table>
<!-- Place cursor -->
<script
type=
"text/javascript"
>
<script>
<!--
// First input field on page
focus_field
(
'
new_user_password
'
);
-->
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets