mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +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 = "") {
|
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) {
|
function formatFlash($src, $width, $height) {
|
||||||
|
|||||||
@@ -36,13 +36,13 @@
|
|||||||
'autoclean_interval_two' => '1800',
|
'autoclean_interval_two' => '1800',
|
||||||
'autoclean_interval_three' => '3600',
|
'autoclean_interval_three' => '3600',
|
||||||
'autoclean_interval_four' => '43200',
|
'autoclean_interval_four' => '43200',
|
||||||
'autoclean_interval_five' => '648000',
|
'autoclean_interval_five' => '1296000',
|
||||||
'reportemail' => 'nobody@gmail.com',
|
'reportemail' => 'nobody@gmail.com',
|
||||||
'invitesystem' => 'no',
|
'invitesystem' => 'no',
|
||||||
'registration' => 'yes',
|
'registration' => 'yes',
|
||||||
'showhotmovies' => 'no',
|
'showhotmovies' => 'no',
|
||||||
'showclassicmovies' => 'no',
|
'showclassicmovies' => 'no',
|
||||||
'showimdbinfo' => 'no',
|
'showimdbinfo' => 'yes',
|
||||||
'enablenfo' => 'yes',
|
'enablenfo' => 'yes',
|
||||||
'enableschool' => 'no',
|
'enableschool' => 'no',
|
||||||
'restrictemail' => 'no',
|
'restrictemail' => 'no',
|
||||||
@@ -78,8 +78,9 @@
|
|||||||
'startsubid' => NULL,
|
'startsubid' => NULL,
|
||||||
'logo' => '',
|
'logo' => '',
|
||||||
'showlastxforumposts' => 'no',
|
'showlastxforumposts' => 'no',
|
||||||
'pt_gen_api_point' => 'https://ptgen.rhilip.info',
|
'pt_gen_api_point' => '',
|
||||||
'enable_pt_gen_system' => 'yes',
|
'enable_pt_gen_system' => 'no',
|
||||||
|
'enable_technical_info' => 'no',
|
||||||
),
|
),
|
||||||
'smtp' =>
|
'smtp' =>
|
||||||
array (
|
array (
|
||||||
@@ -354,7 +355,7 @@
|
|||||||
array (
|
array (
|
||||||
'mainversion' => 'NexusPHP',
|
'mainversion' => 'NexusPHP',
|
||||||
'subversion' => 'v1.6.0-beta4',
|
'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>',
|
'website' => '<a href="https://nexusphp.org" target="_blank">https://nexusphp.org</a>',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
Reference in New Issue
Block a user