Commit 46952157fa2e829f1bc4e51ac87b844a5c52d2e6

Authored by Conrad Vermeulen
1 parent 2d1a3106

KTS-3433

"Background task should fetch latest version for Version Notifier and cache ."
Updated. Missed some testing code and fixed typo. 

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8604 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php
... ... @@ -48,7 +48,6 @@ class AdminVersionDashlet extends KTBaseDashlet {
48 48 function is_active($oUser)
49 49 {
50 50 $this->version = AdminVersion::isNewVersionAvailable();
51   - return true;
52 51 if ($this->version === false)
53 52 {
54 53 return false;
... ...
plugins/ktstandard/AdminVersionPlugin/templates/dashlet.smarty
... ... @@ -8,7 +8,7 @@
8 8 #AdminHeader { font-weight: bold;
9 9 margin-left: 25px;}
10 10 #AdminVersionBlock {
11   - background: url(./plugins/ktstandard/AdminVersionPlugin/templates/AdminVersionPlugin/computer_go.png) no-repeat scroll left;
  11 + background: url(./plugins/ktstandard/AdminVersionPlugin/templates/computer_go.png) no-repeat scroll left;
12 12 font-weight: bold;
13 13 padding-left:25px;
14 14 background-position: top left;
... ...