From dd1d3c866c3425f95fc578c3dc314da6886703eb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 10 Sep 2016 19:48:50 +0200 Subject: [PATCH] NEW Add a better icon to show when play in cron jobs is disabled. --- htdocs/cron/list.php | 4 ++-- htdocs/theme/eldy/img/playdisabled.png | Bin 0 -> 828 bytes htdocs/theme/md/img/playdisabled.png | Bin 0 -> 828 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 htdocs/theme/eldy/img/playdisabled.png create mode 100644 htdocs/theme/md/img/playdisabled.png diff --git a/htdocs/cron/list.php b/htdocs/cron/list.php index bd7fb5e9f55..143e660a85e 100644 --- a/htdocs/cron/list.php +++ b/htdocs/cron/list.php @@ -451,9 +451,9 @@ if ($num > 0) if ($user->rights->cron->execute) { if (!empty($obj->status)) print "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").""; - else print "trans('JobDisabled'))."\">".img_picto($langs->trans('JobDisabled'),"play").""; + else print "trans('JobDisabled'))."\">".img_picto($langs->trans('JobDisabled'),"playdisabled").""; } else { - print "trans('NotEnoughPermissions'))."\">".img_picto($langs->trans('NotEnoughPermissions'),"play").""; + print "trans('NotEnoughPermissions'))."\">".img_picto($langs->trans('NotEnoughPermissions'),"playdisabled").""; } print ''; diff --git a/htdocs/theme/eldy/img/playdisabled.png b/htdocs/theme/eldy/img/playdisabled.png new file mode 100644 index 0000000000000000000000000000000000000000..1cf122679e2a16d094cd798642c4c060ad685813 GIT binary patch literal 828 zcmV-C1H=4@P)e`Cd>c;0?A24 zK~y-)ZIjPyTvZguKj*$l2yGH=epXb7w2+_+Z8u$15DLW>sxAyglLt-A3>GJud0G@~ zqtH_5Mw)r!Oi*SfjWBOogml$K$sf=b)C%IFr9TiFYJSy%V`ysLyT?T)cB1`m?&aL` zJ@?#mzh9w-YQCG6+zxXL_Dm?qT4}U_8BJ z-hTn}r79xw1In12@Kyj&+7-PMl>E}Art!AU^gL@{z@Pap2IJ}P5q>KdGM{cw&tYDk z&i6$&>Tna@g}QEyAfS9;t$k3L$_~x!$i-Tdi?zYYIB;U$oBd*=L>yzIa8*^eZTcFKn5y!hm;f`tcr6sFsu~fw3LF6VE7!h}-%w9h)nBZ&2M6Qn z{i7Y26TJ`pj10UoRBEW(f*_a5Fn z(@pQ^3;%cHcc1L$$l2@b`)?=O9V1)Tg~vlT?p2>=uzvsv$Sb<+pjp-c0000e`Cd>c;0?A24 zK~y-)ZIjPyTvZguKj*$l2yGH=epXb7w2+_+Z8u$15DLW>sxAyglLt-A3>GJud0G@~ zqtH_5Mw)r!Oi*SfjWBOogml$K$sf=b)C%IFr9TiFYJSy%V`ysLyT?T)cB1`m?&aL` zJ@?#mzh9w-YQCG6+zxXL_Dm?qT4}U_8BJ z-hTn}r79xw1In12@Kyj&+7-PMl>E}Art!AU^gL@{z@Pap2IJ}P5q>KdGM{cw&tYDk z&i6$&>Tna@g}QEyAfS9;t$k3L$_~x!$i-Tdi?zYYIB;U$oBd*=L>yzIa8*^eZTcFKn5y!hm;f`tcr6sFsu~fw3LF6VE7!h}-%w9h)nBZ&2M6Qn z{i7Y26TJ`pj10UoRBEW(f*_a5Fn z(@pQ^3;%cHcc1L$$l2@b`)?=O9V1)Tg~vlT?p2>=uzvsv$Sb<+pjp-c0000