Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / User Avatar in User Menu

a litle core hack

Kort
#22823 2010-02-11 03:10
No need for a hack:
<!-- IF {PHP.usr.profile.user_avatar} -->
	<img src="{PHP.usr.profile.user_avatar}" alt="{PHP.L.Avatar}" />
<!-- ELSE -->
	<img src="datas/defaultav/blank.png" alt="{PHP.L.Avatar}" />
<!-- ENDIF -->
Seditio.by - создание сайтов, разработка плагинов и тем для Котонти

This post was edited by Kort (2010-02-11 04:17, 10 years ago)