mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-25 02:48:10 +02:00
Change menu header title truncate
(cherry picked from commit 775644c247e8a825763fc0f2ce2fe17caf13b77a)
This commit is contained in:
parent
e457deaaf1
commit
b4f8926e75
@ -450,8 +450,11 @@ function ui_print_timestamp ($unixtime, $return = false, $option = array ()) {
|
||||
$data = __('Unknown');
|
||||
}
|
||||
elseif ($prominent == "timestamp") {
|
||||
pandora_setlocale();
|
||||
|
||||
$title = human_time_comparation ($unixtime);
|
||||
$data = date ($config["date_format"], $unixtime);
|
||||
$data = strftime(date2strftime_format($config["date_format"]),
|
||||
$unixtime);
|
||||
}
|
||||
else {
|
||||
$title = date ($config["date_format"], $unixtime);
|
||||
@ -632,8 +635,7 @@ function ui_print_os_icon ($id_os, $name = true, $return = false,
|
||||
return "-";
|
||||
}
|
||||
}
|
||||
|
||||
if ($apply_skin) {
|
||||
else if ($apply_skin) {
|
||||
if ($only_src) {
|
||||
$output = html_print_image("images/" . $subfolter . "/" . $icon, true, $options, true, $relative);
|
||||
}
|
||||
@ -2408,7 +2410,7 @@ function ui_print_page_header ($title, $icon = "", $return = false, $help = "",
|
||||
|
||||
$buffer .= '<ul class="mn"><li class="' . $type . '"> ' . ' ';
|
||||
$buffer .= '<span style="">' .
|
||||
ui_print_truncate_text($title, 38);
|
||||
ui_print_truncate_text($title, 46);
|
||||
if ($modal){
|
||||
$buffer .= "
|
||||
<div id='publienterprise' class='".$message."' title='Community version' style='float: right;margin-top: -2px !important; margin-left: 2px !important;'><img data-title='Enterprise version' class='img_help forced_title' data-use_title_for_force_title='1' src='images/alert_enterprise.png'></div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user