mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-21 02:20:54 +08:00
limit img max-width
This commit is contained in:
@@ -221,7 +221,7 @@ function formatCode($text) {
|
||||
}
|
||||
|
||||
function formatImg($src, $enableImageResizer, $image_max_width, $image_max_height, $imgId = "") {
|
||||
return addTempCode("<img id=\"$imgId\" alt=\"image\" src=\"$src\"" .($enableImageResizer ? " onload=\"Scale(this,$image_max_width,$image_max_height);\" onclick=\"Preview(this);\"" : "") . " />");
|
||||
return addTempCode("<img style=\"max-width: 100%\" id=\"$imgId\" alt=\"image\" src=\"$src\"" .($enableImageResizer ? " onload=\"Scale(this,$image_max_width,$image_max_height);\" onclick=\"Preview(this);\"" : "") . " />");
|
||||
}
|
||||
|
||||
function formatFlash($src, $width, $height) {
|
||||
|
||||
@@ -36,13 +36,13 @@
|
||||
'autoclean_interval_two' => '1800',
|
||||
'autoclean_interval_three' => '3600',
|
||||
'autoclean_interval_four' => '43200',
|
||||
'autoclean_interval_five' => '648000',
|
||||
'autoclean_interval_five' => '1296000',
|
||||
'reportemail' => 'nobody@gmail.com',
|
||||
'invitesystem' => 'no',
|
||||
'registration' => 'yes',
|
||||
'showhotmovies' => 'no',
|
||||
'showclassicmovies' => 'no',
|
||||
'showimdbinfo' => 'no',
|
||||
'showimdbinfo' => 'yes',
|
||||
'enablenfo' => 'yes',
|
||||
'enableschool' => 'no',
|
||||
'restrictemail' => 'no',
|
||||
@@ -78,8 +78,9 @@
|
||||
'startsubid' => NULL,
|
||||
'logo' => '',
|
||||
'showlastxforumposts' => 'no',
|
||||
'pt_gen_api_point' => 'https://ptgen.rhilip.info',
|
||||
'enable_pt_gen_system' => 'yes',
|
||||
'pt_gen_api_point' => '',
|
||||
'enable_pt_gen_system' => 'no',
|
||||
'enable_technical_info' => 'no',
|
||||
),
|
||||
'smtp' =>
|
||||
array (
|
||||
@@ -354,7 +355,7 @@
|
||||
array (
|
||||
'mainversion' => 'NexusPHP',
|
||||
'subversion' => 'v1.6.0-beta4',
|
||||
'releasedate' => '2021-03-17',
|
||||
'releasedate' => '2021-03-19',
|
||||
'website' => '<a href="https://nexusphp.org" target="_blank">https://nexusphp.org</a>',
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user