mirror of
https://github.com/e107inc/e107.git
synced 2025-08-27 16:20:13 +02:00
Fixes #544 - Extended user fields not visible.
This commit is contained in:
@@ -25,11 +25,9 @@ $EXTENDED_CATEGORY_START = "<tr><td colspan='2' class='forumheader center'>{EXTE
|
||||
|
||||
$EXTENDED_CATEGORY_TABLE = "
|
||||
<tr>
|
||||
<td style='width:40%' class='forumheader3'>
|
||||
{EXTENDED_ICON}
|
||||
{EXTENDED_NAME}
|
||||
<td style='width:30%' class='forumheader3'>{EXTENDED_ICON}{EXTENDED_NAME}
|
||||
</td>
|
||||
<td style='width:60%' class='forumheader3'>{EXTENDED_VALUE}</td>
|
||||
<td style='width:70%' class='forumheader3'>{EXTENDED_VALUE}</td>
|
||||
</tr>
|
||||
";
|
||||
|
||||
@@ -96,6 +94,9 @@ $sc_style['USER_RATING']['post'] = "</div></td></tr>";
|
||||
|
||||
$sc_style['USER_LOGINNAME']['pre'] = " : ";
|
||||
|
||||
|
||||
|
||||
|
||||
//FIXME TODO - Remove IF statements from template.
|
||||
if(isset($pref['photo_upload']) && $pref['photo_upload'])
|
||||
{
|
||||
@@ -192,7 +193,7 @@ $USER_FULL_TEMPLATE = "{SETIMAGE: w=250}
|
||||
<td style='width:30%' class='forumheader3'>".LAN_USER_66."</td>
|
||||
<td style='width:70%' class='forumheader3'>{USER_VISITS}</td>
|
||||
</tr>
|
||||
{USER_EMBED_USERPROFILE}
|
||||
{USER_ADDONS}
|
||||
{USER_UPDATE_LINK}
|
||||
<tr>
|
||||
<td colspan='2' class='forumheader3 center'>
|
||||
@@ -210,7 +211,32 @@ $USER_FULL_TEMPLATE = "{SETIMAGE: w=250}
|
||||
";
|
||||
|
||||
$USER_EMBED_USERPROFILE_TEMPLATE = "
|
||||
<tr><td colspan='2' class='fcaption'>{USER_EMBED_USERPROFILE_CAPTION}</td></tr>
|
||||
<tr><td colspan='2' class='forumheader3'>{USER_EMBED_USERPROFILE_TEXT}</td></tr>";
|
||||
<tr>
|
||||
<td class='forumheader3'>{USER_ADDON_LABEL}</td>
|
||||
<td class='forumheader3'>{USER_ADDON_TEXT}</td>
|
||||
</tr>";
|
||||
|
||||
// Convert v1 to v2 Standards.
|
||||
|
||||
$USER_TEMPLATE['view'] = $USER_FULL_TEMPLATE;
|
||||
$USER_TEMPLATE['extended']['start'] = $EXTENDED_CATEGORY_START;
|
||||
$USER_TEMPLATE['extended']['item'] = $EXTENDED_CATEGORY_TABLE ;
|
||||
$USER_TEMPLATE['extended']['start'] = $EXTENDED_CATEGORY_END;
|
||||
$USER_TEMPLATE['addon'] = $USER_EMBED_USERPROFILE_TEMPLATE;
|
||||
|
||||
$USER_TEMPLATE['list']['start'] = $USER_SHORT_TEMPLATE_START;
|
||||
$USER_TEMPLATE['list']['item'] = $USER_SHORT_TEMPLATE;
|
||||
$USER_TEMPLATE['list']['end'] = $USER_SHORT_TEMPLATE_END;
|
||||
|
||||
// Convert Shortcode Wrappres from v1.x to v2.x standards.
|
||||
|
||||
$USER_WRAPPER['view']['USER_COMMENTS_LINK'] = $sc_style['USER_COMMENTS_LINK']['pre']."{---}".$sc_style['USER_COMMENTS_LINK']['post'];
|
||||
$USER_WRAPPER['view']['USER_SIGNATURE'] = $sc_style['USER_SIGNATURE']['pre']."{---}".$sc_style['USER_SIGNATURE']['post'];
|
||||
$USER_WRAPPER['view']['USER_UPDATE_LINK'] = $sc_style['USER_UPDATE_LINK']['pre']."{---}".$sc_style['USER_UPDATE_LINK']['post'];
|
||||
$USER_WRAPPER['view']['USER_FORUM_LINK'] = $sc_style['USER_FORUM_LINK']['pre']."{---}".$sc_style['USER_FORUM_LINK']['post'];
|
||||
$USER_WRAPPER['view']['USER_RATING'] = $sc_style['USER_RATING']['pre']."{---}".$sc_style['USER_RATING']['post'];
|
||||
$USER_WRAPPER['view']['USER_SENDPM'] = $sc_style['USER_SENDPM']['pre']."{---}".$sc_style['USER_SENDPM']['post'];
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user