Daniellez
08-08-2009, 04:13 AM
I have a language file that has the following arrays:
$lang['signup_gender_values'] = array(
'M' => '<img class="absmiddle" src="/gfx/icon=male.png" width="16" height="16" alt="Male" border="0" />',
'F' => '<img class="absmiddle" src="/gfx/icon=female.png" width="16" height="16" alt="Female" border="0" />'
);
$lang['signup_gender_icons'] = array(
'M' => '<img class="absmiddle" src="/gfx/icon=male.png" width="16" height="16" alt="Male" border="0" />',
'F' => '<img class="absmiddle" src="/gfx/icon=female.png" width="16" height="16" alt="Female" border="0" />'
);
$lang['signup_gender_look'] = array(
'M' => '<img class="absmiddle" src="/gfx/icon=male.png" width="16" height="16" alt="Male" border="0" />',
'F' => '<img class="absmiddle" src="/gfx/icon=female.png" width="16" height="16" alt="Female" border="0" />'
);
When this language file is uploaded, you must go into the admin panel to load the language file before the changes will reflect on the site. Looking at the attached screenshot, can someone tell me why the html tags are removed in the db?
$lang['signup_gender_values'] = array(
'M' => '<img class="absmiddle" src="/gfx/icon=male.png" width="16" height="16" alt="Male" border="0" />',
'F' => '<img class="absmiddle" src="/gfx/icon=female.png" width="16" height="16" alt="Female" border="0" />'
);
$lang['signup_gender_icons'] = array(
'M' => '<img class="absmiddle" src="/gfx/icon=male.png" width="16" height="16" alt="Male" border="0" />',
'F' => '<img class="absmiddle" src="/gfx/icon=female.png" width="16" height="16" alt="Female" border="0" />'
);
$lang['signup_gender_look'] = array(
'M' => '<img class="absmiddle" src="/gfx/icon=male.png" width="16" height="16" alt="Male" border="0" />',
'F' => '<img class="absmiddle" src="/gfx/icon=female.png" width="16" height="16" alt="Female" border="0" />'
);
When this language file is uploaded, you must go into the admin panel to load the language file before the changes will reflect on the site. Looking at the attached screenshot, can someone tell me why the html tags are removed in the db?