mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Rename author_email→contact_interne, author_show_contact→contact_public across view/controllers/templates
- v_theses_full: author_email→contact_interne, author_show_contact→contact_public - Updated schema.sql and live DB view - Renamed all PHP variables: currentAuthorEmail→contactInterne, currentAuthorShowContact→contactPublic - Restored contact_interne backoffice field with proper wiring (takes precedence over mail field) - Updated admin/add.php, admin/edit.php, partage/index.php, public/tfe.php templates
This commit is contained in:
@@ -226,14 +226,14 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (
|
||||
!empty($data["author_email"]) &&
|
||||
!empty($data["author_show_contact"])
|
||||
!empty($data["contact_interne"]) &&
|
||||
!empty($data["contact_public"])
|
||||
): ?>
|
||||
<div>
|
||||
<dt>Contact :</dt>
|
||||
<dd>
|
||||
<?php
|
||||
$_contact = $data["author_email"];
|
||||
$_contact = $data["contact_interne"];
|
||||
$_isUrl =
|
||||
filter_var($_contact, FILTER_VALIDATE_URL) !==
|
||||
false;
|
||||
|
||||
Reference in New Issue
Block a user