diff --git a/include/staff/system.inc.php b/include/staff/system.inc.php index 3a3834851009c0a7e6216480b6a888591f9a1bcd..20198b8f88c040d7592a9d5c512bb25c3fc5029b 100644 --- a/include/staff/system.inc.php +++ b/include/staff/system.inc.php @@ -171,22 +171,24 @@ if (!$lv) { ?> <?php foreach (Internationalization::availableLanguages() as $info) { $p = $info['path']; - if ($info['phar']) $p = 'phar://' . $p; - if (file_exists($p . '/MANIFEST.php')) { - $manifest = (include $p . '/MANIFEST.php'); ?> + if ($info['phar']) + $p = 'phar://' . $p; +?> <h3><strong><?php echo Internationalization::getLanguageDescription($info['code']); ?></strong> — <?php echo $manifest['Language']; ?> -<?php if ($info['phar']) - Plugin::showVerificationBadge($info['path']); - ?> +<?php if ($info['phar']) + Plugin::showVerificationBadge($info['path']); ?> </h3> <div><?php echo sprintf('<code>%s</code> — %s', $info['code'], str_replace(ROOT_DIR, '', $info['path'])); ?> +<?php if (file_exists($p . '/MANIFEST.php')) { + $manifest = (include $p . '/MANIFEST.php'); ?> <br/> <?php echo __('Version'); ?>: <?php echo $manifest['Version']; ?>, <?php echo sprintf(__('for version %s'), 'v'.($manifest['Phrases-Version'] ?: '1.9')); ?> <br/> <?php echo __('Built'); ?>: <?php echo $manifest['Build-Date']; ?> +<?php } ?> </div> -<?php } +<?php } ?> </div> diff --git a/scp/css/scp.css b/scp/css/scp.css index 2b12d668b35e890300911594ede78abbd0fc131c..86632ba2766ff353f499c2c13b1d4b8b60d68b16 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -2322,7 +2322,9 @@ tr.disabled th { } .label { - float: right; + display: inline-block; + position: relative; + bottom: 1px; margin-bottom: 4px; font-size: 11px; padding: 0px 7px;