Inhaltsverzeichnis
keine Gliederung
// check if user is looking at their own page
if (wiki.getuser(user.id).uri == page.uri) {
<style type="text/css">"
#user-welcome h2 {
font-family: Arial, sans-serif;
border: none;
color: #454545;
font-size: 25px;
font-weight: normal;
line-height: 30px;
margin: 20px 0;
}
#user-welcome h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: 28px;
margin-bottom: 10px;
margin-top: 0;
color: #454545;
}
#user-welcome .share {
font-weight: bold;
font-size: 14px;
line-height: 20px;
color: #666666;
}
#user-welcome-header {
border: 2px solid #c4e1ed;
background: #d1e8f0 url(/skins/common/images/oobe/mt-bg-user-welcome.png) repeat-x scroll center top;
margin-top: 20px;
padding: 25px;
}
#user-welcome-signup {
font-family:Arial, Helvetica, sans-serif;
margin: 0;
padding: 35px 40px 20px 40px;
font-size: 18px;
line-height: 28px;
}
#user-welcome-signup a {
color: #bc0d0d;
}
#user-welcome-signup a:hover {
color: #d70808;
}
#user-welcome-more {
padding: 25px;
}
#user-welcome ul li {
padding: 0;
margin: 0 0 14px;
}
"</style>
<div id="user-welcome">
<h2>
wiki.localize('MindTouch.Templates.userwelcome', [site.name]);
</h2>
<p class="share">
wiki.localize('System.API.new-user-page-text');
</p>
<div id="user-welcome-header">
<p id="user-welcome-signup"> </p>
</div>
</div>
} else {
// displayed for visitors to the user page
wiki.localize('MindTouch.Templates.UserWelcome.visitor');
}
{{ HideElements([ 'files', 'upload', 'history', 'comments', 'images', 'options', 'newtag', 'tagedit', 'tags','notification' ], true) }}{{ HideElements([ 'secure', 'usertran' ] ) }}
Es gibt folgende Seitenelemente welche ein-ausgeblendet werden können.
pinfo //
tags //
tagedit //
newtag //
files //
images //
upload //
comments //
history //
menu //
options //
notification //
title //
header //
secure //
coverview //
usertran //

