Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F390968
motd_add.tpl
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1004 B
Subscribers
None
motd_add.tpl
View Options
<!-- MOTD preview code -->
<script>
function updateWall ()
{
wallTextValue
=
document
.
getElementById
(
"WallText"
).
value
;
wallText
=
wallTextValue
?
wallTextValue
:
"{#DummyPlaceholder#}"
;
document
.
getElementById
(
"wall_message"
).
innerHTML
=
wallText
;
}
</script>
<!-- Add something on the MOTD -->
<h1>
{
#PushMessage#
}
</h1>
<form method="post">
<label for="WallAddText">
{
#TextToAdd#
}{
#_t#
}
</label><br />
<input type="text" maxlength="90" size="100" id="WallText" name="text" onblur="updateWall();" onkeyup="updateWall();" onchange="updateWall();" />
<input type="submit" value="
{
#Push#
}
" />
</form>
<em>
{
#TextToAddWarning#
}
</em>
<!-- Preview -->
<h2>
{
#Rendering#
}
</h2>
<div class="wall">
<span id="wall_message">
{
#DummyPlaceholder#
}
</span>
<br /><span class="wall_info">-- <a href="
{
get_url
(
'who'
,
$CurrentPerso
->
nickname
)
}
">
{
$CurrentPerso
->
name
}
</a></span>
<div class="clear"></div>
</div>
<div class="clear"></div>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Sat, Feb 22, 20:21 (9 h, 26 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23553
Default Alt Text
motd_add.tpl (1004 B)
Attached To
rZEDHG ZedLegacy
Event Timeline
Log In to Comment