Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jquery_loadinganimation
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
jquery_loadinganimation
Commits
451d5afe
Commit
451d5afe
authored
13 years ago
by
Julian Pustkuchen
Browse files
Options
Downloads
Patches
Plain Diff
Added admin options.
parent
9730da17
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jquery_loadinganimation.admin.inc
+15
-1
15 additions, 1 deletion
jquery_loadinganimation.admin.inc
with
15 additions
and
1 deletion
jquery_loadinganimation.admin.inc
+
15
−
1
View file @
451d5afe
...
...
@@ -13,7 +13,7 @@ function jquery_loadinganimation_settings_form() {
$form
[
'jquery_loadinganimation_img_src'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Loading animation spinner path'
),
'#description'
=>
t
(
"The loading animation spinner path to use."
),
'#description'
=>
t
(
"The loading animation spinner path to use.
Relative to base path.
"
),
'#required'
=>
TRUE
,
'#default_value'
=>
variable_get
(
'commerce_powl_modeluri'
,
$module_path
.
'/images/ajax-loader.gif'
));
...
...
@@ -24,6 +24,20 @@ function jquery_loadinganimation_settings_form() {
"Display the loading animation during AJAX requests too."
),
'#default_value'
=>
variable_get
(
'jquery_loadinganimation_show_on_ajax'
,
TRUE
));
$form
[
'jquery_loadinganimation_show_on_form_submit'
]
=
array
(
'#type'
=>
'checkbox'
,
'#title'
=>
t
(
'Show after form submission'
),
'#description'
=>
t
(
"Display the loading animation on form submit."
),
'#default_value'
=>
variable_get
(
'jquery_loadinganimation_show_on_form_submit'
,
TRUE
));
$form
[
'jquery_loadinganimation_show_on_href'
]
=
array
(
'#type'
=>
'checkbox'
,
'#title'
=>
t
(
'Show on href click'
),
'#description'
=>
t
(
"Display the loading animation after a link has been clicked."
),
'#default_value'
=>
variable_get
(
'jquery_loadinganimation_show_on_href'
,
TRUE
));
$form
[
'jquery_loadinganimation_subselector'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'JQuery subselector'
),
...
...
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