mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Added instant bbcode to posting Default template
git-svn-id: file:///svn/phpbb/trunk@393 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5c214088b4
commit
ce5f81049e
1 changed files with 38 additions and 2 deletions
|
@ -1,3 +1,18 @@
|
||||||
|
<script language="Javascript">
|
||||||
|
<!--
|
||||||
|
function x ()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function addBBcode(bbCode)
|
||||||
|
{
|
||||||
|
document.posting.message.value=document.posting.message.value+bbCode;
|
||||||
|
document.posting.message.focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
-->
|
||||||
|
</script>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<table border="0" align="right" width="20%" bgcolor="#000000" cellpadding="0" cellspacing="1">
|
<table border="0" align="right" width="20%" bgcolor="#000000" cellpadding="0" cellspacing="1">
|
||||||
|
@ -14,7 +29,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><form action="{S_POST_ACTION}" method="post">
|
<td><form action="{S_POST_ACTION}" method="post" name="posting">
|
||||||
<table border="0" align="center" width="100%" bgcolor="#000000" cellpadding="0" cellspacing="1">
|
<table border="0" align="center" width="100%" bgcolor="#000000" cellpadding="0" cellspacing="1">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
@ -38,7 +53,28 @@
|
||||||
<tr class="tablebody">
|
<tr class="tablebody">
|
||||||
<td bgcolor="#DDDDDD">{L_MESSAGE_BODY}<br><br>
|
<td bgcolor="#DDDDDD">{L_MESSAGE_BODY}<br><br>
|
||||||
{HTML_STATUS}<br>{BBCODE_STATUS}</td>
|
{HTML_STATUS}<br>{BBCODE_STATUS}</td>
|
||||||
<td bgcolor="#CCCCCC">{MESSAGE_INPUT}</td>
|
<td bgcolor="#CCCCCC">
|
||||||
|
<table border="0" with="100%">
|
||||||
|
<tr><td>{MESSAGE_INPUT}</td>
|
||||||
|
<td width="60%">Instant BBCode<br>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[url] [/url]');"><img src="templates/Default/images//url.gif" width="72" height="16" border="0" alt="Insert URL BBCode"></a>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[email] [/email]');"><img src="templates/Default/images//email_url.gif" width="72" height="16" border="0" alt="Insert Email Address"></a>
|
||||||
|
<br>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[b] [/b]');"><img src="templates/Default/images//bold.gif" width="72" height="16" border="0" alt="Bold"></a>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[i] [/i]');"><img src="templates/Default/images//italics.gif" width="72" height="16" border="0 alt="Italics"></a>
|
||||||
|
<br>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[quote] [/quote]');"><img src="templates/Default/images//quote.gif" width="72" height="16" border="0" alt="Quote"></a>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[code] [/code]');"><img src="templates/Default/images//code.gif" width="72" height="16" border="0" alt="Code - UBBCode™"></a>
|
||||||
|
<br>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[list]');"><img src="templates/Default/images//list-start.gif" width="72" height="16" border="0" alt="Start List"></a>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[*]');"><img src="templates/Default/images//list-item.gif" width="72" height="16" border="0" alt="List Item"></a>
|
||||||
|
<br>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[/list]');"><img src="templates/Default/images//list-end.gif" width="72" height="16" border="0" alt="End List"></a>
|
||||||
|
<a href="javascript: x()" onclick="addBBcode('[img] [/img]');"><img src="templates/Default/images//image.gif" width="72" height="16" border="0" alt="Display Image"></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="tablebody">
|
<tr class="tablebody">
|
||||||
<td bgcolor="#DDDDDD">{L_OPTIONS}</td>
|
<td bgcolor="#DDDDDD">{L_OPTIONS}</td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue