Fix image header URL in advert details, update CV access message, enhance image ratio alerts in profile edit, modify registration titles and agreement checkbox behavior.

This commit is contained in:
2025-06-11 00:25:57 +02:00
parent c2a11763fc
commit 603c10f251
11 changed files with 45 additions and 19 deletions

View File

@@ -159,12 +159,12 @@
</div>
</div>
<?
$img_header_url = \front\factory\GlobelusFirms::img_header_url( $this -> g_user['id'] );
$img_header_url = \front\factory\GlobelusFirms::img_header_url( $this -> advert['user_id'] );
$advert_add_img_top = \front\factory\GlobelusFirms::advert_add_img_top_url( $this -> advert['id'] );
if ( file_exists( $advert_add_img_top ) ):
echo '<div class="image_header"><img src="/advert_add_img_top/' . $this->advert['id'] . '/'. \S::get_token() . '"></div>';
elseif ( file_exists( $img_header_url ) ):
echo '<div class="image_header"><img src="/img_header/' . $this->g_user['id'] . '/'. \S::get_token() . '"></div>';
echo '<div class="image_header"><img src="/img_header/' . $this -> advert['user_id'] . '/'. \S::get_token() . '"></div>';
endif;
?>
<div class="content">