diff --git a/workflow/engine/controllers/main.php b/workflow/engine/controllers/main.php index 976389022..39aca7ec2 100644 --- a/workflow/engine/controllers/main.php +++ b/workflow/engine/controllers/main.php @@ -41,6 +41,15 @@ class Main extends Controller $this->setVar('user_avatar', 'users/users_ViewPhotoGrid?pUID=' . $_SESSION['USER_LOGGED'].'&h=' . rand()); $this->setVar('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG)); + // license notification + $expireInLabel = ''; + if (class_exists('pmLicenseManager')) { + $pmLicenseManager = &pmLicenseManager::getSingleton(); + $expireIn = $pmLicenseManager->getExpireIn(); + $expireInLabel = $pmLicenseManager->getExpireInLabel(); + } + $this->setVar('licenseNotification', $expireInLabel); + // setting variables on javascript env. $this->setJSVar('meta', array('menu'=>$this->getMenu())); diff --git a/workflow/engine/skinEngine/uxmodern/css/pmos-xtheme-gray.css b/workflow/engine/skinEngine/uxmodern/css/pmos-xtheme-gray.css index 7d77cab5e..5ab9ea77b 100644 --- a/workflow/engine/skinEngine/uxmodern/css/pmos-xtheme-gray.css +++ b/workflow/engine/skinEngine/uxmodern/css/pmos-xtheme-gray.css @@ -85,13 +85,12 @@ a.options-tool{ color: #fff; text-decoration: none; - font-weight: bold; + font-weight: normal; } a.options-tool:hover { color: #fff; text-decoration: underline; - font-weight: bold; } a.options-tool:focus { @@ -1557,3 +1556,23 @@ td.x-cnotes-label { padding-right: 3px; } +.x-pm-license-notification { + background-color: #a7bec5; + background-image: -moz-linear-gradient(#fff, #a7bec5); + background: -webkit-linear-gradient(#fff,#a7bec5); + + font: 8pt Tahoma,sans-serif,MiscFixed; + color:#fff; + text-align: center; + height:20px; + padding: 3px 10px 3px 10px; + + border-radius: 4px 4px 4px 4px; + text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); +} + +.x-pm-license-notification a { + font: 8pt Tahoma,sans-serif,MiscFixed; + color: #fff; + text-decoration: none; +} diff --git a/workflow/engine/skinEngine/uxmodern/layout-pm-modern.html b/workflow/engine/skinEngine/uxmodern/layout-pm-modern.html index df9889224..173e99bd9 100644 --- a/workflow/engine/skinEngine/uxmodern/layout-pm-modern.html +++ b/workflow/engine/skinEngine/uxmodern/layout-pm-modern.html @@ -22,15 +22,20 @@