add new size icons atom for 8px, fix status chat in test developer refs - CT#7539

1.10.x
aragonc 9 years ago
parent b3ebbcbda8
commit 49321f27de
  1. 1
      main/inc/lib/api.lib.php
  2. 4
      main/inc/lib/template.lib.php

@ -396,6 +396,7 @@ define('SCORE_ONLY_CUSTOM', 3);
// From display.lib.php // From display.lib.php
define('MAX_LENGTH_BREADCRUMB', 100); define('MAX_LENGTH_BREADCRUMB', 100);
define('ICON_SIZE_ATOM', 8);
define('ICON_SIZE_TINY', 16); define('ICON_SIZE_TINY', 16);
define('ICON_SIZE_SMALL', 22); define('ICON_SIZE_SMALL', 22);
define('ICON_SIZE_MEDIUM', 32); define('ICON_SIZE_MEDIUM', 32);

@ -752,8 +752,8 @@ class Template
} }
} }
$this->assign('online_button', Display::return_icon('statusonline.png')); $this->assign('online_button', Display::return_icon('statusonline.png', null, null, ICON_SIZE_ATOM));
$this->assign('offline_button',Display::return_icon('statusoffline.png')); $this->assign('offline_button',Display::return_icon('statusoffline.png', null, null, ICON_SIZE_ATOM));
// Get language iso-code for this page - ignore errors // Get language iso-code for this page - ignore errors
$this->assign('document_language', api_get_language_isocode()); $this->assign('document_language', api_get_language_isocode());

Loading…
Cancel
Save