mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
add long description field
This commit is contained in:
parent
e750dac85d
commit
c5eef6751d
8 changed files with 68 additions and 25 deletions
|
|
@ -170,7 +170,7 @@ else
|
|||
'metaTitle' => $magnet->metaTitle ? htmlentities($magnet->metaTitle) : ($magnet->dn ? htmlentities($magnet->dn): false),
|
||||
'metaDescription' => $magnet->metaDescription ? nl2br(
|
||||
htmlentities(
|
||||
substr($magnet->metaDescription, 0, MAGNET_META_DESCRIPTION_LENGTH_SHORT)
|
||||
$magnet->metaDescription
|
||||
)
|
||||
) : false,
|
||||
'approved' => (bool) $magnet->approved,
|
||||
|
|
@ -306,7 +306,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL ?>
|
|||
<?php } ?>
|
||||
</div>
|
||||
<?php if ($magnet->metaDescription) { ?>
|
||||
<div class="margin-y-8 max-height-220 max-height-parent-hover-840"><?php echo $magnet->metaDescription ?></div>
|
||||
<div class="margin-y-8"><?php echo $magnet->metaDescription ?></div>
|
||||
<?php } ?>
|
||||
<?php if ($magnet->keywords) { ?>
|
||||
<div class="margin-y-8">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue