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
5c5a6ce8
Commit
5c5a6ce8
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix bad merge
parent
61659435
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
htdocs/cron/list.php
+3
-13
3 additions, 13 deletions
htdocs/cron/list.php
htdocs/langs/en_US/cron.lang
+1
-1
1 addition, 1 deletion
htdocs/langs/en_US/cron.lang
with
4 additions
and
14 deletions
htdocs/cron/list.php
+
3
−
13
View file @
5c5a6ce8
...
...
@@ -232,13 +232,7 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST))
$nbtotalofrecords
=
$db
->
num_rows
(
$result
);
}
<<<<<<<
HEAD
$sql
.
=
$db
->
plimit
(
$limit
+
1
,
$offset
);
=======
if
(
$action
==
'execute'
)
{
print
$form
->
formconfirm
(
$_SERVER
[
'PHP_SELF'
]
.
"?id="
.
$id
.
'&status='
.
$status
.
'&securitykey='
.
$securitykey
,
$langs
->
trans
(
"CronExecute"
),
$langs
->
trans
(
"CronConfirmExecute"
),
"confirm_execute"
,
''
,
''
,
1
);
>>>>>>>
branch
'4.0'
of
git
@
github
.
com
:
Dolibarr
/
dolibarr
.
git
$result
=
$db
->
query
(
$sql
);
if
(
!
$result
)
dol_print_error
(
$db
);
...
...
@@ -265,11 +259,11 @@ if ($num > 0)
if
(
$action
==
'delete'
)
{
print
$form
->
formconfirm
(
$_SERVER
[
'PHP_SELF'
]
.
"?id="
.
$id
.
'&status='
.
$status
,
$langs
->
trans
(
"CronDelete"
),
$langs
->
trans
(
"CronConfirmDelete"
),
"confirm_delete"
,
''
,
''
,
1
);
print
$form
->
formconfirm
(
$_SERVER
[
'PHP_SELF'
]
.
"?id="
.
$id
.
'&status='
.
$status
,
$langs
->
trans
(
"CronDelete"
),
$langs
->
trans
(
"CronConfirmDelete"
),
"confirm_delete"
,
''
,
''
,
1
);
}
if
(
$action
==
'execute'
)
{
print
$form
->
formconfirm
(
$_SERVER
[
'PHP_SELF'
]
.
"?id="
.
$id
.
'&status='
.
$status
,
$langs
->
trans
(
"CronExecute"
),
$langs
->
trans
(
"CronConfirmExecute"
),
"confirm_execute"
,
''
,
''
,
1
);
print
$form
->
formconfirm
(
$_SERVER
[
'PHP_SELF'
]
.
"?id="
.
$id
.
'&status='
.
$status
.
'&securitykey='
.
$securitykey
,
$langs
->
trans
(
"CronExecute"
),
$langs
->
trans
(
"CronConfirmExecute"
),
"confirm_execute"
,
''
,
''
,
1
);
}
...
...
@@ -456,11 +450,7 @@ if ($num > 0)
}
if
(
$user
->
rights
->
cron
->
execute
)
{
<<<<<<<
HEAD
if
(
!
empty
(
$obj
->
status
))
print
"<a href=
\"
"
.
$_SERVER
[
"PHP_SELF"
]
.
"?id="
.
$obj
->
rowid
.
"&action=execute"
.
(
$sortfield
?
'&sortfield='
.
$sortfield
:
''
)
.
(
$sortorder
?
'&sortorder='
.
$sortorder
:
''
)
.
$param
.
"
\"
title=
\"
"
.
dol_escape_htmltag
(
$langs
->
trans
(
'CronExecute'
))
.
"
\"
>"
.
img_picto
(
$langs
->
trans
(
'CronExecute'
),
"play"
)
.
"</a>"
;
=======
if
(
!
empty
(
$line
->
status
))
print
"<a href=
\"
"
.
$_SERVER
[
"PHP_SELF"
]
.
"?id="
.
$line
->
id
.
"&action=execute"
.
(
empty
(
$conf
->
global
->
CRON_KEY
)
?
''
:
'&securitykey='
.
$conf
->
global
->
CRON_KEY
)
.
(
$sortfield
?
'&sortfield='
.
$sortfield
:
''
)
.
(
$sortorder
?
'&sortorder='
.
$sortorder
:
''
)
.
$param
.
"
\"
title=
\"
"
.
dol_escape_htmltag
(
$langs
->
trans
(
'CronExecute'
))
.
"
\"
>"
.
img_picto
(
$langs
->
trans
(
'CronExecute'
),
"play"
)
.
"</a>"
;
>>>>>>>
branch
'4.0'
of
git
@
github
.
com
:
Dolibarr
/
dolibarr
.
git
if
(
!
empty
(
$obj
->
status
))
print
"<a href=
\"
"
.
$_SERVER
[
"PHP_SELF"
]
.
"?id="
.
$obj
->
rowid
.
"&action=execute"
.
(
empty
(
$conf
->
global
->
CRON_KEY
)
?
''
:
'&securitykey='
.
$conf
->
global
->
CRON_KEY
)
.
(
$sortfield
?
'&sortfield='
.
$sortfield
:
''
)
.
(
$sortorder
?
'&sortorder='
.
$sortorder
:
''
)
.
$param
.
"
\"
title=
\"
"
.
dol_escape_htmltag
(
$langs
->
trans
(
'CronExecute'
))
.
"
\"
>"
.
img_picto
(
$langs
->
trans
(
'CronExecute'
),
"play"
)
.
"</a>"
;
else
print
"<a href=
\"
#
\"
title=
\"
"
.
dol_escape_htmltag
(
$langs
->
trans
(
'JobDisabled'
))
.
"
\"
>"
.
img_picto
(
$langs
->
trans
(
'JobDisabled'
),
"play"
)
.
"</a>"
;
}
else
{
print
"<a href=
\"
#
\"
title=
\"
"
.
dol_escape_htmltag
(
$langs
->
trans
(
'NotEnoughPermissions'
))
.
"
\"
>"
.
img_picto
(
$langs
->
trans
(
'NotEnoughPermissions'
),
"play"
)
.
"</a>"
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/cron.lang
+
1
−
1
View file @
5c5a6ce8
...
...
@@ -7,7 +7,7 @@ Permission23103 = Delete Scheduled job
Permission23104 = Execute Scheduled job
# Admin
CronSetup= Scheduled job management setup
URLToLaunchCronJobs=URL to check and launch
cron jobs if required
URLToLaunchCronJobs=URL to check and launch
qualified cron jobs
OrToLaunchASpecificJob=Or to check and launch a specific job
KeyForCronAccess=Security key for URL to launch cron jobs
FileToLaunchCronJobs=Command line to launch cron jobs
...
...
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