diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2004-01-04 18:10:41 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2004-01-04 18:10:41 +0000 |
| commit | ee8a014a8d2c6252279cab22d24575a477a6583d (patch) | |
| tree | 3f9b29a30fc3212e8c2422fbd73b89a838279105 /phpBB/styles/subSilver/template/posting_body.html | |
| parent | 386dc775b6cb2a2bef1eaae03d06a4f239c922cb (diff) | |
| download | forums-ee8a014a8d2c6252279cab22d24575a477a6583d.tar forums-ee8a014a8d2c6252279cab22d24575a477a6583d.tar.gz forums-ee8a014a8d2c6252279cab22d24575a477a6583d.tar.bz2 forums-ee8a014a8d2c6252279cab22d24575a477a6583d.tar.xz forums-ee8a014a8d2c6252279cab22d24575a477a6583d.zip | |
A few changes ... note that this is not text book markup ... so don't complain! If you have suggestions on how to improve it feel free to comment in the relevant forum @ area51
git-svn-id: file:///svn/phpbb/trunk@4714 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/subSilver/template/posting_body.html')
| -rw-r--r-- | phpBB/styles/subSilver/template/posting_body.html | 247 |
1 files changed, 97 insertions, 150 deletions
diff --git a/phpBB/styles/subSilver/template/posting_body.html b/phpBB/styles/subSilver/template/posting_body.html index ec0b4834aa..757c116c85 100644 --- a/phpBB/styles/subSilver/template/posting_body.html +++ b/phpBB/styles/subSilver/template/posting_body.html @@ -1,7 +1,7 @@ -<!-- $Id$ --> - <!-- INCLUDE overall_header.html --> +<!-- $Id$ --> + <script language="javascript" type="text/javascript"> <!-- @@ -43,43 +43,57 @@ function checkForm() </script> <script language="javascript" type="text/javascript" src="styles/subSilver/template/editor.js"></script> -<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)" {S_FORM_ENCTYPE}> +<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)"{S_FORM_ENCTYPE}> -<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center"> -<tr> - <td colspan="2" align="left" valign="bottom"><a class="titles" href="{U_VIEW_FORUM}" title="{FORUM_DESC}">{FORUM_NAME}</a><!-- IF TOPIC_TITLE --> :: <a class="titles" href="{U_VIEWTOPIC}">{TOPIC_TITLE}</a><!-- ENDIF --><!-- IF MODERATORS neq '' --><br /><b class="gensmall">{L_MODERATORS}: {MODERATORS}</b><br /><!-- ENDIF --></td> -</tr> -<tr> - <td class="nav" width="100%" align="left" valign="middle"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> -> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></td> -</tr> +<table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row1"><div class="nav" style="float:left"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></div><div class="gensmall" style="float:right">{S_TIMEZONE}</div></td> + </tr> + <!-- IF RULES_LINK --> + <tr> + <td class="row2"><span class="nav"><a href="">Forum Rules</a></span></td> + </tr> + <!-- ELSEIF RULES_TEXT --> + <tr> + </tr> + <!-- ENDIF --> </table> +<br clear="all" /> + +<div><!-- IF TOPIC_TITLE --><a class="titles" href="{U_VIEWTOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}" title="{FORUM_DESC}">{FORUM_NAME}</a><!-- ENDIF --></div> +<div class="gensmall" style="float:left"><!-- IF MODERATORS --><b >{L_MODERATORS}: {MODERATORS}</b><!-- ENDIF --></div> +<div class="gensmall" style="float:right"><!-- IF U_MCP -->[ <a href="{U_MCP}">{L_MCP}</a> ]<!-- ENDIF --></div> + +<br clear="all" /><br /> + <!-- IF S_DRAFT_LOADED --> -<table class="tablebg" width="95%" border="0" cellspacing="1" cellpadding="4" align="center"> -<tr> - <th height="28" align="center">{L_INFORMATION}</th> -</tr> -<tr> - <td class="row1" align="center"><span class="gen">{L_DRAFT_LOADED}</span></td> -</tr> +<table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th align="center">{L_INFORMATION}</th> + </tr> + <tr> + <td class="row1" align="center"><span class="gen">{L_DRAFT_LOADED}</span></td> + </tr> </table> -<br /> + +<br clear="all" /> <!-- ENDIF --> <!-- IF S_SHOW_DRAFTS --> -<table class="tablebg" width="95%" border="0" cellspacing="1" cellpadding="4" align="center"> -<tr> - <th colspan="3" height="28" align="center">{L_LOAD_DRAFT}</th> -</tr> -<tr class="row1"> - <td colspan="3" class="gen" align="center">{L_LOAD_DRAFT_EXPLAIN}</td> -</tr> -<tr> - <th>{L_SAVE_DATE}</th> - <th>{L_DRAFT_TITLE}</th> - <th>{L_OPTIONS}</th> -</tr> -<!-- BEGIN draftrow --> +<table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="3" align="center">{L_LOAD_DRAFT}</th> + </tr> + <tr> + <td class="row1" colspan="3" align="center"><span class="gen">{L_LOAD_DRAFT_EXPLAIN}</span></td> + </tr> + <tr> + <th>{L_SAVE_DATE}</th> + <th>{L_DRAFT_TITLE}</th> + <th>{L_OPTIONS}</th> + </tr> + <!-- BEGIN draftrow --> <!-- IF draftrow.S_ROW_COUNT is even --> <tr class="row1"> @@ -91,121 +105,37 @@ function checkForm() <td><b class="gen">{draftrow.DRAFT_SUBJECT}</b><!-- IF draftrow.S_LINK_TOPIC --><br /><span class="gensmall">{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span><!-- ELSEIF draftrow.S_LINK_FORUM --><br /><span class="gensmall">{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span><!-- ELSE --><br /><span class="gensmall">{L_NO_TOPIC_FORUM}</span><!-- ENDIF --></td> <td align="center"><span class="gen"><a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a></td> </tr> -<!-- END draftrow --> + <!-- END draftrow --> </table> -<br /> -<!-- ENDIF --> -<!-- IF S_POST_REVIEW --> -<table class="tablebg" width="95%" border="0" cellspacing="1" cellpadding="4" align="center"> -<tr> - <th height="28" align="center">{L_POST_REVIEW}</th> -</tr> -<tr> - <td class="row1" align="center"><span class="gen">{L_POST_REVIEW_EXPLAIN}</span></td> -</tr> -<tr> - <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> -</tr> -<tr> - <td class="row1"> - <table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center"> - <tr> - <th width="22%" height="28">{L_AUTHOR}</th> - <th>{L_MESSAGE}</th> - </tr> - <!-- BEGIN post_review_row --> - <!-- IF post_review_row.S_ROW_COUNT is even --> - <tr class="row1"> - <!-- ELSE --> - <tr class="row2"> - <!-- ENDIF --> - <td rowspan="2" align="left" valign="top"><a name="{post_review_row.U_POST_ID}"></a> - <table width="150" cellspacing="0" cellpadding="4" border="0"> - <tr> - <td align="center"><b class="postauthor">{post_review_row.POSTER_NAME}</b></td> - </tr> - <tr> - <td align="center">{post_review_row.KARMA_IMG}</td> - </tr> - </table> - </td> - <td width="100%" height="28"> - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr> - <td> </td> - <td class="gensmall" valign="middle" nowrap="nowrap"><b>{L_POST_SUBJECT}:</b> </td> - <td class="gensmall" width="100%" valign="middle">{post_review_row.POST_SUBJECT}</td> - <td> </td> - </tr> - </table> - </td> - </tr> - <!-- IF post_review_row.S_ROW_COUNT is even --> - <tr class="row1"> - <!-- ELSE --> - <tr class="row2"> - <!-- ENDIF --> - <td valign="top"> - <table width="100%" cellspacing="0" cellpadding="5" border="0"> - <tr> - <td valign="top"> - <table width="100%" cellspacing="0" cellpadding="2"> - <tr> - <td class="postbody">{post_review_row.MESSAGE}</td> - </tr> - </table> - </td> - </tr> - <tr> - <td> - <table width="100%" cellspacing="0" cellpadding="0" border="0"> - <tr valign="middle"> - <td width="100%"> </td> - <td width="10" nowrap="nowrap"><a href="{post_review_row.U_MINI_POST}" target="post_review">{post_review_row.MINI_POST_IMG}</a></td> - <td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {post_review_row.POST_DATE}</td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> - </tr> - <!-- END post_review_row --> - </table> - </td> -</tr> -</table> -<br /> +<br clear="all" /> <!-- ENDIF --> + +<!-- IF S_POST_REVIEW --><!-- INCLUDE posting_review.html --><!-- ENDIF --> + + <!-- IF S_UNGLOBALISE --> -<table class="tablebg" width="95%" border="0" cellspacing="1" cellpadding="4" align="center"> -<tr> - <th height="28" align="center">{L_MOVE}</th> -</tr> -<tr> - <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> -</tr> -<tr> - <td class="row2" align="center"><span class="gen">{L_UNGLOBALISE_EXPLAIN}<br /><br />{L_SELECT_DESTINATION_FORUM} </span><select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br /> - <input class="btnmain" type="submit" name="post" value="{L_CONFIRM}" /> - - <input class="btnlite" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /> - </td> -</tr> +<table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_MOVE}</th> + </tr> + <tr> + <td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + <tr> + <td class="row2" align="center"><span class="gen">{L_UNGLOBALISE_EXPLAIN}<br /><br />{L_SELECT_DESTINATION_FORUM} </span><select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br /><input class="btnmain" type="submit" name="post" value="{L_CONFIRM}" /> <input class="btnlite" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></td> + </tr> </table> -<br /> + +<br clear="all" /> <!-- ENDIF --> <!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF --> -<table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center"> +<table class="tablebg" width="100%" cellspacing="1"> <tr> - <th colspan="2" height="28"><b>{L_POST_A}</b></th> + <th colspan="2"><b>{L_POST_A}</b></th> </tr> <!-- IF ERROR --> @@ -220,6 +150,7 @@ function checkForm() <td class="row2"><input type="checkbox" name="delete" /> <span class="gensmall">[ {L_DELETE_POST_WARN} ]</span></td> </tr> <!-- ENDIF --> + <!-- IF S_SHOW_TOPIC_ICONS --> <tr> <td class="row1"><b class="genmed">{L_ICON}:</b></td> @@ -230,12 +161,14 @@ function checkForm() </table></td> </tr> <!-- ENDIF --> + <!-- IF S_DISPLAY_USERNAME --> <tr> <td class="row1"><b class="genmed">{L_USERNAME}:</b></td> <td class="row2"><input class="post" type="text" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></td> </tr> <!-- ENDIF --> + <tr> <td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td> <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="60" tabindex="2" value="{SUBJECT}" /></td> @@ -248,11 +181,13 @@ function checkForm() <tr> <td align="center"><!-- BEGIN emoticon --><a href="javascript:emoticon('{emoticon.SMILEY_CODE}')"><img src="{emoticon.SMILEY_IMG}" width="{emoticon.SMILEY_WIDTH}" height="{emoticon.SMILEY_HEIGHT}" border="0" alt="{emoticon.SMILEY_DESC}" title="{emoticon.SMILEY_DESC}" onclick="emoticon('{emoticon.SMILEY_CODE}');return false" hspace="2" vspace="2" /></a> <!-- END emoticon --></td> </tr> + <!-- IF S_SHOW_EMOTICON_LINK --> <tr> <td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=350,resizable=yes,scrollbars=yes,WIDTH=300');return false;" target="_phpbbsmilies">{L_MORE_EMOTICONS}</a></td> </tr> <!-- ENDIF --> + </table></td> <td class="row2" valign="top"><table cellspacing="0" cellpadding="2" border="0"> <tr align="center" valign="middle"> @@ -316,41 +251,47 @@ function checkForm() <td class="gensmall">{SMILIES_STATUS}</td> </tr> </table></td> - <td class="row2"><table cellspacing="0" cellpadding="1" border="0"> + <td class="row2"><table cellpadding="1"> <!-- IF S_HTML_ALLOWED --> <tr> <td><input type="checkbox" name="disable_html"{S_HTML_CHECKED} /></td> <td class="gen">{L_DISABLE_HTML}</td> </tr> <!-- ENDIF --> + <!-- IF S_BBCODE_ALLOWED --> <tr> <td><input type="checkbox" name="disable_bbcode"{S_BBCODE_CHECKED} /></td> <td class="gen">{L_DISABLE_BBCODE}</td> </tr> <!-- ENDIF --> + <!-- IF S_SMILIES_ALLOWED --> <tr> <td><input type="checkbox" name="disable_smilies"{S_SMILIES_CHECKED} /></td> <td class="gen">{L_DISABLE_SMILIES}</td> </tr> <!-- ENDIF --> + <tr> <td><input type="checkbox" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td> <td class="gen">{L_DISABLE_MAGIC_URL}</td> </tr> + <!-- IF S_SIG_ALLOWED --> <tr> <td><input type="checkbox" name="attach_sig"{S_SIGNATURE_CHECKED} /></td> <td class="gen">{L_ATTACH_SIG}</td> </tr> <!-- ENDIF --> + <!-- IF S_NOTIFY_ALLOWED --> <tr> <td><input type="checkbox" name="notify"{S_NOTIFY_CHECKED} /></td> <td class="gen">{L_NOTIFY_REPLY}</td> </tr> <!-- ENDIF --> + <!-- IF S_TYPE_TOGGLE --> <tr> <td> </td> @@ -359,16 +300,18 @@ function checkForm() <!-- ENDIF --> </table></td> </tr> + <!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY --> <tr> <td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td> <td class="row2"><input class="post" type="text" name="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" /> <b class="gen">{L_DAYS}</b> <span class="gensmall">{L_STICK_TOPIC_FOR_EXPLAIN}</span></td> </tr> <!-- ENDIF --> + <!-- IF S_LOCK_TOPIC_ALLOWED or S_LOCK_POST_ALLOWED --> <tr> <td class="row1" valign="top"><b class="genmed">{L_MOD_OPTIONS}:</b></td> - <td class="row2"><table cellspacing="0" cellpadding="1" border="0"> + <td class="row2"><table cellspacing="0"> <!-- IF S_LOCK_TOPIC_ALLOWED --> <tr> <td><input type="checkbox" name="lock_topic"{S_LOCK_TOPIC_CHECKED} /></td> @@ -405,32 +348,36 @@ function checkForm() </tr> </table> -<table width="95%" cellspacing="2" cellpadding="2" border="0" align="center"> - <tr> - <td class="nav" width="100%" align="left" valign="top"><a href="{U_INDEX}">{L_INDEX}</a> <!-- BEGIN navlinks --> -> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></td> - <td class="gensmall" align="right" valign="top" nowrap="nowrap">{S_TIMEZONE}</td> - </tr> -</table></form> +<br clear="all" /> -<table width="95%" cellspacing="2" border="0" align="center"> +<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> + +<table class="tablebg" width="100%" cellspacing="1"> <tr> - <td valign="top" align="right"><!-- INCLUDE jumpbox.html --></td> + <td class="row1"><div class="nav" style="float:left"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></div><div class="gensmall" style="float:right">{S_TIMEZONE}</div></td> </tr> </table> -<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> - <!-- IF S_DISPLAY_ONLINE_LIST --> <br clear="all" /> -<table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center"> +<table class="tablebg" width="100%" cellspacing="1"> <tr> <td class="cat"><span class="cattitle">{L_WHO_IS_ONLINE}</span></td> </tr> - <tr class="row1"> - <td class="gensmall" align="left">{LOGGED_IN_USER_LIST}</td> + <tr> + <td class="row1"><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td> </tr> </table> <!-- ENDIF --> +<br clear="all" /> + +<table width="100%" cellspacing="1"> + <tr> + <td align="right"><!-- INCLUDE jumpbox.html --></td> + </tr> +</table> + + <!-- INCLUDE overall_footer.html -->
\ No newline at end of file |
