Phpost
COMPLEMENTOS Notificaciones con avatar y fecha en el monitor - Versión para impresión

+- Phpost (https://phpost.es)
+-- Foro: Risus 1.3 (https://phpost.es/forum-6.html)
+--- Foro: Complementos (https://phpost.es/forum-7.html)
+---- Foro: Complementos Terminados (https://phpost.es/forum-8.html)
+---- Tema: COMPLEMENTOS Notificaciones con avatar y fecha en el monitor (/thread-178.html)



Notificaciones con avatar y fecha en el monitor - Chctrpgo - 09-03-2021

Captura
[img]Registrate o inicia tu sesión para ver este contenido[/img]

 
 
En p.notificaciones.ajax.tpl --> themes --> default --> templates --> t.php_files --> p.notificaciones.ajax.tpl

Reemplazar contenido por:
Código PHP:
{if $tsData}
{foreach 
from=$tsData item=noti}
    <
li style="cursor:default;overflow:hidden;" {if $noti.unread 0}class="unread"{/if}>
<
span class="floatL" ><class="ectip" href="{$tsConfig.url}/perfil/{$noti.user}title="">
<
img class="ectip" style="float:left;background:white;padding:1px;border: 1px solid rgb(235, 235, 235);margin: 0px 4px 0px -2px;" height="35" width="35" title="{$noti.user}src="{$tsConfig.url}/files/avatar/{$noti.avatar}"/>
</
a>
{if 
$noti.total == 1}<a href="{$tsConfig.url}/perfil/{$noti.user}title="{$noti.user}">{$noti.user}</a>{/if} {$noti.text} <a title="{$noti.ltit}class="obj" href="{$noti.link}">{$noti.ltext}</a><br><span class="monac_icons ma_{$noti.style}"></span><span style="color:gray;">{$noti.date|fecha}</span>
</
span>
</
li>
    {/foreach}
    {else}
<
li style="padding:10px;"><b>No hay notificaciones</b></li>
    {/if} 
 
 
 
 
Creditos: Kmario19


RE: Notificaciones con avatar y fecha en el monitor - Lalo24 - 12-24-2023

Gracias