- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,429
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
I am currently working with a system that involves an object called $staff_member. The staff member object has various attributes, one of which is 'username'. The system utilizes the <xf:avatar> function to generate avatars for the staff member.
The system builds an html structure out of strings that represents html code, as later I intend to use innerHTML to display it on the webpage.
This is the line I try to store as a string:
<xf:avatar user="{$staff_member}" size="s" />...
The system builds an html structure out of strings that represents html code, as later I intend to use innerHTML to display it on the webpage.
This is the line I try to store as a string:
<xf:avatar user="{$staff_member}" size="s" />...
نام موضوع : xf:avatar backtick interpolation