1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Merge pull request #1425 from mcpeace-maw/patch-23

Updated user_template.php
This commit is contained in:
Cameron 2016-03-14 10:25:00 -07:00
commit 0f6d3103bd

View File

@ -219,54 +219,89 @@ $USER_EMBED_USERPROFILE_TEMPLATE = "
// Convert Templates from v1.x to v2.x Standards.
/** TODO EXPERIMENTAL */
/*
if(defset('BOOTSTRAP') == 3)
{
//EXPERIMENTAL
e107::css('inline', "
#user-profile-avatar {
e107::css('inline', "
#user-profile-avatar {
max-width: 150px;
margin-top: -90px;
margin-bottom: 15px;
border: 5px solid #fff;
border-radius: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
margin-left:auto;
margin-right:auto;
margin-top: -90px;
margin-bottom: 15px;
border: 5px solid #fff;
border-radius: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
margin-left:auto;
margin-right:auto;
}
.panel-heading h5.user-id {
color:#ffffff;
}
.panel-body span.padding-left {
display:block;
padding-left: 125px;
}
.panel-body p {
clear: both;
}
.profile-header {
max-width:300px;
margin-left: auto;
margin-right: auto;
}
");
$USER_FULL_TEMPLATE = '{SETIMAGE: w=600}
<div class="row">
<div class="col-md-12">
<div class="panel panel-default panel-profile">
<div class="ans panel-heading" style="height:180px; background-size: cover;background-image: url({USER_PHOTO: type=url});"></div>
<div class="panel-body text-center">
{SETIMAGE: w=200}
{USER_PICTURE: shape=circle&link=1}
<h5>{USER_NAME}</h5>
<p>{USER_SIGNATURE}</p>
</div>
</div>
</div>
<div class="panel panel-default panel-profile clearfix">
<div class="ans panel-heading" style="height:180px; background-size: cover;background-image: url({USER_PHOTO: type=url});">
<h5 class="user-id">".LAN_USER_58." {USER_ID}<h5>
</div>
<div class="panel-body text-center">
{SETIMAGE: w=200}
{USER_PICTURE: shape=circle&link=1}
<div class="profile-header">
<h4>{USER_NAME}</h4><br />
<p>{USER_SIGNATURE}</p>
<p>{USER_RATING}</p>
<p>{USER_SENDPM}</p>
</div>
</div>
<div class="panel-body">
<p>".LAN_USER_63.":&nbsp; {USER_REALNAME}</p>
<p>Login Name {USER_LOGINNAME}</p>
<p>".LAN_USER_60.":&nbsp; {USER_EMAIL}</p>
<p>".LAN_USER_54.":&nbsp; {USER_LEVEL}</p>
<p>".LAN_USER_65.":&nbsp; {USER_LASTVISIT}<br /><span class="padding-left">{USER_LASTVISIT_LAPSE}</span></p>
<p>".LAN_USER_59.":&nbsp; {USER_JOIN}<br /><span class="padding-left">{USER_DAYSREGGED}</span></p>
<p>".LAN_USER_66.":&nbsp; {USER_VISITS}</p>
<p>{USER_ADDONS} {USER_COMMENTPOSTS} {USER_COMMENTPER}</p>
<p>{USER_EXTENDED_ALL}</p>
</div>
<div class="panel-body text-center">
{USER_UPDATE_LINK}
</div>
<div class="panel-body">
<ul class="pager user-view-nextprev">
<li class="previous">
{USER_JUMP_LINK=prev}
</li>
<li>
<!-- Back to List? -->
</li>
<li class="next">
{USER_JUMP_LINK=next}
</li>
</ul>
</div>
</div>
<div class="panel panel-default clearfix">
{PROFILE_COMMENTS}
{PROFILE_COMMENT_FORM}
</div>
</div>
</div>
';
}
*/