user profile layout details

This commit is contained in:
following 2013-04-30 16:02:04 +02:00
parent 13c5df34e0
commit c86a73cc21
3 changed files with 28 additions and 13 deletions

View File

@ -2444,6 +2444,7 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2003', 'Show al
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2004', 'active caches', '2013-04-25 23:00:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2005', 'Show active', '2013-04-25 23:00:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2006', 'Deleted by', '2013-04-25 23:00:00');
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('2007', 'User data', '2013-04-25 23:00:00');
-- Table sys_trans_ref
SET NAMES 'utf8';
@ -6220,6 +6221,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2004', 'DE', 'aktive Caches', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2005', 'DE', 'aktive anzeigen', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2006', 'DE', 'gelöscht von', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2007', 'DE', 'Benutzerdaten', '2013-04-25 23:00:00');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1', 'EN', 'Reorder IDs \r', '2010-09-02 00:15:30');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('2', 'EN', 'The database could not be reconnected.', '2010-08-28 11:48:07');
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('3', 'EN', 'Testing please do not login', '2010-08-28 11:48:07');

View File

@ -278,7 +278,7 @@ td.content-title-flag {
padding-right:3px !important;
}
.content-title-link { font-weight:normal; font-size:85%; }
.content-title-link { font-weight:normal; font-size:80%; }
.content-txtbox-noshade {margin: 0px; padding: 7px 0px 0px 0px; background-color: rgb(255,255,255);}
.content-score {margin: 0px; margin-top: 3px; padding: 4px 0px 0px 0px; background-color: rgb(255,255,255); border-style:dotted; border-width:1px; width:75px; height:20px;vertical-align:middle;}
@ -339,6 +339,8 @@ td.listicon {
vertical-align:center;
}
.table-like-font { font-size:120%; }
.printwptable td { line-height:1.4em; font-size:12px; }
/* Images */

View File

@ -19,7 +19,7 @@
<div class="content2-container bg-blue02">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/profile/32x32-profile.png" style="align: left; margin-right: 10px;" width="32" height="32" alt="{t}Userprofile{/t}" />
{t}Userprofile{/t}
{t}User data{/t}
</p>
</div>
@ -75,17 +75,28 @@
{foreach from=$useroptions item=optionItem}
<tr>
<td style="vertical-align:top;"><b>{$optionItem.name|escape}:</b></td>
{if $optionItem.option_id==3}
</tr></table>
{/if}
{if $siteSettings.logic.enableHTMLInUserDescription == true}
<td style="vertical-align:top;">{$optionItem.option_value}</td>
{else}
<td style="vertical-align:top;">{$optionItem.option_value|escape|nl2br}</td>
{/if}
{if $optionItem.option_id==3}
<table class="table"><tr>
</tr>
<td><td class="spacer"> </td></tr></table>
<div class="content2-container bg-blue02">
<p class="content-title-noshade-size2">
<img src="resource2/{$opt.template.style}/images/profile/32x32-profile.png" style="align: left; margin-right: 10px;" width="32" height="32" alt="{t}Userprofile{/t}" />
{t}Description{/t}
</p>
</div>
<div class="table-like-font" style="margin-left:6px">
{if $siteSettings.logic.enableHTMLInUserDescription == true}
{$optionItem.option_value}
{else}
{$optionItem.option_value|escape|nl2br}
{/if}
</div>
<table class="table">
<tr><td><td class="spacer"></td></tr>
<tr>
{else}
<td style="vertical-align:top;"><b>{$optionItem.name|escape}:</b></td>
<td style="vertical-align:top;">{$optionItem.option_value|escape|nl2br}</td>
{/if}
</tr>
{/foreach}
@ -107,7 +118,7 @@
<td valign="middle" class="header-small" style="padding-top:5px;padding-bottom:5px">
<img src="resource2/{$opt.template.style}/images/cacheicon/22x22-traditional.gif" width="22" height="22" align="middle" border="0" alt="{t}Hidden caches{/t}" title="{t}Hidden caches{/t}">&nbsp;<b>{t}Hidden caches{/t}:</b></td>
<td class="header-small">{$hidden}
{if $hidden>0}[<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=0&amp;output=HTML&amp;sort=byname&amp;ownerid={$userid}&amp;searchbyowner=">{t}Show all{/t}</a>]{if $active<$hidden} &nbsp; &ndash; &nbsp; {$active} {t}active caches{/t} {if $active>0}[<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=1&amp;output=HTML&amp;sort=byname&amp;ownerid={$userid}&amp;searchbyowner=">{t}Show{/t}</a>]{/if}{/if}{/if}
{if $hidden>0}[<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=0&amp;output=HTML&amp;sort=byname&amp;ownerid={$userid}&amp;searchbyowner=">{t}Show all{/t}</a>]{if $active<$hidden}, {$active} {t}active caches{/t} {if $active>0}[<a href="search.php?showresult=1&amp;expert=0&amp;f_inactive=1&amp;output=HTML&amp;sort=byname&amp;ownerid={$userid}&amp;searchbyowner=">{t}Show{/t}</a>]{/if}{/if}{/if}
</td>
</tr>