mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Merge branch 'develop' of https://brutus.artica.lan:8081/artica/pandorafms into develop
This commit is contained in:
commit
2ccde70442
@ -187,7 +187,7 @@ function update_button_palette_callback() {
|
|||||||
case 'background':
|
case 'background':
|
||||||
|
|
||||||
if(values['width'] < 1024 || values['height'] < 768){
|
if(values['width'] < 1024 || values['height'] < 768){
|
||||||
alert('Please min size recommend is 1024x768');
|
alert('Min allowed size is 1024x768');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -414,11 +414,11 @@ function update_button_palette_callback() {
|
|||||||
$('#' + idItem + ' table').remove();
|
$('#' + idItem + ' table').remove();
|
||||||
$('#' + idItem).append(tempoimg);
|
$('#' + idItem).append(tempoimg);
|
||||||
$("#" + idItem + ' table').css('height','');
|
$("#" + idItem + ' table').css('height','');
|
||||||
$("#" + idItem + ' table').css('width','100%');
|
$("#" + idItem + ' table').css('width','70');
|
||||||
$("#" + idItem + ' span').css('width','100%');
|
$("#" + idItem + ' span').css('width','70');
|
||||||
$("#" + idItem + ' img').css('margin-top','');
|
$("#" + idItem + ' img').css('margin-top','');
|
||||||
//if(parseInt($("#" + idItem).css('width'))-parseInt($("#" + idItem + " img").css('width'))/2 == 0 || values['height'] == 0 || values['width'] == 0){
|
//if(parseInt($("#" + idItem).css('width'))-parseInt($("#" + idItem + " img").css('width'))/2 == 0 || values['height'] == 0 || values['width'] == 0){
|
||||||
$("#" + idItem + ' img').css('margin-left',(parseInt($("#" + idItem).css('width'))/2)-(parseInt($("#" + idItem + " img").css('width'))/2)+'px');
|
//$("#" + idItem + ' img').css('margin-left',(parseInt($("#" + idItem).css('width'))/2)-(parseInt($("#" + idItem + " img").css('width'))/2)+'px');
|
||||||
//}
|
//}
|
||||||
//else{
|
//else{
|
||||||
//$("#" + idItem + ' img').css('margin-left','');
|
//$("#" + idItem + ' img').css('margin-left','');
|
||||||
@ -433,15 +433,15 @@ function update_button_palette_callback() {
|
|||||||
$('#' + idItem + ' img').remove();
|
$('#' + idItem + ' img').remove();
|
||||||
$('#' + idItem).append(tempoimg);
|
$('#' + idItem).append(tempoimg);
|
||||||
$("#" + idItem + ' table').css('height','');
|
$("#" + idItem + ' table').css('height','');
|
||||||
$("#" + idItem + ' table').css('width','100%');
|
$("#" + idItem + ' table').css('width','70');
|
||||||
$("#" + idItem + ' span').css('width','100%');
|
$("#" + idItem + ' span').css('width','70');
|
||||||
$("#" + idItem + ' img').css('margin-top','');
|
$("#" + idItem + ' img').css('margin-top','');
|
||||||
//if(parseInt($("#" + idItem).css('width'))-parseInt($("#" + idItem + " img").css('width'))/2 == 0 || values['height'] == 0 || values['width'] == 0){
|
//if(parseInt($("#" + idItem).css('width'))-parseInt($("#" + idItem + " img").css('width'))/2 == 0 || values['height'] == 0 || values['width'] == 0){
|
||||||
//$("#" + idItem + ' img').css('margin-left','');
|
//$("#" + idItem + ' img').css('margin-left','');
|
||||||
|
|
||||||
//}
|
//}
|
||||||
//else{
|
//else{
|
||||||
$("#" + idItem + ' img').css('margin-left',(parseInt($("#" + idItem).css('width'))/2)-(parseInt($("#" + idItem + " img").css('width'))/2)+'px');
|
//$("#" + idItem + ' img').css('margin-left',(parseInt($("#" + idItem).css('width'))/2)-(parseInt($("#" + idItem + " img").css('width'))/2)+'px');
|
||||||
//}
|
//}
|
||||||
$("#" + idItem + ' > p').remove();
|
$("#" + idItem + ' > p').remove();
|
||||||
}
|
}
|
||||||
@ -1992,7 +1992,7 @@ function createItem(type, values, id_data) {
|
|||||||
|
|
||||||
if(values['label_position'] == 'up'){
|
if(values['label_position'] == 'up'){
|
||||||
item
|
item
|
||||||
.append('<table><tr><td></td></tr><tr><td><span id="text_'+id_data+'" class="text">'+values['label']+'</span></td></tr><tr><td></td></tr></table>')
|
.append('<table style="width:70px"><tr><td></td></tr><tr><td><span id="text_'+id_data+'" class="text">'+values['label']+'</span></td></tr><tr><td></td></tr></table>')
|
||||||
.append($image)
|
.append($image)
|
||||||
.append($image)
|
.append($image)
|
||||||
.append($input);
|
.append($input);
|
||||||
@ -2002,7 +2002,7 @@ function createItem(type, values, id_data) {
|
|||||||
item
|
item
|
||||||
.append($image)
|
.append($image)
|
||||||
.append($image)
|
.append($image)
|
||||||
.append('<table><tr><td></td></tr><tr><td><span id="text_'+id_data+'" class="text">'+values['label']+'</span></td></tr><tr><td></td></tr></table>')
|
.append('<table style="width:70px"><tr><td></td></tr><tr><td><span id="text_'+id_data+'" class="text">'+values['label']+'</span></td></tr><tr><td></td></tr></table>')
|
||||||
.append($input);
|
.append($input);
|
||||||
}
|
}
|
||||||
else if(values['label_position'] == 'left'){
|
else if(values['label_position'] == 'left'){
|
||||||
|
@ -131,7 +131,7 @@ $backgroundSizes = getimagesize(
|
|||||||
html_print_input_hidden('background_original_width', $backgroundSizes[0]);
|
html_print_input_hidden('background_original_width', $backgroundSizes[0]);
|
||||||
html_print_input_hidden('background_original_height', $backgroundSizes[1]);
|
html_print_input_hidden('background_original_height', $backgroundSizes[1]);
|
||||||
html_print_input_hidden('id_visual_console', $visualConsole['id']);
|
html_print_input_hidden('id_visual_console', $visualConsole['id']);
|
||||||
html_print_input_hidden('message_size', __('Please min size recommend is 1024x768'));
|
html_print_input_hidden('message_size', __('Min allowed size is 1024x768'));
|
||||||
|
|
||||||
|
|
||||||
// Loading dialog
|
// Loading dialog
|
||||||
@ -240,7 +240,6 @@ ui_require_javascript_file ('encode_decode_base64');
|
|||||||
else{
|
else{
|
||||||
$('#period_row').css('display','');
|
$('#period_row').css('display','');
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -204,7 +204,7 @@ else{
|
|||||||
$table_styles->data[$row][1] .= " " . html_print_button(__("View"), 'custom_logo_preview', $open, '', 'class="sub camera"', true,false,$open,'visualmodal');
|
$table_styles->data[$row][1] .= " " . html_print_button(__("View"), 'custom_logo_preview', $open, '', 'class="sub camera"', true,false,$open,'visualmodal');
|
||||||
$row++;
|
$row++;
|
||||||
|
|
||||||
$table_styles->data[$row][0] = __('Custom logo (login)') . ui_print_help_icon("custom_logo_login", true);
|
$table_styles->data[$row][0] = __('Custom logo (login)') . ui_print_help_icon("custom_logo", true);
|
||||||
|
|
||||||
if(enterprise_installed()) {
|
if(enterprise_installed()) {
|
||||||
$table_styles->data[$row][1] = html_print_select(
|
$table_styles->data[$row][1] = html_print_select(
|
||||||
|
@ -51,7 +51,7 @@ if (is_ajax ()) {
|
|||||||
else {
|
else {
|
||||||
if (file_exists($dir) && is_dir($dir)) {
|
if (file_exists($dir) && is_dir($dir)) {
|
||||||
if (is_readable($dir)) {
|
if (is_readable($dir)) {
|
||||||
if ($number >= $config['MR'] + 1) {
|
if ($number > $config['MR'] + 1) {
|
||||||
$message = "bad_mr_filename";
|
$message = "bad_mr_filename";
|
||||||
|
|
||||||
echo $message;
|
echo $message;
|
||||||
|
@ -301,7 +301,7 @@ function config_update_config () {
|
|||||||
if (!config_update_value ('ad_start_tls', get_parameter ('ad_start_tls')))
|
if (!config_update_value ('ad_start_tls', get_parameter ('ad_start_tls')))
|
||||||
$error_update[] = __('Start TLS');
|
$error_update[] = __('Start TLS');
|
||||||
if (!config_update_value ('ad_advanced_config', get_parameter ('ad_advanced_config')))
|
if (!config_update_value ('ad_advanced_config', get_parameter ('ad_advanced_config')))
|
||||||
$error_update[] = __('Advance Config AD');
|
$error_update[] = __('Advanced Config AD');
|
||||||
if (!config_update_value ('ad_domain', get_parameter ('ad_domain')))
|
if (!config_update_value ('ad_domain', get_parameter ('ad_domain')))
|
||||||
$error_update[] = __('Domain');
|
$error_update[] = __('Domain');
|
||||||
if (!config_update_value ('ad_adv_perms', get_parameter ('ad_adv_perms')))
|
if (!config_update_value ('ad_adv_perms', get_parameter ('ad_adv_perms')))
|
||||||
|
@ -343,7 +343,7 @@ function update_manager_check_online_free_packages ($is_ajax=true) {
|
|||||||
echo "<p><b>There is a new version:</b> " . $result[0]['version'] . "</p>";
|
echo "<p><b>There is a new version:</b> " . $result[0]['version'] . "</p>";
|
||||||
echo "<a href='javascript: update_last_package(\"" . base64_encode($result[0]["file_name"]) .
|
echo "<a href='javascript: update_last_package(\"" . base64_encode($result[0]["file_name"]) .
|
||||||
"\", \"" . $result[0]['version'] ."\");'>" .
|
"\", \"" . $result[0]['version'] ."\");'>" .
|
||||||
__("Update to the last version") . "</a>";
|
__("Update to the next version") . "</a>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo __("There is no update available.");
|
echo __("There is no update available.");
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -2441,11 +2441,11 @@ span#plugin_description {
|
|||||||
font-size: 8pt !important;
|
font-size: 8pt !important;
|
||||||
line-height: 8pt;
|
line-height: 8pt;
|
||||||
}
|
}
|
||||||
.visual_font_size_10pt, .visual_font_size_10pt > em , .visual_font_size_10pt > strong, .visual_font_size_10pt > strong > em, .visual_font_size_10pt > em > strong, .visual_font_size_10pt em span, .visual_font_size_10pt span em {
|
.visual_font_size_10pt, .visual_font_size_10pt > em, .visual_font_size_10pt > strong, .visual_font_size_10pt > strong > span , .visual_font_size_10pt > span, .visual_font_size_10pt > strong > em, .visual_font_size_10pt > em > strong, .visual_font_size_10pt em span, .visual_font_size_10pt span em {
|
||||||
font-size: 10pt !important;
|
font-size: 10pt !important;
|
||||||
line-height: 10pt;
|
line-height: 10pt;
|
||||||
}
|
}
|
||||||
.visual_font_size_12pt, .visual_font_size_12pt > em , .visual_font_size_12pt > strong, .visual_font_size_12pt > strong > em, .visual_font_size_12pt > em > strong, .visual_font_size_12pt em span, .visual_font_size_12pt span em {
|
.visual_font_size_12pt, .visual_font_size_12pt > em, .visual_font_size_12pt > strong, .visual_font_size_12pt > strong > span , .visual_font_size_12pt > span, .visual_font_size_12pt > strong > em, .visual_font_size_12pt > em > strong, .visual_font_size_12pt em span, .visual_font_size_12pt span em {
|
||||||
font-size: 12pt !important;
|
font-size: 12pt !important;
|
||||||
line-height: 12pt;
|
line-height: 12pt;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user