View file root/styles/mobile/template/posting_body.html

File size: 7.14Kb
<!-- IF S_PRIVMSGS -->
<!-- INCLUDE ucp_header.html -->
<!-- ELSE -->
<!-- INCLUDE overall_header.html -->
<!-- ENDIF -->
<!-- IF S_FORUM_RULES -->
<div class="row1"><!-- IF U_FORUM_RULES --><i>{L_FORUM_RULES}</i><br /><a href="{U_FORUM_RULES}">{L_FORUM_RULES_LINK}</a><!-- ELSE --><i>{L_FORUM_RULES}</i><br/>{FORUM_RULES}<!-- ENDIF --></div>
<!-- ENDIF -->
<!-- IF not S_SHOW_PM_BOX --><form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}><!-- ENDIF -->
<!-- IF S_DRAFT_LOADED --><div class="tab"><span class="gensmall">{L_INFORMATION}</span></div>
<div class="row1"><span class="genmed"><!-- IF S_PRIVMSGS -->{L_DRAFT_LOADED_PM}<!-- ELSE -->{L_DRAFT_LOADED}<!-- ENDIF --></span></div>
<!-- ENDIF -->
<!-- IF S_SHOW_DRAFTS -->
<div class="tab"><span class="gensmall">{L_LOAD_DRAFT}</span></div>
<div class="row1"><span class="genmed">{L_LOAD_DRAFT_EXPLAIN}</span></div>
{L_SAVE_DATE}<br />{L_DRAFT_TITLE}<br />{L_OPTIONS}<br />
<!-- BEGIN draftrow -->
<div class="top"><span class="gensmall">{draftrow.DATE}</span></div>
<div class="row<!-- IF draftrow.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">
<span class="genmed">{draftrow.DRAFT_SUBJECT}</span>
<!-- IF draftrow.S_LINK_TOPIC --><br /><span class="genmed">{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span>
<!-- ELSEIF draftrow.S_LINK_FORUM --><br /><span class="genmed">{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span>
<!-- ELSEIF draftrow.S_LINK_PM --><br /><span class="genmed">{L_PRIVATE_MESSAGE}</span>
<!-- ELSE --><br /><span class="genmed">{L_NO_TOPIC_FORUM}</span><!-- ENDIF -->
</div>
<a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a>
<!-- END draftrow -->
<!-- ENDIF -->
<!-- IF S_POST_REVIEW -->
<!-- INCLUDE posting_review.html -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_PREVIEW -->
<!-- INCLUDE posting_preview.html -->
<!-- ENDIF -->
<!-- IF not S_PRIVMSGS and S_UNGLOBALISE -->
{L_MOVE}<br />
<div class="row1"><span class="genmed">{L_UNGLOBALISE_EXPLAIN}<br />{L_SELECT_DESTINATION_FORUM}</span>
<select name="to_forum_id">{S_FORUM_SELECT}</select><br />
<input class="subbutton" type="submit" name="post" value="{L_CONFIRM}" /><br/>
<input class="subbutton" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></div>
<!-- ENDIF -->
<div class="tab"><span class="gensmall">{L_POST_A}</span></div>
<!-- IF ERROR --><div class="row1"><span class="genmed">{ERROR}</span></div><!-- ENDIF -->

<!-- IF S_PRIVMSGS and not S_SHOW_DRAFTS -->
<div class="row1">{L_TO}:
<!-- IF .to_recipient -->
<!-- BEGIN to_recipient -->
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}">{to_recipient.NAME}</a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF -->
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="subbutton" /><!-- ENDIF -->
<!-- END to_recipient -->
<!-- IF S_ALLOW_MASS_PM -->
<div class="row1">{L_BCC}:<br />
<!-- BEGIN bcc_recipient -->
<!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}">{bcc_recipient.NAME}</a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF --><!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="{L_REMOVE}" /><!-- ENDIF -->
<!-- END bcc_recipient -->
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_EDIT_POST -->
<br /><input type="text" size="12" name="username_list" value="" /> <input type="submit" name="add_to" value="{L_ADD}" class="subbutton" />
<!-- ENDIF -->
</div>
<!-- IF S_GROUP_OPTIONS -->
<div class="row1">{L_USERGROUPS}: <select name="group_list[]" multiple="multiple" size="4">{S_GROUP_OPTIONS}</select></div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME -->
<div class="row1">{L_USERNAME}:<br /><input type="text" name="username" value="{USERNAME}" /></div>
<!-- ENDIF -->
<!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT -->
<div class="row1">{L_SUBJECT}:<br /><input type="text" name="subject" maxlength="60" value="{SUBJECT}{DRAFT_SUBJECT}" /></div>
<!-- ENDIF -->
<!-- IF S_NEW_MESSAGE -->
<!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS -->
<div class="row1">{L_ICON}: <input type="radio" name="icon" value="0" checked="checked" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --><br />
<!-- BEGIN topic_icon -->
<input type="radio" name="icon" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" alt="" />  
<!-- END topic_icon -->
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<div class="row1">{L_MESSAGE_BODY}:
<!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED--> [<a href="{U_MORE_SMILIES}">{L_SMILIES}</a>]<!-- ENDIF --><br />
<textarea name="message" rows="4" cols="20">{MESSAGE}</textarea>
<!-- IF S_EDIT_REASON --><br />{L_EDIT_REASON}:<br /><input type="text" name="edit_reason" value="{EDIT_REASON}" /><!-- ENDIF -->
<!-- IF S_NOTIFY_ALLOWED -->
<br /><input type="checkbox" name="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}<!-- ENDIF -->
<!-- IF S_LOCK_TOPIC_ALLOWED --><br /><input type="checkbox" name="lock_topic"{S_LOCK_TOPIC_CHECKED} /> {L_LOCK_TOPIC}<!-- ENDIF -->
<!-- IF S_LOCK_POST_ALLOWED -->
<br /><input type="checkbox" name="lock_post"{S_LOCK_POST_CHECKED} /> {L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]<!-- ENDIF -->
<!-- IF S_DELETE_ALLOWED --><br /><input type="checkbox" name="delete" /> {L_DELETE_POST}<!-- ENDIF --></div>
<!-- IF not S_SHOW_DRAFTS -->
<!-- IF S_TYPE_TOGGLE --><div class="row1">
<!-- BEGIN topic_type -->
<input type="radio" name="topic_type" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}<br />
<!-- END topic_type -->
</div><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
<div class="row1"><span class="genmed">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span><br />
<input type="text" name="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" /> <span class="genmed">{L_DAYS}</span></div>
<!-- ENDIF -->
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->
<div class="submit">
<!-- IF S_HAS_DRAFTS --><input type="submit" name="load" value="{L_LOAD_DRAFT}" class="subbutton" />&nbsp; <!-- ENDIF -->
<!-- IF S_SAVE_ALLOWED --><input type="submit" name="save" value="{L_SAVE_DRAFT}" class="subbutton" />&nbsp; <!-- ENDIF -->
<input class="subbutton" type="submit" name="post" value="{L_SUBMIT}" /></div>
<!-- IF S_SHOW_ATTACH_BOX or S_SHOW_POLL_BOX -->
<!-- IF S_SHOW_ATTACH_BOX -->
<!-- INCLUDE posting_attach_body.html -->
<!-- ENDIF -->
<!-- IF S_SHOW_POLL_BOX -->
<!-- INCLUDE posting_poll_body.html -->
<!-- ELSEIF S_POLL_DELETE --><div class="row1">{L_POLL_DELETE}:<br /><input type="checkbox" name="poll_delete" /></div><!-- ENDIF -->
<!-- ENDIF -->

<!-- IF S_DISPLAY_HISTORY -->
<!-- INCLUDE ucp_pm_history.html -->
<!-- ENDIF -->
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
<div>{S_HIDDEN_ADDRESS_FIELD}
{S_HIDDEN_FIELDS}</div>
<!-- ENDIF -->
<!-- IF S_PRIVMSGS -->
<!-- INCLUDE ucp_footer.html -->
<!-- ELSE -->
<div>{S_FORM_TOKEN}</div></form>
<!-- INCLUDE overall_footer.html -->
<!-- ENDIF -->