diff options
Diffstat (limited to 'prosilver/template')
102 files changed, 8825 insertions, 0 deletions
diff --git a/prosilver/template/attachment.html b/prosilver/template/attachment.html new file mode 100644 index 0000000..4c0a326 --- /dev/null +++ b/prosilver/template/attachment.html @@ -0,0 +1,122 @@ + +<!-- BEGIN _file --> + <!-- IF _file.S_DENIED --> + <p>[{_file.DENIED_MESSAGE}]</p> + <!-- ELSE --> + + <!-- IF _file.S_THUMBNAIL --> + <dl class="thumbnail"> + <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt> + <!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF --> + </dl> + <!-- ENDIF --> + + + <!-- IF _file.S_IMAGE --> + <dl class="file"> + <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt> + <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF --> + <dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd> + </dl> + <!-- ENDIF --> + + <!-- IF _file.S_FILE --> + <dl class="file"> + <dt><!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --><a class="postlink" href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a></dt> + <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF --> + <dd>({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd> + </dl> + <!-- ENDIF --> + + + + <!-- IF _file.S_WM_FILE --> + <!-- method used here from http://alistapart.com/articles/byebyeembed / autosizing seems to not work always, this will not fix --> + <object width="320" height="285" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="wmstream_{_file.ATTACH_ID}"> + <param name="url" value="{_file.U_DOWNLOAD_LINK}" /> + <param name="showcontrols" value="1" /> + <param name="showdisplay" value="0" /> + <param name="showstatusbar" value="0" /> + <param name="autosize" value="1" /> + <param name="autostart" value="0" /> + <param name="visible" value="1" /> + <param name="animationstart" value="0" /> + <param name="loop" value="0" /> + <param name="src" value="{_file.U_DOWNLOAD_LINK}" /> + <!--[if !IE]>--> + <object width="320" height="285" type="video/x-ms-wmv" data="{_file.U_DOWNLOAD_LINK}"> + <param name="src" value="{_file.U_DOWNLOAD_LINK}" /> + <param name="controller" value="1" /> + <param name="showcontrols" value="1" /> + <param name="showdisplay" value="0" /> + <param name="showstatusbar" value="0" /> + <param name="autosize" value="1" /> + <param name="autostart" value="0" /> + <param name="visible" value="1" /> + <param name="animationstart" value="0" /> + <param name="loop" value="0" /> + </object> + <!--<![endif]--> + </object> + + <!-- ELSEIF _file.S_FLASH_FILE --> + <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{_file.WIDTH}" height="{_file.HEIGHT}"> + <param name="movie" value="{_file.U_VIEW_LINK}" /> + <param name="play" value="true" /> + <param name="loop" value="true" /> + <param name="quality" value="high" /> + <param name="allowScriptAccess" value="never" /> + <param name="allowNetworking" value="internal" /> + <embed src="{_file.U_VIEW_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed> + </object> + <!-- ELSEIF _file.S_QUICKTIME_FILE --> + <object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="320" height="285"> + <param name="src" value="{_file.U_DOWNLOAD_LINK}" /> + <param name="controller" value="true" /> + <param name="autoplay" value="false" /> + <param name="type" value="video/quicktime" /> + <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false"></embed> + </object> + <!-- ELSEIF _file.S_RM_FILE --> + <object id="rmstream_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="200" height="50"> + <param name="src" value="{_file.U_DOWNLOAD_LINK}" /> + <param name="autostart" value="false" /> + <param name="controls" value="ImageWindow" /> + <param name="console" value="ctrls_{_file.ATTACH_ID}" /> + <param name="prefetch" value="false" /> + <embed name="rmstream_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" src="{_file.U_DOWNLOAD_LINK}" width="0" height="0" autostart="false" controls="ImageWindow" console="ctrls_{_file.ATTACH_ID}" prefetch="false"></embed> + </object> + <br /> + <object id="ctrls_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="36"> + <param name="controls" value="ControlPanel" /> + <param name="console" value="ctrls_{_file.ATTACH_ID}" /> + <embed name="ctrls_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" width="200" height="36" controls="ControlPanel" console="ctrls_{_file.ATTACH_ID}"></embed> + </object> + + <script type="text/javascript"> + // <![CDATA[ + if (document.rmstream_{_file.ATTACH_ID}.GetClipWidth) + { + while (!document.rmstream_{_file.ATTACH_ID}.GetClipWidth()) + { + } + + var width = document.rmstream_{_file.ATTACH_ID}.GetClipWidth(); + var height = document.rmstream_{_file.ATTACH_ID}.GetClipHeight(); + + document.rmstream_{_file.ATTACH_ID}.width = width; + document.rmstream_{_file.ATTACH_ID}.height = height; + document.ctrls_{_file.ATTACH_ID}.width = width; + } + // ]]> + </script> + <!-- ENDIF --> + + <!-- IF _file.S_WM_FILE or _file.S_RM_FILE or _file.S_FLASH_FILE or _file.S_QUICKTIME_FILE --> + <p> + <!-- IF _file.S_QUICKTIME_FILE --><a href="#" onclick="play_qt_file(document.qtstream_{_file.ATTACH_ID}); return false;">[ {L_PLAY_QUICKTIME_FILE} ]</a> <!-- ENDIF --> + <a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</p> + <!-- ENDIF --> + + <!-- ENDIF --> +<!-- END _file --> diff --git a/prosilver/template/bbcode.html b/prosilver/template/bbcode.html new file mode 100644 index 0000000..bb90c46 --- /dev/null +++ b/prosilver/template/bbcode.html @@ -0,0 +1,40 @@ +<!-- BEGIN ulist_open --><ul style="list-style-type: {LIST_TYPE}"><!-- END ulist_open --> +<!-- BEGIN ulist_open_default --><ul><!-- END ulist_open_default --> +<!-- BEGIN ulist_close --></ul><!-- END ulist_close --> + +<!-- BEGIN olist_open --><ol style="list-style-type: {LIST_TYPE}"><!-- END olist_open --> +<!-- BEGIN olist_close --></ol><!-- END olist_close --> + +<!-- BEGIN listitem --><li><!-- END listitem --> +<!-- BEGIN listitem_close --></li><!-- END listitem_close --> + +<!-- BEGIN quote_username_open --><blockquote><div><cite>{USERNAME} {L_WROTE}:</cite><!-- END quote_username_open --> +<!-- BEGIN quote_open --><blockquote class="uncited"><div><!-- END quote_open --> +<!-- BEGIN quote_close --></div></blockquote><!-- END quote_close --> + +<!-- BEGIN code_open --><dl class="codebox"><dt>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><code><!-- END code_open --> +<!-- BEGIN code_close --></code></dd></dl><!-- END code_close --> + +<!-- BEGIN inline_attachment_open --><div class="inline-attachment"><!-- END inline_attachment_open --> +<!-- BEGIN inline_attachment_close --></div><!-- END inline_attachment_close --> + +<!-- BEGIN b_open --><strong><!-- END b_open --> +<!-- BEGIN b_close --></strong><!-- END b_close --> + +<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open --> +<!-- BEGIN u_close --></span><!-- END u_close --> + +<!-- BEGIN i_open --><em><!-- END i_open --> +<!-- BEGIN i_close --></em><!-- END i_close --> + +<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color --> + +<!-- BEGIN size --><span style="font-size: {SIZE}%; line-height: 116%;">{TEXT}</span><!-- END size --> + +<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" /><!-- END img --> + +<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url --> + +<!-- BEGIN email --><a href="mailto:{EMAIL}">{DESCRIPTION}</a><!-- END email --> + +<!-- BEGIN flash --><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{WIDTH}" height="{HEIGHT}"><param name="movie" value="{URL}" /><param name="play" value="false" /><param name="loop" value="false" /><param name="quality" value="high" /><param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /><embed src="{URL}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{WIDTH}" height="{HEIGHT}" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"></embed></object><!-- END flash -->
\ No newline at end of file diff --git a/prosilver/template/captcha_default.html b/prosilver/template/captcha_default.html new file mode 100644 index 0000000..bccf231 --- /dev/null +++ b/prosilver/template/captcha_default.html @@ -0,0 +1,24 @@ +<!-- IF S_TYPE == 1 --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_CONFIRMATION}</h3> + <p>{L_CONFIRM_EXPLAIN}</p> + + <fieldset class="fields2"> +<!-- ENDIF --> + + <dl> + <dt><label for="confirm_code">{L_CONFIRM_CODE}:</label></dt> + <dd><img src="{CONFIRM_IMAGE_LINK}" alt="{L_CONFIRM_CODE}" /></dd> + <dd><input type="text" name="confirm_code" id="confirm_code" size="8" maxlength="8" tabindex="{$CAPTCHA_TAB_INDEX}" class="inputbox narrow" title="{L_CONFIRM_CODE}" /> + <!-- IF S_CONFIRM_REFRESH --><input type="submit" name="refresh_vc" id="refresh_vc" class="button2" value="{L_VC_REFRESH}" /><!-- ENDIF --> + <input type="hidden" name="confirm_id" id="confirm_id" value="{CONFIRM_ID}" /></dd> + <dd>{L_CONFIRM_CODE_EXPLAIN}</dd> + </dl> + +<!-- IF S_TYPE == 1 --> + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> diff --git a/prosilver/template/captcha_qa.html b/prosilver/template/captcha_qa.html new file mode 100644 index 0000000..0b18ada --- /dev/null +++ b/prosilver/template/captcha_qa.html @@ -0,0 +1,21 @@ +<!-- IF S_TYPE == 1 --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_CONFIRMATION}</h3> + <fieldset class="fields2"> +<!-- ENDIF --> + + <dl> + <dt><label>{QA_CONFIRM_QUESTION}:</label><br /><span>{L_CONFIRM_QUESTION_EXPLAIN}</span></dt> + <dd> + <input type="text" tabindex="{$CAPTCHA_TAB_INDEX}" name="qa_answer" id="answer" size="45" class="inputbox autowidth" title="{L_ANSWER}" /> + <input type="hidden" name="qa_confirm_id" id="qa_confirm_id" value="{QA_CONFIRM_ID}" /> + </dd> + </dl> + +<!-- IF S_TYPE == 1 --> + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> diff --git a/prosilver/template/captcha_recaptcha.html b/prosilver/template/captcha_recaptcha.html new file mode 100644 index 0000000..51a1615 --- /dev/null +++ b/prosilver/template/captcha_recaptcha.html @@ -0,0 +1,50 @@ +<!-- IF S_TYPE == 1 --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_CONFIRMATION}</h3> + <p>{L_CONFIRM_EXPLAIN}</p> + + <fieldset class="fields2"> +<!-- ENDIF --> + +<!-- IF S_RECAPTCHA_AVAILABLE --> + <dl> + <dt><label>{L_CONFIRM_CODE}</label>:<br /><span>{L_RECAPTCHA_EXPLAIN}</span></dt> + <dd> + <script type="text/javascript"> + // <![CDATA[ + var RecaptchaOptions = { + lang : '{LA_RECAPTCHA_LANG}', + theme : 'clean', + tabindex : <!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF --> + }; + // ]]> + </script> + <script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"></script> + <script type="text/javascript"> + // <![CDATA[ + <!-- IF S_CONTENT_DIRECTION eq 'rtl' --> + document.getElementById('recaptcha_table').style.direction = 'ltr'; + <!-- ENDIF --> + // ]]> + </script> + <noscript> + <div> + <object data="{RECAPTCHA_SERVER}/noscript?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" type="text/html" height="300" width="500"></object><br /> + <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> + <input type="hidden" name="recaptcha_response_field" value="manual_challenge" /> + </div> + </noscript> + + </dd> + </dl> +<!-- ELSE --> +{L_RECAPTCHA_NOT_AVAILABLE} +<!-- ENDIF --> + +<!-- IF S_TYPE == 1 --> + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> diff --git a/prosilver/template/confirm_body.html b/prosilver/template/confirm_body.html new file mode 100644 index 0000000..5b78391 --- /dev/null +++ b/prosilver/template/confirm_body.html @@ -0,0 +1,20 @@ +<!-- INCLUDE overall_header.html --> + +<form id="confirm" action="{S_CONFIRM_ACTION}" method="post"> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h2>{MESSAGE_TITLE}</h2> + <p>{MESSAGE_TEXT}</p> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS} + <input type="submit" name="confirm" value="{L_YES}" class="button2" /> + <input type="submit" name="cancel" value="{L_NO}" class="button2" /> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html --> diff --git a/prosilver/template/custom_profile_fields.html b/prosilver/template/custom_profile_fields.html new file mode 100644 index 0000000..44c68f5 --- /dev/null +++ b/prosilver/template/custom_profile_fields.html @@ -0,0 +1,31 @@ +<!-- BEGIN dropdown --> +<select name="{dropdown.FIELD_IDENT}" id="{dropdown.FIELD_IDENT}"> + <!-- BEGIN options --><option value="{dropdown.options.OPTION_ID}"{dropdown.options.SELECTED}>{dropdown.options.VALUE}</option><!-- END options --> +</select> +<!-- END dropdown --> + +<!-- BEGIN text --> +<textarea name="{text.FIELD_IDENT}" id="{text.FIELD_IDENT}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}" class="inputbox autowidth">{text.FIELD_VALUE}</textarea> +<!-- END text --> + +<!-- BEGIN string --> +<input type="text" class="inputbox autowidth" name="{string.FIELD_IDENT}" id="{string.FIELD_IDENT}" size="{string.FIELD_LENGTH}" maxlength="{string.FIELD_MAXLEN}" value="{string.FIELD_VALUE}" /> +<!-- END string --> + +<!-- BEGIN bool --> +<!-- IF bool.FIELD_LENGTH eq 1 --> + <!-- BEGIN options --><label for="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}"><input type="radio" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /> {bool.options.VALUE}</label> <!-- END options --> +<!-- ELSE --> + <input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> /> +<!-- ENDIF --> +<!-- END bool --> + +<!-- BEGIN int --> +<input type="text" class="inputbox autowidth" name="{int.FIELD_IDENT}" id="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" /> +<!-- END int --> + +<!-- BEGIN date --> +<label for="{date.FIELD_IDENT}_day">{L_DAY}: <select name="{date.FIELD_IDENT}_day" id="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select></label> +<label for="{date.FIELD_IDENT}_month">{L_MONTH}: <select name="{date.FIELD_IDENT}_month" id="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select></label> +<label for="{date.FIELD_IDENT}_year">{L_YEAR}: <select name="{date.FIELD_IDENT}_year" id="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select></label> +<!-- END date --> diff --git a/prosilver/template/drafts.html b/prosilver/template/drafts.html new file mode 100644 index 0000000..dea3bb4 --- /dev/null +++ b/prosilver/template/drafts.html @@ -0,0 +1,44 @@ + + +<!-- IF .draftrow --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_LOAD_DRAFT}</h3> + <p>{L_LOAD_DRAFT_EXPLAIN}</p> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="<!-- IF not S_PRIVMSGS -->forumbg<!-- ELSE -->panel<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_LOAD_DRAFT}</dt> + <dd class="posted">{L_SAVE_DATE}</dd> + </dl> + </li> + </ul> + <ul class="topiclist<!-- IF not S_PRIVMSGS --> topics<!-- ELSE --> cplist<!-- ENDIF -->"> + + <!-- BEGIN draftrow --> + <li class="row<!-- IF draftrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{draftrow.U_INSERT}" title="{L_LOAD_DRAFT}" class="topictitle">{draftrow.DRAFT_SUBJECT}</a><br /> + <!-- IF not S_PRIVMSGS --><!-- IF draftrow.S_LINK_TOPIC -->{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a> + <!-- ELSEIF draftrow.S_LINK_FORUM -->{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a> + <!-- ELSE -->{L_NO_TOPIC_FORUM}<!-- ENDIF --><!-- ENDIF --> + </dt> + <dd class="posted">{draftrow.DATE}</dd> + </dl> + </li> + <!-- END draftrow --> + + </ul> + + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> diff --git a/prosilver/template/editor.js b/prosilver/template/editor.js new file mode 100644 index 0000000..ddc862b --- /dev/null +++ b/prosilver/template/editor.js @@ -0,0 +1,456 @@ +/** +* bbCode control by subBlue design [ www.subBlue.com ] +* Includes unixsafe colour palette selector by SHS` +*/ + +// Startup variables +var imageTag = false; +var theSelection = false; + +var bbcodeEnabled = true; +// Check for Browser & Platform for PC & IE specific bits +// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html +var clientPC = navigator.userAgent.toLowerCase(); // Get client info +var clientVer = parseInt(navigator.appVersion); // Get browser version + +var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1)); +var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1)); +var baseHeight; + +/** +* Shows the help messages in the helpline window +*/ +function helpline(help) +{ + document.forms[form_name].helpbox.value = help_line[help]; +} + +/** +* Fix a bug involving the TextRange object. From +* http://www.frostjedi.com/terra/scripts/demo/caretBug.html +*/ +function initInsertions() +{ + var doc; + + if (document.forms[form_name]) + { + doc = document; + } + else + { + doc = opener.document; + } + + var textarea = doc.forms[form_name].elements[text_name]; + + if (is_ie && typeof(baseHeight) != 'number') + { + textarea.focus(); + baseHeight = doc.selection.createRange().duplicate().boundingHeight; + + if (!document.forms[form_name]) + { + document.body.focus(); + } + } +} + +/** +* bbstyle +*/ +function bbstyle(bbnumber) +{ + if (bbnumber != -1) + { + bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]); + } + else + { + insert_text('[*]'); + document.forms[form_name].elements[text_name].focus(); + } +} + +/** +* Apply bbcodes +*/ +function bbfontstyle(bbopen, bbclose) +{ + theSelection = false; + + var textarea = document.forms[form_name].elements[text_name]; + + textarea.focus(); + + if ((clientVer >= 4) && is_ie && is_win) + { + // Get text selection + theSelection = document.selection.createRange().text; + + if (theSelection) + { + // Add tags around selection + document.selection.createRange().text = bbopen + theSelection + bbclose; + document.forms[form_name].elements[text_name].focus(); + theSelection = ''; + return; + } + } + else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0)) + { + mozWrap(document.forms[form_name].elements[text_name], bbopen, bbclose); + document.forms[form_name].elements[text_name].focus(); + theSelection = ''; + return; + } + + //The new position for the cursor after adding the bbcode + var caret_pos = getCaretPosition(textarea).start; + var new_pos = caret_pos + bbopen.length; + + // Open tag + insert_text(bbopen + bbclose); + + // Center the cursor when we don't have a selection + // Gecko and proper browsers + if (!isNaN(textarea.selectionStart)) + { + textarea.selectionStart = new_pos; + textarea.selectionEnd = new_pos; + } + // IE + else if (document.selection) + { + var range = textarea.createTextRange(); + range.move("character", new_pos); + range.select(); + storeCaret(textarea); + } + + textarea.focus(); + return; +} + +/** +* Insert text at position +*/ +function insert_text(text, spaces, popup) +{ + var textarea; + + if (!popup) + { + textarea = document.forms[form_name].elements[text_name]; + } + else + { + textarea = opener.document.forms[form_name].elements[text_name]; + } + if (spaces) + { + text = ' ' + text + ' '; + } + + if (!isNaN(textarea.selectionStart)) + { + var sel_start = textarea.selectionStart; + var sel_end = textarea.selectionEnd; + + mozWrap(textarea, text, ''); + textarea.selectionStart = sel_start + text.length; + textarea.selectionEnd = sel_end + text.length; + } + else if (textarea.createTextRange && textarea.caretPos) + { + if (baseHeight != textarea.caretPos.boundingHeight) + { + textarea.focus(); + storeCaret(textarea); + } + + var caret_pos = textarea.caretPos; + caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text; + } + else + { + textarea.value = textarea.value + text; + } + if (!popup) + { + textarea.focus(); + } +} + +/** +* Add inline attachment at position +*/ +function attach_inline(index, filename) +{ + insert_text('[attachment=' + index + ']' + filename + '[/attachment]'); + document.forms[form_name].elements[text_name].focus(); +} + +/** +* Add quote text to message +*/ +function addquote(post_id, username, l_wrote) +{ + var message_name = 'message_' + post_id; + var theSelection = ''; + var divarea = false; + + if (l_wrote === undefined) + { + // Backwards compatibility + l_wrote = 'wrote'; + } + + if (document.all) + { + divarea = document.all[message_name]; + } + else + { + divarea = document.getElementById(message_name); + } + + // Get text selection - not only the post content :( + if (window.getSelection) + { + theSelection = window.getSelection().toString(); + } + else if (document.getSelection) + { + theSelection = document.getSelection(); + } + else if (document.selection) + { + theSelection = document.selection.createRange().text; + } + + if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null) + { + if (divarea.innerHTML) + { + theSelection = divarea.innerHTML.replace(/<br>/ig, '\n'); + theSelection = theSelection.replace(/<br\/>/ig, '\n'); + theSelection = theSelection.replace(/<\;/ig, '<'); + theSelection = theSelection.replace(/>\;/ig, '>'); + theSelection = theSelection.replace(/&\;/ig, '&'); + theSelection = theSelection.replace(/ \;/ig, ' '); + } + else if (document.all) + { + theSelection = divarea.innerText; + } + else if (divarea.textContent) + { + theSelection = divarea.textContent; + } + else if (divarea.firstChild.nodeValue) + { + theSelection = divarea.firstChild.nodeValue; + } + } + + if (theSelection) + { + if (bbcodeEnabled) + { + insert_text('[quote="' + username + '"]' + theSelection + '[/quote]'); + } + else + { + insert_text(username + ' ' + l_wrote + ':' + '\n'); + var lines = split_lines(theSelection); + for (i = 0; i < lines.length; i++) + { + insert_text('> ' + lines[i] + '\n'); + } + } + } + + return; +} + +function split_lines(text) +{ + var lines = text.split('\n'); + var splitLines = new Array(); + var j = 0; + for(i = 0; i < lines.length; i++) + { + if (lines[i].length <= 80) + { + splitLines[j] = lines[i]; + j++; + } + else + { + var line = lines[i]; + do + { + var splitAt = line.indexOf(' ', 80); + + if (splitAt == -1) + { + splitLines[j] = line; + j++; + } + else + { + splitLines[j] = line.substring(0, splitAt); + line = line.substring(splitAt); + j++; + } + } + while(splitAt != -1); + } + } + return splitLines; +} +/** +* From http://www.massless.org/mozedit/ +*/ +function mozWrap(txtarea, open, close) +{ + var selLength = (typeof(txtarea.textLength) == 'undefined') ? txtarea.value.length : txtarea.textLength; + var selStart = txtarea.selectionStart; + var selEnd = txtarea.selectionEnd; + var scrollTop = txtarea.scrollTop; + + if (selEnd == 1 || selEnd == 2) + { + selEnd = selLength; + } + + var s1 = (txtarea.value).substring(0,selStart); + var s2 = (txtarea.value).substring(selStart, selEnd); + var s3 = (txtarea.value).substring(selEnd, selLength); + + txtarea.value = s1 + open + s2 + close + s3; + txtarea.selectionStart = selStart + open.length; + txtarea.selectionEnd = selEnd + open.length; + txtarea.focus(); + txtarea.scrollTop = scrollTop; + + return; +} + +/** +* Insert at Caret position. Code from +* http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130 +*/ +function storeCaret(textEl) +{ + if (textEl.createTextRange) + { + textEl.caretPos = document.selection.createRange().duplicate(); + } +} + +/** +* Color pallette +*/ +function colorPalette(dir, width, height) +{ + var r = 0, g = 0, b = 0; + var numberList = new Array(6); + var color = ''; + + numberList[0] = '00'; + numberList[1] = '40'; + numberList[2] = '80'; + numberList[3] = 'BF'; + numberList[4] = 'FF'; + + document.writeln('<table cellspacing="1" cellpadding="0" border="0">'); + + for (r = 0; r < 5; r++) + { + if (dir == 'h') + { + document.writeln('<tr>'); + } + + for (g = 0; g < 5; g++) + { + if (dir == 'v') + { + document.writeln('<tr>'); + } + + for (b = 0; b < 5; b++) + { + color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]); + document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">'); + document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>'); + document.writeln('</td>'); + } + + if (dir == 'v') + { + document.writeln('</tr>'); + } + } + + if (dir == 'h') + { + document.writeln('</tr>'); + } + } + document.writeln('</table>'); +} + + +/** +* Caret Position object +*/ +function caretPosition() +{ + var start = null; + var end = null; +} + + +/** +* Get the caret position in an textarea +*/ +function getCaretPosition(txtarea) +{ + var caretPos = new caretPosition(); + + // simple Gecko/Opera way + if(txtarea.selectionStart || txtarea.selectionStart == 0) + { + caretPos.start = txtarea.selectionStart; + caretPos.end = txtarea.selectionEnd; + } + // dirty and slow IE way + else if(document.selection) + { + + // get current selection + var range = document.selection.createRange(); + + // a new selection of the whole textarea + var range_all = document.body.createTextRange(); + range_all.moveToElementText(txtarea); + + // calculate selection start point by moving beginning of range_all to beginning of range + var sel_start; + for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++) + { + range_all.moveStart('character', 1); + } + + txtarea.sel_start = sel_start; + + // we ignore the end value for IE, this is already dirty enough and we don't need it + caretPos.start = txtarea.sel_start; + caretPos.end = txtarea.sel_start; + } + + return caretPos; +}
\ No newline at end of file diff --git a/prosilver/template/faq_body.html b/prosilver/template/faq_body.html new file mode 100644 index 0000000..36d677a --- /dev/null +++ b/prosilver/template/faq_body.html @@ -0,0 +1,52 @@ +<!-- INCLUDE overall_header.html --> + +<h2>{L_FAQ_TITLE}</h2> + + +<div class="panel bg1" id="faqlinks"> + <div class="inner"><span class="corners-top"><span></span></span> + <div class="column1"> + <!-- BEGIN faq_block --> + <!-- IF faq_block.SWITCH_COLUMN or (SWITCH_COLUMN_MANUALLY and faq_block.S_ROW_COUNT == 4) --> + </div> + + <div class="column2"> + <!-- ENDIF --> + + <dl class="faq"> + <dt><strong>{faq_block.BLOCK_TITLE}</strong></dt> + <!-- BEGIN faq_row --> + <dd><a href="#f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</a></dd> + <!-- END faq_row --> + </dl> + <!-- END faq_block --> + </div> + <span class="corners-bottom"><span></span></span></div> +</div> + + + +<div class="clear"></div> + +<!-- BEGIN faq_block --> + <div class="panel <!-- IF faq_block.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h2>{faq_block.BLOCK_TITLE}</h2> + <!-- BEGIN faq_row --> + <dl class="faq"> + <dt id="f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}"><strong>{faq_block.faq_row.FAQ_QUESTION}</strong></dt> + <dd>{faq_block.faq_row.FAQ_ANSWER}</dd> + <dd><a href="#faqlinks" class="top2">{L_BACK_TO_TOP}</a></dd> + </dl> + <!-- IF not faq_block.faq_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF --> + <!-- END faq_row --> + </div> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- END faq_block --> + +<!-- INCLUDE jumpbox.html --> +<!-- INCLUDE overall_footer.html --> diff --git a/prosilver/template/forum_fn.js b/prosilver/template/forum_fn.js new file mode 100644 index 0000000..4a85858 --- /dev/null +++ b/prosilver/template/forum_fn.js @@ -0,0 +1,443 @@ +/** +* phpBB3 forum functions +*/ + +/** +* Window popup +*/ +function popup(url, width, height, name) +{ + if (!name) + { + name = '_popup'; + } + + window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width); + return false; +} + +/** +* Jump to page +*/ +function jumpto() +{ + var page = prompt(jump_page, on_page); + + if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) + { + if (base_url.indexOf('?') == -1) + { + document.location.href = base_url + '?start=' + ((page - 1) * per_page); + } + else + { + document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); + } + } +} + +/** +* Mark/unmark checklist +* id = ID of parent container, name = name prefix, state = state [true/false] +*/ +function marklist(id, name, state) +{ + var parent = document.getElementById(id); + if (!parent) + { + eval('parent = document.' + id); + } + + if (!parent) + { + return; + } + + var rb = parent.getElementsByTagName('input'); + + for (var r = 0; r < rb.length; r++) + { + if (rb[r].name.substr(0, name.length) == name) + { + rb[r].checked = state; + } + } +} + +/** +* Resize viewable area for attached image or topic review panel (possibly others to come) +* e = element +*/ +function viewableArea(e, itself) +{ + if (!e) return; + if (!itself) + { + e = e.parentNode; + } + + if (!e.vaHeight) + { + // Store viewable area height before changing style to auto + e.vaHeight = e.offsetHeight; + e.vaMaxHeight = e.style.maxHeight; + e.style.height = 'auto'; + e.style.maxHeight = 'none'; + e.style.overflow = 'visible'; + } + else + { + // Restore viewable area height to the default + e.style.height = e.vaHeight + 'px'; + e.style.overflow = 'auto'; + e.style.maxHeight = e.vaMaxHeight; + e.vaHeight = false; + } +} + +/** +* Set display of page element +* s[-1,0,1] = hide,toggle display,show +* type = string: inline, block, inline-block or other CSS "display" type +*/ +function dE(n, s, type) +{ + if (!type) + { + type = 'block'; + } + + var e = document.getElementById(n); + if (!s) + { + s = (e.style.display == '' || e.style.display == type) ? -1 : 1; + } + e.style.display = (s == 1) ? type : 'none'; +} + +/** +* Alternate display of subPanels +*/ +function subPanels(p) +{ + var i, e, t; + + if (typeof(p) == 'string') + { + show_panel = p; + } + + for (i = 0; i < panels.length; i++) + { + e = document.getElementById(panels[i]); + t = document.getElementById(panels[i] + '-tab'); + + if (e) + { + if (panels[i] == show_panel) + { + e.style.display = 'block'; + if (t) + { + t.className = 'activetab'; + } + } + else + { + e.style.display = 'none'; + if (t) + { + t.className = ''; + } + } + } + } +} + +/** +* Call print preview +*/ +function printPage() +{ + if (is_ie) + { + printPreview(); + } + else + { + window.print(); + } +} + +/** +* Show/hide groups of blocks +* c = CSS style name +* e = checkbox element +* t = toggle dispay state (used to show 'grip-show' image in the profile block when hiding the profiles) +*/ +function displayBlocks(c, e, t) +{ + var s = (e.checked == true) ? 1 : -1; + + if (t) + { + s *= -1; + } + + var divs = document.getElementsByTagName("DIV"); + + for (var d = 0; d < divs.length; d++) + { + if (divs[d].className.indexOf(c) == 0) + { + divs[d].style.display = (s == 1) ? 'none' : 'block'; + } + } +} + +function selectCode(a) +{ + // Get ID of code block + var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0]; + + // Not IE + if (window.getSelection) + { + var s = window.getSelection(); + // Safari + if (s.setBaseAndExtent) + { + s.setBaseAndExtent(e, 0, e, e.innerText.length - 1); + } + // Firefox and Opera + else + { + // workaround for bug # 42885 + if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '<BR>') + { + e.innerHTML = e.innerHTML + ' '; + } + + var r = document.createRange(); + r.selectNodeContents(e); + s.removeAllRanges(); + s.addRange(r); + } + } + // Some older browsers + else if (document.getSelection) + { + var s = document.getSelection(); + var r = document.createRange(); + r.selectNodeContents(e); + s.removeAllRanges(); + s.addRange(r); + } + // IE + else if (document.selection) + { + var r = document.body.createTextRange(); + r.moveToElementText(e); + r.select(); + } +} + +/** +* Play quicktime file by determining it's width/height +* from the displayed rectangle area +*/ +function play_qt_file(obj) +{ + var rectangle = obj.GetRectangle(); + + if (rectangle) + { + rectangle = rectangle.split(','); + var x1 = parseInt(rectangle[0]); + var x2 = parseInt(rectangle[2]); + var y1 = parseInt(rectangle[1]); + var y2 = parseInt(rectangle[3]); + + var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1; + var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1; + } + else + { + var width = 200; + var height = 0; + } + + obj.width = width; + obj.height = height + 16; + + obj.SetControllerVisible(true); + obj.Play(); +} + +/** +* Check if the nodeName of elem is name +* @author jQuery +*/ +function is_node_name(elem, name) +{ + return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase(); +} + +/** +* Check if elem is in array, return position +* @author jQuery +*/ +function is_in_array(elem, array) +{ + for (var i = 0, length = array.length; i < length; i++) + // === is correct (IE) + if (array[i] === elem) + return i; + + return -1; +} + +/** +* Find Element, type and class in tree +* Not used, but may come in handy for those not using JQuery +* @author jQuery.find, Meik Sievertsen +*/ +function find_in_tree(node, tag, type, class_name) +{ + var result, element, i = 0, length = node.childNodes.length; + + for (element = node.childNodes[0]; i < length; element = node.childNodes[++i]) + { + if (!element || element.nodeType != 1) continue; + + if ((!tag || is_node_name(element, tag)) && (!type || element.type == type) && (!class_name || is_in_array(class_name, (element.className || element).toString().split(/\s+/)) > -1)) + { + return element; + } + + if (element.childNodes.length) + result = find_in_tree(element, tag, type, class_name); + + if (result) return result; + } +} + +var in_autocomplete = false; +var last_key_entered = ''; + +/** +* Check event key +*/ +function phpbb_check_key(event) +{ + // Keycode is array down or up? + if (event.keyCode && (event.keyCode == 40 || event.keyCode == 38)) + in_autocomplete = true; + + // Make sure we are not within an "autocompletion" field + if (in_autocomplete) + { + // If return pressed and key changed we reset the autocompletion + if (!last_key_entered || last_key_entered == event.which) + { + in_autocompletion = false; + return true; + } + } + + // Keycode is not return, then return. ;) + if (event.which != 13) + { + last_key_entered = event.which; + return true; + } + + return false; +} + +/** +* Usually used for onkeypress event, to submit a form on enter +*/ +function submit_default_button(event, selector, class_name) +{ + // Add which for key events + if (!event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode)) + event.which = event.charCode || event.keyCode; + + if (phpbb_check_key(event)) + return true; + + var current = selector['parentNode']; + + // Search parent form element + while (current && (!current.nodeName || current.nodeType != 1 || !is_node_name(current, 'form')) && current != document) + current = current['parentNode']; + + // Find the input submit button with the class name + //current = find_in_tree(current, 'input', 'submit', class_name); + var input_tags = current.getElementsByTagName('input'); + current = false; + + for (var i = 0, element = input_tags[0]; i < input_tags.length; element = input_tags[++i]) + { + if (element.type == 'submit' && is_in_array(class_name, (element.className || element).toString().split(/\s+/)) > -1) + current = element; + } + + if (!current) + return true; + + // Submit form + current.focus(); + current.click(); + return false; +} + +/** +* Apply onkeypress event for forcing default submit button on ENTER key press +* The jQuery snippet used is based on http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/ +* The non-jQuery code is a mimick of the jQuery code ;) +*/ +function apply_onkeypress_event() +{ + // jQuery code in case jQuery is used + if (jquery_present) + { + jQuery('form input[type=text], form input[type=password]').live('keypress', function (e) + { + var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action'); + + if (!default_button || default_button.length <= 0) + return true; + + if (phpbb_check_key(e)) + return true; + + if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) + { + default_button.click(); + return false; + } + + return true; + }); + + return; + } + + var input_tags = document.getElementsByTagName('input'); + + for (var i = 0, element = input_tags[0]; i < input_tags.length ; element = input_tags[++i]) + { + if (element.type == 'text' || element.type == 'password') + { + // onkeydown is possible too + element.onkeypress = function (evt) { submit_default_button((evt || window.event), this, 'default-submit-action'); }; + } + } +} + +/** +* Detect JQuery existance. We currently do not deliver it, but some styles do, so why not benefit from it. ;) +*/ +var jquery_present = typeof jQuery == 'function'; diff --git a/prosilver/template/forumlist_body.html b/prosilver/template/forumlist_body.html new file mode 100644 index 0000000..e9ed5d9 --- /dev/null +++ b/prosilver/template/forumlist_body.html @@ -0,0 +1,68 @@ + +<!-- BEGIN forumrow --> + <!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT --> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT --> + <div class="forabg"> + <div class="inner"><span class="corners-top"><span></span></span> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></dt> + <dd class="topics">{L_TOPICS}</dd> + <dd class="posts">{L_POSTS}</dd> + <dd class="lastpost"><span>{L_LAST_POST}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist forums"> + <!-- ENDIF --> + + <!-- IF not forumrow.S_IS_CAT --> + <li class="row"> + <dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt title="{forumrow.FORUM_FOLDER_IMG_ALT}"> + <!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF --> + + <!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF --> + <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br /> + {forumrow.FORUM_DESC} + <!-- IF forumrow.MODERATORS --> + <br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS} + <!-- ENDIF --> + <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF --> + </dt> + <!-- IF forumrow.CLICKS --> + <dd class="redirect"><span>{L_REDIRECTS}: {forumrow.CLICKS}</span></dd> + <!-- ELSEIF not forumrow.S_IS_LINK --> + <dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd> + <dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd> + <dd class="lastpost"><span> + <!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF --> + <!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL} + <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span> + </dd> + <!-- ENDIF --> + </dl> + </li> + <!-- ENDIF --> + + <!-- IF forumrow.S_LAST_ROW --> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + +<!-- BEGINELSE --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <strong>{L_NO_FORUMS}</strong> + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- END forumrow --> diff --git a/prosilver/template/index.htm b/prosilver/template/index.htm new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/prosilver/template/index.htm diff --git a/prosilver/template/index_body.html b/prosilver/template/index_body.html new file mode 100644 index 0000000..d4d50a1 --- /dev/null +++ b/prosilver/template/index_body.html @@ -0,0 +1,48 @@ +<!-- INCLUDE overall_header.html --> + +<p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p> +<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF --> + +<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) --> +<ul class="linklist"> + <!-- IF S_DISPLAY_SEARCH --> + <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_LOAD_UNREADS --> • <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li> + <!-- ENDIF --> + <!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF --> +</ul> +<!-- ENDIF --> + +<!-- INCLUDE forumlist_body.html --> + +<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT --> + <form method="post" action="{S_LOGIN_ACTION}" class="headerspace"> + <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3> + <fieldset class="quick-login"> + <label for="username">{L_USERNAME}:</label> <input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" /> + <label for="password">{L_PASSWORD}:</label> <input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" /> + <!-- IF S_AUTOLOGIN_ENABLED --> + | <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label> + <!-- ENDIF --> + <input type="submit" name="login" value="{L_LOGIN}" class="button2" /> + {S_LOGIN_REDIRECT} + </fieldset> + </form> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_ONLINE_LIST --> + <!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF --> + <p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST} + <!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST --> + <h3>{L_BIRTHDAYS}</h3> + <p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p> +<!-- ENDIF --> + +<!-- IF NEWEST_USER --> + <h3>{L_STATISTICS}</h3> + <p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p> +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/jumpbox.html b/prosilver/template/jumpbox.html new file mode 100644 index 0000000..f7b4fca --- /dev/null +++ b/prosilver/template/jumpbox.html @@ -0,0 +1,33 @@ + +<!-- IF S_VIEWTOPIC --> + <p></p><p><a href="{U_VIEW_FORUM}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {FORUM_NAME}</a></p> +<!-- ELSEIF S_VIEWFORUM --> + <p></p><p><a href="{U_INDEX}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {L_INDEX}</a></p> +<!-- ELSEIF SEARCH_TOPIC --> + <p></p><p><a class="left-box {S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}" accesskey="r">{L_RETURN_TO}: {SEARCH_TOPIC}</a></p> +<!-- ELSEIF S_SEARCH_ACTION --> + <p></p><p><a class="left-box {S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}" accesskey="r">{L_RETURN_TO_SEARCH_ADV}</a></p> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_JUMPBOX --> + <form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}"> + + <!-- IF $CUSTOM_FIELDSET_CLASS --> + <fieldset class="{$CUSTOM_FIELDSET_CLASS}"> + <!-- ELSE --> + <fieldset class="jumpbox"> + <!-- ENDIF --> + <label for="f" accesskey="j"><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->:</label> + <select name="f" id="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }"> + <!-- BEGIN jumpbox_forums --> + <!-- IF jumpbox_forums.S_FORUM_COUNT == 1 --><option value="-1">------------------</option><!-- ENDIF --> + <option value="{jumpbox_forums.FORUM_ID}"{jumpbox_forums.SELECTED}><!-- BEGIN level --> <!-- END level -->{jumpbox_forums.FORUM_NAME}</option> + <!-- END jumpbox_forums --> + </select> + <input type="submit" value="{L_GO}" class="button2" /> + </fieldset> + </form> + +<!-- ELSE --> + <br /><br /> +<!-- ENDIF --> diff --git a/prosilver/template/login_body.html b/prosilver/template/login_body.html new file mode 100644 index 0000000..36c2eae --- /dev/null +++ b/prosilver/template/login_body.html @@ -0,0 +1,70 @@ +<!-- INCLUDE overall_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + onload_functions.push('document.getElementById("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->").focus();'); +// ]]> +</script> + +<form action="{S_LOGIN_ACTION}" method="post" id="login"> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h2><!-- IF LOGIN_EXPLAIN -->{LOGIN_EXPLAIN}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></h2> + + <fieldset <!-- IF not S_CONFIRM_CODE -->class="fields1"<!-- ELSE -->class="fields2"<!-- ENDIF -->> + <!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF --> + <dl> + <dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}:</label></dt> + <dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd> + </dl> + <dl> + <dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}:</label></dt> + <dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" /></dd> + <!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) --> + <!-- IF U_SEND_PASSWORD --><dd><a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a></dd><!-- ENDIF --> + <!-- IF U_RESEND_ACTIVATION --><dd><a href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a></dd><!-- ENDIF --> + <!-- ENDIF --> + </dl> + <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE --> + <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 --> + <!-- INCLUDE {CAPTCHA_TEMPLATE} --> + <!-- ENDIF --> + <!-- IF S_DISPLAY_FULL_LOGIN --> + <dl> + <!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF --> + <dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="5" /> {L_HIDE_ME}</label></dd> + </dl> + <!-- ENDIF --> + + {S_LOGIN_REDIRECT} + <dl> + <dt> </dt> + <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd> + </dl> + </fieldset> + </div> + <span class="corners-bottom"><span></span></span></div> +</div> + + +<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h3>{L_REGISTER}</h3> + <p>{L_LOGIN_INFO}</p> + <p><strong><a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a></strong></p> + <hr class="dashed" /> + <p><a href="{U_REGISTER}" class="button2">{L_REGISTER}</a></p> + </div> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/login_forum.html b/prosilver/template/login_forum.html new file mode 100644 index 0000000..a342a9a --- /dev/null +++ b/prosilver/template/login_forum.html @@ -0,0 +1,36 @@ +<!-- INCLUDE overall_header.html --> + +<h2 class="solo">{L_LOGIN} {FORUM_NAME}</h2> + +<form id="login_forum" method="post" action="{S_LOGIN_ACTION}"> +{S_FORM_TOKEN} +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_LOGIN_FORUM}</p> + + <fieldset class="fields2"> + <!-- IF LOGIN_ERROR --> + <dl> + <dt> </dt> + <dd class="error">{LOGIN_ERROR}</dd> + </dl> + <!-- ENDIF --> + <dl> + <dt><label for="password">{L_PASSWORD}:</label></dt> + <dd><input class="inputbox narrow" type="password" name="password" id="password" size="25" tabindex="1" /></dd> + </dl> + <dl class="fields2"> + <dt> </dt> + <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" id="login" class="button1" value="{L_LOGIN}" tabindex="2" /></dd> + </dl> + {S_LOGIN_REDIRECT} + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +</form> + +<!-- INCLUDE jumpbox.html --> +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_approve.html b/prosilver/template/mcp_approve.html new file mode 100644 index 0000000..329205e --- /dev/null +++ b/prosilver/template/mcp_approve.html @@ -0,0 +1,53 @@ +<!-- INCLUDE overall_header.html --> + +<form id="confirm" action="{S_CONFIRM_ACTION}" method="post"> +<div class="panel"> + {S_FORM_TOKEN} + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + + <h2>{MESSAGE_TITLE}</h2> + <!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF --> + + <fieldset> + <!-- IF S_NOTIFY_POSTER --> + <dl class="panel"> + <dt> </dt> + <dd><label><input type="checkbox" name="notify_poster" checked="checked" /> <!-- IF S_APPROVE -->{L_NOTIFY_POSTER_APPROVAL}<!-- ELSE -->{L_NOTIFY_POSTER_DISAPPROVAL}<!-- ENDIF --></label></dd> + </dl> + <!-- ENDIF --> + + <!-- IF not S_APPROVE --> + <dl class="fields2 nobg"> + <dt><label>{L_DISAPPROVE_REASON}:</label></dt> + <dd><select name="reason_id"> + <!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --> + </select> + </dd> + </dl> + <dl class="fields2 nobg"> + <dt><label for="reason">{L_MORE_INFO}:</label><br /><span>{L_CAN_LEAVE_BLANK}</span></dt> + <dd><textarea class="inputbox" name="reason" id="reason" rows="4" cols="40">{REASON}</textarea></dd> + </dl> + <!-- ENDIF --> + + <dl class="fields2 nobg"> + <dt> </dt> + <dd><strong>{MESSAGE_TEXT}</strong></dd> + </dl> + </fieldset> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="button1" /> + <input type="submit" name="cancel" value="{L_NO}" class="button2" /> + </fieldset> + + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_ban.html b/prosilver/template/mcp_ban.html new file mode 100644 index 0000000..460c95e --- /dev/null +++ b/prosilver/template/mcp_ban.html @@ -0,0 +1,128 @@ +<!-- INCLUDE mcp_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + + var ban_length = new Array(); + ban_length[-1] = ''; + <!-- BEGIN ban_length --> + ban_length['{ban_length.BAN_ID}'] = '{ban_length.A_LENGTH}'; + <!-- END ban_length --> + + var ban_reason = new Array(); + ban_reason[-1] = ''; + <!-- BEGIN ban_reason --> + ban_reason['{ban_reason.BAN_ID}'] = '{ban_reason.A_REASON}'; + <!-- END ban_reason --> + + var ban_give_reason = new Array(); + ban_give_reason[-1] = ''; + <!-- BEGIN ban_give_reason --> + ban_give_reason['{ban_give_reason.BAN_ID}'] = '{ban_give_reason.A_REASON}'; + <!-- END ban_give_reason --> + + function display_details(option) + { + document.getElementById('unbangivereason').innerHTML = ban_give_reason[option]; + document.getElementById('unbanreason').innerHTML = ban_reason[option]; + document.getElementById('unbanlength').innerHTML = ban_length[option]; + } + +// ]]> +</script> + +<form id="mcp_ban" method="post" action="{U_ACTION}"> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_TITLE}</h3> + <p>{L_EXPLAIN}</p> + + <fieldset> + <dl> + <dt><label for="ban">{L_BAN_CELL}:</label></dt> + <dd><label for="ban"><textarea name="ban" id="ban" class="inputbox" cols="40" rows="3">{BAN_QUANTIFIER}</textarea></label></dd> + <!-- IF S_USERNAME_BAN --><dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd><!-- ENDIF --> + </dl> + <dl> + <dt><label for="banlength">{L_BAN_LENGTH}:</label></dt> + <dd><label for="banlength"><select name="banlength" id="banlength" onchange="if(this.value==-1){document.getElementById('banlengthother').style.display = 'block';}else{document.getElementById('banlengthother').style.display='none';}">{S_BAN_END_OPTIONS}</select></label></dd> + <dd id="banlengthother" style="display: none;"><label><input type="text" name="banlengthother" class="inputbox" /><br /><span>{L_YEAR_MONTH_DAY}</span></label></dd> + </dl> + <dl> + <dt><label for="banreason">{L_BAN_REASON}:</label></dt> + <dd><input name="banreason" id="banreason" type="text" class="inputbox" maxlength="255" /></dd> + </dl> + <dl> + <dt><label for="bangivereason">{L_BAN_GIVE_REASON}:</label></dt> + <dd><input name="bangivereason" id="bangivereason" type="text" class="inputbox" maxlength="255" /></dd> + </dl> + + <hr /> + + <dl> + <dt><label for="banexclude0">{L_BAN_EXCLUDE}:</label><br /><span>{L_BAN_EXCLUDE_EXPLAIN}</span></dt> + <dd> + <label for="banexclude1"><input type="radio" name="banexclude" id="banexclude1" value="1" /> {L_YES}</label> + <label for="banexclude0"><input type="radio" name="banexclude" id="banexclude0" value="0" checked="checked" /> {L_NO}</label> + </dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="bansubmit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_UNBAN_TITLE}</h3> + <p>{L_UNBAN_EXPLAIN}</p> + + <!-- IF S_BANNED_OPTIONS --> + <fieldset> + <dl> + <dt><label for="unban">{L_BAN_CELL}:</label></dt> + <dd><select name="unban[]" id="unban" multiple="multiple" size="5" onchange="if (this.selectedIndex != -1) {display_details(this.options[this.selectedIndex].value);}">{BANNED_OPTIONS}</select></dd> + </dl> + <dl> + <dt>{L_BAN_LENGTH}:</dt> + <dd><strong id="unbanlength"></strong></dd> + </dl> + <dl> + <dt>{L_BAN_REASON}:</dt> + <dd><strong id="unbanreason"></strong></dd> + </dl> + <dl> + <dt>{L_BAN_GIVE_REASON}:</dt> + <dd><strong id="unbangivereason"></strong></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="unbansubmit" value="{L_SUBMIT}" class="button1" /> + </fieldset> + + <!-- ELSE --> + + <p><strong>{L_NO_BAN_CELL}</strong></p> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <!-- ENDIF --> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_footer.html b/prosilver/template/mcp_footer.html new file mode 100644 index 0000000..5a48d95 --- /dev/null +++ b/prosilver/template/mcp_footer.html @@ -0,0 +1,9 @@ + + </div> + <div class="clear"></div> + + </div> + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_forum.html b/prosilver/template/mcp_forum.html new file mode 100644 index 0000000..2c98f7c --- /dev/null +++ b/prosilver/template/mcp_forum.html @@ -0,0 +1,111 @@ +<!-- INCLUDE mcp_header.html --> + +<!-- DEFINE $CUSTOM_FIELDSET_CLASS = 'forum-selection2' --> +<!-- INCLUDE jumpbox.html --> + +<h2><a href="{U_VIEW_FORUM}">{L_FORUM}: {FORUM_NAME}</a></h2> + +<form method="post" id="mcp" action="{S_MCP_ACTION}"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF PAGINATION or TOTAL_TOPICS --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <!-- ENDIF --> + + <!-- IF .topicrow --> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt>{L_TOPICS}</dt> + <dd class="posts">{L_REPLIES}</dd> + <dd class="lastpost"><span>{L_LAST_POST}</span></dd> + <!-- IF not S_MERGE_SELECT --><dd class="mark">{L_MARK}</dd><!-- ENDIF --> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN topicrow --> + <li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->> + <!-- IF topicrow.S_SELECT_TOPIC --><a href="{topicrow.U_SELECT_TOPIC}" class="topictitle">[ {L_SELECT_MERGE} ]</a> <!-- ENDIF --> + <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> + <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> + <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> + <!-- IF topicrow.S_MOVED_TOPIC and S_CAN_DELETE --> <a href="{topicrow.U_DELETE_TOPIC}" class="topictitle">[ {L_DELETE_SHADOW_TOPIC} ]</a><!-- ENDIF --> + <br /> + <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF --> + <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} </dt> + <dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd> + <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}<br />{topicrow.LAST_POST_TIME}</span> + </dd> + <!-- IF not S_MERGE_SELECT --> + <dd class="mark"> + <!-- IF not topicrow.S_MOVED_TOPIC --><input type="checkbox" name="topic_id_list[]" value="{topicrow.TOPIC_ID}"<!-- IF topicrow.S_TOPIC_CHECKED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --> <!-- ENDIF --> + </dd> + <!-- ENDIF --> + </dl> + </li> + <!-- END topicrow --> + </ul> + <!-- ELSE --> + <ul class="topiclist"> + <li><p class="notopics">{L_NO_TOPICS}</p></li> + </ul> + <!-- ENDIF --> + + <fieldset class="display-options"> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> + <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label> + </fieldset> + + <hr /> + + <!-- IF PAGINATION or TOTAL_TOPICS --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="display-actions"> + <!-- IF not S_MERGE_SELECT --> + <select name="action"> + <option value="" selected="selected">{L_SELECT_ACTION}</option> + <!-- IF S_CAN_DELETE --><option value="delete_topic">{L_DELETE}</option><!-- ENDIF --> + <!-- IF S_CAN_MERGE --><option value="merge_topics">{L_MERGE}</option><!-- ENDIF --> + <!-- IF S_CAN_MOVE --><option value="move">{L_MOVE}</option><!-- ENDIF --> + <!-- IF S_CAN_FORK --><option value="fork">{L_FORK}</option><!-- ENDIF --> + <!-- IF S_CAN_LOCK --><option value="lock">{L_LOCK}</option><option value="unlock">{L_UNLOCK}</option><!-- ENDIF --> + <!-- IF S_CAN_SYNC --><option value="resync">{L_RESYNC}</option><!-- ENDIF --> + <!-- IF S_CAN_MAKE_NORMAL --><option value="make_normal">{L_MAKE_NORMAL}</option><!-- ENDIF --> + <!-- IF S_CAN_MAKE_STICKY --><option value="make_sticky">{L_MAKE_STICKY}</option><!-- ENDIF --> + <!-- IF S_CAN_MAKE_ANNOUNCE --> + <option value="make_announce">{L_MAKE_ANNOUNCE}</option> + <option value="make_global">{L_MAKE_GLOBAL}</option> + <!-- ENDIF --> + </select> + <input class="button2" type="submit" value="{L_SUBMIT}" /> + <div><a href="#" onclick="marklist('mcp', 'topic_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'topic_id_list', false); return false;">{L_UNMARK_ALL}</a></div> + <!-- ENDIF --> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_front.html b/prosilver/template/mcp_front.html new file mode 100644 index 0000000..0891948 --- /dev/null +++ b/prosilver/template/mcp_front.html @@ -0,0 +1,184 @@ +<!-- INCLUDE mcp_header.html --> + +<h2>{PAGE_TITLE}</h2> + +<!-- IF S_SHOW_UNAPPROVED --> + + <form id="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}"> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_LATEST_UNAPPROVED}</h3> + <!-- IF S_HAS_UNAPPROVED_POSTS --><p>{L_UNAPPROVED_TOTAL}</p><!-- ENDIF --> + + <!-- IF .unapproved --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_VIEW_DETAILS}</dt> + <dd class="moderation"><span>{L_TOPIC} & {L_FORUM}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN unapproved --> + <li class="row<!-- IF unapproved.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> {unapproved.ATTACH_ICON_IMG}<br /> + <!-- IF report.PAGINATION --><strong class="pagination"><span>{report.PAGINATION}</span></strong><!-- ENDIF --> + {L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} » {unapproved.POST_TIME} + </dt> + <dd class="moderation"><span> + {L_TOPIC}: <a href="{unapproved.U_TOPIC}">{unapproved.TOPIC_TITLE}</a> [<a href="{unapproved.U_MCP_TOPIC}">{L_MODERATE}</a>]<br /> + {L_FORUM}: <!-- IF unapproved.U_FORUM --><a href="{unapproved.U_FORUM}">{unapproved.FORUM_NAME}</a><!-- ELSE -->{unapproved.FORUM_NAME}<!-- ENDIF --><!-- IF unapproved.U_MCP_FORUM --> [<a href="{unapproved.U_MCP_FORUM}">{L_MODERATE}</a>]<!-- ENDIF --></span> + </dd> + + <dd class="mark"><input type="checkbox" name="post_id_list[]" value="{unapproved.POST_ID}" /></dd> + </dl> + </li> + <!-- END unapproved --> + </ul> + <!-- ELSE --> + <p>{L_UNAPPROVED_POSTS_ZERO_TOTAL}</p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + {S_FORM_TOKEN} + </div> + + <!-- IF .unapproved --> + <fieldset class="display-actions"> + {S_HIDDEN_FIELDS} + <input class="button2" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" /> + <input class="button1" type="submit" name="action[approve]" value="{L_APPROVE}" /> + <div><a href="#" onclick="marklist('mcp_queue', 'post_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp_queue', 'post_id_list', false); return false;">{L_UNMARK_ALL}</a></div> + </fieldset> + <!-- ENDIF --> + </form> +<!-- ENDIF --> + +<!-- IF S_SHOW_REPORTS --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_LATEST_REPORTED}</h3> + <!-- IF S_HAS_REPORTS --><p>{L_REPORTS_TOTAL}</p><!-- ENDIF --> + + <!-- IF .report --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_VIEW_DETAILS}</dt> + <dd class="moderation"><span>{L_REPORTER} & {L_FORUM}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN report --> + <li class="row<!-- IF report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a> {report.ATTACH_ICON_IMG}<br /> + <span>{L_POSTED} {L_POST_BY_AUTHOR} {report.AUTHOR_FULL} » {report.POST_TIME}</span> + </dt> + <dd class="moderation"> + <span>{L_REPORTED} {L_POST_BY_AUTHOR} {report.REPORTER_FULL} {L_REPORTED_ON_DATE} {report.REPORT_TIME}<br /> + {L_FORUM}: <a href="{report.U_FORUM}">{report.FORUM_NAME}</a></span> + </dd> + </dl> + </li> + <!-- END report --> + </ul> + <!-- ELSE --> + <p>{L_REPORTS_ZERO_TOTAL}</p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_SHOW_PM_REPORTS --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_LATEST_REPORTED_PMS}</h3> + <!-- IF S_HAS_PM_REPORTS --><p>{L_PM_REPORTS_TOTAL}</p><!-- ENDIF --> + + <!-- IF .pm_report --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_VIEW_DETAILS}</dt> + <dd class="moderation"><span>{L_REPORTER}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN pm_report --> + <li class="row<!-- IF report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{pm_report.U_PM_DETAILS}" class="topictitle">{pm_report.PM_SUBJECT}</a> {pm_report.ATTACH_ICON_IMG}<br /> + <span>{L_MESSAGE_BY_AUTHOR} {pm_report.PM_AUTHOR_FULL} » {pm_report.PM_TIME}</span><br /> + <span>{L_MESSAGE_TO} {pm_report.RECIPIENTS}</span> + </dt> + <dd class="moderation"> + <span>{L_REPORTED} {L_POST_BY_AUTHOR} {pm_report.REPORTER_FULL} {L_REPORTED_ON_DATE} {pm_report.REPORT_TIME}</span> + </dd> + </dl> + </li> + <!-- END pm_report --> + </ul> + <!-- ELSE --> + <p>{L_PM_REPORTS_ZERO_TOTAL}</p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_SHOW_LOGS --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_LATEST_LOGS}</h3> + + <table class="table1" cellspacing="0"> + <thead> + <tr> + <th class="name">{L_ACTION}</th> + <th class="name">{L_USERNAME}</th> + <th class="name">{L_IP}</th> + <th class="name">{L_VIEW_TOPIC}</th> + <th class="name">{L_VIEW_TOPIC_LOGS}</th> + <th class="name">{L_TIME}</th> + </tr> + </thead> + <tbody> + <!-- BEGIN log --> + <tr class="<!-- IF log.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td>{log.ACTION}</td> + <td><span>{log.USERNAME}</span></td> + <td><span>{log.IP}</span></td> + <td><span><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}" title="{L_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- ENDIF --> </span></td> + <td><span><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF --> </span></td> + <td><span>{log.TIME}</span></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td colspan="6">{L_NO_ENTRIES}</td> + </tr> + <!-- END log --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_header.html b/prosilver/template/mcp_header.html new file mode 100644 index 0000000..13cc7e1 --- /dev/null +++ b/prosilver/template/mcp_header.html @@ -0,0 +1,67 @@ +<!-- INCLUDE overall_header.html --> + +<h2>{L_MCP}</h2> + +<!-- IF U_MCP --> + <p class="linkmcp"> + [ <a href="{U_MCP}">{L_MCP}</a><!-- IF U_MCP_FORUM --> | <a href="{U_MCP_FORUM}">{L_MODERATE_FORUM}</a><!-- ENDIF --> + <!-- IF U_MCP_TOPIC --> | <a href="{U_MCP_TOPIC}">{L_MODERATE_TOPIC}</a><!-- ENDIF --> + <!-- IF U_MCP_POST --> | <a href="{U_MCP_POST}">{L_MODERATE_POST}</a><!-- ENDIF --> ] + </p> +<!-- ENDIF --> + +<div id="tabs"> + <ul> + <!-- BEGIN l_block1 --> + <li<!-- IF l_block1.S_SELECTED --> class="activetab"<!-- ENDIF -->><a href="{l_block1.U_TITLE}"><span>{l_block1.L_TITLE}</span></a></li> + <!-- END l_block1 --> + </ul> +</div> + +<div class="panel bg3"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div style="width: 100%;"> + + <div id="cp-menu"> + <div id="navigation"> + <ul> + <!-- BEGIN l_block1 --> + <!-- IF l_block1.S_SELECTED --> + <!-- BEGIN l_block2 --> + <!-- IF l_block1.l_block2.S_SELECTED --> + <li id="active-subsection"><a href="{l_block1.l_block2.U_TITLE}"><span>{l_block1.l_block2.L_TITLE}<!-- IF l_block1.l_block2.ADD_ITEM --> ({l_block1.l_block2.ADD_ITEM})<!-- ENDIF --></span></a></li> + <!-- ELSE --> + <li><a href="{l_block1.l_block2.U_TITLE}"><span>{l_block1.l_block2.L_TITLE}<!-- IF l_block1.l_block2.ADD_ITEM --> ({l_block1.l_block2.ADD_ITEM})<!-- ENDIF --></span></a></li> + <!-- ENDIF --> + <!-- END l_block2 --> + <!-- ENDIF --> + <!-- END l_block1 --> + </ul> + </div> + </div> + + <div id="cp-main" class="mcp-main"> + <!-- IF MESSAGE --> + <div class="content"> + <h2>{L_MESSAGE}</h2> + <p class="error">{MESSAGE}</p> + <p><!-- BEGIN return_links -->{return_links.MESSAGE_LINK}<br /><br /><!-- END return_links --></p> + </div> + <!-- ENDIF --> + + <!-- IF CONFIRM_MESSAGE --> + <form id="confirm" method="post" action="{S_CONFIRM_ACTION}"{S_FORM_ENCTYPE}> + + <div class="content"> + <h2>{L_PLEASE_CONFIRM}</h2> + <p>{CONFIRM_MESSAGE}</p> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input class="button1" type="submit" name="submit" value="{L_YES}" /> + <input class="button2" type="cancel" value="{L_NO}" /> + </fieldset> + </div> + + </form> + <!-- ENDIF --> diff --git a/prosilver/template/mcp_logs.html b/prosilver/template/mcp_logs.html new file mode 100644 index 0000000..494f63c --- /dev/null +++ b/prosilver/template/mcp_logs.html @@ -0,0 +1,90 @@ +<!-- INCLUDE mcp_header.html --> + +<h2>{L_TITLE}</h2> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="linklist"> + <li class="leftside"> + {L_SEARCH_KEYWORDS}: <input type="text" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" /> + </li> + <li class="rightside pagination"> + <!-- IF TOTAL -->{TOTAL} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + + <table cellspacing="1" class="table1"> + <thead> + <tr> + <th>{L_USERNAME}</th> + <th style="text-align: center">{L_IP}</th> + <th style="text-align: center">{L_TIME}</th> + <th>{L_ACTION}</th> + <!-- IF S_CLEAR_ALLOWED --><th>{L_MARK}</th><!-- ENDIF --> + </tr> + </thead> + <tbody> + <!-- IF S_LOGS --> + <!-- BEGIN log --> + <!-- IF log.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF --> + <td>{log.USERNAME}</td> + <td style="text-align: center">{log.IP}</td> + <td style="text-align: center">{log.DATE}</td> + <td>{log.ACTION}<br /> + {log.DATA} + </td> + <!-- IF S_CLEAR_ALLOWED --><td style="width: 5%" align="center"><input type="checkbox" name="mark[]" value="{log.ID}" /></td><!-- ENDIF --> + </tr> + <!-- END log --> + <!-- ELSE --> + <tr> + <td class="bg1" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td> + </tr> + <!-- ENDIF --> + </tbody> + </table> + + <!-- IF .log --> + <fieldset class="display-options"> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> + <label>{S_SELECT_SORT_DIR}</label> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + </fieldset> + + <hr /> + + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL -->{TOTAL} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + {S_FORM_TOKEN} + <span class="corners-bottom"><span></span></span></div> + </div> + + <!-- IF S_CLEAR_ALLOWED --> + <fieldset class="display-actions"> + <input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" /> + <input class="button1" type="submit" value="{L_DELETE_MARKED}" name="action[del_marked]" /> + + <div><a href="#" onclick="marklist('mcp', 'mark', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'mark', false); return false;">{L_UNMARK_ALL}</a></div> + </fieldset> + <!-- ENDIF --> + <!-- ELSE --> + {S_FORM_TOKEN} + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> +</form> + +<br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_message.html b/prosilver/template/mcp_message.html new file mode 100644 index 0000000..1fde48b --- /dev/null +++ b/prosilver/template/mcp_message.html @@ -0,0 +1,8 @@ +<!-- INCLUDE mcp_header.html --> + +<div class="content"> + <h2>{MESSAGE_TITLE}</h2> + <p>{MESSAGE_TEXT}</p> +</div> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_move.html b/prosilver/template/mcp_move.html new file mode 100644 index 0000000..804d76b --- /dev/null +++ b/prosilver/template/mcp_move.html @@ -0,0 +1,36 @@ +<!-- INCLUDE overall_header.html --> + +<form id="confirm" action="{S_CONFIRM_ACTION}" method="post"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h2>{MESSAGE_TITLE}</h2> + <!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF --> + + <fieldset> + <dl class="fields2"> + <dt><label>{L_SELECT_DESTINATION_FORUM}:</label></dt> + <dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd> + <!-- IF S_CAN_LEAVE_SHADOW --><dd><label for="move_leave_shadow"><input type="checkbox" name="move_leave_shadow" id="move_leave_shadow" checked="checked" />{L_LEAVE_SHADOW}</label></dd><!-- ENDIF --> + </dl> + <dl class="fields2"> + <dt> </dt> + <dd><strong>{MESSAGE_TEXT}</strong></dd> + </dl> + </fieldset> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="button1" /> + <input type="submit" name="cancel" value="{L_NO}" class="button2" /> + {S_FORM_TOKEN} + </fieldset> + + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_notes_front.html b/prosilver/template/mcp_notes_front.html new file mode 100644 index 0000000..045a761 --- /dev/null +++ b/prosilver/template/mcp_notes_front.html @@ -0,0 +1,28 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset> + <dl> + <dt><label for="username">{L_SELECT_USER}:</label></dt> + <dd><input name="username" id="username" type="text" class="inputbox" /></dd> + <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submituser" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_notes_user.html b/prosilver/template/mcp_notes_user.html new file mode 100644 index 0000000..c7c089e --- /dev/null +++ b/prosilver/template/mcp_notes_user.html @@ -0,0 +1,125 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{USERNAME_FULL}</h3> + + <div> + <div class="column1"> + <!-- IF AVATAR_IMG --><div>{AVATAR_IMG}</div><!-- ENDIF --> + </div> + + <div class="column2"> + <dl class="details"> + <!-- IF RANK_TITLE --><dt>{L_RANK}:</dt><dd>{RANK_TITLE}</dd><!-- ENDIF --> + <!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt><dd>{RANK_IMG}</dd><!-- ENDIF --> + <dt>{L_JOINED}:</dt><dd>{JOINED}</dd> + <dt>{L_TOTAL_POSTS}:</dt><dd>{POSTS}</dd> + <dt>{L_WARNINGS}: </dt><dd>{WARNINGS}</dd> + </dl> + </div> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_ADD_FEEDBACK}</h3> + <p>{L_ADD_FEEDBACK_EXPLAIN}</p> + + <fieldset> + <textarea name="usernote" id="usernote" class="inputbox" cols="40" rows="3"></textarea> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="action[add_feedback]" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="linklist"> + <li class="leftside"> + {L_SEARCH_KEYWORDS}: <input type="text" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" /> + </li> + <li class="rightside pagination"> + <!-- IF TOTAL_REPORTS -->{TOTAL_REPORTS} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + + <table cellspacing="1" class="table1"> + <thead> + <tr> + <th>{L_REPORT_BY}</th> + <th style="text-align: center">{L_IP}</th> + <th style="text-align: center">{L_TIME}</th> + <th>{L_ACTION_NOTE}</th> + <!-- IF S_CLEAR_ALLOWED --><th>{L_MARK}</th><!-- ENDIF --> + </tr> + </thead> + <tbody> + <!-- BEGIN usernotes --> + <!-- IF usernotes.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF --> + <td>{usernotes.REPORT_BY}</td> + <td style="text-align: center">{usernotes.IP}</td> + <td style="text-align: center">{usernotes.REPORT_AT}</td> + <td>{usernotes.ACTION}</td> + + <!-- IF S_CLEAR_ALLOWED --><td width="5%" align="center"><input type="checkbox" name="marknote[]" id="note-{usernotes.ID}" value="{usernotes.ID}" /></td><!-- ENDIF --> + </tr> + <!-- BEGINELSE --> + <tr> + <td class="bg1" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td> + </tr> + <!-- END usernames --> + </tbody> + </table> + + <hr /> + + <fieldset class="display-options"> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <label>{L_DISPLAY_LOG}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + </fieldset> + + <hr /> + + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_REPORTS -->{TOTAL_REPORTS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_CLEAR_ALLOWED --> +<fieldset class="display-actions"> + <input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" /> + <input class="button1" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" /> +</fieldset> + +<fieldset class="display-actions"> + <div><a href="#" onclick="marklist('mcp', 'marknote', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('mcp', 'marknote', false); return false;">{L_UNMARK_ALL}</a></div> +</fieldset> +<!-- ENDIF --> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_post.html b/prosilver/template/mcp_post.html new file mode 100644 index 0000000..9d4997e --- /dev/null +++ b/prosilver/template/mcp_post.html @@ -0,0 +1,299 @@ +<!-- INCLUDE mcp_header.html --> + +<!-- IF S_MCP_REPORT --> + <!-- IF S_PM --> + <h2>{L_PM_REPORT_DETAILS}</h2> + <!-- ELSE --> + <h2>{L_REPORT_DETAILS}</h2> + <!-- ENDIF --> + + <div id="report" class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="postbody"> + <h3>{L_REPORT_REASON}: {REPORT_REASON_TITLE}</h3> + <p class="author">{L_REPORTED} {L_POST_BY_AUTHOR} {REPORTER_FULL} « {REPORT_DATE}</p> + <!-- IF not S_POST_REPORTED --> + <p class="rules">{L_REPORT_CLOSED}</p> + <!-- ENDIF --> + <div class="content"> + <!-- IF REPORT_TEXT --> + {REPORT_TEXT} + <!-- ELSE --> + {REPORT_REASON_DESCRIPTION} + <!-- ENDIF --> + </div> + </div> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <form method="post" id="mcp_report" action="{S_CLOSE_ACTION}"> + + <fieldset class="submit-buttons"> + <!-- IF S_POST_REPORTED --> + <input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /> + <!-- ENDIF --> + <input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" /> + <input type="hidden" name="report_id_list[]" value="{REPORT_ID}" /> + {S_FORM_TOKEN} + </fieldset> + </form> + +<!-- ELSE --> + <h2>{L_POST_DETAILS}</h2> +<!-- ENDIF --> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="postbody"> + <!-- IF U_EDIT --> + <ul class="profile-icons"> + <li class="edit-icon"><a href="{U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li> + </ul> + <!-- ENDIF --> + + <span class="right-box" id="expand"><a href="#post_details" onclick="viewableArea(getElementById('post_details'), true); var rev_text = getElementById('expand').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'}; return false;">{L_EXPAND_VIEW}</a></span> + + <h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3> + <!-- IF S_PM --> + <p class="author"> + <strong>{L_SENT_AT}:</strong> {POST_DATE} + <br /><strong>{L_PM_FROM}:</strong> {POST_AUTHOR_FULL} + <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}:</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF --> + <!-- IF S_BCC_RECIPIENT --><br /><strong>{L_BCC}:</strong> <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF --> + </p> + <!-- ELSE --> + <p class="author">{MINI_POST_IMG} {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} » {POST_DATE}</p> + <!-- ENDIF --> + + <!-- IF S_POST_UNAPPROVED --> + <form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}"> + + <p class="rules"> + <input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> + <input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" /> + <input type="hidden" name="post_id_list[]" value="{POST_ID}" /> + {S_FORM_TOKEN} + </p> + </form> + <!-- ENDIF --> + + <!-- IF S_MESSAGE_REPORTED --> + <p class="rules"> + {REPORTED_IMG} <a href="{U_MCP_REPORT}"><strong>{L_MESSAGE_REPORTED}</strong></a> + </p> + <!-- ENDIF --> + + <div class="content" id="post_details"> + {POST_PREVIEW} + </div> + + <!-- IF S_HAS_ATTACHMENTS --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + <!-- IF SIGNATURE --> + <div id="sig{POST_ID}" class="signature">{SIGNATURE}</div> + <!-- ENDIF --> + + <!-- IF S_MCP_REPORT and S_CAN_VIEWIP --> + <hr /> + <div><!-- IF S_PM -->{L_THIS_PM_IP}<!-- ELSE -->{L_THIS_POST_IP}<!-- ENDIF -->: <!-- IF U_WHOIS --> + <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->) + <!-- ELSE --> + <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF --> + <!-- ENDIF --></div> + <!-- ENDIF --> + + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_MOD_OPTIONS}</h3> + <!-- IF S_CAN_CHGPOSTER --> + <form method="post" id="mcp_chgposter" action="{U_POST_ACTION}"> + + <fieldset> + <dl> + <dt><label>{L_CHANGE_POSTER}:</label></dt> + <!-- IF S_USER_SELECT --><dd><select name="u">{S_USER_SELECT}</select> <input type="submit" class="button2" name="action[chgposter_ip]" value="{L_CONFIRM}" /></dd><!-- ENDIF --> + <dd style="margin-top:3px;"> + <input class="inputbox autowidth" type="text" name="username" value="" /> + <input type="submit" class="button2" name="action[chgposter]" value="{L_CONFIRM}" /> + <br /> + <span>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span> + </dd> + </dl> + {S_FORM_TOKEN} + </fieldset> + </form> + <!-- ENDIF --> + + <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST --> + <form method="post" id="mcp" action="{U_MCP_ACTION}"> + + <fieldset> + <dl> + <dt><label>{L_MOD_OPTIONS}:</label></dt> + <dd><select name="action"> + <!-- IF S_CAN_LOCK_POST --><!-- IF S_POST_LOCKED --><option value="unlock_post">{L_UNLOCK_POST} [{L_UNLOCK_POST_EXPLAIN}]</option><!-- ELSE --><option value="lock_post">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</option><!-- ENDIF --><!-- ENDIF --> + <!-- IF S_CAN_DELETE_POST --><option value="delete_post">{L_DELETE_POST}</option><!-- ENDIF --> + </select> <input class="button2" type="submit" value="{L_SUBMIT}" /> + </dd> + </dl> + {S_FORM_TOKEN} + </fieldset> + </form> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + + +<!-- IF S_MCP_QUEUE or S_MCP_REPORT or RETURN_TOPIC --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p><!-- IF S_MCP_QUEUE -->{RETURN_QUEUE} | {RETURN_TOPIC_SIMPLE} | {RETURN_POST}<!-- ELSEIF S_MCP_REPORT -->{RETURN_REPORTS}<!-- IF not S_PM --> | <a href="{U_VIEW_POST}">{L_VIEW_POST}</a> | <a href="{U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a> | <a href="{U_VIEW_FORUM}">{L_VIEW_FORUM}</a><!-- ENDIF --><!-- ELSE -->{RETURN_TOPIC}<!-- ENDIF --></p> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_MCP_QUEUE --> +<!-- ELSE --> + + <!-- IF S_SHOW_USER_NOTES --> + <div class="panel" id="usernotes"> + <div class="inner"><span class="corners-top"><span></span></span> + + <form method="post" id="mcp_notes" action="{U_POST_ACTION}"> + + <!-- IF S_USER_NOTES --> + <h3>{L_FEEDBACK}</h3> + + <!-- BEGIN usernotes --> + <span class="small"><strong>{L_REPORTED_BY}: {usernotes.REPORT_BY} « {usernotes.REPORT_AT}</strong></span> + <!-- IF S_CLEAR_ALLOWED --><div class="right-box"><input type="checkbox" name="marknote[]" value="{usernotes.ID}" /></div><!-- ENDIF --> + <div class="postbody">{usernotes.ACTION}</div> + + <hr class="dashed" /> + <!-- END usernotes --> + + <!-- IF S_CLEAR_ALLOWED --> + <fieldset class="submit-buttons"> + <input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" /> + <input class="button2" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" /> + </fieldset> + <!-- ENDIF --> + <!-- ENDIF --> + + <h3>{L_ADD_FEEDBACK}</h3> + <p>{L_ADD_FEEDBACK_EXPLAIN}</p> + + <fieldset> + <textarea name="usernote" rows="4" cols="76" class="inputbox"></textarea> + </fieldset> + + <fieldset class="submit-buttons"> + <input class="button1" type="submit" name="action[add_feedback]" value="{L_SUBMIT}" /> + <input class="button2" type="reset" value="{L_RESET}" /> + {S_FORM_TOKEN} + </fieldset> + </form> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF S_SHOW_REPORTS --> + <div class="panel" id="reports"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_MCP_POST_REPORTS}</h3> + + <!-- BEGIN reports --> + <span class="small"><strong>{L_REPORTED_BY}: <!-- IF reports.U_REPORTER --><a href="{reports.U_REPORTER}">{reports.REPORTER}</a><!-- ELSE -->{reports.REPORTER}<!-- ENDIF --> « {reports.REPORT_TIME}</strong></span> + <p><em>{reports.REASON_TITLE}: {reports.REASON_DESC}</em><!-- IF reports.REPORT_TEXT --><br />{reports.REPORT_TEXT}<!-- ENDIF --></p> + <!-- END reports --> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF S_CAN_VIEWIP and not S_MCP_REPORT --> + <div class="panel" id="ip"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_THIS_POST_IP}: <!-- IF U_WHOIS --> + <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->) + <!-- ELSE --> + <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF --> + <!-- ENDIF --></p> + + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name">{L_OTHER_USERS}</th> + <th class="posts">{L_POSTS}</th> + </tr> + </thead> + <tbody> + <!-- BEGIN userrow --> + <tr class="<!-- IF userrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td><!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --></td> + <td class="posts"><a href="{userrow.U_SEARCHPOSTS}" title="{L_SEARCH_POSTS_BY} {userrow.USERNAME}">{userrow.NUM_POSTS}</a></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td colspan="2">{L_NO_MATCHES_FOUND}</td> + </tr> + <!-- END userrow --> + </tbody> + </table> + + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name">{L_IPS_POSTED_FROM}</th> + <th class="posts">{L_POSTS}</th> + </tr> + </thead> + <tbody> + <!-- BEGIN iprow --> + <tr class="<!-- IF iprow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td><!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a> (<a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --></td> + <td class="posts">{iprow.NUM_POSTS}</td> + </tr> + <!-- BEGINELSE --> + <tr> + <td colspan="2">{L_NO_MATCHES_FOUND}</td> + </tr> + <!-- END iprow --> + </tbody> + </table> + + <p><a href="{U_LOOKUP_ALL}#ip">{L_LOOKUP_ALL}</a></p> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + +<!-- ENDIF --> + +<!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_queue.html b/prosilver/template/mcp_queue.html new file mode 100644 index 0000000..57fb149 --- /dev/null +++ b/prosilver/template/mcp_queue.html @@ -0,0 +1,96 @@ +<!-- INCLUDE mcp_header.html --> + +<form id="mcp" method="post" action="{S_MCP_ACTION}"> + +<fieldset class="forum-selection"> + <label for="fo">{L_FORUM}: <select name="f" id="fo">{S_FORUM_OPTIONS}</select></label> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + {S_FORM_TOKEN} +</fieldset> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_EXPLAIN}</p> + + <!-- IF .postrow --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL --> {TOTAL}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt><!-- IF S_TOPICS -->{L_TOPIC}<!-- ELSE -->{L_POST}<!-- ENDIF --></dt> + <dd class="moderation"><span><!-- IF not S_TOPICS -->{L_TOPIC} & <!-- ENDIF -->{L_FORUM}</span></dd> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN postrow --> + + <!-- IF postrow.S_DELETED_TOPIC --> + <li><p class="notopics">{L_DELETED_TOPIC}</p></li> + <!-- ELSE --> + + <li class="row<!-- IF postrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a> <br /> + <span>{L_POSTED} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_TIME}</span> + </dt> + <dd class="moderation"> + <span> + <!-- IF S_TOPICS --><br /><!-- ELSE -->{L_TOPIC}: <a href="{postrow.U_TOPIC}">{postrow.TOPIC_TITLE}</a> <br /><!-- ENDIF --> + {L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a> + </span> + </dd> + + + <dd class="mark"><input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}" /></dd> + </dl> + </li> + <!-- ENDIF --> + <!-- END postrow --> + </ul> + + <fieldset class="display-options"> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> + <!-- IF TOPIC_ID --><label><input type="checkbox" class="radio" name="t" value="{TOPIC_ID}" checked="checked" /> <strong>{L_ONLY_TOPIC}</strong></label><!-- ENDIF --> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + </fieldset> + + <hr /> + + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL -->{TOTAL}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <!-- ELSE --> + <p class="notopics"><strong><!-- IF S_TOPICS -->{L_NO_TOPICS_QUEUE}<!-- ELSE -->{L_UNAPPROVED_POSTS_ZERO_TOTAL}<!-- ENDIF --></strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF .postrow --> + <fieldset class="display-actions"> + <input class="button2" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" /> + <input class="button1" type="submit" name="action[approve]" value="{L_APPROVE}" /> + <div><a href="#" onclick="marklist('mcp', 'post_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'post_id_list', false); return false;">{L_UNMARK_ALL}</a></div> + </fieldset> +<!-- ENDIF --> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_reports.html b/prosilver/template/mcp_reports.html new file mode 100644 index 0000000..eefb24e --- /dev/null +++ b/prosilver/template/mcp_reports.html @@ -0,0 +1,98 @@ +<!-- INCLUDE mcp_header.html --> + +<form id="mcp" method="post" action="{S_MCP_ACTION}"> + +<!-- IF not S_PM --> +<fieldset class="forum-selection"> + <label for="fo">{L_FORUM}: <select name="f" id="fo">{S_FORUM_OPTIONS}</select></label> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + {S_FORM_TOKEN} +</fieldset> +<!-- ENDIF --> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_EXPLAIN}</p> + + <!-- IF .postrow --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL -->{TOTAL_REPORTS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_VIEW_DETAILS}</dt> + <dd class="moderation"><span>{L_REPORTER}<!-- IF not S_PM --> & {L_FORUM}<!-- ENDIF --></span></dd> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN postrow --> + <li class="row<!-- IF postrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <!-- IF S_PM --> + <dt> + <a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.PM_SUBJECT}</a> {postrow.ATTACH_ICON_IMG}<br /> + <span>{L_MESSAGE_BY_AUTHOR} {postrow.PM_AUTHOR_FULL} » {postrow.PM_TIME}</span><br /> + <span>{L_MESSAGE_TO} {postrow.RECIPIENTS}</span> + </dt> + <dd class="moderation"> + <span>{postrow.REPORTER_FULL} « {postrow.REPORT_TIME}</span> + </dd> + <!-- ELSE --> + <dt> + <a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a> {postrow.ATTACH_ICON_IMG}<br /> + <span>{L_POSTED} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_TIME}</span> + </dt> + <dd class="moderation"> + <span>{postrow.REPORTER_FULL} « {postrow.REPORT_TIME}<br /> + <!-- IF postrow.U_VIEWFORUM -->{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF --></span> + </dd> + <!-- ENDIF --> + <dd class="mark"><input type="checkbox" name="report_id_list[]" value="{postrow.REPORT_ID}" /></dd> + </dl> + </li> + <!-- END postrow --> + </ul> + + <fieldset class="display-options"> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> + <!-- IF TOPIC_ID --><label><input type="checkbox" class="radio" name="t" value="{TOPIC_ID}" checked="checked" /> <strong>{L_ONLY_TOPIC}</strong></label><!-- ENDIF --> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + </fieldset> + <hr /> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL -->{TOTAL_REPORTS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + + <!-- ELSE --> + <p><strong>{L_NO_REPORTS}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF .postrow --> + <fieldset class="display-actions"> + <input class="button2" type="submit" value="{L_DELETE_REPORTS}" name="action[delete]" /> + <!-- IF not S_CLOSED --> <input class="button1" type="submit" name="action[close]" value="{L_CLOSE_REPORTS}" /><!-- ENDIF --> + <div><a href="#" onclick="marklist('mcp', 'report_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'report_id_list', false); return false;">{L_UNMARK_ALL}</a></div> + </fieldset> +<!-- ENDIF --> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_topic.html b/prosilver/template/mcp_topic.html new file mode 100644 index 0000000..a4d2a0f --- /dev/null +++ b/prosilver/template/mcp_topic.html @@ -0,0 +1,170 @@ +<!-- INCLUDE mcp_header.html --> + +<h2><a href="{U_VIEW_TOPIC}">{L_TOPIC}: {TOPIC_TITLE}</a></h2> + +<script type="text/javascript"> +// <![CDATA[ +var panels = new Array('display-panel', 'split-panel', 'merge-panel'); + +<!-- IF S_MERGE_VIEW --> + var show_panel = 'merge-panel'; +<!-- ELSEIF S_SPLIT_VIEW --> + var show_panel = 'split-panel'; +<!-- ELSE --> + var show_panel = 'display-panel'; +<!-- ENDIF --> + +onload_functions.push('subPanels()'); + +// ]]> +</script> + +<div id="minitabs"> + <ul> + <li id="display-panel-tab"<!-- IF not S_MERGE_VIEW --> class="activetab"<!-- ENDIF -->> + <span class="corners-top"><span></span></span> + <a href="#minitabs" onclick="subPanels('display-panel'); return false;"><span>{L_DISPLAY_OPTIONS}</span></a> + </li> + <li id="split-panel-tab"> + <span class="corners-top"><span></span></span> + <a href="#minitabs" onclick="subPanels('split-panel'); return false;"><span>{L_SPLIT_TOPIC}</span></a> + </li> + <li id="merge-panel-tab"<!-- IF S_MERGE_VIEW --> class="activetab"<!-- ENDIF -->> + <span class="corners-top"><span></span></span> + <a href="#minitabs" onclick="subPanels('merge-panel'); return false;"><span>{L_MERGE_POSTS}</span></a> + </li> + </ul> +</div> + +<form id="mcp" method="post" action="{S_MCP_ACTION}"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset id="display-panel" class="fields2"> + <dl> + <dt><label for="posts_per_page">{L_POSTS_PER_PAGE}:</label><br /><span>{L_POSTS_PER_PAGE_EXPLAIN}</span></dt> + <dd><input class="inputbox autowidth" type="text" name="posts_per_page" id="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></dd> + </dl> + <dl> + <dt><label>{L_DISPLAY_POSTS}:</label></dt> + <dd>{S_SELECT_SORT_DAYS} <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> <input type="submit" name="sort" value="{L_GO}" class="button2" /></dd> + </dl> + </fieldset> + +<!-- IF S_CAN_SPLIT --> + <fieldset id="split-panel" class="fields2"> + <p>{L_SPLIT_TOPIC_EXPLAIN}</p> + + <!-- IF S_SHOW_TOPIC_ICONS --> + <dl> + <dt><label for="icon">{L_TOPIC_ICON}:</label></dt> + <dd><label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> {L_NO_TOPIC_ICON}</label> + <!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon --></dd> + </dl> + <!-- ENDIF --> + + <dl> + <dt><label for="subject">{L_SPLIT_SUBJECT}:</label></dt> + <dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SPLIT_SUBJECT}" title="{L_SPLIT_SUBJECT}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label>{L_SPLIT_FORUM}:</label></dt> + <dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd> + </dl> + </fieldset> +<!-- ENDIF --> + +<!-- IF S_CAN_MERGE --> + <fieldset id="merge-panel" class="fields2"> + <p>{L_MERGE_TOPIC_EXPLAIN}</p> + <dl> + <dt><label for="to_topic_id">{L_MERGE_TOPIC_ID}:</label></dt> + <dd> + <input class="inputbox autowidth" type="text" size="6" name="to_topic_id" id="to_topic_id" value="{TO_TOPIC_ID}" /> + <a href="{U_SELECT_TOPIC}" >{L_SELECT_TOPIC}</a> + </dd> + <!-- IF TO_TOPIC_INFO --><dd>{TO_TOPIC_INFO}</dd><!-- ENDIF --> + </dl> + </fieldset> +<!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3 id="review"> + <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span> + {L_TOPIC_REVIEW}: {TOPIC_TITLE} + </h3> + + <div id="topicreview"> + <!-- BEGIN postrow --> + <div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="postbody" id="pr{postrow.POST_ID}"> + <ul class="profile-icons"><li class="info-icon"><a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}"><span>{L_POST_DETAILS}</span></a></li><li>{L_SELECT}: <input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></li></ul> + + <h3><a href="{postrow.U_POST_DETAILS}">{postrow.POST_SUBJECT}</a></h3> + <p class="author"><a href="#pr{postrow.POST_ID}">{postrow.MINI_POST_IMG}</a> {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong><!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF --></p> + + <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED --> + <p class="rules"> + <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF --> + <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF --> + </p> + <!-- ENDIF --> + + <div class="content" id="message_{postrow.POST_ID}">{postrow.MESSAGE}</div> + + <!-- IF postrow.S_HAS_ATTACHMENTS --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + </div> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- END postrow --> + </div> + + <hr /> + + <!-- IF PAGINATION or TOTAL_POSTS --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_POSTS --> {TOTAL_POSTS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="display-actions"> + <select name="action"> + <option value="" selected="selected">{L_SELECT_ACTION}</option> + <!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_LOCK --><option value="lock_post">{L_LOCK_POST_POSTS} [ {L_LOCK_POST_EXPLAIN} ]</option><option value="unlock_post">{L_UNLOCK_POST_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF S_MERGE_VIEW --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF S_SPLIT_VIEW --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF --> + </select> + <input class="button1" type="submit" name="mcp_topic_submit" value="{L_SUBMIT}" /> + <div><a href="#" onclick="marklist('mcp', 'post', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'post', false); return false;">{L_UNMARK_ALL}</a></div> +{S_HIDDEN_FIELDS} +{S_FORM_TOKEN} +</fieldset> + +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_viewlogs.html b/prosilver/template/mcp_viewlogs.html new file mode 100644 index 0000000..264152d --- /dev/null +++ b/prosilver/template/mcp_viewlogs.html @@ -0,0 +1,53 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{S_MCP_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="2" border="0"> +<tr> + <th colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" height="28" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th> +</tr> +<tr> + <td colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" class="cat" height="28" align="center"><span class="gensmall">{L_DISPLAY_LOG}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></span></td> +</tr> +<tr> + <th width="15%" height="28" nowrap="nowrap">{L_USERNAME}</th> + <th width="12%" nowrap="nowrap">{L_IP}</th> + <th width="18%" nowrap="nowrap">{L_TIME}</th> + <th width="45%" nowrap="nowrap">{L_ACTION}</th> + <!-- IF not S_TOPIC_ID --><th width="8%" nowrap="nowrap"></th><!-- ENDIF --> +</tr> +<!-- IF S_TOPIC_ID --> + <tr> + <td class="bg3" colspan="5"><span class="gensmall">{L_LOGS_CURRENT_TOPIC} <a href="{U_VIEW_TOPIC}"><strong>{TOPIC_NAME}</strong></a></td> + </tr> +<!-- ENDIF --> + +<!-- BEGIN log --> +<tr> + <td class="bg1" nowrap="nowrap"><span class="gen">{log.USERNAME}</span></td> + <td class="bg1" align="center" nowrap="nowrap"><span class="gen">{log.IP}</span></td> + <td class="bg1" align="center" nowrap="nowrap"><span class="gensmall">{log.TIME}</span></td> + <td class="bg1"><span class="gen">{log.ACTION}</span></td> + <!-- IF not S_TOPIC_ID --> + <td class="bg1" align="center" nowrap="nowrap"><span class="gensmall"><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- IF log.U_VIEWLOGS --> | <!-- ENDIF --><!-- ENDIF --><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF --></span></td> + <!-- ENDIF --> +</tr> +<!-- BEGINELSE --> + <tr> + <td class="bg1" colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td> + </tr> +<!-- END log --> +<div> + {S_FORM_TOKEN} +</div> +</table> +</form> + +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<tr> + <td class="nav" align="left" valign="middle">{PAGE_NUMBER}</td> + <td align="right" valign="top" nowrap="nowrap"><!-- IF PAGINATION --><strong><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a> <!-- ENDIF -->{PAGINATION}<!-- IF NEXT_PAGE --> <a href="{NEXT_PAGE}">{L_NEXT}</a><!-- ENDIF --></strong><!-- ENDIF --></td> +</tr> +</table> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_warn_front.html b/prosilver/template/mcp_warn_front.html new file mode 100644 index 0000000..fc8fa37 --- /dev/null +++ b/prosilver/template/mcp_warn_front.html @@ -0,0 +1,97 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<h2>{L_WARN_USER}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_SELECT_USER}</h3> + + <fieldset> + <dl> + <dt><label for="username">{L_SELECT_USER}:</label></dt> + <dd><input name="username" id="username" type="text" class="inputbox" /></dd> + <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submituser" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_MOST_WARNINGS}</h3> + + <!-- IF .highest --> + <table class="table1" cellspacing="0"> + <thead> + <tr> + <th class="name">{L_USERNAME}</th> + <th class="name">{L_WARNINGS}</th> + <th class="name">{L_LATEST_WARNING_TIME}</th> + <th></th> + </tr> + </thead> + <tbody> + + <!-- BEGIN highest --> + <tr class="<!-- IF highest.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td>{highest.USERNAME_FULL}</td> + <td>{highest.WARNINGS}</td> + <td>{highest.WARNING_TIME}</td> + <td><a href="{highest.U_NOTES}">{L_VIEW_NOTES}</a></td> + </tr> + <!-- END latest --> + </tbody> + </table> + <!-- ELSE --> + <p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_LATEST_WARNINGS}</h3> + + <!-- IF .latest --> + <table class="table1" cellspacing="0"> + <thead> + <tr> + <th class="name">{L_USERNAME}</th> + <th class="name">{L_TIME}</th> + <th class="name">{L_TOTAL_WARNINGS}</th> + <th></th> + </tr> + </thead> + <tbody> + <!-- BEGIN latest --> + <tr class="<!-- IF latest.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td>{latest.USERNAME_FULL}</td> + <td>{latest.WARNING_TIME}</td> + <td>{latest.WARNINGS}</td> + <td><a href="{latest.U_NOTES}">{L_VIEW_NOTES}</a></td> + </tr> + <!-- END latest --> + </tbody> + </table> + <!-- ELSE --> + <p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_warn_list.html b/prosilver/template/mcp_warn_list.html new file mode 100644 index 0000000..3da7c4c --- /dev/null +++ b/prosilver/template/mcp_warn_list.html @@ -0,0 +1,66 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<h2>{L_WARNED_USERS}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_WARNED_USERS_EXPLAIN}</p> + + <!-- IF .user --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_USERS -->{TOTAL_USERS} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + + <table class="table1" cellspacing="0"> + <thead> + <tr> + <th class="name">{L_USERNAME}</th> + <th class="name">{L_WARNINGS}</th> + <th class="name">{L_LATEST_WARNING_TIME}</th> + <th></th> + </tr> + </thead> + <tbody> + + <!-- BEGIN user --> + <tr class="<!-- IF user.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td>{user.USERNAME_FULL}</td> + <td>{user.WARNINGS}</td> + <td>{user.WARNING_TIME}</td> + <td><a href="{user.U_NOTES}">{L_VIEW_NOTES}</a></td> + </tr> + <!-- END user --> + </tbody> + </table> + + <fieldset class="display-options"> + <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> + <input type="submit" name="sort" value="{L_GO}" class="button2" /> + </fieldset> + <hr /> + + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_USERS -->{TOTAL_USERS} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <!-- ELSE --> + <p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + +{S_FORM_TOKEN} +</div> + +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_warn_post.html b/prosilver/template/mcp_warn_post.html new file mode 100644 index 0000000..d09209f --- /dev/null +++ b/prosilver/template/mcp_warn_post.html @@ -0,0 +1,74 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<h2>{L_MCP_WARN_POST}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3><!-- IF USER_COLOR --><span style="color: #{USER_COLOR}">{USERNAME}</span><!-- ELSE -->{USERNAME}<!-- ENDIF --></h3> + + <div> + <div class="column1"> + <!-- IF AVATAR_IMG --><div>{AVATAR_IMG}</div><!-- ENDIF --> + </div> + + <div class="column2"> + <dl class="details"> + <!-- IF RANK_TITLE --><dt>{L_RANK}:</dt><dd>{RANK_TITLE}</dd><!-- ENDIF --> + <!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt><dd>{RANK_IMG}</dd><!-- ENDIF --> + <dt>{L_JOINED}:</dt><dd>{JOINED}</dd> + <dt>{L_TOTAL_POSTS}:</dt><dd>{POSTS}</dd> + <dt>{L_WARNINGS}: </dt><dd>{WARNINGS}</dd> + </dl> + </div> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_POST_DETAILS}</h3> + + <div class="postbody"> + + <div class="content"> + {POST} + </div> + + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_ADD_WARNING}</h3> + <p>{L_ADD_WARNING_EXPLAIN}</p> + + <fieldset> + <textarea name="warning" id="warning" class="inputbox" cols="40" rows="3">{L_WARNING_POST_DEFAULT}</textarea> + <!-- IF S_CAN_NOTIFY --> + <br /><br /> + <dl class="panel"> + <dt> </dt> + <dd><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label></dd> + </dl> + <!-- ENDIF --> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_warn_user.html b/prosilver/template/mcp_warn_user.html new file mode 100644 index 0000000..dfc1673 --- /dev/null +++ b/prosilver/template/mcp_warn_user.html @@ -0,0 +1,58 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" id="mcp" action="{U_POST_ACTION}"> + +<h2>{L_WARN_USER}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{USERNAME_FULL}</h3> + + <div> + <div class="column1"> + <!-- IF AVATAR_IMG --><div>{AVATAR_IMG}</div><!-- ENDIF --> + </div> + + <div class="column2"> + <dl class="details"> + <!-- IF RANK_TITLE --><dt>{L_RANK}:</dt><dd>{RANK_TITLE}</dd><!-- ENDIF --> + <!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt><dd>{RANK_IMG}</dd><!-- ENDIF --> + <dt>{L_JOINED}:</dt><dd>{JOINED}</dd> + <dt>{L_TOTAL_POSTS}:</dt><dd>{POSTS}</dd> + <dt>{L_WARNINGS}: </dt><dd>{WARNINGS}</dd> + </dl> + </div> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_ADD_WARNING}</h3> + <p>{L_ADD_WARNING_EXPLAIN}</p> + + <fieldset> + <textarea name="warning" id="warning" class="inputbox" cols="40" rows="3"></textarea> + <!-- IF S_CAN_NOTIFY --> + <br /><br /> + <dl class="panel"> + <dt> </dt> + <dd><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label></dd> + </dl> + <!-- ENDIF --> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/mcp_whois.html b/prosilver/template/mcp_whois.html new file mode 100644 index 0000000..5872bd0 --- /dev/null +++ b/prosilver/template/mcp_whois.html @@ -0,0 +1,16 @@ +<!-- INCLUDE mcp_header.html --> +<h2>{L_WHOIS}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_RETURN_POST}">{L_RETURN_POST}</a></p> + <div class="postbody"><div class="content"> + <pre>{WHOIS}</pre> + </div></div> + <p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_RETURN_POST}">{L_RETURN_POST}</a></p> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/memberlist_body.html b/prosilver/template/memberlist_body.html new file mode 100644 index 0000000..197cbd4 --- /dev/null +++ b/prosilver/template/memberlist_body.html @@ -0,0 +1,184 @@ +<!-- IF S_IN_SEARCH_POPUP --> + <!-- INCLUDE simple_header.html --> + <!-- INCLUDE memberlist_search.html --> + <form method="post" id="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user); return false"> + +<!-- ELSEIF S_SEARCH_USER --> + <!-- INCLUDE overall_header.html --> + <!-- INCLUDE memberlist_search.html --> + <form method="post" action="{S_MODE_ACTION}"> + +<!-- ELSE --> + <!-- INCLUDE overall_header.html --> + <form method="post" action="{S_MODE_ACTION}"> + +<!-- ENDIF --> + + <!-- IF S_SHOW_GROUP --> + + <h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{GROUP_NAME}</h2> + <p>{GROUP_DESC} {GROUP_TYPE}</p> + <p> + <!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ENDIF --> + <!-- IF RANK_IMG -->{RANK_IMG}<!-- ENDIF --> + <!-- IF GROUP_RANK -->{GROUP_RANK}<!-- ENDIF --> + </p> + + <!-- ELSE --> + <h2 class="solo">{PAGE_TITLE}<!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="linklist"> + <li> + + <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> • <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> • <!-- ENDIF --> + <strong style="font-size: 0.95em;"><a href="{S_MODE_ACTION}&first_char=">{L_ALL}</a> + <a href="{S_MODE_ACTION}&first_char=a#memberlist">A</a> + <a href="{S_MODE_ACTION}&first_char=b#memberlist">B</a> + <a href="{S_MODE_ACTION}&first_char=c#memberlist">C</a> + <a href="{S_MODE_ACTION}&first_char=d#memberlist">D</a> + <a href="{S_MODE_ACTION}&first_char=e#memberlist">E</a> + <a href="{S_MODE_ACTION}&first_char=f#memberlist">F</a> + <a href="{S_MODE_ACTION}&first_char=g#memberlist">G</a> + <a href="{S_MODE_ACTION}&first_char=h#memberlist">H</a> + <a href="{S_MODE_ACTION}&first_char=i#memberlist">I</a> + <a href="{S_MODE_ACTION}&first_char=j#memberlist">J</a> + <a href="{S_MODE_ACTION}&first_char=k#memberlist">K</a> + <a href="{S_MODE_ACTION}&first_char=l#memberlist">L</a> + <a href="{S_MODE_ACTION}&first_char=m#memberlist">M</a> + <a href="{S_MODE_ACTION}&first_char=n#memberlist">N</a> + <a href="{S_MODE_ACTION}&first_char=o#memberlist">O</a> + <a href="{S_MODE_ACTION}&first_char=p#memberlist">P</a> + <a href="{S_MODE_ACTION}&first_char=q#memberlist">Q</a> + <a href="{S_MODE_ACTION}&first_char=r#memberlist">R</a> + <a href="{S_MODE_ACTION}&first_char=s#memberlist">S</a> + <a href="{S_MODE_ACTION}&first_char=t#memberlist">T</a> + <a href="{S_MODE_ACTION}&first_char=u#memberlist">U</a> + <a href="{S_MODE_ACTION}&first_char=v#memberlist">V</a> + <a href="{S_MODE_ACTION}&first_char=w#memberlist">W</a> + <a href="{S_MODE_ACTION}&first_char=x#memberlist">X</a> + <a href="{S_MODE_ACTION}&first_char=y#memberlist">Y</a> + <a href="{S_MODE_ACTION}&first_char=z#memberlist">Z</a> + <a href="{S_MODE_ACTION}&first_char=other">#</a></strong> + </li> + <li class="rightside pagination"> + {TOTAL_USERS} • + <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --> + </li> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + <!-- IF S_LEADERS_SET or not S_SHOW_GROUP or not .memberrow --> + <div class="forumbg forumbg-table"> + <div class="inner"><span class="corners-top"><span></span></span> + + <table class="table1" cellspacing="1" id="memberlist"> + <thead> + <tr> + <th class="name"><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP and .memberrow -->{L_GROUP_LEADER}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th> + <th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th> + <th class="info"><a href="{U_SORT_WEBSITE}#memberlist">{L_WEBSITE}</a>{L_COMMA_SEPARATOR}<a href="{U_SORT_LOCATION}">{L_LOCATION}</a></th> + <th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th> + <!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF --> + </tr> + </thead> + <tbody> + <!-- ENDIF --> + <!-- BEGIN memberrow --> + <!-- IF S_SHOW_GROUP --> + <!-- IF not memberrow.S_GROUP_LEADER and not $S_MEMBER_HEADER --> + <!-- IF S_LEADERS_SET and memberrow.S_FIRST_ROW --> + <tr class="bg1"> + <td colspan="<!-- IF U_SORT_ACTIVE -->5<!-- ELSE -->4<!-- ENDIF -->"> </td> + </tr> + <!-- ENDIF --> +<!-- IF S_LEADERS_SET --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> +<div class="forumbg"> + <div class="inner"><span class="corners-top"><span></span></span> + + <table class="table1" cellspacing="1"> + <thead> + <tr> + <!-- IF not S_LEADERS_SET --> + <th class="name"><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP -->{L_GROUP_MEMBERS}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th> + <th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th> + <th class="info"><a href="{U_SORT_WEBSITE}#memberlist">{L_WEBSITE}</a>{L_COMMA_SEPARATOR}<a href="{U_SORT_LOCATION}">{L_LOCATION}</a></th> + <th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th> + <!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF --> + <!-- ELSEIF S_SHOW_GROUP --> + <th class="name">{L_GROUP_MEMBERS}</th> + <th class="posts"> </th> + <th class="info"> </th> + <th class="joined"> </th> + <!-- IF U_SORT_ACTIVE --><th class="active"> </th><!-- ENDIF --> + <!-- ENDIF --> + </tr> + </thead> + <tbody> + <!-- DEFINE $S_MEMBER_HEADER = 1 --> + <!-- ENDIF --> + <!-- ENDIF --> + + <tr class="<!-- IF memberrow.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td><!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE}</span><!-- ENDIF --><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF -->{memberrow.USERNAME_FULL}<!-- IF S_SELECT_SINGLE --><br />[ <a href="#" onclick="insert_single('{memberrow.A_USERNAME}'); return false;">{L_SELECT}</a> ]<!-- ENDIF --></td> + <td class="posts"><!-- IF memberrow.POSTS and S_DISPLAY_SEARCH --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td> + <td class="info"><!-- IF memberrow.U_WWW or memberrow.LOCATION --><!-- IF memberrow.U_WWW --><div><a href="{memberrow.U_WWW}" title="{L_VISIT_WEBSITE}: {memberrow.U_WWW}">{memberrow.U_SHORT_WWW}</a></div><!-- ENDIF --><!-- IF memberrow.LOCATION --><div>{memberrow.LOCATION}</div><!-- ENDIF --><!-- ELSE --> <!-- ENDIF --></td> + <td>{memberrow.JOINED}</td> + <!-- IF S_VIEWONLINE --><td>{memberrow.VISITED} </td><!-- ENDIF --> + </tr> + <!-- BEGINELSE --> + <tr class="bg1"> + <td colspan="<!-- IF S_VIEWONLINE -->5<!-- ELSE -->4<!-- ENDIF -->">{L_NO_MEMBERS}</td> + </tr> + <!-- END memberrow --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --> +<fieldset class="display-actions"> + <input type="submit" name="submit" value="{L_SELECT_MARKED}" class="button2" /> + <div><a href="#" onclick="marklist('results', 'user', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('results', 'user', false); return false;">{L_UNMARK_ALL}</a></div> +</fieldset> +<!-- ENDIF --> + +<!-- IF S_IN_SEARCH_POPUP --> +</form> +<form method="post" id="sort-results" action="{S_MODE_ACTION}"> +<!-- ENDIF --> + +<!-- IF S_IN_SEARCH_POPUP and not S_SEARCH_USER --> +<fieldset class="display-options"> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <label for="sk">{L_SELECT_SORT_METHOD}: <select name="sk" id="sk">{S_MODE_SELECT}</select></label> + <label for="sd">{L_ORDER} <select name="sd" id="sd">{S_ORDER_SELECT}</select> <input type="submit" name="sort" value="{L_SUBMIT}" class="button2" /></label> +</fieldset> +<!-- ENDIF --> + +</form> + +<hr /> + +<ul class="linklist"> + <li class="rightside pagination">{TOTAL_USERS} • <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li> +</ul> + +<!-- IF S_IN_SEARCH_POPUP --> + <!-- INCLUDE simple_footer.html --> +<!-- ELSE --> + <!-- INCLUDE jumpbox.html --> + <!-- INCLUDE overall_footer.html --> +<!-- ENDIF -->
\ No newline at end of file diff --git a/prosilver/template/memberlist_email.html b/prosilver/template/memberlist_email.html new file mode 100644 index 0000000..e8870d8 --- /dev/null +++ b/prosilver/template/memberlist_email.html @@ -0,0 +1,65 @@ +<!-- INCLUDE overall_header.html --> + +<h2 class="titlespace">{L_SEND_EMAIL_USER} {USERNAME}</h2> + +<form method="post" action="{S_POST_ACTION}" id="post"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <!-- IF ERROR_MESSAGE --><p class="error">{ERROR_MESSAGE}</p><!-- ENDIF --> + <fieldset class="fields2"> + <!-- IF S_SEND_USER --> + <dl> + <dt><label>{L_RECIPIENT}:</label></dt> + <dd><strong>{USERNAME}</strong></dd> + </dl> + <dl> + <dt><label for="subject">{L_SUBJECT}:</label></dt> + <dd><input class="inputbox autowidth" type="text" name="subject" id="subject" size="50" tabindex="1" value="{SUBJECT}" /></dd> + </dl> + <!-- ELSE --> + <dl> + <dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt> + <dd><input class="inputbox autowidth" type="text" name="email" id="email" size="50" maxlength="100" tabindex="2" value="{EMAIL}" /></dd> + </dl> + <dl> + <dt><label for="name">{L_REAL_NAME}:</label></dt> + <dd><input class="inputbox autowidth" type="text" name="name" id="name" size="50" tabindex="3" value="{NAME}" /></dd> + </dl> + <dl> + <dt><label for="lang">{L_DEST_LANG}:</label><br /> + <span>{L_DEST_LANG_EXPLAIN}</span></dt> + <dd><select name="lang">{S_LANG_OPTIONS}</select></dd> + </dl> + <!-- ENDIF --> + <dl> + <dt><label for="message">{L_MESSAGE_BODY}:</label><br /> + <span>{L_EMAIL_BODY_EXPLAIN}</span></dt> + <dd><textarea class="inputbox" name="message" id="message" rows="15" cols="76" tabindex="4">{MESSAGE}</textarea></dd> + </dl> + <dl> + <dt> </dt> + <dd><label for="cc_email"><input type="checkbox" name="cc_email" id="cc_email" value="1" checked="checked" tabindex="5" /> {L_CC_EMAIL}</label></dd> + </dl> + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <div class="content"> + <fieldset class="submit-buttons"> + <input type="submit" tabindex="6" name="submit" class="button1" value="{L_SEND_EMAIL}" /> + </fieldset> + </div> + <span class="corners-bottom"><span></span></span></div> +{S_FORM_TOKEN} +</div> + +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/memberlist_im.html b/prosilver/template/memberlist_im.html new file mode 100644 index 0000000..49de3b2 --- /dev/null +++ b/prosilver/template/memberlist_im.html @@ -0,0 +1,158 @@ +<!-- INCLUDE simple_header.html --> + +<!-- MSNM info from http://www.cdolive.net/ - doesn't seem to work with MSN Messenger --> +<h2 class="solo">{L_SEND_IM}</h2> + +<form method="post" action="{S_IM_ACTION}"> + +<div class="panel bg2"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_SEND_IM_EXPLAIN}</p> + + <fieldset> + <dl class="fields2"> + <dt><label>{L_IM_RECIPIENT}:</label></dt> + <dd><strong>{USERNAME}</strong><!-- IF S_SEND_ICQ or S_SEND_AIM or S_SEND_MSNM or S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --><!-- IF PRESENCE_IMG --> {PRESENCE_IMG}<!-- ENDIF --></dd> + </dl> + + <!-- IF S_SEND_ICQ --> + <dl class="fields2"> + <dt><label for="from">{L_IM_NAME}:</label></dt> + <dd><input class="inputbox autowidth" type="text" name="from" id="from" size="20" /></dd> + </dl> + <dl class="fields2"> + <dt><label for="body">{L_IM_MESSAGE}:</label></dt> + <dd><textarea class="inputbox autowidth" name="body" id="body" rows="5" cols="45"></textarea></dd> + </dl> + <dl class="fields2"> + <dt> </dt> + <dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd> + </dl> + <input type="hidden" name="fromemail" value="{EMAIL}" /> + <input type="hidden" name="subject" value="{SITENAME}" /> + <input type="hidden" name="to" value="{IM_CONTACT}" /> + <!-- ENDIF --> + + <!-- IF S_SEND_AIM --> + <dl class="fields2"> + <dt> </dt> + <dd><a href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a></dd> + <dd><a href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a></dd> + <dd><a href="http://www.aim.com">{L_IM_DOWNLOAD_APP}</a> | <a href="http://www.aim.com/products/express">{L_IM_AIM_EXPRESS}</a></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_SEND_MSNM --> + <dl class="fields2"> + <dt> </dt> + <dd><object classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x-oleobject" id="objMessengerApp" width="0" height="0"></object></dd> + <dd><a href="#" onclick="add_contact('{A_IM_CONTACT}'); return false;">{L_IM_ADD_CONTACT}</a></dd> + <dd><a href="#" onclick="im_contact('{A_IM_CONTACT}'); return false;">{L_IM_SEND_MESSAGE}</a></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_SEND_JABBER --> + <dl class="fields2"> + <dt><label for="message">{L_IM_MESSAGE}:</label></dt> + <dd><textarea class="inputbox autowidth" name="message" id="message" rows="5" cols="45"></textarea></dd> + </dl> + <dl class="fields2"> + <dt> </dt> + <dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_NO_SEND_JABBER --> + <dl class="fields2"> + <dt> </dt> + <dd>{L_IM_NO_JABBER}</dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_SENT_JABBER --> + <dl class="fields2"> + <dt> </dt> + <dd>{L_IM_SENT_JABBER}</dd> + </dl> + <!-- ENDIF --> + {S_FORM_TOKEN} + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a> + +<script type="text/javascript"> +// <![CDATA[ + + /** The following will not work with Windows Vista **/ + + var app = document.getElementById('objMessengerApp'); + + /** + * Check whether the browser supports this and whether MSNM is connected + */ + function msn_supported() + { + // Does the browser support the MSNM object? + if (app.MyStatus) + { + // Is MSNM connected? + if (app.MyStatus == 1) + { + alert('{LA_IM_MSNM_CONNECT}'); + return false; + } + } + else + { + alert('{LA_IM_MSNM_BROWSER}'); + return false; + } + return true; + } + + /** + * Add to your contact list + */ + function add_contact(address) + { + if (msn_supported()) + { + // Could return an error while MSNM is connecting, don't want that + try + { + app.AddContact(0, address); + } + catch (e) + { + return; + } + } +} + +/** +* Write IM to contact +*/ +function im_contact(address) +{ + if (msn_supported()) + { + // Could return an error while MSNM is connecting, don't want that + try + { + app.InstantMessage(address); + } + catch (e) + { + return; + } + } +} +// ]]> +</script> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/memberlist_leaders.html b/prosilver/template/memberlist_leaders.html new file mode 100644 index 0000000..3917498 --- /dev/null +++ b/prosilver/template/memberlist_leaders.html @@ -0,0 +1,76 @@ +<!-- INCLUDE overall_header.html --> + +<h2 class="solo">{PAGE_TITLE}</h2> + +<form method="post" action="{S_MODE_ACTION}"> + +<div class="forumbg"> + <div class="inner"><span class="corners-top"><span></span></span> + + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name"><span class="rank-img">{L_RANK} </span>{L_ADMINISTRATORS}</th> + <th class="info">{L_PRIMARY_GROUP}</th> + <th class="info">{L_FORUMS}</th> + </tr> + </thead> + <tbody> +<!-- BEGIN admin --> + <tr class="<!-- IF admin.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td><!-- IF admin.RANK_IMG --><span class="rank-img">{admin.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{admin.RANK_TITLE}</span><!-- ENDIF -->{admin.USERNAME_FULL}</td> + <td class="info"><!-- IF admin.U_GROUP --> + <a<!-- IF admin.GROUP_COLOR --> style="font-weight: bold; color:#{admin.GROUP_COLOR}"<!-- ENDIF --> href="{admin.U_GROUP}">{admin.GROUP_NAME}</a> + <!-- ELSE --> + {admin.GROUP_NAME} + <!-- ENDIF --></td> + <td class="info">-</td> + </tr> +<!-- BEGINELSE --> + <tr class="bg1"> + <td colspan="3"><strong>{L_NO_ADMINISTRATORS}</strong></td> + </tr> +<!-- END admin --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="forumbg"> + <div class="inner"><span class="corners-top"><span></span></span> + + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name">{L_MODERATORS}</th> + <th class="info"> </th> + <th class="info"> </th> + </tr> + </thead> + <tbody> +<!-- BEGIN mod --> + <tr class="<!-- IF mod.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td><!-- IF mod.RANK_IMG --><span class="rank-img">{mod.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{mod.RANK_TITLE}</span><!-- ENDIF -->{mod.USERNAME_FULL}</td> + <td class="info"><!-- IF mod.U_GROUP --> + <a<!-- IF mod.GROUP_COLOR --> style="font-weight: bold; color:#{mod.GROUP_COLOR}"<!-- ENDIF --> href="{mod.U_GROUP}">{mod.GROUP_NAME}</a> + <!-- ELSE --> + {mod.GROUP_NAME} + <!-- ENDIF --></td> + <td class="info"><!-- IF not mod.FORUMS -->{L_ALL_FORUMS}<!-- ELSE --><select style="width: 100%;">{mod.FORUMS}</select><!-- ENDIF --></td> + </tr> +<!-- BEGINELSE --> + <tr class="bg1"> + <td colspan="3"><strong>{L_NO_MODERATORS}</strong></td> + </tr> +<!-- END mod --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> +</div> + +</form> + +<!-- INCLUDE jumpbox.html --> +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/memberlist_search.html b/prosilver/template/memberlist_search.html new file mode 100644 index 0000000..9df648f --- /dev/null +++ b/prosilver/template/memberlist_search.html @@ -0,0 +1,124 @@ +<!-- IF S_IN_SEARCH_POPUP --> +<!-- You should retain this javascript in your own template! --> +<script type="text/javascript"> +// <![CDATA[ +function insert_user(user) +{ + opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = ( opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value.length && opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.type == "textarea" ) ? opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value + "\n" + user : user; +} + +function insert_marked(users) +{ + if (typeof(users.length) == "undefined") + { + if (users.checked) + { + insert_user(users.value); + } + } + else if (users.length > 0) + { + for (i = 0; i < users.length; i++) + { + if (users[i].checked) + { + insert_user(users[i].value); + } + } + } + + self.close(); +} + +function insert_single(user) +{ + opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = user; + self.close(); +} +// ]]> +</script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script> +<!-- ENDIF --> + +<h2 class="solo">{L_FIND_USERNAME}</h2> + +<form method="post" action="{S_MODE_ACTION}" id="search_memberlist"> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_FIND_USERNAME_EXPLAIN}</p> + + <fieldset class="fields1 column1"> + <dl> + <dt><label for="username">{L_USERNAME}:</label></dt> + <dd><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" /></dd> + </dl> +<!-- IF S_EMAIL_SEARCH_ALLOWED --> + <dl> + <dt><label for="email">{L_EMAIL}:</label></dt> + <dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd> + </dl> +<!-- ENDIF --> + <dl> + <dt><label for="icq">{L_ICQ}:</label></dt> + <dd><input type="text" name="icq" id="icq" value="{ICQ}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="aim">{L_AIM}:</label></dt> + <dd><input type="text" name="aim" id="aim" value="{AIM}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="yahoo">{L_YIM}:</label></dt> + <dd><input type="text" name="yahoo" id="yahoo" value="{YAHOO}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="msn">{L_MSNM}:</label></dt> + <dd><input type="text" name="msn" id="msn" value="{MSNM}" class="inputbox" /></dd> + </dl> + </fieldset> + + <fieldset class="fields1 column2"> + <dl> + <dt><label for="joined">{L_JOINED}:</label></dt> + <dd><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="inputbox medium" type="text" name="joined" id="joined" value="{JOINED}" /></dd> + </dl> +<!-- IF S_VIEWONLINE --> + <dl> + <dt><label for="active">{L_LAST_ACTIVE}:</label></dt> + <dd><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="inputbox medium" type="text" name="active" id="active" value="{ACTIVE}" /></dd> + </dl> +<!-- ENDIF --> + <dl> + <dt><label for="count">{L_POSTS}:</label></dt> + <dd><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="inputbox medium" type="text" name="count" id="count" value="{COUNT}" /></dd> + </dl> +<!-- IF S_IP_SEARCH_ALLOWED --> + <dl> + <dt><label for="ip">{L_POST_IP}:</label></dt> + <dd><input class="inputbox medium" type="text" name="ip" id="ip" value="{IP}" /></dd> + </dl> +<!-- ENDIF --> + <dl> + <dt><label for="search_group_id">{L_GROUP}:</label></dt> + <dd><select name="search_group_id" id="search_group_id">{S_GROUP_SELECT}</select></dd> + </dl> + <dl> + <dt><label for="sk" class="label3">{L_SORT_BY}:</label></dt> + <dd><select name="sk" id="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select></dd> + </dl> + </fieldset> + + <div class="clear"></div> + + <hr /> + + <fieldset class="submit-buttons"> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SEARCH}" class="button1" /> + {S_FORM_TOKEN} + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +</form> diff --git a/prosilver/template/memberlist_view.html b/prosilver/template/memberlist_view.html new file mode 100644 index 0000000..031bfec --- /dev/null +++ b/prosilver/template/memberlist_view.html @@ -0,0 +1,116 @@ +<!-- INCLUDE overall_header.html --> + +<h2>{PAGE_TITLE}</h2> + +<form method="post" action="{S_PROFILE_ACTION}" id="viewprofile"> +<div class="panel bg1<!-- IF S_ONLINE --> online<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF AVATAR_IMG --> + <dl class="left-box"> + <dt>{AVATAR_IMG}</dt> + <!-- IF RANK_TITLE --><dd style="text-align: center;">{RANK_TITLE}</dd><!-- ENDIF --> + <!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF --> + </dl> + <!-- ENDIF --> + + <dl class="left-box details" style="width: 80%;"> + <dt>{L_USERNAME}:</dt> + <dd> + <!-- IF USER_COLOR --><span style="color: {USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{USERNAME}</span> + <!-- IF U_USER_ADMIN --> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]<!-- ENDIF --> + <!-- IF U_USER_BAN --> [ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]<!-- ENDIF --> + <!-- IF U_SWITCH_PERMISSIONS --> [ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]<!-- ENDIF --> + </dd> + <!-- IF not AVATAR_IMG --> + <!-- IF RANK_TITLE --><dt>{L_RANK}:</dt> <dd>{RANK_TITLE}</dd><!-- ENDIF --> + <!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF --> + <!-- ENDIF --> + <!-- IF S_USER_INACTIVE --><dt>{L_USER_IS_INACTIVE}:</dt> <dd>{USER_INACTIVE_REASON}</dd><!-- ENDIF --> + <!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF --> + <!-- IF AGE --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF --> + <!-- IF OCCUPATION --><dt>{L_OCCUPATION}:</dt> <dd>{OCCUPATION}</dd><!-- ENDIF --> + <!-- IF INTERESTS --><dt>{L_INTERESTS}:</dt> <dd>{INTERESTS}</dd><!-- ENDIF --> + <!-- IF S_GROUP_OPTIONS --><dt>{L_USERGROUPS}:</dt> <dd><select name="g">{S_GROUP_OPTIONS}</select> <input type="submit" name="submit" value="{L_GO}" class="button2" /></dd><!-- ENDIF --> + <!-- BEGIN custom_fields --><dt>{custom_fields.PROFILE_FIELD_NAME}:</dt> <dd>{custom_fields.PROFILE_FIELD_VALUE}</dd><!-- END custom_fields --> + <!-- IF S_USER_LOGGED_IN and S_ZEBRA --> + <!-- IF U_REMOVE_FRIEND --> + <dt> </dt> <dd><a href="{U_REMOVE_FRIEND}"><strong>{L_REMOVE_FRIEND}</strong></a></dd> + <!-- ELSEIF U_REMOVE_FOE --> + <dt> </dt> <dd><a href="{U_REMOVE_FOE}"><strong>{L_REMOVE_FOE}</strong></a></dd> + <!-- ELSE --> + <!-- IF U_ADD_FRIEND --> + <dt> </dt> <dd><a href="{U_ADD_FRIEND}"><strong>{L_ADD_FRIEND}</strong></a></dd> + <!-- ENDIF --> + <!-- IF U_ADD_FOE --> + <dt> </dt> <dd><a href="{U_ADD_FOE}"><strong>{L_ADD_FOE}</strong></a></dd> + <!-- ENDIF --> + <!-- ENDIF --> + <!-- ENDIF --> + </dl> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel bg2"> + <div class="inner"><span class="corners-top"><span></span></span> + <div class="column1"> + + <h3>{L_CONTACT_USER} {USERNAME}</h3> + + <dl class="details"> + <!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}:</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {USERNAME}</a></dd><!-- ENDIF --> + <!-- IF U_WWW --><dt>{L_WEBSITE}:</dt> <dd><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}">{U_WWW}</a></dd><!-- ENDIF --> + <!-- IF U_PM --><dt>{L_PM}:</dt> <dd><a href="{U_PM}">{L_SEND_PRIVATE_MESSAGE}</a></dd><!-- ENDIF --> + <!-- IF U_MSN or USER_MSN --><dt>{L_MSNM}:</dt> <dd><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_MSNM_MESSAGE}</a><!-- ELSE -->{USER_MSN}<!-- ENDIF --></dd><!-- ENDIF --> + <!-- IF U_YIM or USER_YIM --><dt>{L_YIM}:</dt> <dd><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;">{L_SEND_YIM_MESSAGE}</a><!-- ELSE -->{USER_YIM}<!-- ENDIF --></dd><!-- ENDIF --> + <!-- IF U_AIM or USER_AIM --><dt>{L_AIM}:</dt> <dd><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_AIM_MESSAGE}</a><!-- ELSE -->{USER_AIM}<!-- ENDIF --></dd><!-- ENDIF --> + <!-- IF U_ICQ or USER_ICQ --><dt>{L_ICQ}:</dt> <dd><!-- IF U_ICQ --><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_ICQ_MESSAGE}</a><!-- ELSE -->{USER_ICQ}<!-- ENDIF --></dd><!-- ENDIF --> + <!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}:</dt> <dd><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}:</dt> <dd>{USER_JABBER}</dd><!-- ENDIF --> + <!-- IF S_PROFILE_FIELD1 --> + <!-- NOTE: Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. --> + <dt>{postrow.PROFILE_FIELD1_NAME}:</dt> <dd>{postrow.PROFILE_FIELD1_VALUE}</dd> + <!-- ENDIF --> + </dl> + </div> + + <div class="column2"> + <h3>{L_USER_FORUM}</h3> + <dl class="details"> + <dt>{L_JOINED}:</dt> <dd>{JOINED}</dd> + <dt>{L_VISITED}:</dt> <dd>{VISITED}</dd> + <!-- IF S_WARNINGS --> + <dt>{L_WARNINGS}: </dt> + <dd><strong>{WARNINGS}</strong><!-- IF U_NOTES or U_WARN --> [ <!-- IF U_NOTES --><a href="{U_NOTES}">{L_VIEW_NOTES}</a><!-- ENDIF --> <!-- IF U_WARN --><!-- IF U_NOTES --> | <!-- ENDIF --><a href="{U_WARN}">{L_WARN_USER}</a><!-- ENDIF --> ]<!-- ENDIF --></dd> + <!-- ENDIF --> + <dt>{L_TOTAL_POSTS}:</dt> + <dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF --> + <!-- IF POSTS_PCT --><br />({POSTS_PCT} / {POSTS_DAY})<!-- ENDIF --> + <!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />(<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>)<!-- ELSEIF POSTS_IN_QUEUE --><br />({L_POSTS_IN_QUEUE})<!-- ENDIF --> + </dd> + <!-- IF S_SHOW_ACTIVITY and POSTS --> + <dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd> + <dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd> + <!-- ENDIF --> + </dl> + </div> + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF SIGNATURE --> +<div class="panel bg1"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_SIGNATURE}</h3> + + <div class="postbody"><div class="signature" style="border-top:none; margin-top: 0;">{SIGNATURE}</div></div> + + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> + +</form> + +<!-- INCLUDE jumpbox.html --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/message_body.html b/prosilver/template/message_body.html new file mode 100644 index 0000000..896f0b8 --- /dev/null +++ b/prosilver/template/message_body.html @@ -0,0 +1,11 @@ +<!-- INCLUDE overall_header.html --> + +<div class="panel" id="message"> + <div class="inner"><span class="corners-top"><span></span></span> + <h2>{MESSAGE_TITLE}</h2> + <p>{MESSAGE_TEXT}</p> + <!-- IF SCRIPT_NAME == "search" and not S_BOARD_DISABLED and not S_NO_SEARCH and L_RETURN_TO_SEARCH_ADV --><p><a href="{U_SEARCH}" class="{S_CONTENT_FLOW_BEGIN}">{L_RETURN_TO_SEARCH_ADV}</a></p><!-- ENDIF --> + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/overall_footer.html b/prosilver/template/overall_footer.html new file mode 100644 index 0000000..b252ff0 --- /dev/null +++ b/prosilver/template/overall_footer.html @@ -0,0 +1,37 @@ + </div> + +<div id="page-footer"> + + <div class="navbar"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="linklist"> + <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li> + <!-- IF not S_IS_BOT --> + <!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF --> + <!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF --> + <!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF --> + <!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF --> + <!-- ENDIF --> + <li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> • <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> • <!-- ENDIF -->{S_TIMEZONE}</li> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Group + <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> + <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> + <!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF --> + </div> +</div> + +</div> + +<div> + <a id="bottom" name="bottom" accesskey="z"></a> + <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/prosilver/template/overall_header.html b/prosilver/template/overall_header.html new file mode 100644 index 0000000..e13c49b --- /dev/null +++ b/prosilver/template/overall_header.html @@ -0,0 +1,180 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> +<head> + +<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> +<meta http-equiv="content-style-type" content="text/css" /> +<meta http-equiv="content-language" content="{S_USER_LANG}" /> +<meta http-equiv="imagetoolbar" content="no" /> +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> +{META} +<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> + +<!-- IF S_ENABLE_FEEDS --> + <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF --> + <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF --> + <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF --> + <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF --> + <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF --> + <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF --> + <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF --> +<!-- ENDIF --> + +<!-- + phpBB style name: prosilver + Based on style: prosilver (this is the default phpBB3 style) + Original author: Tom Beddard ( http://www.subBlue.com/ ) + Modified by: + + NOTE: This page was generated by phpBB, the free open-source bulletin board package. + The phpBB Group is not responsible for the content of this page and forum. For more information + about phpBB please visit http://www.phpbb.com +--> + +<script type="text/javascript"> +// <![CDATA[ + var jump_page = '{LA_JUMP_PAGE}:'; + var on_page = '{ON_PAGE}'; + var per_page = '{PER_PAGE}'; + var base_url = '{A_BASE_URL}'; + var style_cookie = 'phpBBstyle'; + var style_cookie_settings = '{A_COOKIE_SETTINGS}'; + var onload_functions = new Array(); + var onunload_functions = new Array(); + + <!-- IF S_USER_PM_POPUP and S_NEW_PM --> + var url = '{UA_POPUP_PM}'; + window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400'); + <!-- ENDIF --> + + /** + * Find a member + */ + function find_username(url) + { + popup(url, 760, 570, '_usersearch'); + return false; + } + + /** + * New function for handling multiple calls to window.onload and window.unload by pentapenguin + */ + window.onload = function() + { + for (var i = 0; i < onload_functions.length; i++) + { + eval(onload_functions[i]); + } + } + + window.onunload = function() + { + for (var i = 0; i < onunload_functions.length; i++) + { + eval(onunload_functions[i]); + } + } + +// ]]> +</script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script> + +<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" /> +<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" /> + +<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" /> +<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> +<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" /> + +<!-- IF S_CONTENT_DIRECTION eq 'rtl' --> + <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" /> +<!-- ENDIF --> + +</head> + +<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}"> + +<div id="wrap"> + <a id="top" name="top" accesskey="t"></a> + <div id="page-header"> + <div class="headerbar"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div id="site-description"> + <a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a> + <h1>{SITENAME}</h1> + <p>{SITE_DESCRIPTION}</p> + <p class="skiplink"><a href="#start_here">{L_SKIP}</a></p> + </div> + + <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH --> + <div id="search-box"> + <form action="{U_SEARCH}" method="get" id="search"> + <fieldset> + <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> + <input class="button2" value="{L_SEARCH}" type="submit" /><br /> + <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS} + </fieldset> + </form> + </div> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <div class="navbar"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="linklist navlinks"> + <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li> + + <li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li> + + <!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF --> + <!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF --> + <!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF --> + <!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF --> + </ul> + + <!-- IF not S_IS_BOT and S_USER_LOGGED_IN --> + <ul class="linklist leftside"> + <li class="icon-ucp"> + <a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a> + <!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> + <!-- IF S_DISPLAY_SEARCH --> • + <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> + <!-- ENDIF --> + <!-- IF U_RESTORE_PERMISSIONS --> • + <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a> + <!-- ENDIF --> + </li> + </ul> + <!-- ENDIF --> + + <ul class="linklist rightside"> + <li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li> + <!-- IF not S_IS_BOT --> + <!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF --> + <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF --> + <li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li> + <!-- ENDIF --> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> + + </div> + + <a name="start_here"></a> + <div id="page-body"> + <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) --> + <div id="information" class="rules"> + <div class="inner"><span class="corners-top"><span></span></span> + <strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED} + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> diff --git a/prosilver/template/posting_attach_body.html b/prosilver/template/posting_attach_body.html new file mode 100644 index 0000000..d394054 --- /dev/null +++ b/prosilver/template/posting_attach_body.html @@ -0,0 +1,21 @@ +<div class="panel bg3" id="attach-panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_ADD_ATTACHMENT_EXPLAIN}</p> + + <fieldset class="fields2"> + <dl> + <dt><label for="fileupload">{L_FILENAME}:</label></dt> + <dd> + <input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" /> + <input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="upload = true;" /> + </dd> + </dl> + <dl> + <dt><label for="filecomment">{L_FILE_COMMENT}:</label></dt> + <dd><textarea name="filecomment" id="filecomment" rows="1" cols="40" class="inputbox autowidth">{FILE_COMMENT}</textarea></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> diff --git a/prosilver/template/posting_body.html b/prosilver/template/posting_body.html new file mode 100644 index 0000000..73b8270 --- /dev/null +++ b/prosilver/template/posting_body.html @@ -0,0 +1,6 @@ + +<!-- IF S_PRIVMSGS --> + <!-- INCLUDE posting_pm_layout.html --> +<!-- ELSE --> + <!-- INCLUDE posting_layout.html --> +<!-- ENDIF --> diff --git a/prosilver/template/posting_buttons.html b/prosilver/template/posting_buttons.html new file mode 100644 index 0000000..19d55d1 --- /dev/null +++ b/prosilver/template/posting_buttons.html @@ -0,0 +1,108 @@ + +<script type="text/javascript"> +// <![CDATA[ + var form_name = 'postform'; + var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->; + var load_draft = false; + var upload = false; + + // Define the bbCode tags + var bbcode = new Array(); + var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->); + var imageTag = false; + + // Helpline messages + var help_line = { + b: '{LA_BBCODE_B_HELP}', + i: '{LA_BBCODE_I_HELP}', + u: '{LA_BBCODE_U_HELP}', + q: '{LA_BBCODE_Q_HELP}', + c: '{LA_BBCODE_C_HELP}', + l: '{LA_BBCODE_L_HELP}', + o: '{LA_BBCODE_O_HELP}', + p: '{LA_BBCODE_P_HELP}', + w: '{LA_BBCODE_W_HELP}', + a: '{LA_BBCODE_A_HELP}', + s: '{LA_BBCODE_S_HELP}', + f: '{LA_BBCODE_F_HELP}', + e: '{LA_BBCODE_E_HELP}', + d: '{LA_BBCODE_D_HELP}' + <!-- BEGIN custom_tags --> + ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}' + <!-- END custom_tags --> + } + + var panels = new Array('options-panel', 'attach-panel', 'poll-panel'); + var show_panel = 'options-panel'; + + +// ]]> +</script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script> + +<!-- IF S_BBCODE_ALLOWED --> +<div id="colour_palette" style="display: none;"> + <dl style="clear: left;"> + <dt><label>{L_FONT_COLOR}:</label></dt> + <dd> + <script type="text/javascript"> + // <![CDATA[ + function change_palette() + { + dE('colour_palette'); + e = document.getElementById('colour_palette'); + + if (e.style.display == 'block') + { + document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}'; + } + else + { + document.getElementById('bbpalette').value = '{LA_FONT_COLOR}'; + } + } + + colorPalette('h', 15, 10); + // ]]> + </script> + </dd> + </dl> +</div> + +<div id="format-buttons"> + <input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" /> + <input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" /> + <input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" /> + <!-- IF S_BBCODE_QUOTE --> + <input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" /> + <!-- ENDIF --> + <input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" /> + <input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" /> + <input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" /> + <input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" /> + <!-- IF S_BBCODE_IMG --> + <input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" /> + <!-- ENDIF --> + <!-- IF S_LINKS_ALLOWED --> + <input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" /> + <!-- ENDIF --> + <!-- IF S_BBCODE_FLASH --> + <input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" /> + <!-- ENDIF --> + <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}"> + <option value="50">{L_FONT_TINY}</option> + <option value="85">{L_FONT_SMALL}</option> + <option value="100" selected="selected">{L_FONT_NORMAL}</option> + <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 --> + <option value="150">{L_FONT_LARGE}</option> + <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 --> + <option value="200">{L_FONT_HUGE}</option> + <!-- ENDIF --> + <!-- ENDIF --> + </select> + <input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" /> + <!-- BEGIN custom_tags --> + <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" /> + <!-- END custom_tags --> +</div> +<!-- ENDIF --> diff --git a/prosilver/template/posting_editor.html b/prosilver/template/posting_editor.html new file mode 100644 index 0000000..5f7fb84 --- /dev/null +++ b/prosilver/template/posting_editor.html @@ -0,0 +1,266 @@ +<script type="text/javascript"> +// <![CDATA[ + onload_functions.push('apply_onkeypress_event()'); +// ]]> +</script> + +<fieldset class="fields1"> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + + <!-- IF S_PRIVMSGS and not S_SHOW_DRAFTS --> + + <div class="column1"> + <!-- IF S_ALLOW_MASS_PM --> + <!-- IF .to_recipient --> + <dl> + <dt><label>{L_TO}:</label></dt> + <dd> + <!-- BEGIN to_recipient --> + <!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF --> + <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></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="button2" /> <!-- ENDIF --> + <!-- END to_recipient --> + </dd> + </dl> + <!-- ENDIF --> + <!-- IF .bcc_recipient --> + <dl> + <dt><label>{L_BCC}:</label></dt> + <dd> + <!-- BEGIN bcc_recipient --> + <!-- IF not bcc_recipient.S_FIRST_ROW and bcc_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF --> + <!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><strong>{bcc_recipient.NAME}</strong></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="x" class="button2" /> <!-- ENDIF --> + <!-- END bcc_recipient --> + </dd> + </dl> + <!-- ENDIF --> + <!-- IF not S_EDIT_POST --> + <dl class="pmlist"> + <dt><textarea id="username_list" name="username_list" class="inputbox" cols="50" rows="2"></textarea></dt> + <dd><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></span></dd> + <dd><input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd> + <dd><input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" /></dd> + </dl> + <!-- ENDIF --> + <!-- ELSE --> + <dl> + <dt><label for="username_list">{L_TO}:</label><!-- IF not S_EDIT_POST --><br /><span><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false">{L_FIND_USERNAME}</a></span><!-- ENDIF --></dt> + <!-- IF .to_recipient --> + <dd> + <!-- BEGIN to_recipient --> + <!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF --> + <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></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="button2" /> <!-- ENDIF --> + <!-- END to_recipient --> + </dd> + <!-- ENDIF --> + + <!-- IF not S_EDIT_POST --> + <dd><input class="inputbox" type="text" name="username_list" id="username_list" size="20" value="" /> <input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd> + <!-- ENDIF --> + </dl> + <!-- ENDIF --> + + </div> + + <!-- IF S_GROUP_OPTIONS --> + <div class="column2"> + <dl> + <dd><label for="group_list">{L_USERGROUPS}:</label> <select name="group_list[]" id="group_list" multiple="multiple" size="4" class="inputbox">{S_GROUP_OPTIONS}</select></dd> + </dl> + </div> + <!-- ENDIF --> + + <div class="clear"></div> + + <!-- ENDIF --> + + <!-- IF S_DELETE_ALLOWED --> + <dl> + <dt><label for="delete">{L_DELETE_POST}:</label></dt> + <dd><label for="delete"><input type="checkbox" name="delete" id="delete" /> {L_DELETE_POST_WARN}</label></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS --> + <dl> + <dt><label for="icon">{L_ICON}:</label></dt> + <dd> + <label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> <!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></label> + <!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon --> + </dd> + </dl> + <!-- ENDIF --> + + <!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME --> + <dl style="clear: left;"> + <dt><label for="username">{L_USERNAME}:</label></dt> + <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT --> + <dl style="clear: left;"> + <dt><label for="subject">{L_SUBJECT}:</label></dt> + <dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd> + </dl> + <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE --> + <!-- DEFINE $CAPTCHA_TAB_INDEX = 3 --> + <!-- INCLUDE {CAPTCHA_TEMPLATE} --> + <!-- ENDIF --> + <!-- ENDIF --> + + <!-- INCLUDE posting_buttons.html --> + + <div id="smiley-box"> + <!-- IF S_SMILIES_ALLOWED and .smiley --> + <strong>{L_SMILIES}</strong><br /> + <!-- BEGIN smiley --> + <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a> + <!-- END smiley --> + <!-- ENDIF --> + <!-- IF S_SHOW_SMILEY_LINK and S_SMILIES_ALLOWED--> + <br /><a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a> + <!-- ENDIF --> + + <!-- IF BBCODE_STATUS --> + <!-- IF .smiley --><hr /><!-- ENDIF --> + {BBCODE_STATUS}<br /> + <!-- IF S_BBCODE_ALLOWED --> + {IMG_STATUS}<br /> + {FLASH_STATUS}<br /> + {URL_STATUS}<br /> + <!-- ENDIF --> + {SMILIES_STATUS} + <!-- ENDIF --> + <!-- IF S_EDIT_DRAFT || S_DISPLAY_REVIEW --> + <!-- IF S_DISPLAY_REVIEW --><hr /><!-- ENDIF --> + <!-- IF S_EDIT_DRAFT --><strong><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></strong><!-- ENDIF --> + <!-- IF S_DISPLAY_REVIEW --><strong><a href="#review">{L_TOPIC_REVIEW}</a></strong><!-- ENDIF --> + <!-- ENDIF --> + </div> + + <div id="message-box"> + <textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea> + </div> +</fieldset> + +<!-- IF $EXTRA_POSTING_OPTIONS eq 1 --> + + <!-- IF not S_SHOW_DRAFTS --> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF S_HAS_ATTACHMENTS --> + <div class="panel bg2"> + <div class="inner"><span class="corners-top"><span></span></span> + <h3>{L_POSTED_ATTACHMENTS}</h3> + + <fieldset class="fields2"> + + <!-- BEGIN attach_row --> + <dl> + + <dt><label for="comment_list_{attach_row.ASSOC_INDEX}">{L_FILE_COMMENT}:</label></dt> + <dd><textarea name="comment_list[{attach_row.ASSOC_INDEX}]" id="comment_list_{attach_row.ASSOC_INDEX}" rows="1" cols="35" class="inputbox">{attach_row.FILE_COMMENT}</textarea></dd> + <dd><a href="{attach_row.U_VIEW_ATTACHMENT}" class="{S_CONTENT_FLOW_END}">{attach_row.FILENAME}</a></dd> + <dd style="margin-top: 5px;"> + <!-- IF S_INLINE_ATTACHMENT_OPTIONS --><input type="button" value="{L_PLACE_INLINE}" onclick="attach_inline({attach_row.ASSOC_INDEX}, '{attach_row.A_FILENAME}');" class="button2" /> <!-- ENDIF --> + <input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2" /> + </dd> + </dl> + {attach_row.S_HIDDEN} + <!-- IF not attach_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF --> + <!-- END attach_row --> + + </fieldset> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 --> + <div class="panel bg2"> + <div class="inner"><span class="corners-top"><span></span></span> + <fieldset class="submit-buttons"> + {S_HIDDEN_ADDRESS_FIELD} + {S_HIDDEN_FIELDS} + <!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" /> <!-- ENDIF --> + <!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" /> <!-- ENDIF --> + <input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> /> + <input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" /> + + </fieldset> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF not S_PRIVMSGS and not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 --> + <div id="tabs"> + <ul> + <li id="options-panel-tab" class="activetab"><a href="#tabs" onclick="subPanels('options-panel'); return false;"><span>{L_OPTIONS}</span></a></li> + <!-- IF S_SHOW_ATTACH_BOX --><li id="attach-panel-tab"><a href="#tabs" onclick="subPanels('attach-panel'); return false;"><span>{L_ADD_ATTACHMENT}</span></a></li><!-- ENDIF --> + <!-- IF S_SHOW_POLL_BOX || S_POLL_DELETE --><li id="poll-panel-tab"><a href="#tabs" onclick="subPanels('poll-panel'); return false;"><span>{L_ADD_POLL}</span></a></li><!-- ENDIF --> + </ul> + </div> + <!-- ENDIF --> + + <!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 --> + <div class="panel bg3" id="options-panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset class="fields1"> + <!-- IF S_BBCODE_ALLOWED --> + <div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div> + <!-- ENDIF --> + <!-- IF S_SMILIES_ALLOWED --> + <div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div> + <!-- ENDIF --> + <!-- IF S_LINKS_ALLOWED --> + <div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div> + <!-- ENDIF --> + <!-- IF S_SIG_ALLOWED --> + <div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div> + <!-- ENDIF --> + <!-- IF S_NOTIFY_ALLOWED --> + <div><label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label></div> + <!-- ENDIF --> + <!-- IF S_LOCK_TOPIC_ALLOWED --> + <div><label for="lock_topic"><input type="checkbox" name="lock_topic" id="lock_topic"{S_LOCK_TOPIC_CHECKED} /> {L_LOCK_TOPIC}</label></div> + <!-- ENDIF --> + <!-- IF S_LOCK_POST_ALLOWED --> + <div><label for="lock_post"><input type="checkbox" name="lock_post" id="lock_post"{S_LOCK_POST_CHECKED} /> {L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</label></div> + <!-- ENDIF --> + + <!-- IF S_TYPE_TOGGLE or S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY --> + <hr class="dashed" /> + <!-- ENDIF --> + + <!-- IF S_TYPE_TOGGLE --> + <dl> + <dt><label for="topic_type-0"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->:</label></dt> + <dd><!-- BEGIN topic_type --><label for="topic_type-{topic_type.VALUE}"><input type="radio" name="topic_type" id="topic_type-{topic_type.VALUE}" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}</label> <!-- END topic_type --></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY --> + <dl> + <dt><label for="topic_time_limit">{L_STICK_TOPIC_FOR}:</label></dt> + <dd><label for="topic_time_limit"><input type="text" name="topic_time_limit" id="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" class="inputbox autowidth" /> {L_DAYS}</label></dd> + <dd>{L_STICK_TOPIC_FOR_EXPLAIN}</dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_EDIT_REASON --> + <dl> + <dt><label for="edit_reason">{L_EDIT_REASON}:</label></dt> + <dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd> + </dl> + <!-- ENDIF --> + </fieldset> + <!-- ENDIF --> + +<!-- ENDIF -->
\ No newline at end of file diff --git a/prosilver/template/posting_layout.html b/prosilver/template/posting_layout.html new file mode 100644 index 0000000..b81c816 --- /dev/null +++ b/prosilver/template/posting_layout.html @@ -0,0 +1,90 @@ +<!-- INCLUDE overall_header.html --> + +<!-- IF TOPIC_TITLE --> + <h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2> +<!-- ELSE --> + <h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> + <!-- ENDIF --> + +<!-- IF S_FORUM_RULES --> + <div class="rules"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF U_FORUM_RULES --> + <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a> + <!-- ELSE --> + <strong>{L_FORUM_RULES}</strong><br /> + {FORUM_RULES} + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}> + +<!-- IF S_DRAFT_LOADED --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_INFORMATION}</h3> + <p>{L_DRAFT_LOADED}</p> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_SHOW_DRAFTS --><!-- INCLUDE drafts.html --><!-- ENDIF --> + +<!-- IF S_POST_REVIEW --><!-- INCLUDE posting_review.html --><!-- ENDIF --> + +<!-- IF S_UNGLOBALISE --> + <div class="panel bg3"> + <div class="inner"><span class="corners-top"><span></span></span> + <fieldset class="fields1"> + <h2>{L_SELECT_DESTINATION_FORUM}</h2> + <p>{L_UNGLOBALISE_EXPLAIN}</p> + <dl> + <dt><label for="to_forum_id">{L_MOVE}:</label></dt> + <dd><select id="to_forum_id" name="to_forum_id">{S_FORUM_SELECT}</select></dd> + </dl> + + <dl> + <dt> </dt> + <dd><input class="button1" type="submit" name="post" value="{L_CONFIRM}" /> <input class="button2" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF --> + +<div class="panel" id="postingbox"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_POST_A}</h3> + + <!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 --> + <!-- INCLUDE posting_editor.html --> + {S_FORM_TOKEN} + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF --> + +<!-- IF S_SHOW_POLL_BOX or S_POLL_DELETE --><!-- INCLUDE posting_poll_body.html --><!-- ENDIF --> + +<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> + +</form> +<!-- IF not S_PRIVMSGS --> +<script type="text/javascript"> +// <![CDATA[ + subPanels(show_panel); +// ]]> +</script> +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html --> diff --git a/prosilver/template/posting_pm_layout.html b/prosilver/template/posting_pm_layout.html new file mode 100644 index 0000000..48812da --- /dev/null +++ b/prosilver/template/posting_pm_layout.html @@ -0,0 +1,35 @@ +<!-- INCLUDE ucp_header.html --> + +<!-- IF S_DRAFT_LOADED --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_INFORMATION}</h3> + <p>{L_DRAFT_LOADED_PM}</p> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_SHOW_DRAFTS --><!-- INCLUDE drafts.html --><!-- ENDIF --> + +<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF --> + +<h2>{L_TITLE}</h2> + +<div class="panel" id="postingbox"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 --> + <!-- INCLUDE posting_editor.html --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF --> + +<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> + +<!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/posting_poll_body.html b/prosilver/template/posting_poll_body.html new file mode 100644 index 0000000..ba0014c --- /dev/null +++ b/prosilver/template/posting_poll_body.html @@ -0,0 +1,56 @@ +<div class="panel bg3" id="poll-panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF S_SHOW_POLL_BOX --> + <p>{L_ADD_POLL_EXPLAIN}</p> + <!-- ENDIF --> + + <fieldset class="fields2"> + <!-- IF S_SHOW_POLL_BOX --> + <!-- IF S_POLL_DELETE --> + <dl> + <dt><label for="poll_delete">{L_POLL_DELETE}:</label></dt> + <dd><label for="poll_delete"><input type="checkbox" name="poll_delete" id="poll_delete"<!-- IF S_POLL_DELETE_CHECKED --> checked="checked"<!-- ENDIF --> /> </label></dd> + </dl> + <!-- ENDIF --> + <dl> + <dt><label for="poll_title">{L_POLL_QUESTION}:</label></dt> + <dd><input type="text" name="poll_title" id="poll_title" maxlength="255" value="{POLL_TITLE}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="poll_option_text">{L_POLL_OPTIONS}:</label><br /><span>{L_POLL_OPTIONS_EXPLAIN}</span></dt> + <dd><textarea name="poll_option_text" id="poll_option_text" rows="5" cols="35" class="inputbox">{POLL_OPTIONS}</textarea></dd> + </dl> + + <hr class="dashed" /> + + <dl> + <dt><label for="poll_max_options">{L_POLL_MAX_OPTIONS}:</label></dt> + <dd><input type="text" name="poll_max_options" id="poll_max_options" size="3" maxlength="3" value="{POLL_MAX_OPTIONS}" class="inputbox autowidth" /></dd> + <dd>{L_POLL_MAX_OPTIONS_EXPLAIN}</dd> + </dl> + <dl> + <dt><label for="poll_length">{L_POLL_FOR}:</label></dt> + <dd><label for="poll_length"><input type="text" name="poll_length" id="poll_length" size="3" maxlength="3" value="{POLL_LENGTH}" class="inputbox autowidth" /> {L_DAYS}</label></dd> + <dd>{L_POLL_FOR_EXPLAIN}</dd> + </dl> + + <!-- IF S_POLL_VOTE_CHANGE --> + <hr class="dashed" /> + + <dl> + <dt><label for="poll_vote_change">{L_POLL_VOTE_CHANGE}:</label></dt> + <dd><label for="poll_vote_change"><input type="checkbox" id="poll_vote_change" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /> {L_POLL_VOTE_CHANGE_EXPLAIN}</label></dd> + </dl> + <!-- ENDIF --> + + <!-- ELSEIF S_POLL_DELETE --> + <dl class="fields1"> + <dt><label for="poll_delete">{L_POLL_DELETE}:</label></dt> + <dd><label for="poll_delete"><input type="checkbox" name="poll_delete" id="poll_delete"<!-- IF S_POLL_DELETE_CHECKED --> checked="checked"<!-- ENDIF --> /> </label></dd> + </dl> + <!-- ENDIF --> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> diff --git a/prosilver/template/posting_preview.html b/prosilver/template/posting_preview.html new file mode 100644 index 0000000..82227c2 --- /dev/null +++ b/prosilver/template/posting_preview.html @@ -0,0 +1,47 @@ +<div class="post <!-- IF S_PRIVMSGS -->pm<!-- ELSE -->bg2<!-- ENDIF -->" id="preview"> + <div class="inner"><span class="corners-top"><span></span></span> + +<!-- IF S_HAS_POLL_OPTIONS --> + <div class="content"> + <h2>{L_PREVIEW}: {POLL_QUESTION}</h2> + <p class="author"><!-- IF L_POLL_LENGTH -->{L_POLL_LENGTH}<br /><!-- ENDIF -->{L_MAX_VOTES}</p> + + <fieldset class="polls"> + <!-- BEGIN poll_option --> + <dl> + <dt><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label></dt> + <dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd> + </dl> + <!-- END poll_option --> + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="post bg2"> + <div class="inner"><span class="corners-top"><span></span></span> + +<!-- ENDIF --> + + <div class="postbody"> + <h3>{L_PREVIEW}: {PREVIEW_SUBJECT}</h3> + + <div class="content">{PREVIEW_MESSAGE}</div> + + <!-- IF .attachment --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + <!-- IF PREVIEW_SIGNATURE --><div class="signature">{PREVIEW_SIGNATURE}</div><!-- ENDIF --> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<hr /> diff --git a/prosilver/template/posting_review.html b/prosilver/template/posting_review.html new file mode 100644 index 0000000..78b994c --- /dev/null +++ b/prosilver/template/posting_review.html @@ -0,0 +1,35 @@ +<h3>{L_POST_REVIEW}</h3> + +<p>{L_POST_REVIEW_EXPLAIN}</p> + +<!-- BEGIN post_review_row --> +<!-- IF post_review_row.S_IGNORE_POST --> +<div class="post bg3 post-ignore"> + <div class="inner"><span class="corners-top"><span></span></span> + {post_review_row.L_IGNORE_POST} +<!-- ELSE --> +<div class="post <!-- IF post_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF post_review_row.ONLINE_STATUS --> online<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> +<!-- ENDIF --> + + <div class="postbody" id="ppr{post_review_row.POST_ID}"> + <h3><a href="#ppr{post_review_row.POST_ID}">{post_review_row.POST_SUBJECT}</a></h3> + <p class="author"><!-- IF S_IS_BOT -->{post_review_row.MINI_POST_IMG}<!-- ELSE --><a href="{post_review_row.U_MINI_POST}">{post_review_row.MINI_POST_IMG}</a><!-- ENDIF --> {L_POST_BY_AUTHOR}<strong> {post_review_row.POST_AUTHOR_FULL}</strong> » {post_review_row.POST_DATE}</p> + <div class="content">{post_review_row.MESSAGE}</div> + + <!-- IF post_review_row.S_HAS_ATTACHMENTS --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{post_review_row.attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- END post_review_row --> + +<hr />
\ No newline at end of file diff --git a/prosilver/template/posting_smilies.html b/prosilver/template/posting_smilies.html new file mode 100644 index 0000000..86ac24a --- /dev/null +++ b/prosilver/template/posting_smilies.html @@ -0,0 +1,23 @@ +<!-- INCLUDE simple_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + var form_name = 'postform'; + var text_name = 'message'; +// ]]> +</script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script> + +<h2>{L_SMILIES}</h2> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <!-- BEGIN smiley --> + <a href="#" onclick="initInsertions(); insert_text('{smiley.A_SMILEY_CODE}', true, true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a> + <!-- END smiley --> + + <span class="corners-bottom"><span></span></span></div> +</div> +<div>{PAGINATION}</div> +<a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/posting_topic_review.html b/prosilver/template/posting_topic_review.html new file mode 100644 index 0000000..a05f057 --- /dev/null +++ b/prosilver/template/posting_topic_review.html @@ -0,0 +1,59 @@ + +<h3 id="review"> + <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span> + {L_TOPIC_REVIEW}: {TOPIC_TITLE} +</h3> + +<div id="topicreview"> +<script type="text/javascript"> +// <![CDATA[ + bbcodeEnabled = {S_BBCODE_ALLOWED}; +// ]]> +</script> + <!-- BEGIN topic_review_row --> + + <!-- IF topic_review_row.S_IGNORE_POST --> + <div class="post bg3 post-ignore"> + <div class="inner"><span class="corners-top"><span></span></span> + {topic_review_row.L_IGNORE_POST} + <!-- ELSE --> + <div class="post <!-- IF topic_review_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + <!-- ENDIF --> + + <div class="postbody" id="pr{topic_review_row.POST_ID}"> + <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --> + <ul class="profile-icons"> + <li class="quote-icon"><a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}"><span>{L_QUOTE} {topic_review_row.POST_AUTHOR}</span></a></li> + </ul> + <!-- ENDIF --> + <!-- IF topic_review_row.U_MCP_DETAILS --><div class="right-box"><a href="{topic_review_row.U_MCP_DETAILS}">{L_POST_DETAILS}</a></div><!-- ENDIF --> + <h3><a href="#pr{topic_review_row.POST_ID}">{topic_review_row.POST_SUBJECT}</a></h3> + <p class="author"><!-- IF S_IS_BOT -->{topic_review_row.MINI_POST_IMG}<!-- ELSE --><a href="{topic_review_row.U_MINI_POST}">{topic_review_row.MINI_POST_IMG}</a><!-- ENDIF --> {L_POST_BY_AUTHOR} <strong>{topic_review_row.POST_AUTHOR_FULL}</strong> » {topic_review_row.POST_DATE} </p> + <div class="content">{topic_review_row.MESSAGE}</div> + + <!-- IF topic_review_row.S_HAS_ATTACHMENTS --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{topic_review_row.attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --> + <div id="message_{topic_review_row.POST_ID}" style="display: none;">{topic_review_row.DECODED_MESSAGE}</div> + <!-- ENDIF --> + </div> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- END topic_review_row --> +</div> + +<hr /> + +<!-- IF S_MCP_REPORT --> + <p><a href="#report" class="top2">{L_BACK_TO_TOP}</a></p> +<!-- ELSE --> + <p><a href="#postingbox" class="top2">{L_BACK_TO_TOP}</a></p> +<!-- ENDIF -->
\ No newline at end of file diff --git a/prosilver/template/quickreply_editor.html b/prosilver/template/quickreply_editor.html new file mode 100644 index 0000000..ea07c2e --- /dev/null +++ b/prosilver/template/quickreply_editor.html @@ -0,0 +1,79 @@ +<script type="text/javascript"> +// <![CDATA[ + function hide_qr(show) + { + dE('qr_editor_div'); + dE('qr_showeditor_div'); + if (show && document.getElementById('qr_editor_div').style.display != 'none') + { + document.getElementsByName('message')[0].focus(); + } + return true; + } + + + function init_qr() + { + dE('qr_showeditor_div'); + return true; + } + onload_functions.push('init_qr();'); + // ]]> +</script> +<noscript> + <form method="post" action="{U_QR_ACTION}"> + <div class="panel" id="qr_ns_editor_div"> + <div class="inner"><span class="corners-top"><span></span></span> + <h2>{L_QUICKREPLY}</h2> + <fieldset class="fields1"> + <dl style="clear: left;"> + <dt><label for="subject">{L_SUBJECT}:</label></dt> + <dd><input type="text" name="subject" id="subject-ns" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd> + </dl> + <div id="message-box-ns"> + <textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea> + </div> + </fieldset> + <fieldset class="submit-buttons"> + {S_FORM_TOKEN} + {QR_HIDDEN_FIELDS} + <input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" /> + <input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" /> + </fieldset> + <span class="corners-bottom"><span></span></span></div> + </div> + </form> +</noscript> +<form method="post" action="{U_QR_ACTION}"> + <div class="panel" style="display: none" id="qr_editor_div"> + <div class="inner"><span class="corners-top"><span></span></span> + <h2>{L_QUICKREPLY}</h2> + <fieldset class="fields1"> + <dl style="clear: left;"> + <dt><label for="subject">{L_SUBJECT}:</label></dt> + <dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd> + </dl> + <div id="message-box"> + <textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea> + </div> + </fieldset> + <fieldset class="submit-buttons"> + {S_FORM_TOKEN} + {QR_HIDDEN_FIELDS} + <input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" /> + <input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" /> + </fieldset> + <a href="" class="right-box up" onclick="hide_qr(false); return false;" title="{L_COLLAPSE_QR}">{L_COLLAPSE_QR}</a> + <span class="corners-bottom"><span></span></span></div> + </div> + <div class="panel" style="display: none" id="qr_showeditor_div" > + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <fieldset class="submit-buttons"> + <input type="submit" name="show_qr" tabindex="1" class="button2" value="{L_SHOW_QR}" onclick="hide_qr(true);return false;"/> + </fieldset> + </div> + <span class="corners-bottom"><span></span></span></div> + </div> +</form> diff --git a/prosilver/template/report_body.html b/prosilver/template/report_body.html new file mode 100644 index 0000000..b0c6e08 --- /dev/null +++ b/prosilver/template/report_body.html @@ -0,0 +1,51 @@ +<!-- INCLUDE overall_header.html --> + +<h2 class="titlespace"><!-- IF S_REPORT_POST -->{L_REPORT_POST}<!-- ELSE -->{L_REPORT_MESSAGE}<!-- ENDIF --></h2> + +<form method="post" action="{S_REPORT_ACTION}" id="report"> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <p><!-- IF S_REPORT_POST -->{L_REPORT_POST_EXPLAIN}<!-- ELSE -->{L_REPORT_MESSAGE_EXPLAIN}<!-- ENDIF --></p> + + <fieldset> + <dl class="fields2"> + <dt><label for="reason_id">{L_REASON}:</label></dt> + <dd><select name="reason_id" id="reason_id" class="full"><!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --></select></dd> + </dl> + <!-- IF S_CAN_NOTIFY --> + <dl class="fields2"> + <dt><label for="notify1">{L_REPORT_NOTIFY}:</label><br /><span>{L_REPORT_NOTIFY_EXPLAIN}</span></dt> + <dd> + <label for="notify1"><input type="radio" name="notify" id="notify1" value="1" <!-- IF not S_NOTIFY -->checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="notify0"><input type="radio" name="notify" id="notify0" value="0" <!-- IF S_NOTIFY -->checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <!-- ENDIF --> + <dl class="fields2"> + <dt><label for="report_text">{L_MORE_INFO}:</label><br /><span>{L_CAN_LEAVE_BLANK}</span></dt> + <dd><textarea name="report_text" id="report_text" rows="10" cols="76" class="inputbox">{REPORT_TEXT}</textarea></dd> + </dl> + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <fieldset class="submit-buttons"> + <input type="submit" name="submit" class="button1" value="{L_SUBMIT}" /> + <input type="submit" name="cancel" class="button2" value="{L_CANCEL}" /> + {S_FORM_TOKEN} + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/search_body.html b/prosilver/template/search_body.html new file mode 100644 index 0000000..6616b95 --- /dev/null +++ b/prosilver/template/search_body.html @@ -0,0 +1,128 @@ +<!-- INCLUDE overall_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + onload_functions.push('document.getElementById("keywords").focus();'); +// ]]> +</script> + +<h2 class="solo">{L_SEARCH}</h2> + +<form method="get" action="{S_SEARCH_ACTION}"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <h3>{L_SEARCH_QUERY}</h3> + + <fieldset> + <dl> + <dt><label for="keywords">{L_SEARCH_KEYWORDS}:</label><br /><span>{L_SEARCH_KEYWORDS_EXPLAIN}</span></dt> + <dd><input type="text" class="inputbox" name="keywords" id="keywords" size="40" title="{L_SEARCH_KEYWORDS}" /></dd> + <dd><label for="terms1"><input type="radio" name="terms" id="terms1" value="all" checked="checked" /> {L_SEARCH_ALL_TERMS}</label></dd> + <dd><label for="terms2"><input type="radio" name="terms" id="terms2" value="any" /> {L_SEARCH_ANY_TERMS}</label></dd> + </dl> + <dl> + <dt><label for="author">{L_SEARCH_AUTHOR}:</label><br /><span>{L_SEARCH_AUTHOR_EXPLAIN}</span></dt> + <dd><input type="text" class="inputbox" name="author" id="author" size="40" title="{L_SEARCH_AUTHOR}" /></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel bg2"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_SEARCH_OPTIONS}</h3> + + <fieldset> + <dl> + <dt><label for="search_forum">{L_SEARCH_FORUMS}:</label><br /><span>{L_SEARCH_FORUMS_EXPLAIN}</span></dt> + <dd><select name="fid[]" id="search_forum" multiple="multiple" size="8" title="{L_SEARCH_FORUMS}">{S_FORUM_OPTIONS}</select></dd> + </dl> + <dl> + <dt><label for="search_child1">{L_SEARCH_SUBFORUMS}:</label></dt> + <dd> + <label for="search_child1"><input type="radio" name="sc" id="search_child1" value="1" checked="checked" /> {L_YES}</label> + <label for="search_child2"><input type="radio" name="sc" id="search_child2" value="0" /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="sf1">{L_SEARCH_WITHIN}:</label></dt> + <dd><label for="sf1"><input type="radio" name="sf" id="sf1" value="all" checked="checked" /> {L_SEARCH_TITLE_MSG}</label></dd> + <dd><label for="sf2"><input type="radio" name="sf" id="sf2" value="msgonly" /> {L_SEARCH_MSG_ONLY}</label></dd> + <dd><label for="sf3"><input type="radio" name="sf" id="sf3" value="titleonly" /> {L_SEARCH_TITLE_ONLY}</label></dd> + <dd><label for="sf4"><input type="radio" name="sf" id="sf4" value="firstpost" /> {L_SEARCH_FIRST_POST}</label></dd> + </dl> + + <hr class="dashed" /> + + <dl> + <dt><label for="show_results1">{L_DISPLAY_RESULTS}:</label></dt> + <dd> + <label for="show_results1"><input type="radio" name="sr" id="show_results1" value="posts" checked="checked" /> {L_POSTS}</label> + <label for="show_results2"><input type="radio" name="sr" id="show_results2" value="topics" /> {L_TOPICS}</label> + </dd> + </dl> + <dl> + <dt><label for="sd">{L_RESULT_SORT}:</label></dt> + <dd>{S_SELECT_SORT_KEY} + <label for="sa"><input type="radio" name="sd" id="sa" value="a" /> {L_SORT_ASCENDING}</label> + <label for="sd"><input type="radio" name="sd" id="sd" value="d" checked="checked" /> {L_SORT_DESCENDING}</label> + </dd> + </dl> + <dl> + <dt><label>{L_RESULT_DAYS}:</label></dt> + <dd>{S_SELECT_SORT_DAYS}</dd> + </dl> + <dl> + <dt><label>{L_RETURN_FIRST}:</label></dt> + <dd><select name="ch" title="{L_RETURN_FIRST}">{S_CHARACTER_OPTIONS}</select> {L_POST_CHARACTERS}</dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel bg3"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SEARCH}" class="button1" /> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +</form> + +<!-- IF .recentsearch --> +<div class="forumbg"> + <div class="inner"><span class="corners-top"><span></span></span> + + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th colspan="2" class="name">{L_RECENT_SEARCHES}</th> + </tr> + </thead> + <tbody> + <!-- BEGIN recentsearch --> + <tr class="<!-- IF recentsearch.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td><a href="{recentsearch.U_KEYWORDS}">{recentsearch.KEYWORDS}</a></td> + <td class="active"><span> {recentsearch.TIME}</span></td> + </tr> + <!-- BEGINELSE --> + <tr class="bg1"> + <td colspan="2">{L_NO_RECENT_SEARCHES}</td> + </tr> + <!-- END recentsearch --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html --> diff --git a/prosilver/template/search_results.html b/prosilver/template/search_results.html new file mode 100644 index 0000000..f2a4435 --- /dev/null +++ b/prosilver/template/search_results.html @@ -0,0 +1,160 @@ +<!-- INCLUDE overall_header.html --> + +<h2><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --><!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2> +<!-- IF IGNORED_WORDS --> <p>{L_IGNORED_TERMS}: <strong>{IGNORED_WORDS}</strong></p><!-- ENDIF --> + +<!-- IF SEARCH_TOPIC --> + <p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}">{L_RETURN_TO}: {SEARCH_TOPIC}</a></p> +<!-- ELSE --> + <p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">{L_RETURN_TO_SEARCH_ADV}</a></p> +<!-- ENDIF --> + +<!-- IF PAGINATION or SEARCH_MATCHES or PAGE_NUMBER --> + <form method="post" action="{S_SEARCH_ACTION}"> + + <div class="topic-actions"> + + <!-- IF SEARCH_MATCHES --> + <div class="search-box"> + <!-- IF SEARCH_IN_RESULTS --> + <label for="add_keywords">{L_SEARCH_IN_RESULTS}: <input type="text" name="add_keywords" id="add_keywords" value="" class="inputbox narrow" /></label> + <input class="button2" type="submit" name="submit" value="{L_SEARCH}" /> + <!-- ENDIF --> + </div> + <!-- ENDIF --> + + <div class="rightside pagination"> + {SEARCH_MATCHES}<!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --> + </div> + </div> + + </form> +<!-- ENDIF --> + +<!-- IF S_SHOW_TOPICS --> + + <!-- IF .searchresults --> + <div class="forumbg"> + + <div class="inner"><span class="corners-top"><span></span></span> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt>{L_TOPICS}</dt> + <dd class="posts">{L_REPLIES}</dd> + <dd class="views">{L_VIEWS}</dd> + <dd class="lastpost"><span>{L_LAST_POST}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist topics"> + + <!-- BEGIN searchresults --> + <li class="row<!-- IF searchresults.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({searchresults.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt <!-- IF searchresults.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->> + <!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --> + <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a> {searchresults.ATTACH_ICON_IMG} + <!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED --><a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a> <!-- ENDIF --> + <!-- IF searchresults.S_TOPIC_REPORTED --><a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> + <!-- IF searchresults.PAGINATION --><strong class="pagination"><span>{searchresults.PAGINATION}</span></strong><!-- ENDIF --> + {L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR_FULL} » {searchresults.FIRST_POST_TIME} + <!-- IF not searchresults.S_TOPIC_GLOBAL -->{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ELSE --> ({L_GLOBAL})<!-- ENDIF --> + </dt> + <dd class="posts">{searchresults.TOPIC_REPLIES}</dd> + <dd class="views">{searchresults.TOPIC_VIEWS}</dd> + <dd class="lastpost"><span> + {L_POST_BY_AUTHOR} {searchresults.LAST_POST_AUTHOR_FULL} + <!-- IF not S_IS_BOT --><a href="{searchresults.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{searchresults.LAST_POST_TIME}<br /> </span> + </dd> + </dl> + </li> + <!-- END searchresults --> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ELSE --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <strong>{L_NO_SEARCH_RESULTS}</strong> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + +<!-- ELSE --> + + <!-- BEGIN searchresults --> + <div class="search post <!-- IF searchresults.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF searchresults.S_POST_REPORTED --> reported<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF searchresults.S_IGNORE_POST --> + <div class="postbody"> + {searchresults.L_IGNORE_POST} + </div> + <!-- ELSE --> + <div class="postbody"> + <h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3> + <div class="content">{searchresults.MESSAGE}</div> + </div> + + <dl class="postprofile"> + <dt class="author">{L_POST_BY_AUTHOR} {searchresults.POST_AUTHOR_FULL}</dt> + <dd>{searchresults.POST_DATE}</dd> + <dd> </dd> + <!-- IF searchresults.FORUM_TITLE --> + <dd>{L_FORUM}: <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></dd> + <dd>{L_TOPIC}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a></dd> + <!-- ELSE --> + <dd>{L_GLOBAL}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a></dd> + <!-- ENDIF --> + <dd>{L_REPLIES}: <strong>{searchresults.TOPIC_REPLIES}</strong></dd> + <dd>{L_VIEWS}: <strong>{searchresults.TOPIC_VIEWS}</strong></dd> + </dl> + <!-- ENDIF --> + + <!-- IF not searchresults.S_IGNORE_POST --> + <ul class="searchresults"> + <li ><a href="{searchresults.U_VIEW_POST}" class="{S_CONTENT_FLOW_END}">{L_JUMP_TO_POST}</a></li> + </ul> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- BEGINELSE --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <strong>{L_NO_SEARCH_RESULTS}</strong> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- END searchresults --> +<!-- ENDIF --> + +<!-- IF PAGINATION or .searchresults or S_SELECT_SORT_KEY or S_SELECT_SORT_DAYS --> + <form method="post" action="{S_SEARCH_ACTION}"> + + <fieldset class="display-options"> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY --> + <label><!-- IF S_SHOW_TOPICS -->{L_DISPLAY_POSTS}<!-- ELSE -->{L_SORT_BY}</label><label><!-- ENDIF --> {S_SELECT_SORT_DAYS}<!-- IF S_SELECT_SORT_KEY --></label> <label>{S_SELECT_SORT_KEY}</label> + <label>{S_SELECT_SORT_DIR}<!-- ENDIF --> <input type="submit" name="sort" value="{L_GO}" class="button2" /></label> + <!-- ENDIF --> + </fieldset> + + </form> + + <hr /> +<!-- ENDIF --> + +<!-- IF PAGINATION or .searchresults or PAGE_NUMBER --> + <ul class="linklist"> + <li class="rightside pagination"> + {SEARCH_MATCHES}<!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --> + </li> + </ul> +<!-- ENDIF --> + +<!-- INCLUDE jumpbox.html --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/simple_footer.html b/prosilver/template/simple_footer.html new file mode 100644 index 0000000..9795140 --- /dev/null +++ b/prosilver/template/simple_footer.html @@ -0,0 +1,10 @@ + </div> + + <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>® Forum Software © phpBB Group + <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> + <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF --> + </div> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/prosilver/template/simple_header.html b/prosilver/template/simple_header.html new file mode 100644 index 0000000..9cc8060 --- /dev/null +++ b/prosilver/template/simple_header.html @@ -0,0 +1,71 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> +<head> + +<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> +<meta http-equiv="content-style-type" content="text/css" /> +<meta http-equiv="content-language" content="{S_USER_LANG}" /> +<meta http-equiv="imagetoolbar" content="no" /> +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> +{META} +<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> + +<script type="text/javascript"> +// <![CDATA[ + + var jump_page = '{LA_JUMP_PAGE}:'; + var on_page = '{ON_PAGE}'; + var per_page = '{PER_PAGE}'; + var base_url = '{A_BASE_URL}'; + var style_cookie = 'phpBBstyle'; + var onload_functions = new Array(); + var onunload_functions = new Array(); + var style_cookie_settings = '{A_COOKIE_SETTINGS}'; + + /** + * New function for handling multiple calls to window.onload and window.unload by pentapenguin + */ + window.onload = function() + { + for (var i = 0; i < onload_functions.length; i++) + { + eval(onload_functions[i]); + } + } + + window.onunload = function() + { + for (var i = 0; i < onunload_functions.length; i++) + { + eval(onunload_functions[i]); + } + } + +// ]]> +</script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script> +<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script> + +<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" /> +<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" /> + +<link href="{T_THEME_PATH}/normal.css" rel="alternate stylesheet" type="text/css" title="A" /> +<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" /> +<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" /> + +<!-- IF S_CONTENT_DIRECTION eq 'rtl' --> + <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" /> +<!-- ENDIF --> + +<!-- DEFINE $POPUP = 1 --> + +</head> + +<body id="phpbb" class="{S_CONTENT_DIRECTION}"> + +<div id="simple-wrap"> + <a id="top" name="top" accesskey="t"></a> + <div id="page-body">
\ No newline at end of file diff --git a/prosilver/template/styleswitcher.js b/prosilver/template/styleswitcher.js new file mode 100644 index 0000000..bbcac9b --- /dev/null +++ b/prosilver/template/styleswitcher.js @@ -0,0 +1,193 @@ + +function fontsizeup(event) +{ + // Skip tabs; 9 being the ASCII code for a tab + if (event && getKeyCode(event) == 9) + { + return true; + } + + var active = getActiveStyleSheet(); + + switch (active) + { + case 'A--': + setActiveStyleSheet('A-'); + break; + + case 'A-': + setActiveStyleSheet('A'); + break; + + case 'A': + setActiveStyleSheet('A+'); + break; + + case 'A+': + setActiveStyleSheet('A++'); + break; + + case 'A++': + setActiveStyleSheet('A'); + break; + + default: + setActiveStyleSheet('A'); + break; + } + + return false; +} + +function fontsizedown(event) +{ + // Skip tabs + if (event && getKeyCode(event) == 9) + { + return true; + } + + var active = getActiveStyleSheet(); + + switch (active) + { + case 'A++' : + setActiveStyleSheet('A+'); + break; + + case 'A+' : + setActiveStyleSheet('A'); + break; + + case 'A' : + setActiveStyleSheet('A-'); + break; + + case 'A-' : + setActiveStyleSheet('A--'); + break; + + case 'A--' : + break; + + default : + setActiveStyleSheet('A--'); + break; + } + + return false; +} + +function getKeyCode(event) +{ + // IE doesn't fire the onkeypress event for tabs + // Reference: http://www.quirksmode.org/js/keys.html + + var code = (event.keyCode) ? event.keyCode : 0; + + // Probably using FF + if (!code && event.charCode) + { + code = event.charCode; + } + + return code; +} + +function setActiveStyleSheet(title) +{ + var i, a, main; + + for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) + { + if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title')) + { + a.disabled = true; + if (a.getAttribute('title') == title) + { + a.disabled = false; + } + } + } +} + +function getActiveStyleSheet() +{ + var i, a; + + for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) + { + if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title') && !a.disabled) + { + return a.getAttribute('title'); + } + } + + return null; +} + +function getPreferredStyleSheet() +{ + return ('A-'); +} + +function createCookie(name, value, days) +{ + if (days) + { + var date = new Date(); + date.setTime(date.getTime() + (days*24*60*60*1000)); + var expires = '; expires=' + date.toGMTString(); + } + else + { + expires = ''; + } + + document.cookie = name + '=' + value + expires + style_cookie_settings; +} + +function readCookie(name) +{ + var nameEQ = name + '='; + var ca = document.cookie.split(';'); + + for (var i = 0; i < ca.length; i++) + { + var c = ca[i]; + + while (c.charAt(0) == ' ') + { + c = c.substring(1, c.length); + } + + if (c.indexOf(nameEQ) == 0) + { + return c.substring(nameEQ.length, c.length); + } + } + + return null; +} + +function load_cookie() +{ + var cookie = readCookie('style_cookie'); + var title = cookie ? cookie : getPreferredStyleSheet(); + setActiveStyleSheet(title); +} + +function unload_cookie() +{ + var title = getActiveStyleSheet(); + createCookie('style_cookie', title, 365); +} + +onload_functions.push('load_cookie()'); +onunload_functions.push('unload_cookie()'); + +/* +var cookie = readCookie("style"); +var title = cookie ? cookie : getPreferredStyleSheet(); +setActiveStyleSheet(title); +*/ diff --git a/prosilver/template/template.cfg b/prosilver/template/template.cfg new file mode 100644 index 0000000..42383a0 --- /dev/null +++ b/prosilver/template/template.cfg @@ -0,0 +1,25 @@ +# +# phpBB Template Configuration File +# +# @package phpBB3 +# @copyright (c) 2006 phpBB Group +# @license http://opensource.org/licenses/gpl-license.php GNU Public License +# +# +# At the left is the name, please do not change this +# At the right the value is entered +# For on/off options the valid values are on, off, 1, 0, true and false +# +# Values get trimmed, if you want to add a space in front or at the end of +# the value, then enclose the value with single or double quotes. +# Single and double quotes do not need to be escaped. +# +# + +# General Information about this template +name = prosilver +copyright = © phpBB Group, 2007 +version = 3.0.9 + +# Defining a different template bitfield +template_bitfield = lNg= diff --git a/prosilver/template/ucp_agreement.html b/prosilver/template/ucp_agreement.html new file mode 100644 index 0000000..3825abc --- /dev/null +++ b/prosilver/template/ucp_agreement.html @@ -0,0 +1,73 @@ +<!-- INCLUDE overall_header.html --> + +<!-- IF S_SHOW_COPPA or S_REGISTRATION --> + +<!-- IF S_LANG_OPTIONS --> +<script type="text/javascript"> +// <![CDATA[ + /** + * Change language + */ + function change_language(lang_iso) + { + document.forms['register'].change_lang.value = lang_iso; + document.forms['register'].submit(); + } + +// ]]> +</script> + + <form method="post" action="{S_UCP_ACTION}" id="register"> + <p class="rightside"> + <label for="lang">{L_LANGUAGE}:</label><select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select> + {S_HIDDEN_FIELDS} + </p> + </form> + + <div class="clear"></div> + +<!-- ENDIF --> + + <form method="post" action="{S_UCP_ACTION}" id="agreement"> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <div class="content"> + <h2>{SITENAME} - {L_REGISTRATION}</h2> + <p><!-- IF S_SHOW_COPPA -->{L_COPPA_BIRTHDAY}<!-- ELSE -->{L_TERMS_OF_USE}<!-- ENDIF --></p> + </div> + <span class="corners-bottom"><span></span></span></div> + </div> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <fieldset class="submit-buttons"> + <!-- IF S_SHOW_COPPA --> + <strong><a href="{U_COPPA_NO}" class="button1">{L_COPPA_NO}</a></strong> <a href="{U_COPPA_YES}" class="button2">{L_COPPA_YES}</a> + <!-- ELSE --> + <input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" /> + <input type="submit" name="not_agreed" value="{L_NOT_AGREE}" class="button2" /> + <!-- ENDIF --> + {S_HIDDEN_FIELDS} + {S_FORM_TOKEN} + </fieldset> + <span class="corners-bottom"><span></span></span></div> + </div> + </form> + +<!-- ELSEIF S_AGREEMENT --> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <div class="content"> + <h2>{SITENAME} - {AGREEMENT_TITLE}</h2> + <p>{AGREEMENT_TEXT}</p> + <hr class="dashed" /> + <p><a href="{U_BACK}" class="button2">{L_BACK}</a></p> + </div> + <span class="corners-bottom"><span></span></span></div> + </div> + +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html --> diff --git a/prosilver/template/ucp_attachments.html b/prosilver/template/ucp_attachments.html new file mode 100644 index 0000000..8052fdc --- /dev/null +++ b/prosilver/template/ucp_attachments.html @@ -0,0 +1,78 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_ATTACHMENTS_EXPLAIN}</p> + + <!-- IF .attachrow --> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_ATTACHMENTS -->{TOTAL_ATTACHMENTS} {L_TITLE}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + + <ul class="topiclist"> + <li class="header"> + <dl> + <dt style="width: 40%"><a href="{U_SORT_FILENAME}">{L_FILENAME}</a></dt> + <dd class="extra"><a href="{U_SORT_DOWNLOADS}">{L_DOWNLOADS}</a></dd> + <dd class="time"><span><a href="{U_SORT_POST_TIME}">{L_POST_TIME}</a></span></dd> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN attachrow --> + <li class="row<!-- IF attachrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt style="width: 40%"><a href="{attachrow.U_VIEW_ATTACHMENT}" class="topictitle">{attachrow.FILENAME}</a> ({attachrow.SIZE})<br /> + <!-- IF attachrow.S_IN_MESSAGE -->{L_PM}: <!-- ELSE -->{L_TOPIC}: <!-- ENDIF --><a href="{attachrow.U_VIEW_TOPIC}">{attachrow.TOPIC_TITLE}</a></dt> + <dd class="extra">{attachrow.DOWNLOAD_COUNT}</dd> + <dd class="time"><span>{attachrow.POST_TIME}</span></dd> + <dd class="mark"><input type="checkbox" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></dd> + </dl> + </li> + <!-- END attachrow --> + </ul> + + <fieldset class="display-options"> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <label for="sk">{L_SORT_BY}: <select name="sk" id="sk">{S_SORT_OPTIONS}</select></label> + <label><select name="sd" id="sd">{S_ORDER_SELECT}</select></label> + <input class="button2" type="submit" name="sort" value="{L_SORT}" /> + {S_FORM_TOKEN} + </fieldset> + + <hr /> + + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_ATTACHMENTS -->{TOTAL_ATTACHMENTS} {L_TITLE}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> + <!-- ELSE --> + <p><strong>{L_UCP_NO_ATTACHMENTS}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_ATTACHMENT_ROWS --> + <fieldset class="display-actions"> + <input class="button2" type="submit" name="delete" value="{L_DELETE_MARKED}" /> + <div><a href="#" onclick="marklist('ucp', 'attachment', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('ucp', 'attachment', false); return false;">{L_UNMARK_ALL}</a></div> + {S_FORM_TOKEN} + </fieldset> +<!-- ENDIF --> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_avatar_options.html b/prosilver/template/ucp_avatar_options.html new file mode 100644 index 0000000..7012c42 --- /dev/null +++ b/prosilver/template/ucp_avatar_options.html @@ -0,0 +1,70 @@ + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <!-- IF not S_AVATARS_ENABLED --> + <p>{L_AVATAR_FEATURES_DISABLED}</p> + <!-- ENDIF --> + + <fieldset> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></dt> + <dd><!-- IF AVATAR -->{AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --></dd> + <dd><label for="delete"><input type="checkbox" name="delete" id="delete" /> {L_DELETE_AVATAR}</label></dd> + </dl> + + <!-- IF S_UPLOAD_AVATAR_FILE --> + <dl> + <dt><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></dt> + <dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" name="uploadfile" id="uploadfile" class="inputbox autowidth" /></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_UPLOAD_AVATAR_URL --> + <dl> + <dt><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></dt> + <dd><input type="text" name="uploadurl" id="uploadurl" value="{AVATAR_URL}" class="inputbox" /></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_LINK_AVATAR --> + <dl> + <dt><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></dt> + <dd><input type="text" name="remotelink" id="remotelink" value="{AVATAR_REMOTE}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt> + <dd> + <label for="width"><input type="text" name="width" id="width" size="3" value="{AVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL}</label> × + <label for="height"><input type="text" name="height" id="height" size="3" value="{AVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}</label> + </dd> + </dl> + <!-- ENDIF --> + </fieldset> + + <!-- IF S_IN_AVATAR_GALLERY --> + <span class="corners-bottom"><span></span></span></div> + </div> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_AVATAR_GALLERY}</h3> + + <fieldset> + <label for="category">{L_AVATAR_CATEGORY}: <select name="category" id="category">{S_CAT_OPTIONS}</select></label> + <input type="submit" value="{L_GO}" name="display_gallery" class="button2" /> + <input type="submit" name="cancel" value="{L_CANCEL}" class="button2" /> + </fieldset> + + <div id="gallery"> + <!-- BEGIN avatar_row --><!-- BEGIN avatar_column --> + <label for="av-{avatar_row.S_ROW_COUNT}-{avatar_row.avatar_column.S_ROW_COUNT}"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="" /><br /> + <input type="radio" name="avatar_select" id="av-{avatar_row.S_ROW_COUNT}-{avatar_row.avatar_column.S_ROW_COUNT}" value="{avatar_row.avatar_column.AVATAR_FILE}" /></label> + <!-- END avatar_column --><!-- END avatar_row --> + </div> + + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> diff --git a/prosilver/template/ucp_footer.html b/prosilver/template/ucp_footer.html new file mode 100644 index 0000000..4b3b14b --- /dev/null +++ b/prosilver/template/ucp_footer.html @@ -0,0 +1,15 @@ + + </div> + <div class="clear"></div> + + </div> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- IF S_COMPOSE_PM --> +<div>{S_FORM_TOKEN}</div> +</form> +<!-- ENDIF --> + +<!-- INCLUDE jumpbox.html --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_groups_manage.html b/prosilver/template/ucp_groups_manage.html new file mode 100644 index 0000000..bce3143 --- /dev/null +++ b/prosilver/template/ucp_groups_manage.html @@ -0,0 +1,232 @@ +<!-- INCLUDE ucp_header.html --> + +<h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{L_USERGROUPS}<!-- IF GROUP_NAME --> :: {GROUP_NAME}<!-- ENDIF --></h2> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_GROUPS_EXPLAIN}</p> + + <!-- IF S_EDIT --> + <h3>{L_GROUP_DETAILS}</h3> + + <!-- IF S_ERROR --> + <div class="errorbox"> + <h3>{L_WARNING}</h3> + <p>{ERROR_MSG}</p> + </div> + <!-- ENDIF --> + + <fieldset> + <dl> + <dt><label for="group_name">{L_GROUP_NAME}:</label></dt> + <dd><!-- IF S_SPECIAL_GROUP --><strong<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</strong> <input name="group_name" type="hidden" value="{GROUP_INTERNAL_NAME}" /> + <!-- ELSE --><input name="group_name" type="text" id="group_name" value="{GROUP_INTERNAL_NAME}" class="inputbox" /><!-- ENDIF --></dd> + </dl> + <dl> + <dt><label for="group_desc">{L_GROUP_DESC}:</label></dt> + <dd><textarea id="group_desc" name="group_desc" rows="5" cols="45" class="inputbox">{GROUP_DESC}</textarea></dd> + <dd><label for="desc_parse_bbcode"><input type="checkbox" class="radio" name="desc_parse_bbcode" id="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label> <label for="desc_parse_smilies"><input type="checkbox" class="radio" name="desc_parse_smilies" id="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label> <label for="desc_parse_urls"><input type="checkbox" class="radio" name="desc_parse_urls" id="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd> + </dl> + <!-- IF not S_SPECIAL_GROUP --> + <dl> + <dt><label for="group_type1">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></dt> + <dd> + <label for="group_type1"><input type="radio" class="radio" name="group_type" id="group_type1" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}</label> + <label for="group_type2"><input type="radio" class="radio" name="group_type" id="group_type2" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}</label> + <label for="group_type3"><input type="radio" class="radio" name="group_type" id="group_type3" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}</label> + <label for="group_type4"><input type="radio" class="radio" name="group_type" id="group_type4" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</label> + </dd> + </dl> + <!-- ELSE --> + <input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" /> + <!-- ENDIF --> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <h3>{L_GROUP_SETTINGS_SAVE}</h3> + + <fieldset> + <dl> + <dt><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt> + <dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="7" maxlength="7" class="inputbox narrow" /> <span style="background-color: {GROUP_COLOUR};"> </span> [ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a> ]</dd> + </dl> + <dl> + <dt><label for="group_rank">{L_GROUP_RANK}:</label></dt> + <dd><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE ucp_avatar_options.html --> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS} + <!-- IF S_DISPLAY_GALLERY --><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="button2" /> <!-- ENDIF --> + <!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="button2" /> <!-- ELSE --> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> <!-- ENDIF --> + <input type="submit" name="update" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> + +<!-- ELSEIF S_LIST --> + + <!-- IF .leader --> + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name">{L_GROUP_LEAD}</th> + <th class="info">{L_GROUP_DEFAULT}</th> + <th class="posts">{L_POSTS}</th> + <th class="joined">{L_JOINED}</th> + <th class="mark">{L_MARK}</th> + </tr> + </thead> + <tbody> + <!-- BEGIN leader --> + <tr class="<!-- IF leader.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td class="name">{leader.USERNAME_FULL}</td> + <td><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td> + <td class="posts">{leader.USER_POSTS}</td> + <td class="joined">{leader.JOINED}</td> + <td class="mark"> </td> + </tr> + <!-- END leader --> + </tbody> + </table> + <!-- ENDIF --> + + <!-- BEGIN member --> + <!-- IF member.S_PENDING --> + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name">{L_GROUP_PENDING}</th> + <th class="info">{L_GROUP_DEFAULT}</th> + <th class="posts">{L_POSTS}</th> + <th class="joined">{L_JOINED}</th> + <th class="mark">{L_MARK}</th> + </tr> + </thead> + <tbody> + <!-- ELSEIF member.S_APPROVED --> + <!-- IF S_PENDING_SET --> + </tbody> + </table> + <!-- ENDIF --> + <table class="table1" cellspacing="1"> + <thead> + <tr> + <th class="name">{L_GROUP_APPROVED}</th> + <th class="info">{L_GROUP_DEFAULT}</th> + <th class="posts">{L_POSTS}</th> + <th class="joined">{L_JOINED}</th> + <th class="mark">{L_MARK}</th> + </tr> + </thead> + <tbody> + <!-- ELSE --> + <tr class="<!-- IF member.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td class="name">{member.USERNAME_FULL}</td> + <td><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td> + <td class="posts">{member.USER_POSTS}</td> + <td class="joined">{member.JOINED}</td> + <td class="mark"><input type="checkbox" name="mark[]" value="{member.USER_ID}" /></td> + </tr> + <!-- ENDIF --> + <!-- BEGINELSE --> + <tr> + <td class="bg1" colspan="5">{L_GROUPS_NO_MEMBERS}</td> + </tr> + <!-- END member --> + </tbody> + </table> + + <ul class="linklist"> + <li class="leftside pagination"> + <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{S_ON_PAGE}</a> • <span>{PAGINATION}</span><!-- ELSE -->{S_ON_PAGE}<!-- ENDIF --> + </li> + </ul> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="display-actions"> + <select name="action"><option value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select> + <input class="button2" type="submit" name="update" value="{L_SUBMIT}" /> + <div><a href="#" onclick="marklist('ucp', 'mark', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('ucp', 'mark', false); return false;">{L_UNMARK_ALL}</a></div> +</fieldset> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h3>{L_ADD_USERS}</h3> + + <p>{L_ADD_USERS_UCP_EXPLAIN}</p> + + <fieldset> + <dl> + <dt><label for="default0">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></dt> + <dd> + <label for="default1"><input type="radio" name="default" id="default1" value="1" /> {L_YES}</label> + <label for="default0"><input type="radio" name="default" id="default0" value="0" checked="checked" /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt> + <dd><textarea name="usernames" id="usernames" rows="3" cols="30" class="inputbox"></textarea></dd> + <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + <input class="button1" type="submit" name="addusers" value="{L_SUBMIT}" /> + {S_FORM_TOKEN} +</fieldset> + +<!-- ELSE --> + + <!-- IF .leader --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_GROUP_LEADER}</dt> + <dd class="info"><span>{L_OPTIONS}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN leader --> + <li class="row<!-- IF attachrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt><a href="{leader.U_EDIT}" class="topictitle"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a> + <!-- IF leader.GROUP_DESC --><br />{leader.GROUP_DESC}<!-- ENDIF --></dt> + <dd class="option"><span><a href="{leader.U_EDIT}" >{L_EDIT}</a></span></dd> + <dd class="option"><span><a href="{leader.U_LIST}">{L_GROUP_LIST}</a></span></dd> + </dl> + </li> + <!-- END leader --> + </ul> + <!-- ELSE --> + <p><strong>{L_NO_LEADERS}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- ENDIF --> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_groups_membership.html b/prosilver/template/ucp_groups_membership.html new file mode 100644 index 0000000..a147dbf --- /dev/null +++ b/prosilver/template/ucp_groups_membership.html @@ -0,0 +1,164 @@ +<!-- INCLUDE ucp_header.html --> + +<h2>{L_USERGROUPS}</h2> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_GROUPS_EXPLAIN}</p> + <!-- DEFINE $SHOW_BUTTONS = 0 --> + <!-- IF .leader --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_GROUP_LEADER}</dt> + <dd class="mark">{L_SELECT}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN leader --> + <!-- IF not leader.GROUP_SPECIAL --> + <!-- DEFINE $SHOW_BUTTONS = 1 --> + <!-- ENDIF --> + <li class="row<!-- IF leader.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt><!-- IF S_CHANGE_DEFAULT --><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF leader.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{leader.GROUP_ID}" /> <!-- ENDIF --> + <a href="{leader.U_VIEW_GROUP}" class="forumtitle"<!-- IF leader.GROUP_COLOUR --> style="color:#{leader.GROUP_COLOUR}"<!-- ENDIF -->>{leader.GROUP_NAME}</a> + <!-- IF leader.GROUP_DESC --><br />{leader.GROUP_DESC}<!-- ENDIF --> + <!-- IF not leader.GROUP_SPECIAL --><br /><i>{leader.GROUP_STATUS}</i><!-- ENDIF --> + </dt> + <dd class="mark"><input type="radio" name="selected" value="{leader.GROUP_ID}" <!-- IF leader.GROUP_SPECIAL -->disabled="disabled"<!-- ENDIF --> /></dd> + </dl> + </li> + <!-- END leader --> + </ul> + <!-- ENDIF --> + + <!-- IF .member --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_GROUP_MEMBER}</dt> + <dd class="mark">{L_SELECT}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN member --> + <!-- IF not member.GROUP_SPECIAL --> + <!-- DEFINE $SHOW_BUTTONS = 1 --> + <!-- ENDIF --> + <li class="row<!-- IF member.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt><!-- IF S_CHANGE_DEFAULT --><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF member.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{member.GROUP_ID}" /> <!-- ENDIF --> + <a href="{member.U_VIEW_GROUP}" class="forumtitle"<!-- IF member.GROUP_COLOUR --> style="color:#{member.GROUP_COLOUR}"<!-- ENDIF -->>{member.GROUP_NAME}</a> + <!-- IF member.GROUP_DESC --><br />{member.GROUP_DESC}<!-- ENDIF --> + <!-- IF not member.GROUP_SPECIAL --><br /><i>{member.GROUP_STATUS}</i><!-- ENDIF --> + </dt> + <dd class="mark"><input type="radio" name="selected" value="{member.GROUP_ID}" <!-- IF member.GROUP_SPECIAL -->disabled="disabled"<!-- ENDIF --> /></dd> + </dl> + </li> + <!-- END member --> + </ul> + <!-- ENDIF --> + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF .pending --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_GROUP_PENDING}</dt> + <dd class="mark">{L_SELECT}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN pending --> + <!-- IF not pending.GROUP_SPECIAL --> + <!-- DEFINE $SHOW_BUTTONS = 1 --> + <!-- ENDIF --> + <li class="row<!-- IF pending.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{pending.U_VIEW_GROUP}" class="forumtitle"<!-- IF pending.GROUP_COLOUR --> style="color:#{pending.GROUP_COLOUR}"<!-- ENDIF -->>{pending.GROUP_NAME}</a> + <!-- IF pending.GROUP_DESC --><br />{pending.GROUP_DESC}<!-- ENDIF --> + <!-- IF not pending.GROUP_SPECIAL --><br /><i>{pending.GROUP_STATUS}</i><!-- ENDIF --> + </dt> + <dd class="mark"><input type="radio" name="selected" value="{pending.GROUP_ID}" <!-- IF pending.GROUP_SPECIAL -->disabled="diabled"<!-- ENDIF --> /></dd> + </dl> + </li> + <!-- END pending --> + </ul> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> +<!-- IF .nonmember --> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_GROUP_NONMEMBER}</dt> + <dd class="mark">{L_SELECT}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN nonmember --> + <!-- IF nonmember.S_CAN_JOIN --> + <!-- DEFINE $SHOW_BUTTONS = 1 --> + <!-- ENDIF --> + <li class="row<!-- IF nonmember.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a href="{nonmember.U_VIEW_GROUP}" class="forumtitle"<!-- IF nonmember.GROUP_COLOUR --> style="color:#{nonmember.GROUP_COLOUR}"<!-- ENDIF -->>{nonmember.GROUP_NAME}</a> + <!-- IF nonmember.GROUP_DESC --><br />{nonmember.GROUP_DESC}<!-- ENDIF --> + <!-- IF not nonmember.GROUP_SPECIAL --><br /><i>{nonmember.GROUP_STATUS}</i><!-- ENDIF --> + </dt> + <dd class="mark"><input type="radio" name="selected" value="{nonmember.GROUP_ID}" <!-- IF not nonmember.S_CAN_JOIN -->disabled="disabled"<!-- ENDIF --> /></dd> + </dl> + </li> + <!-- END nonmember --> + </ul> + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + + + <!-- IF S_CHANGE_DEFAULT or $SHOW_BUTTONS eq 1 --> + <fieldset> + <!-- IF S_CHANGE_DEFAULT --> + <div class="left-box"> + <input class="button2" type="submit" name="change_default" value="{L_CHANGE_DEFAULT_GROUP}" /> + {S_FORM_TOKEN} + </div> + <!-- ENDIF --> + + <!-- IF $SHOW_BUTTONS eq 1 --> + <div class="right-box"> + <label for="action">{L_SELECT}:</label> + <select name="action" id="action"> + <option value="join">{L_JOIN_SELECTED}</option> + <option value="resign">{L_RESIGN_SELECTED}</option> + <option value="demote">{L_DEMOTE_SELECTED}</option> + </select> + <input class="button2" type="submit" name="submit" value="{L_SUBMIT}" /> + {S_FORM_TOKEN} + </div> + <!-- ENDIF --> + </fieldset> + <!-- ENDIF --> + +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_header.html b/prosilver/template/ucp_header.html new file mode 100644 index 0000000..4d00856 --- /dev/null +++ b/prosilver/template/ucp_header.html @@ -0,0 +1,101 @@ +<!-- INCLUDE overall_header.html --> + +<h2>{L_UCP}</h2> + +<div id="tabs"> + <ul> + <!-- BEGIN t_block1 --> + <li <!-- IF t_block1.S_SELECTED -->class="activetab"<!-- ENDIF -->><a href="{t_block1.U_TITLE}"><span>{t_block1.L_TITLE}</span></a></li> + <!-- END t_block1 --> + </ul> +</div> + +<!-- IF S_COMPOSE_PM --> +<form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}> +<!-- ENDIF --> + +<div class="panel bg3"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div style="width: 100%;"> + + <div id="cp-menu"> + <div id="navigation"> + + <!-- IF S_PRIVMSGS --> + <!-- BEGIN t_block2 --> + <!-- IF S_PRIVMSGS and not t_block2.S_LAST_ROW --> + <ul> + <!-- IF t_block2.S_SELECTED --> + <li id="active-subsection"><a href="{t_block2.U_TITLE}"><span>{t_block2.L_TITLE}</span></a></li> + <!-- ELSE --> + <li><a href="{t_block2.U_TITLE}"><span>{t_block2.L_TITLE}</span></a></li> + <!-- ENDIF --> + </ul> + <!-- ENDIF --> + <!-- END t_block2 --> + + <hr /> + <!-- BEGIN folder --> + <!-- IF folder.S_FIRST_ROW --><ul><!-- ENDIF --> + <!-- IF folder.S_CUR_FOLDER --> + <li id="active-subsection"><a href="{folder.U_FOLDER}"><!-- IF folder.UNREAD_MESSAGES > 0 --><strong>{folder.FOLDER_NAME} ({folder.UNREAD_MESSAGES})</strong><!-- ELSE -->{folder.FOLDER_NAME}<!-- ENDIF --></a></li> + <!-- ELSE --> + <li><a href="{folder.U_FOLDER}"><span><!-- IF folder.UNREAD_MESSAGES > 0 --><strong>{folder.FOLDER_NAME} ({folder.UNREAD_MESSAGES})</strong><!-- ELSE -->{folder.FOLDER_NAME}<!-- ENDIF --></span></a></li> + <!-- ENDIF --> + <!-- IF folder.S_LAST_ROW --></ul><!-- ENDIF --> + <!-- END folder --> + <hr /> + <!-- ENDIF --> + + <ul> + <!-- BEGIN t_block2 --> + <!-- IF (S_PRIVMSGS and t_block2.S_LAST_ROW) or not S_PRIVMSGS --> + <!-- IF t_block2.S_SELECTED --> + <li id="active-subsection"><a href="{t_block2.U_TITLE}"><span>{t_block2.L_TITLE}</span></a></li> + <!-- ELSE --> + <li><a href="{t_block2.U_TITLE}"><span>{t_block2.L_TITLE}</span></a></li> + <!-- ENDIF --> + <!-- ENDIF --> + <!-- END t_block2 --> + </ul> + </div> + + <!-- IF .friends_online or .friends_offline --> + <div class="cp-mini"> + <div class="inner"><span class="corners-top"><span></span></span> + + <dl class="mini"> + <dt>{L_FRIENDS}</dt> + + <!-- BEGIN friends_online --> + <dd class="friend-online" title="{L_FRIENDS_ONLINE}">{friends_online.USERNAME_FULL} <!-- IF S_SHOW_PM_BOX --> <input type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" class="button2" /><!-- ENDIF --><!-- IF friends_online.S_LAST_ROW and .friends_offline --><hr /><!-- ENDIF --></dd> + <!-- END friends_online --> + + <!-- BEGIN friends_offline --> + <dd class="friend-offline" title="{L_FRIENDS_OFFLINE}">{friends_offline.USERNAME_FULL} <!-- IF S_SHOW_PM_BOX --><input type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" class="button2" /><!-- ENDIF --></dd> + <!-- END friends_offline --> + </dl> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF S_SHOW_COLOUR_LEGEND --> + <div class="cp-mini"> + <div class="inner"><span class="corners-top"><span></span></span> + + <dl class="mini"> + <dt>{L_MESSAGE_COLOURS}</dt> + <!-- BEGIN pm_colour_info --> + <dd class="pm-legend<!-- IF pm_colour_info.CLASS --> {pm_colour_info.CLASS}<!-- ENDIF -->"><!-- IF pm_colour_info.IMG -->{pm_colour_info.IMG} <!-- ENDIF -->{pm_colour_info.LANG}</dd> + <!-- END pm_colour_info --> + </dl> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + </div> + + <div id="cp-main" class="ucp-main"> diff --git a/prosilver/template/ucp_main_bookmarks.html b/prosilver/template/ucp_main_bookmarks.html new file mode 100644 index 0000000..9d7c4ce --- /dev/null +++ b/prosilver/template/ucp_main_bookmarks.html @@ -0,0 +1,75 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_BOOKMARKS_EXPLAIN}</p> + +<!-- IF S_NO_DISPLAY_BOOKMARKS --> + <p class="error">{L_BOOKMARKS_DISABLED}</p> +<!-- ELSE --> + +<!-- IF .topicrow --> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt>{L_BOOKMARKS}</dt> + <dd class="lastpost"><span>{L_LAST_POST}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN topicrow --> + <li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <!-- IF topicrow.S_DELETED_TOPIC --> + <dl><dt><strong>{L_DELETED_TOPIC}</strong></dt> + <dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd> + </dl> + <!-- ELSE --> + <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"> + <!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> + <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> + <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> + <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF --> + <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} + </dt> + <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> + </dd> + <dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd> + </dl> + <!-- ENDIF --> + </li> + <!-- END topicrow --> + </ul> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> +<!-- ELSE --> + <p><strong>{L_NO_BOOKMARKS}</strong></p> +<!-- ENDIF --> + +<!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF .topicrow and not S_NO_DISPLAY_BOOKMARKS --> + <fieldset class="display-actions"> + <input type="submit" name="unbookmark" value="{L_REMOVE_BOOKMARK_MARKED}" class="button2" /> + <div><a href="#" onclick="marklist('ucp', '', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('ucp', '', false); return false;">{L_UNMARK_ALL}</a></div> + {S_FORM_TOKEN} + </fieldset> +<!-- ENDIF --> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_main_drafts.html b/prosilver/template/ucp_main_drafts.html new file mode 100644 index 0000000..dffe0a3 --- /dev/null +++ b/prosilver/template/ucp_main_drafts.html @@ -0,0 +1,73 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="postform" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_DRAFTS_EXPLAIN}</p> + +<!-- IF S_EDIT_DRAFT --> + + <!-- INCLUDE posting_editor.html --> + <span class="corners-bottom"><span></span></span></div> + </div> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SAVE}" class="button1" /> + {S_FORM_TOKEN} + </fieldset> + +<!-- ELSE --> + + <!-- IF .draftrow --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_DRAFT_TITLE}</dt> + <dd class="info"><span>{L_SAVE_DATE}</span></dd> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN draftrow --> + <li class="row<!-- IF draftrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl> + <dt> + <a class="topictitle" href="{draftrow.U_VIEW_EDIT}">{draftrow.DRAFT_SUBJECT}</a><br /> + <!-- IF draftrow.S_LINK_TOPIC -->{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a> + <!-- ELSEIF draftrow.S_LINK_FORUM -->{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a> + <!-- ELSEIF S_PRIVMSGS --> + <!-- ELSE -->{L_NO_TOPIC_FORUM}<!-- ENDIF --> + </dt> + <dd class="info"><span>{draftrow.DATE}<br /><!-- IF draftrow.U_INSERT --><a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a> • <!-- ENDIF --><a href="{draftrow.U_VIEW_EDIT}">{L_VIEW_EDIT}</a></span></dd> + <dd class="mark"><input type="checkbox" name="d[{draftrow.DRAFT_ID}]" id="d{draftrow.DRAFT_ID}" /></dd> + </dl> + </li> + <!-- END draftrow --> + </ul> + <!-- ELSE --> + <p><strong>{L_NO_SAVED_DRAFTS}</strong></p> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <!-- IF .draftrow --> + <fieldset class="display-actions"> + <input class="button2" type="submit" name="delete" value="{L_DELETE_MARKED}" /> + <div><a href="#" onclick="marklist('postform', '', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('postform', '', false); return false;">{L_UNMARK_ALL}</a></div> + {S_FORM_TOKEN} + </fieldset> + <!-- ENDIF --> + +<!-- ENDIF --> + +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_main_front.html b/prosilver/template/ucp_main_front.html new file mode 100644 index 0000000..39c5d4f --- /dev/null +++ b/prosilver/template/ucp_main_front.html @@ -0,0 +1,45 @@ +<!-- INCLUDE ucp_header.html --> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_UCP_WELCOME}</p> + +<!-- IF .topicrow --> + <h3>{L_IMPORTANT_NEWS}</h3> + + <ul class="topiclist cplist"> + <!-- BEGIN topicrow --> + <li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->> + <!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><br /> + <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF --> + <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} + </dt> + <dd class="lastpost"><span>{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> + </dd> + </dl> + </li> + <!-- END topicrow --> + </ul> +<!-- ENDIF --> + + <h3>{L_YOUR_DETAILS}</h3> + + <dl class="details"> + <dt>{L_JOINED}:</dt> <dd>{JOINED}</dd> + <dt>{L_VISITED}:</dt> <dd>{LAST_VISIT_YOU}</dd> + <dt>{L_TOTAL_POSTS}:</dt> <dd><!-- IF POSTS_PCT -->{POSTS}<!-- IF S_DISPLAY_SEARCH --> | <strong><a href="{U_SEARCH_USER}">{L_SEARCH_YOUR_POSTS}</a></strong><!-- ENDIF --><br />({POSTS_DAY} / {POSTS_PCT})<!-- ELSE -->{POSTS}<!-- ENDIF --></dd> + <!-- IF ACTIVE_FORUM --><dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})</dd><!-- ENDIF --> + <!-- IF ACTIVE_TOPIC --><dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF --> + <!-- IF WARNINGS --><dt>{L_YOUR_WARNINGS}:</dt> <dd class="error">{WARNING_IMG} [{WARNINGS}]</dd><!-- ENDIF --> + </dl> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_main_subscribed.html b/prosilver/template/ucp_main_subscribed.html new file mode 100644 index 0000000..210537c --- /dev/null +++ b/prosilver/template/ucp_main_subscribed.html @@ -0,0 +1,92 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_WATCHED_EXPLAIN}</p> + +<!-- IF .forumrow --> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt>{L_WATCHED_FORUMS}</dt> + <dd class="lastpost">{L_LAST_POST}</dd> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN forumrow --> + <li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />{forumrow.FORUM_DESC}</dt> + <dd class="lastpost"><!-- IF forumrow.LAST_POST_TIME --><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {forumrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{forumrow.LAST_POST_TIME}</span> + <!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --> + </dd> + <dd class="mark"><input type="checkbox" name="f[{forumrow.FORUM_ID}]" id="f{forumrow.FORUM_ID}" /></dd> + </dl> + </li> + <!-- END forumrow --> + </ul> +<!-- ELSEIF S_FORUM_NOTIFY --> + <p><strong>{L_NO_WATCHED_FORUMS}</strong></p> +<!-- ENDIF --> + +<!-- IF .topicrow --> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt>{L_WATCHED_TOPICS}</dt> + <dd class="lastpost">{L_LAST_POST}</dd> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist"> + + <!-- BEGIN topicrow --> + <li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"> + <!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> + <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> + <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> + <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF --> + <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} + </dt> + <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> + </dd> + <dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd> + </dl> + </li> + <!-- END topicrow --> + </ul> + <ul class="linklist"> + <li class="rightside pagination"> + <!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS} <!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + </ul> +<!-- ELSEIF S_TOPIC_NOTIFY --> + <p><strong>{L_NO_WATCHED_TOPICS}</strong></p> +<!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF .topicrow or .forumrow --> + <fieldset class="display-actions"> + <input type="submit" name="unwatch" value="{L_UNWATCH_MARKED}" class="button2" /> + <div><a href="#" onclick="marklist('ucp', 't', true); marklist('ucp', 'f', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('ucp', 't', false); marklist('ucp', 'f', false); return false;">{L_UNMARK_ALL}</a></div> + {S_FORM_TOKEN} + </fieldset> +<!-- ENDIF --> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_pm_history.html b/prosilver/template/ucp_pm_history.html new file mode 100644 index 0000000..9051eb2 --- /dev/null +++ b/prosilver/template/ucp_pm_history.html @@ -0,0 +1,37 @@ + +<h3 id="review"> + <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span> + {L_MESSAGE_HISTORY}: +</h3> + +<div id="topicreview"> + <script type="text/javascript"> + // <![CDATA[ + bbcodeEnabled = {S_BBCODE_ALLOWED}; + // ]]> + </script> + <!-- BEGIN history_row --> + <div class="post <!-- IF history_row.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="postbody" id="pr{history_row.MSG_ID}"> + <!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --> + <ul class="profile-icons"> + <li class="quote-icon"><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}"><span>{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span></a></li> + </ul> + <!-- ENDIF --> + + <h3><a href="{history_row.U_VIEW_MESSAGE}" <!-- IF history_row.S_CURRENT_MSG -->class="current"<!-- ENDIF -->>{history_row.SUBJECT}</a></h3> + <p class="author">{history_row.MINI_POST_IMG} {L_SENT_AT}: <strong>{history_row.SENT_DATE}</strong><br /> + {L_MESSAGE_BY_AUTHOR} {history_row.MESSAGE_AUTHOR_FULL}</p> + <div class="content">{history_row.MESSAGE}</div> + <div id="message_{history_row.MSG_ID}" style="display: none;">{history_row.DECODED_MESSAGE}</div> + </div> + + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- END history_row --> +</div> + +<hr /> +<p><a href="#cp-main" class="top2">{L_BACK_TO_TOP}</a></p> diff --git a/prosilver/template/ucp_pm_message_footer.html b/prosilver/template/ucp_pm_message_footer.html new file mode 100644 index 0000000..acf6f24 --- /dev/null +++ b/prosilver/template/ucp_pm_message_footer.html @@ -0,0 +1,2 @@ +<div>{S_FORM_TOKEN}</div> +</form> diff --git a/prosilver/template/ucp_pm_message_header.html b/prosilver/template/ucp_pm_message_header.html new file mode 100644 index 0000000..fcebab0 --- /dev/null +++ b/prosilver/template/ucp_pm_message_header.html @@ -0,0 +1,35 @@ +<h2>{L_TITLE}<!-- IF CUR_FOLDER_NAME -->: {CUR_FOLDER_NAME}<!-- ENDIF --></h2> + +<div class="panel clearfix pm-panel-header<!-- IF S_VIEW_MESSAGE --> pm<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p>{FOLDER_STATUS}</p><!-- ENDIF --> + + <!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM --> + <div class="buttons"> + <!-- IF U_POST_REPLY_PM --><div class="pmreply-icon clearfix"><a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}"><span></span>{L_POST_REPLY_PM}</a></div> + <!-- ELSEIF U_POST_NEW_TOPIC --><div class="newpm-icon"><a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}"><span></span>{L_UCP_PM_COMPOSE}</a></div><!-- ENDIF --> + <!-- IF U_FORWARD_PM --><div class="forwardpm-icon"><a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}"><span></span>{L_FORWARD_PM}</a></div><!-- ENDIF --> + </div> + + <!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 --> + <div class="reply-all"><a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}">» {L_REPLY_TO_ALL}</a></div> + <!-- ENDIF --> + + <!-- ENDIF --> + + <!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE --> + <ul class="linklist pm-return-to"> + <li class="rightside pagination"> + <!-- IF S_VIEW_MESSAGE --><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_CURRENT_FOLDER}">{L_RETURN_TO} {CUR_FOLDER_NAME}</a><!-- ENDIF --> + <!-- IF FOLDER_CUR_MESSAGES neq 0 --> + <!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + <!-- ENDIF --> + </li> + </ul> + <!-- ENDIF --> + </div> +</div> + +<form id="viewfolder" method="post" action="{S_PM_ACTION}"> diff --git a/prosilver/template/ucp_pm_options.html b/prosilver/template/ucp_pm_options.html new file mode 100644 index 0000000..a8693ac --- /dev/null +++ b/prosilver/template/ucp_pm_options.html @@ -0,0 +1,131 @@ +<!-- INCLUDE ucp_header.html --> + +<h2>{L_TITLE}</h2> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF ERROR_MESSAGE --><p class="error">{ERROR_MESSAGE}</p><!-- ENDIF --> + <!-- IF NOTIFICATION_MESSAGE --><p class="error">{NOTIFICATION_MESSAGE}</p><!-- ENDIF --> + + <h3>{L_DEFINED_RULES}</h3> + + <ol class="def-rules"> + <!-- BEGIN rule --> + <li><div class="right-box"><input type="submit" name="delete_rule[{rule.RULE_ID}]" value="{L_DELETE_RULE}" class="button2" /></div><strong>{L_IF}</strong> {rule.CHECK} <em>{rule.RULE}</em> <!-- IF rule.STRING --><strong>{rule.STRING}</strong> | <!-- ENDIF -->{rule.ACTION}<!-- IF rule.FOLDER -->: {rule.FOLDER}<!-- ENDIF --><div style="clear: both;"></div></li> + <!-- BEGINELSE --> + <li><strong>{L_NO_RULES_DEFINED}</strong></li> + <!-- END rule --> + </ol> + + <h3>{L_ADD_NEW_RULE}</h3> + + <fieldset class="fields2"> + + <!-- IF S_CHECK_DEFINED --> + <dl> + <dt><label<!-- IF S_CHECK_SELECT --> for="check_option"<!-- ENDIF -->>{L_IF}:</label></dt> + <dd> + <!-- IF S_CHECK_SELECT --><select name="check_option" id="check_option">{S_CHECK_OPTIONS}</select> <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /><!-- ELSE -->{CHECK_CURRENT}<input type="hidden" name="check_option" value="{CHECK_OPTION}" /><!-- ENDIF --> + </dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_RULE_DEFINED --> + <dl> + <dt><!-- IF S_RULE_SELECT --><input type="submit" name="back[rule]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt> + <dd><!-- IF S_RULE_SELECT --><select name="rule_option" id="rule_option">{S_RULE_OPTIONS}</select> <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /><!-- ELSE --><em>{RULE_CURRENT}</em><input type="hidden" name="rule_option" value="{RULE_OPTION}" /><!-- ENDIF --></dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_COND_DEFINED --> + <!-- IF S_COND_SELECT or COND_CURRENT --> + <dl> + <dt><!-- IF S_COND_SELECT --><input type="submit" name="back[cond]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt> + <dd> + <!-- IF S_COND_SELECT --> + <!-- IF S_TEXT_CONDITION --> + <input type="text" name="rule_string" value="{CURRENT_STRING}" class="inputbox medium" maxlength="250" /> + <!-- ELSEIF S_USER_CONDITION --> + <input type="text" name="rule_string" value="{CURRENT_STRING}" class="inputbox tiny" /> <span>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span> + <!-- ELSEIF S_GROUP_CONDITION --> + <input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><!-- IF S_GROUP_OPTIONS --><select name="rule_group_id">{S_GROUP_OPTIONS}</select><!-- ELSE -->{L_NO_GROUPS}<!-- ENDIF --> + <!-- ENDIF --> + <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /> + <!-- ELSE --> + <strong>{COND_CURRENT}</strong><input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><input type="hidden" name="rule_user_id" value="{CURRENT_USER_ID}" /><input type="hidden" name="rule_group_id" value="{CURRENT_GROUP_ID}" /> + <!-- ENDIF --> + </dd> + </dl> + <!-- ENDIF --> + <input type="hidden" name="cond_option" value="{COND_OPTION}" /> + <!-- ENDIF --> + + + <!-- IF NONE_CONDITION --><input type="hidden" name="cond_option" value="none" /><!-- ENDIF --> + + <!-- IF S_ACTION_DEFINED --> + <dl> + <dt><!-- IF S_ACTION_SELECT --><input type="submit" name="back[action]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt> + <dd><!-- IF S_ACTION_SELECT --> <select name="action_option">{S_ACTION_OPTIONS}</select> <input type="submit" name="add_rule" value="{L_ADD_RULE}" class="button1" /><!-- ELSE -->{ACTION_CURRENT}<input type="hidden" name="action_option" value="{ACTION_OPTION}" /><!-- ENDIF --></dd> + </dl> + <!-- ENDIF --> + + </fieldset> + + <h3>{L_FOLDER_OPTIONS}</h3> + + <fieldset class="fields2"> + + <!-- IF not S_MAX_FOLDER_ZERO --> + <dl> + <dt><label for="foldername">{L_ADD_FOLDER}:</label></dt> + <dd><!-- IF S_MAX_FOLDER_REACHED -->{L_MAX_FOLDER_REACHED}<!-- ELSE --><input type="text" class="inputbox medium" name="foldername" id="foldername" size="30" maxlength="30" /> <input class="button2" type="submit" name="addfolder" value="{L_ADD}" /><!-- ENDIF --></dd> + </dl> + <!-- IF S_FOLDER_OPTIONS --><hr class="dashed" /><!-- ENDIF --> + <!-- ENDIF --> + + + + <!-- IF S_FOLDER_OPTIONS --> + <dl> + <dt><label for="rename_folder_id">{L_RENAME_FOLDER}:</label></dt> + <dd><select name="rename_folder_id" id="rename_folder_id">{S_FOLDER_OPTIONS}</select></dd> + <dt><label for="new_folder_name">{L_NEW_FOLDER_NAME}:</label></dt> + <dd><input type="text" class="inputbox tiny" name="new_folder_name" id="new_folder_name" maxlength="30" /> <input class="button2" type="submit" name="rename_folder" value="{L_RENAME}" /></dd> + </dl> + <hr class="dashed" /> + <dl> + <dt><label for="remove_folder_id">{L_REMOVE_FOLDER}:</label></dt> + <dd><select name="remove_folder_id" id="remove_folder_id">{S_FOLDER_OPTIONS}</select></dd> + <dd style="margin-top: 3px;"><label for="remove_action1"><input type="radio" name="remove_action" id="remove_action1" value="1" checked="checked" /> {L_MOVE_DELETED_MESSAGES_TO}:</label> <select name="move_to">{S_TO_FOLDER_OPTIONS}</select></dd> + <dd style="margin-top: 3px;"><label for="remove_action2"><input type="radio" name="remove_action" id="remove_action2" value="2" /> {L_DELETE_MESSAGES_IN_FOLDER}</label></dd> + <dd style="margin-top: 3px;"><input class="button2" type="submit" name="remove_folder" value="{L_REMOVE}" /></dd> + </dl> + <!-- ENDIF --> + + <hr class="dashed" /> + + <dl> + <dt><label for="full_action1">{L_IF_FOLDER_FULL}:</label></dt> + <dd style="margin-top: 3px;"><label for="full_action1"><input type="radio" name="full_action" id="full_action1" value="1"{S_DELETE_CHECKED} /> {L_DELETE_OLDEST_MESSAGES}</label></dd> + <dd style="margin-top: 3px;"><label for="full_action2"><input type="radio" name="full_action" id="full_action2" value="2"{S_MOVE_CHECKED} /> {L_MOVE_TO_FOLDER}:</label> <select name="full_move_to">{S_FULL_FOLDER_OPTIONS}</select></dd> + <dd style="margin-top: 3px;"><label for="full_action3" style="white-space:normal;"><input type="radio" name="full_action" id="full_action3" value="3"{S_HOLD_CHECKED} /> {L_HOLD_NEW_MESSAGES}</label></dd> + </dl> + + + <dl> + <dt><label>{L_DEFAULT_ACTION}:</label><br /><span>{L_DEFAULT_ACTION_EXPLAIN}</span></dt> + <dd>{DEFAULT_ACTION}</dd> + <dd><input class="button2" type="submit" name="fullfolder" value="{L_CHANGE}" /></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> + {S_FORM_TOKEN} +</div> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_pm_popup.html b/prosilver/template/ucp_pm_popup.html new file mode 100644 index 0000000..325362d --- /dev/null +++ b/prosilver/template/ucp_pm_popup.html @@ -0,0 +1,25 @@ +<!-- INCLUDE simple_header.html --> + +<script type="text/javascript"> +// <![CDATA[ +/** +* Jump to inbox +*/ +function jump_to_inbox(url) +{ + opener.document.location.href = url.replace(/&/g, '&'); + window.close(); +} +// ]]> +</script> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <div class="content"> + <p><!-- IF S_NOT_LOGGED_IN -->{L_LOGIN_CHECK_PM}<!-- ELSE -->{MESSAGE}<br /><br />{CLICK_TO_VIEW}<!-- ENDIF --></p> + <p class="small"><a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a></p> + </div> + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_pm_viewfolder.html b/prosilver/template/ucp_pm_viewfolder.html new file mode 100644 index 0000000..d7e02e4 --- /dev/null +++ b/prosilver/template/ucp_pm_viewfolder.html @@ -0,0 +1,130 @@ +<!-- INCLUDE ucp_header.html --> + +<!-- IF not PROMPT --> + <!-- INCLUDE ucp_pm_message_header.html --> + <div class="panel pm-panel-message"><div> +<!-- ENDIF --> + +<!-- IF PROMPT --> + <h2>{L_EXPORT_AS_CSV}</h2> + <form id="viewfolder" method="post" action="{S_PM_ACTION}"> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <h3>{L_OPTIONS}</h3> + <fieldset> + <dl> + <dt><label for="delimiter">{L_DELIMITER}:</label></dt> + <dd><input class="inputbox" type="text" id="delimiter" name="delimiter" value="," /></dd> + </dl> + <dl> + <dt><label for="enclosure">{L_ENCLOSURE}:</label></dt> + <dd><input class="inputbox" type="text" id="enclosure" name="enclosure" value=""" /></dd> + </dl> + </fieldset> + <span class="corners-bottom"><span></span></span></div> + </div> + <fieldset class="submit-buttons"> + <input type="hidden" name="export_option" value="CSV" /> + <input class="button1" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" /> + <input class="button2" type="reset" value="Reset" name="reset" /> + {S_FORM_TOKEN} + </fieldset> + </form> + +<!-- ELSE --> + + <!-- IF NUM_REMOVED --> + <div class="notice"> + <p>{RULE_REMOVED_MESSAGES}</p> + </div> + <!-- ENDIF --> + + <!-- IF NUM_NOT_MOVED --> + <div class="notice"> + <p>{NOT_MOVED_MESSAGES}<br />{RELEASE_MESSAGE_INFO}</p> + </div> + <!-- ENDIF --> + + <!-- IF .messagerow --> + <ul class="topiclist"> + <li class="header"> + <dl> + <dt>{L_MESSAGE}</dt> + <dd class="mark">{L_MARK}</dd> + </dl> + </li> + </ul> + <ul class="topiclist cplist pmlist"> + + <!-- BEGIN messagerow --> + <li class="row<!-- IF messagerow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF messagerow.PM_CLASS --> {messagerow.PM_CLASS}<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({messagerow.FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt<!-- IF messagerow.PM_ICON_URL and S_PM_ICONS --> style="background-image: url({messagerow.PM_ICON_URL}); background-repeat: no-repeat;"<!-- ENDIF -->> + + <!-- IF messagerow.S_PM_DELETED --> + <a href="{messagerow.U_REMOVE_PM}" class="topictitle">{L_DELETE_MESSAGE}</a><br /> + <span class="error">{L_MESSAGE_REMOVED_FROM_OUTBOX}</span> + <!-- ELSE --> + <a href="{messagerow.U_VIEW_PM}" class="topictitle">{messagerow.SUBJECT}</a> + <!-- ENDIF --> + <!-- IF messagerow.S_AUTHOR_DELETED --> + <br /><em class="small">{L_PM_FROM_REMOVED_AUTHOR}</em> + <!-- ENDIF --> + + <!-- IF messagerow.S_PM_REPORTED --><a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> {messagerow.ATTACH_ICON_IMG}<br /> + <!-- IF S_SHOW_RECIPIENTS -->{L_MESSAGE_TO} {messagerow.RECIPIENTS}<!-- ELSE -->{L_MESSAGE_BY_AUTHOR} {messagerow.MESSAGE_AUTHOR_FULL} » {messagerow.SENT_TIME}<!-- ENDIF --> + </dt> + <!-- IF S_SHOW_RECIPIENTS --><dd class="info"><span>{L_SENT_AT}: {messagerow.SENT_TIME}</span></dd><!-- ENDIF --> + <!-- IF S_UNREAD --><dd class="info"><!-- IF messagerow.FOLDER --><a href="{messagerow.U_FOLDER}">{messagerow.FOLDER}</a><!-- ELSE -->{L_UNKNOWN_FOLDER}<!-- ENDIF --></dd><!-- ENDIF --> + <dd class="mark"><input type="checkbox" name="marked_msg_id[]" value="{messagerow.MESSAGE_ID}" /></dd> + </dl> + </li> + <!-- END messagerow --> + + </ul> + <!-- ELSE --> + <p><strong> + <!-- IF S_COMPOSE_PM_VIEW and S_NO_AUTH_SEND_MESSAGE --> + <!-- IF S_USER_NEW -->{L_USER_NEW_PERMISSION_DISALLOWED}<!-- ELSE -->{L_NO_AUTH_SEND_MESSAGE}<!-- ENDIF --> + <!-- ELSE --> + {L_NO_MESSAGES} + <!-- ENDIF --> + </strong></p> + <!-- ENDIF --> + + <!-- IF FOLDER_CUR_MESSAGES neq 0 --> + <fieldset class="display-actions"> + <div class="left-box"><label for="export_option">{L_EXPORT_FOLDER}: <select name="export_option" id="export_option"><option value="CSV">{L_EXPORT_AS_CSV}</option><option value="CSV_EXCEL">{L_EXPORT_AS_CSV_EXCEL}</option><option value="XML">{L_EXPORT_AS_XML}</option></select></label> <input class="button2" type="submit" name="submit_export" value="{L_GO}" /><br /></div> + <select name="mark_option">{S_MARK_OPTIONS}{S_MOVE_MARKED_OPTIONS}</select> <input class="button2" type="submit" name="submit_mark" value="{L_GO}" /> + <div><a href="#" onclick="marklist('viewfolder', 'marked_msg', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('viewfolder', 'marked_msg', false); return false;">{L_UNMARK_ALL}</a></div> + </fieldset> + + <hr /> + + <ul class="linklist"> + <!-- IF TOTAL_MESSAGES or S_VIEW_MESSAGE --> + <li class="rightside pagination"> + <!-- IF TOTAL_MESSAGES -->{TOTAL_MESSAGES}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </li> + <!-- ENDIF --> + </ul> + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <!-- IF FOLDER_CUR_MESSAGES neq 0 --> + <fieldset class="display-options"> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <label>{L_DISPLAY}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> + <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label> + <input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" /> + </fieldset> + <!-- ENDIF --> + + <!-- INCLUDE ucp_pm_message_footer.html --> +<!-- ENDIF --> +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_pm_viewmessage.html b/prosilver/template/ucp_pm_viewmessage.html new file mode 100644 index 0000000..df0cf25 --- /dev/null +++ b/prosilver/template/ucp_pm_viewmessage.html @@ -0,0 +1,111 @@ + <!-- INCLUDE ucp_header.html --> + +<!-- INCLUDE ucp_pm_message_header.html --> + + +<!-- IF S_DISPLAY_HISTORY and (U_VIEW_PREVIOUS_HISTORY or U_VIEW_NEXT_HISTORY) --> + <fieldset class="display-options clearfix bg1 pm-message-nav"> + <!-- IF U_VIEW_PREVIOUS_HISTORY --><a href="{U_VIEW_PREVIOUS_HISTORY}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_VIEW_PREVIOUS_HISTORY}</a><!-- ENDIF --> + <!-- IF U_VIEW_NEXT_HISTORY --><a href="{U_VIEW_NEXT_HISTORY}" class="right-box {S_CONTENT_FLOW_END}">{L_VIEW_NEXT_HISTORY}</a><!-- ENDIF --> + </fieldset> +<!-- ENDIF --> + + +<div id="post-{MESSAGE_ID}" class="panel clearfix post pm-panel-message pm<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->"> +<div> + + <div class="postbody"> + + <!-- IF U_DELETE or U_EDIT or U_QUOTE or U_REPORT --> + <ul class="profile-icons"> + <!-- IF U_EDIT --><li class="edit-icon"><a href="{U_EDIT}" title="{L_POST_EDIT_PM}"><span>{L_POST_EDIT_PM}</span></a></li><!-- ENDIF --> + <!-- IF U_DELETE --><li class="delete-icon"><a href="{U_DELETE}" title="{L_DELETE_MESSAGE}"><span>{L_DELETE_MESSAGE}</span></a></li><!-- ENDIF --> + <!-- IF U_REPORT --><li class="report-icon"><a href="{U_REPORT}" title="{L_REPORT_PM}"><span>{L_REPORT_PM}</span></a></li><!-- ENDIF --> + <!-- IF U_QUOTE --><li class="quote-icon"><a href="{U_QUOTE}" title="{L_POST_QUOTE_PM}"><span>{L_POST_QUOTE_PM}</span></a></li><!-- ENDIF --> + </ul> + <!-- ENDIF --> + + <h3 class="first">{SUBJECT}</h3> + + <p class="author"> + <strong>{L_SENT_AT}:</strong> {SENT_DATE} + <br /><strong>{L_PM_FROM}:</strong> {MESSAGE_AUTHOR_FULL} + <!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}:</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF --> + <!-- IF S_BCC_RECIPIENT --><br /><strong>{L_BCC}:</strong> <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF --> + </p> + + + <div class="content">{MESSAGE}</div> + + <!-- IF S_HAS_ATTACHMENTS --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + <!-- IF S_DISPLAY_NOTICE --> + <div class="rules">{L_DOWNLOAD_NOTICE}</div> + <!-- ENDIF --> + + <!-- IF EDITED_MESSAGE or EDIT_REASON --> + <div class="notice">{EDITED_MESSAGE} + <!-- IF EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{EDIT_REASON}</em><!-- ENDIF --> + </div> + <!-- ENDIF --> + + <!-- IF SIGNATURE --> + <div id="sig{MESSAGE_ID}" class="signature">{SIGNATURE}</div> + <!-- ENDIF --> + </div> + + <dl class="postprofile" id="profile{MESSAGE_ID}"> + <dt><!-- IF AUTHOR_AVATAR --><a href="{U_MESSAGE_AUTHOR}">{AUTHOR_AVATAR}</a><br /><!-- ENDIF -->{MESSAGE_AUTHOR_FULL}</dt> + <!-- IF RANK_TITLE --><dd>{RANK_TITLE}</dd><!-- ENDIF --> + <!-- IF RANK_IMG --><dd>{RANK_IMG}</dd><!-- ENDIF --> + <dd> </dd> + <dd><strong>{L_POSTS}:</strong> {AUTHOR_POSTS}</dd> + <!-- IF AUTHOR_JOINED --><dd><strong>{L_JOINED}:</strong> {AUTHOR_JOINED}</dd><!-- ENDIF --> + <!-- IF AUTHOR_FROM --><dd><strong>{L_LOCATION}:</strong> {AUTHOR_FROM}</dd><!-- ENDIF --> + + <!-- IF U_PM or U_EMAIL or U_WWW or U_MSN or U_ICQ or U_YIM or U_AIM or U_JABBER --> + <dd> + <ul class="profile-icons"> + <!-- IF U_PM --><li class="pm-icon"><a href="{U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF --> + <!-- IF U_EMAIL --><li class="email-icon"><a href="{U_EMAIL}" title="{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}"><span>{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</span></a></li><!-- ENDIF --> + <!-- IF U_WWW --><li class="web-icon"><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF --> + <!-- IF U_MSN --><li class="msnm-icon"><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF --> + <!-- IF U_ICQ --><li class="icq-icon"><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF --> + <!-- IF U_YIM --><li class="yahoo-icon"><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF --> + <!-- IF U_AIM --><li class="aim-icon"><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF --> + <!-- IF U_JABBER --><li class="jabber-icon"><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF --> + </ul> + </dd> + <!-- ENDIF --> + </dl> + + <div class="back2top"><a href="#top" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF S_VIEW_MESSAGE --> +<fieldset class="display-options"> + <!-- IF U_PREVIOUS_PM --><a href="{U_PREVIOUS_PM}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_VIEW_PREVIOUS_PM}</a><!-- ENDIF --> + <!-- IF U_NEXT_PM --><a href="{U_NEXT_PM}" class="right-box {S_CONTENT_FLOW_END}">{L_VIEW_NEXT_PM}</a><!-- ENDIF --> + + <!-- IF S_MARK_OPTIONS --><label for="mark_option"><select name="mark_option" id="mark_option">{S_MARK_OPTIONS}</select></label> <input class="button2" type="submit" name="submit_mark" value="{L_GO}" /><!-- ENDIF --> + <!-- IF not S_UNREAD and not S_SPECIAL_FOLDER --><label for="dest_folder"><!-- IF S_VIEW_MESSAGE -->{L_MOVE_TO_FOLDER}: <!-- ELSE -->{L_MOVE_MARKED_TO_FOLDER}<!-- ENDIF --> <select name="dest_folder" id="dest_folder">{S_TO_FOLDER_OPTIONS}</select></label> <input class="button2" type="submit" name="move_pm" value="{L_GO}" /><!-- ENDIF --> + <input type="hidden" name="marked_msg_id[]" value="{MSG_ID}" /> + <input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" /> + <input type="hidden" name="p" value="{MSG_ID}" /> +</fieldset> +<!-- ENDIF --> + +<!-- INCLUDE ucp_pm_message_footer.html --> + +<!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_pm_viewmessage_print.html b/prosilver/template/ucp_pm_viewmessage_print.html new file mode 100644 index 0000000..b1a9329 --- /dev/null +++ b/prosilver/template/ucp_pm_viewmessage_print.html @@ -0,0 +1,120 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> +<head> +<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> +<meta http-equiv="content-style-type" content="text/css" /> +<meta http-equiv="content-language" content="{S_USER_LANG}" /> +<title>{SITENAME} :: {PAGE_TITLE}</title> + +<style type="text/css"> +/* <![CDATA[ */ +body { + font-family: Verdana,serif; + font-size: 10pt; +} + +td { + font-family: Verdana,serif; + font-size: 10pt; + line-height: 150%; +} + +.code, .quote { + font-size: smaller; + border: black solid 1px; +} + +.forum { + font-family: Arial,Helvetica,sans-serif; + font-weight: bold; + font-size: 18pt; +} + +.topic { + font-family: Arial,Helvetica,sans-serif; + font-size: 14pt; + font-weight: bold; +} + +.gensmall { + font-size: 8pt; +} + +hr { + color: #888888; + height: 3px; + border-style: solid; +} + +hr.sep { + color: #AAAAAA; + height: 1px; + border-style: dashed; +} +/* ]]> */ +</style> + +</head> +<body> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td colspan="2" align="center"><span class="forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</a></span></td> +</tr> +<tr> + <td colspan="2"><br /></td> +</tr> +<tr> + <td><span class="topic">{SUBJECT}</span><br /></td> + <td align="right" valign="bottom"><span class="gensmall">{PAGE_NUMBER}</span></td> +</tr> +</table> + +<hr width="85%" /> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td width="10%" nowrap="nowrap">{L_PM_FROM}: </td> + <td><strong>{MESSAGE_AUTHOR}</strong> [ {SENT_DATE} ]</td> +</tr> + +<!-- IF S_TO_RECIPIENT --> + <tr> + <td width="10%" nowrap="nowrap">{L_TO}:</td> + <td> + <!-- BEGIN to_recipient --> + <span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->>{to_recipient.NAME}</span> + <!-- END to_recipient --> + </td> + </tr> +<!-- ENDIF --> + +<!-- IF S_BCC_RECIPIENT --> + <tr> + <td width="10%" nowrap="nowrap">{L_BCC}:</td> + <td> + <!-- BEGIN bcc_recipient --> + <!-- IF bcc_recipient.COLOUR --><span style="color:{bcc_recipient.COLOUR}"><!-- ELSE --><span<!-- IF bcc_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{bcc_recipient.NAME}</span> + <!-- END bcc_recipient --> + </td> + </tr> +<!-- ENDIF --> +<tr> + <td colspan="2"><hr class="sep" />{MESSAGE}</td> +</tr> +</table> + +<hr width="85%" /> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td><span class="gensmall">{PAGE_NUMBER}</span></td> + <td align="{S_CONTENT_FLOW_END}"><span class="gensmall">{S_TIMEZONE}</span></td> +</tr> +<tr> + <td colspan="2" align="center"><span class="gensmall">Powered by phpBB® Forum Software © phpBB Group<br />http://www.phpbb.com/</span></td> +</tr> +</table> + +</body> +</html>
\ No newline at end of file diff --git a/prosilver/template/ucp_prefs_personal.html b/prosilver/template/ucp_prefs_personal.html new file mode 100644 index 0000000..9022346 --- /dev/null +++ b/prosilver/template/ucp_prefs_personal.html @@ -0,0 +1,144 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label for="viewemail0">{L_SHOW_EMAIL}:</label></dt> + <dd> + <label for="viewemail1"><input type="radio" name="viewemail" id="viewemail1" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="viewemail0"><input type="radio" name="viewemail" id="viewemail0" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="massemail1">{L_ADMIN_EMAIL}:</label></dt> + <dd> + <label for="massemail1"><input type="radio" name="massemail" id="massemail1" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="massemail0"><input type="radio" name="massemail" id="massemail0" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="allowpm1">{L_ALLOW_PM}:</label><br /><span>{L_ALLOW_PM_EXPLAIN}</span></dt> + <dd> + <label for="allowpm1"><input type="radio" name="allowpm" id="allowpm1" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <!-- IF S_CAN_HIDE_ONLINE --> + <dl> + <dt><label for="hideonline0">{L_HIDE_ONLINE}:</label><br /><span>{L_HIDE_ONLINE_EXPLAIN}</span></dt> + <dd> + <label for="hideonline1"><input type="radio" name="hideonline" id="hideonline1" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="hideonline0"><input type="radio" name="hideonline" id="hideonline0" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <!-- ENDIF --> + <!-- IF S_SELECT_NOTIFY --> + <dl> + <dt><label for="notifymethod0">{L_NOTIFY_METHOD}:</label></dt> + <dd> + <label for="notifymethod0"><input type="radio" name="notifymethod" id="notifymethod0" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label> + <label for="notifymethod1"><input type="radio" name="notifymethod" id="notifymethod1" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label> + <label for="notifymethod2"><input type="radio" name="notifymethod" id="notifymethod2" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label> + </dd> + </dl> + <!-- ENDIF --> + <dl> + <dt><label for="notifypm1">{L_NOTIFY_ON_PM}:</label></dt> + <dd> + <label for="notifypm1"><input type="radio" name="notifypm" id="notifypm1" value="1"<!-- IF S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="notifypm0"><input type="radio" name="notifypm" id="notifypm0" value="0"<!-- IF not S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="popuppm0">{L_POPUP_ON_PM}:</label></dt> + <dd> + <label for="popuppm1"><input type="radio" name="popuppm" id="popuppm1" value="1"<!-- IF S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="popuppm0"><input type="radio" name="popuppm" id="popuppm0" value="0"<!-- IF not S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt> + <dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd> + </dl> + <!-- IF S_STYLE_OPTIONS --> + <dl> + <dt><label for="style">{L_BOARD_STYLE}:</label></dt> + <dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd> + </dl> + <!-- ENDIF --> + <dl> + <dt><label for="timezone">{L_BOARD_TIMEZONE}:</label></dt> + <dd><select name="tz" id="timezone" class="autowidth">{S_TZ_OPTIONS}</select></dd> + </dl> + <dl> + <dt><label for="dst1">{L_BOARD_DST}:</label></dt> + <dd> + <label for="dst1"><input type="radio" name="dst" id="dst1" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="dst0"><input type="radio" name="dst" id="dst0" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt> + <dd> + <select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }"> + {S_DATEFORMAT_OPTIONS} + </select> + </dd> + <dd id="custom_date" style="display:none;"><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="30" class="inputbox narrow" style="margin-top: 3px;" /></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<script type="text/javascript"> +// <![CDATA[ + var date_format = '{A_DATE_FORMAT}'; + var default_dateformat = '{A_DEFAULT_DATEFORMAT}'; + + function customDates() + { + var e = document.getElementById('dateoptions'); + + e.selectedIndex = e.length - 1; + + // Loop and match date_format in menu + for (var i = 0; i < e.length; i++) + { + if (e.options[i].value == date_format) + { + e.selectedIndex = i; + break; + } + } + + // Show/hide custom field + if (e.selectedIndex == e.length - 1) + { + dE('custom_date',1); + } + else + { + dE('custom_date',-1); + } + } + + customDates(); +// ]]> +</script> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_prefs_post.html b/prosilver/template/ucp_prefs_post.html new file mode 100644 index 0000000..74af90c --- /dev/null +++ b/prosilver/template/ucp_prefs_post.html @@ -0,0 +1,51 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label for="bbcode1">{L_DEFAULT_BBCODE}:</label></dt> + <dd> + <label for="bbcode1"><input type="radio" name="bbcode" id="bbcode1" value="1"<!-- IF S_BBCODE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="bbcode0"><input type="radio" name="bbcode" id="bbcode0" value="0"<!-- IF not S_BBCODE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="smilies1">{L_DEFAULT_SMILIES}:</label></dt> + <dd> + <label for="smilies1"><input type="radio" name="smilies" id="smilies1" value="1"<!-- IF S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="smilies0"><input type="radio" name="smilies" id="smilies0" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="sig1">{L_DEFAULT_ADD_SIG}:</label></dt> + <dd> + <label for="sig1"><input type="radio" name="sig" id="sig1" value="1"<!-- IF S_SIG --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="sig0"><input type="radio" name="sig" id="sig0" value="0"<!-- IF not S_SIG --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="notify1">{L_DEFAULT_NOTIFY}:</label></dt> + <dd> + <label for="notify1"><input type="radio" name="notify" id="notify1" value="1"<!-- IF S_NOTIFY --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="notify0"><input type="radio" name="notify" id="notify0" value="0"<!-- IF not S_NOTIFY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_prefs_view.html b/prosilver/template/ucp_prefs_view.html new file mode 100644 index 0000000..dc77358 --- /dev/null +++ b/prosilver/template/ucp_prefs_view.html @@ -0,0 +1,94 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label for="images1">{L_VIEW_IMAGES}:</label></dt> + <dd> + <label for="images1"><input type="radio" name="images" id="images1" value="1"<!-- IF S_IMAGES --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="images0"><input type="radio" name="images" id="images0" value="0"<!-- IF not S_IMAGES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="flash0">{L_VIEW_FLASH}:</label></dt> + <dd> + <label for="flash1"><input type="radio" name="flash" id="flash1" value="1"<!-- IF S_FLASH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="flash0"><input type="radio" name="flash" id="flash0" value="0"<!-- IF not S_FLASH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="smilies1">{L_VIEW_SMILIES}:</label></dt> + <dd> + <label for="smilies1"><input type="radio" name="smilies" id="smilies1" value="1"<!-- IF S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="smilies0"><input type="radio" name="smilies" id="smilies0" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="sigs1">{L_VIEW_SIGS}:</label></dt> + <dd> + <label for="sigs1"><input type="radio" name="sigs" id="sigs1" value="1"<!-- IF S_SIGS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="sigs0"><input type="radio" name="sigs" id="sigs0" value="0"<!-- IF not S_SIGS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <dl> + <dt><label for="avatars1">{L_VIEW_AVATARS}:</label></dt> + <dd> + <label for="avatars1"><input type="radio" name="avatars" id="avatars1" value="1"<!-- IF S_AVATARS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="avatars0"><input type="radio" name="avatars" id="avatars0" value="0"<!-- IF not S_AVATARS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <!-- IF S_CHANGE_CENSORS --> + <dl> + <dt><label for="wordcensor1">{L_DISABLE_CENSORS}:</label></dt> + <dd> + <label for="wordcensor1"><input type="radio" name="wordcensor" id="wordcensor1" value="1"<!-- IF S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> + <label for="wordcensor0"><input type="radio" name="wordcensor" id="wordcensor0" value="0"<!-- IF not S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label> + </dd> + </dl> + <!-- ENDIF --> + <hr /> + <dl> + <dt><label>{L_VIEW_TOPICS_DAYS}:</label></dt> + <dd>{S_TOPIC_SORT_DAYS}</dd> + </dl> + <dl> + <dt><label>{L_VIEW_TOPICS_KEY}:</label></dt> + <dd>{S_TOPIC_SORT_KEY}</dd> + </dl> + <dl> + <dt><label>{L_VIEW_TOPICS_DIR}:</label></dt> + <dd>{S_TOPIC_SORT_DIR}</dd> + </dl> + <hr /> + <dl> + <dt><label>{L_VIEW_POSTS_DAYS}:</label></dt> + <dd>{S_POST_SORT_DAYS}</dd> + </dl> + <dl> + <dt><label>{L_VIEW_POSTS_KEY}:</label></dt> + <dd>{S_POST_SORT_KEY}</dd> + </dl> + <dl> + <dt><label>{L_VIEW_POSTS_DIR}:</label></dt> + <dd>{S_POST_SORT_DIR}</dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_profile_avatar.html b/prosilver/template/ucp_profile_avatar.html new file mode 100644 index 0000000..2669ed3 --- /dev/null +++ b/prosilver/template/ucp_profile_avatar.html @@ -0,0 +1,19 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<!-- INCLUDE ucp_avatar_options.html --> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS} + <!-- IF S_DISPLAY_GALLERY --><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="button2" /> <!-- ENDIF --> + <!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="button2" /> <!-- ELSE --> + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> <!-- ENDIF --> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_profile_profile_info.html b/prosilver/template/ucp_profile_profile_info.html new file mode 100644 index 0000000..1bd5461 --- /dev/null +++ b/prosilver/template/ucp_profile_profile_info.html @@ -0,0 +1,79 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <p>{L_PROFILE_INFO_NOTICE}</p> + + <fieldset> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label for="icq">{L_UCP_ICQ}:</label></dt> + <dd><input type="text" name="icq" id="icq" maxlength="15" value="{ICQ}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="aim">{L_UCP_AIM}:</label></dt> + <dd><input type="text" name="aim" id="aim" maxlength="255" value="{AIM}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="msn">{L_UCP_MSNM}:</label></dt> + <dd><input type="text" name="msn" id="msn" maxlength="255" value="{MSN}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="yim">{L_UCP_YIM}:</label></dt> + <dd><input type="text" name="yim" id="yim" maxlength="255" value="{YIM}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="jabber">{L_UCP_JABBER}:</label></dt> + <dd><input type="text" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="website">{L_WEBSITE}:</label></dt> + <dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="location">{L_LOCATION}:</label></dt> + <dd><input type="text" name="location" id="location" maxlength="255" value="{LOCATION}" class="inputbox" /></dd> + </dl> + <dl> + <dt><label for="occupation">{L_OCCUPATION}:</label></dt> + <dd><textarea name="occupation" id="occupation" class="inputbox" rows="3" cols="30">{OCCUPATION}</textarea></dd> + </dl> + <dl> + <dt><label for="interests">{L_INTERESTS}:</label></dt> + <dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd> + </dl> + <!-- IF S_BIRTHDAYS_ENABLED --> + <dl> + <dt><label for="bday_day">{L_BIRTHDAY}:</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt> + <dd> + <label for="bday_day">{L_DAY}: <select name="bday_day" id="bday_day" style="width: 4em;">{S_BIRTHDAY_DAY_OPTIONS}</select></label> + <label for="bday_month">{L_MONTH}: <select name="bday_month" id="bday_month" style="width: 4em;">{S_BIRTHDAY_MONTH_OPTIONS}</select></label> + <label for="bday_year">{L_YEAR}: <select name="bday_year" id="bday_year" style="width: 6em;">{S_BIRTHDAY_YEAR_OPTIONS}</select></label> + </dd> + </dl> + <!-- ENDIF --> + <!-- BEGIN profile_fields --> + <dl> + <dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label> + <!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --></dt> + <!-- IF profile_fields.ERROR --><dd class="error">{profile_fields.ERROR}</dd><!-- ENDIF --> + <dd>{profile_fields.FIELD}</dd> + </dl> + <!-- END profile_fields --> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_profile_reg_details.html b/prosilver/template/ucp_profile_reg_details.html new file mode 100644 index 0000000..edd58d5 --- /dev/null +++ b/prosilver/template/ucp_profile_reg_details.html @@ -0,0 +1,63 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF S_FORCE_PASSWORD --> + <p>{L_FORCE_PASSWORD_EXPLAIN}</p> + <!-- ENDIF --> + + <fieldset> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label <!-- IF S_CHANGE_USERNAME -->for="username"<!-- ENDIF -->>{L_USERNAME}:</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt> + <dd><!-- IF S_CHANGE_USERNAME --><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" title="{L_USERNAME}" /><!-- ELSE --><strong>{USERNAME}</strong><!-- ENDIF --></dd> + </dl> + <dl> + <dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt> + <dd><!-- IF S_CHANGE_EMAIL --><input type="text" name="email" id="email" maxlength="100" value="{EMAIL}" class="inputbox" title="{L_EMAIL_ADDRESS}" /><!-- ELSE --><strong>{EMAIL}</strong><!-- ENDIF --></dd> + </dl> + <!-- IF S_CHANGE_EMAIL --> + <dl> + <dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label><br /><span>{L_CONFIRM_EMAIL_EXPLAIN}</span></dt> + <dd><input type="text" name="email_confirm" id="email_confirm" maxlength="100" value="{CONFIRM_EMAIL}" class="inputbox" title="{L_CONFIRM_EMAIL}" /></dd> + </dl> + <!-- ENDIF --> + <!-- IF S_CHANGE_PASSWORD --> + <dl> + <dt><label for="new_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt> + <dd><input type="password" name="new_password" id="new_password" maxlength="255" value="{NEW_PASSWORD}" class="inputbox" title="{L_CHANGE_PASSWORD}" /></dd> + </dl> + <dl> + <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt> + <dd><input type="password" name="password_confirm" id="password_confirm" maxlength="255" value="{PASSWORD_CONFIRM}" class="inputbox" title="{L_CONFIRM_PASSWORD}" /></dd> + </dl> + <!-- ENDIF --> + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset> + <dl> + <dt><label for="cur_password">{L_CURRENT_PASSWORD}:</label><br /><span>{L_CURRENT_PASSWORD_EXPLAIN}</span></dt> + <dd><input type="password" name="cur_password" id="cur_password" maxlength="255" value="{CUR_PASSWORD}" class="inputbox" title="{L_CURRENT_PASSWORD}" /></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_profile_signature.html b/prosilver/template/ucp_profile_signature.html new file mode 100644 index 0000000..ab23b84 --- /dev/null +++ b/prosilver/template/ucp_profile_signature.html @@ -0,0 +1,51 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="postform" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<!-- IF SIGNATURE_PREVIEW != '' --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <h3>{L_SIGNATURE_PREVIEW}</h3> + <div class="postbody"> + <div class="signature" style="border-top:none; margin-top: 0; ">{SIGNATURE_PREVIEW}</div> + </div> + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_SIGNATURE_EXPLAIN}</p> + + <!-- DEFINE $SIG_EDIT = 1 --> + <!-- INCLUDE posting_editor.html --> + <h3>{L_OPTIONS}</h3> + <fieldset> + <!-- IF S_BBCODE_ALLOWED --> + <div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div> + <!-- ENDIF --> + <!-- IF S_SMILIES_ALLOWED --> + <div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div> + <!-- ENDIF --> + <!-- IF S_LINKS_ALLOWED --> + <div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div> + <!-- ENDIF --> + + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS} + <input type="reset" name="reset" value="{L_RESET}" class="button2" /> + <input type="submit" name="preview" value="{L_PREVIEW}" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_register.html b/prosilver/template/ucp_register.html new file mode 100644 index 0000000..0c632f5 --- /dev/null +++ b/prosilver/template/ucp_register.html @@ -0,0 +1,113 @@ +<!-- INCLUDE overall_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + /** + * Change language + */ + function change_language(lang_iso) + { + document.forms['register'].change_lang.value = lang_iso; + document.forms['register'].submit.click(); + } + + <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_REFRESH --> + onload_functions.push('apply_onkeypress_event()'); + <!-- ENDIF --> + +// ]]> +</script> + +<form method="post" action="{S_UCP_ACTION}" id="register"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h2>{SITENAME} - {L_REGISTRATION}</h2> + + <fieldset class="fields2"> + <!-- IF ERROR --><dl><dd class="error">{ERROR}</dd></dl><!-- ENDIF --> + <!-- IF L_REG_COND --> + <dl><dd><strong>{L_REG_COND}</strong></dd></dl> + <!-- ENDIF --> + <dl> + <dt><label for="username">{L_USERNAME}:</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt> + <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" title="{L_USERNAME}" /></dd> + </dl> + <dl> + <dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt> + <dd><input type="text" tabindex="2" name="email" id="email" size="25" maxlength="100" value="{EMAIL}" class="inputbox autowidth" title="{L_EMAIL_ADDRESS}" /></dd> + </dl> + <dl> + <dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label></dt> + <dd><input type="text" tabindex="3" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_EMAIL}" /></dd> + </dl> + <dl> + <dt><label for="new_password">{L_PASSWORD}:</label><br /><span>{L_PASSWORD_EXPLAIN}</span></dt> + <dd><input type="password" tabindex="4" name="new_password" id="new_password" size="25" value="{PASSWORD}" class="inputbox autowidth" title="{L_NEW_PASSWORD}" /></dd> + </dl> + <dl> + <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label></dt> + <dd><input type="password" tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" /></dd> + </dl> + + <hr /> + + <dl> + <dt><label for="lang">{L_LANGUAGE}:</label></dt> + <dd><select name="lang" id="lang" onchange="change_language(this.value); return false;" tabindex="6" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></dd> + </dl> + <dl> + <dt><label for="tz">{L_TIMEZONE}:</label></dt> + <dd><select name="tz" id="tz" tabindex="7" class="autowidth">{S_TZ_OPTIONS}</select></dd> + </dl> + + <!-- IF .profile_fields --> + <dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl> + + <!-- BEGIN profile_fields --> + <dl> + <dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label> + <!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --> + <!-- IF profile_fields.ERROR --><br /><span class="error">{profile_fields.ERROR}</span><!-- ENDIF --></dt> + <dd>{profile_fields.FIELD}</dd> + </dl> + <!-- END profile_fields --> + <!-- ENDIF --> + + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- IF CAPTCHA_TEMPLATE --> + <!-- DEFINE $CAPTCHA_TAB_INDEX = 8 --> + <!-- INCLUDE {CAPTCHA_TEMPLATE} --> +<!-- ENDIF --> + +<!-- IF S_COPPA --> + + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h4>{L_COPPA_COMPLIANCE}</h4> + + <p>{L_COPPA_EXPLAIN}</p> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS} + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" tabindex="9" name="submit" id="submit" value="{L_SUBMIT}" class="button1 default-submit-action" /> + {S_FORM_TOKEN} + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_remind.html b/prosilver/template/ucp_remind.html new file mode 100644 index 0000000..7dbc23b --- /dev/null +++ b/prosilver/template/ucp_remind.html @@ -0,0 +1,32 @@ +<!-- INCLUDE overall_header.html --> + +<form action="{S_PROFILE_ACTION}" method="post" id="remind"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h2>{L_SEND_PASSWORD}</h2> + + <fieldset> + <dl> + <dt><label for="username">{L_USERNAME}:</label></dt> + <dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd> + </dl> + <dl> + <dt><label for="email">{L_EMAIL_ADDRESS}:</label><br /><span>{L_EMAIL_REMIND}</span></dt> + <dd><input class="inputbox narrow" type="text" name="email" id="email" size="25" maxlength="100" /></dd> + </dl> + <dl> + <dt> </dt> + <dd>{S_HIDDEN_FIELDS}<input type="submit" name="submit" id="submit" class="button1" value="{L_SUBMIT}" tabindex="2" /> <input type="reset" value="{L_RESET}" name="reset" class="button2" /></dd> + </dl> + {S_FORM_TOKEN} + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_resend.html b/prosilver/template/ucp_resend.html new file mode 100644 index 0000000..840e972 --- /dev/null +++ b/prosilver/template/ucp_resend.html @@ -0,0 +1,32 @@ +<!-- INCLUDE overall_header.html --> + + +<form action="{S_PROFILE_ACTION}" method="post" id="resend"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h2>{L_UCP_RESEND}</h2> + + <fieldset> + <dl> + <dt><label for="username">{L_USERNAME}:</label></dt> + <dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd> + </dl> + <dl> + <dt><label for="email">{L_EMAIL_ADDRESS}:</label><br /><span>{L_EMAIL_REMIND}</span></dt> + <dd><input class="inputbox narrow" type="text" name="email" id="email" size="25" maxlength="100" /></dd> + </dl> + <dl> + <dt> </dt> + <dd>{S_HIDDEN_FIELDS}{S_FORM_TOKEN}<input type="submit" name="submit" id="submit" class="button1" value="{L_SUBMIT}" tabindex="2" /> <input type="reset" value="{L_RESET}" name="reset" class="button2" /></dd> + </dl> + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_zebra_foes.html b/prosilver/template/ucp_zebra_foes.html new file mode 100644 index 0000000..3c1b1cd --- /dev/null +++ b/prosilver/template/ucp_zebra_foes.html @@ -0,0 +1,41 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_FOES_EXPLAIN}</p> + + <fieldset class="fields2"> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FOES}:</label><br /><span>{L_YOUR_FOES_EXPLAIN}</span></dt> + <dd> + <!-- IF S_USERNAME_OPTIONS --> + <select name="usernames[]" id="usernames" multiple="multiple" size="5">{S_USERNAME_OPTIONS}</select> + <!-- ELSE --> + <strong>{L_NO_FOES}</strong> + <!-- ENDIF --> + </dd> + </dl> + <dl> + <dt><label for="add">{L_ADD_FOES}:</label><br /><span>{L_ADD_FOES_EXPLAIN}</span></dt> + <dd><textarea name="add" id="add" rows="3" cols="30" class="inputbox">{USERNAMES}</textarea></dd> + <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/ucp_zebra_friends.html b/prosilver/template/ucp_zebra_friends.html new file mode 100644 index 0000000..1e0efbf --- /dev/null +++ b/prosilver/template/ucp_zebra_friends.html @@ -0,0 +1,41 @@ +<!-- INCLUDE ucp_header.html --> + +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}> + +<h2>{L_TITLE}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <p>{L_FRIENDS_EXPLAIN}</p> + + <fieldset class="fields2"> + <!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> + <dl> + <dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FRIENDS}:</label><br /><span>{L_YOUR_FRIENDS_EXPLAIN}</span></dt> + <dd> + <!-- IF S_USERNAME_OPTIONS --> + <select name="usernames[]" id="usernames" multiple="multiple" size="5">{S_USERNAME_OPTIONS}</select> + <!-- ELSE --> + <strong>{L_NO_FRIENDS}</strong> + <!-- ENDIF --> + </dd> + </dl> + <dl> + <dt><label for="add">{L_ADD_FRIENDS}:</label><br /><span>{L_ADD_FRIENDS_EXPLAIN}</span></dt> + <dd><textarea name="add" id="add" rows="3" cols="30" class="inputbox">{USERNAMES}</textarea></dd> + <dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd> + </dl> + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" name="submit" value="{L_SUBMIT}" class="button1" /> + {S_FORM_TOKEN} +</fieldset> +</form> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/viewforum_body.html b/prosilver/template/viewforum_body.html new file mode 100644 index 0000000..02f42fa --- /dev/null +++ b/prosilver/template/viewforum_body.html @@ -0,0 +1,219 @@ +<!-- INCLUDE overall_header.html --> +<!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF --> +<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> + +<!-- IF FORUM_DESC or MODERATORS or U_MCP --> +<div> + <!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body --> + <!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF --> + <!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}</p><!-- ENDIF --> +</div> +<!-- ENDIF --> + +<!-- IF S_FORUM_RULES --> + <div class="rules"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF U_FORUM_RULES --> + <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a> + <!-- ELSE --> + <strong>{L_FORUM_RULES}</strong><br /> + {FORUM_RULES} + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<!-- IF S_HAS_SUBFORUM --> +<!-- IF not S_IS_BOT and U_MARK_FORUMS --> +<ul class="linklist"> + <li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_SUBFORUMS_READ}</a></li> +</ul> +<!-- ENDIF --> + <!-- INCLUDE forumlist_body.html --> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_POST_INFO or PAGINATION or TOTAL_POSTS or TOTAL_TOPICS --> + <div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->> + + <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO --> + <div class="buttons"> + <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div> + </div> + <!-- ENDIF --> + + <!-- IF S_DISPLAY_SEARCHBOX --> + <div class="search-box"> + <form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}"> + <fieldset> + <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" /> + <input class="button2" type="submit" value="{L_SEARCH}" /> + {S_SEARCH_LOCAL_HIDDEN_FIELDS} + </fieldset> + </form> + </div> + <!-- ENDIF --> + + <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS --> + <div class="pagination"> + <!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" accesskey="m">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --><!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF --> + <!-- IF PAGE_NUMBER --> + <!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --> + <!-- ENDIF --> + </div> + <!-- ENDIF --> + + </div> +<!-- ENDIF --> + +<!-- IF S_NO_READ_ACCESS --> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <strong>{L_NO_READ_ACCESS}</strong> + <span class="corners-bottom"><span></span></span></div> + </div> + + <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT --> + + <form action="{S_LOGIN_ACTION}" method="post"> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3> + + <fieldset class="fields1"> + <dl> + <dt><label for="username">{L_USERNAME}:</label></dt> + <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd> + </dl> + <dl> + <dt><label for="password">{L_PASSWORD}:</label></dt> + <dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd> + <!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF --> + <dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd> + </dl> + <dl> + <dt> </dt> + <dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd> + </dl> + {S_LOGIN_REDIRECT} + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> + </div> + + </form> + + <!-- ENDIF --> + +<!-- ENDIF --> + +<!-- BEGIN topicrow --> + + <!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW --> + </ul> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + + <!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH --> + <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + <ul class="topiclist"> + <li class="header"> + <dl class="icon"> + <dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt> + <dd class="posts">{L_REPLIES}</dd> + <dd class="views">{L_VIEWS}</dd> + <dd class="lastpost"><span>{L_LAST_POST}</span></dd> + </dl> + </li> + </ul> + <ul class="topiclist topics"> + <!-- ENDIF --> + + <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->"> + <dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;"> + <dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> + <!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> + <!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> + <!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF --> + <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} + </dt> + <dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd> + <dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd> + <dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} + <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span> + </dd> + </dl> + </li> + + <!-- IF topicrow.S_LAST_ROW --> + </ul> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> + +<!-- BEGINELSE --> + <!-- IF S_IS_POSTABLE --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + <strong>{L_NO_TOPICS}</strong> + <span class="corners-bottom"><span></span></span></div> + </div> + <!-- ENDIF --> +<!-- END topicrow --> + +<!-- IF S_SELECT_SORT_DAYS and not S_DISPLAY_ACTIVE --> + <form method="post" action="{S_FORUM_ACTION}"> + <fieldset class="display-options"> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF not S_IS_BOT --> + <label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> + <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label> + <!-- ENDIF --> + </fieldset> + </form> + <hr /> +<!-- ENDIF --> + +<!-- IF .topicrow and not S_DISPLAY_ACTIVE --> + <div class="topic-actions"> + <!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO --> + <div class="buttons"> + <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div> + </div> + <!-- ENDIF --> + + <!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS --> + <div class="pagination"> + <!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --> + <!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS}<!-- ENDIF --> + <!-- IF TOTAL_USERS -->{TOTAL_USERS}<!-- ENDIF --> + <!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> + • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --> + </div> + <!-- ENDIF --> + </div> +<!-- ENDIF --> + +<!-- INCLUDE jumpbox.html --> + +<!-- IF S_DISPLAY_ONLINE_LIST --> + <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3> + <p>{LOGGED_IN_USER_LIST}</p> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_POST_INFO --> + <h3>{L_FORUM_PERMISSIONS}</h3> + <p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p> +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/viewonline_body.html b/prosilver/template/viewonline_body.html new file mode 100644 index 0000000..b111d74 --- /dev/null +++ b/prosilver/template/viewonline_body.html @@ -0,0 +1,57 @@ +<!-- INCLUDE overall_header.html --> + +<h2>{TOTAL_REGISTERED_USERS_ONLINE}</h2> +<p>{TOTAL_GUEST_USERS_ONLINE}<!-- IF S_SWITCH_GUEST_DISPLAY --> • <a href="{U_SWITCH_GUEST_DISPLAY}">{L_SWITCH_GUEST_DISPLAY}</a><!-- ENDIF --></p> + +<ul class="linklist"> + <li class="rightside pagination"><!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li> +</ul> + +<div class="forumbg"> + <div class="inner"><span class="corners-top"><span></span></span> + + <table class="table1" cellspacing="1"> + + <!-- IF .user_row --> + <thead> + <tr> + <th class="name"><a href="{U_SORT_USERNAME}">{L_USERNAME}</a></th> + <th class="info"><a href="{U_SORT_LOCATION}">{L_FORUM_LOCATION}</a></th> + <th class="active"><a href="{U_SORT_UPDATED}">{L_LAST_UPDATED}</a></th> + </tr> + </thead> + <tbody> + <!-- BEGIN user_row --> + <tr class="<!-- IF user_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> + <td>{user_row.USERNAME_FULL}<!-- IF user_row.USER_IP --> <span style="margin-left: 30px;">{L_IP}: <a href="{user_row.U_USER_IP}">{user_row.USER_IP}</a> » <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></span><!-- ENDIF --> + <!-- IF user_row.USER_BROWSER --><br />{user_row.USER_BROWSER}<!-- ENDIF --></td> + <td class="info"><a href="{user_row.U_FORUM_LOCATION}">{user_row.FORUM_LOCATION}</a></td> + <td class="active">{user_row.LASTUPDATE}</td> + </tr> + <!-- END user_row --> + <!-- ELSE --> + <tbody> + <tr class="bg1"> + <td colspan="3">{L_NO_ONLINE_USERS}<!-- IF S_SWITCH_GUEST_DISPLAY --> • <a href="{U_SWITCH_GUEST_DISPLAY}">{L_SWITCH_GUEST_DISPLAY}</a><!-- ENDIF --></td> + </tr> + <!-- ENDIF --> + </tbody> + </table> + + <span class="corners-bottom"><span></span></span></div> +</div> + +<!-- IF PREVIOUS_PAGE or NEXT_PAGE --> +<fieldset class="display-options right-box"> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="{S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ELSE -->{L_PREVIOUS}<!-- ENDIF --> • <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="{S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ELSE -->{L_NEXT}<!-- ENDIF --> +</fieldset> +<!-- ENDIF --> + +<!-- IF LEGEND --><p><em>{L_LEGEND}: {LEGEND}</em></p><!-- ENDIF --> + +<ul class="linklist"> + <li class="rightside pagination"><!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li> +</ul> + +<!-- INCLUDE jumpbox.html --> +<!-- INCLUDE overall_footer.html --> diff --git a/prosilver/template/viewonline_whois.html b/prosilver/template/viewonline_whois.html new file mode 100644 index 0000000..a9c6473 --- /dev/null +++ b/prosilver/template/viewonline_whois.html @@ -0,0 +1,16 @@ +<!-- INCLUDE simple_header.html --> + +<h2>{L_WHOIS}</h2> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="postbody"><div class="content"> + <pre>{WHOIS}</pre> + </div></div> + + <span class="corners-bottom"><span></span></span></div> +</div> +<a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/viewtopic_body.html b/prosilver/template/viewtopic_body.html new file mode 100644 index 0000000..32292f8 --- /dev/null +++ b/prosilver/template/viewtopic_body.html @@ -0,0 +1,274 @@ +<!-- INCLUDE overall_header.html --> +<!-- IF U_MCP --><p>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF --> +<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2> +<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body --> +<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF --> + +<!-- IF MODERATORS or U_MCP --> + <p> + <!-- IF MODERATORS --> + <strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS} + <!-- ENDIF --> + + </p> +<!-- ENDIF --> + +<!-- IF S_FORUM_RULES --> + <div class="rules"> + <div class="inner"><span class="corners-top"><span></span></span> + + <!-- IF U_FORUM_RULES --> + <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a> + <!-- ELSE --> + <strong>{L_FORUM_RULES}</strong><br /> + {FORUM_RULES} + <!-- ENDIF --> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +<div class="topic-actions"> + + <div class="buttons"> + <!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO --> + <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div> + <!-- ENDIF --> + </div> + + <!-- IF S_DISPLAY_SEARCHBOX --> + <div class="search-box"> + <form method="get" id="topic-search" action="{S_SEARCHBOX_ACTION}"> + <fieldset> + <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" /> + <input class="button2" type="submit" value="{L_SEARCH}" /> + {S_SEARCH_LOCAL_HIDDEN_FIELDS} + </fieldset> + </form> + </div> + <!-- ENDIF --> + + <!-- IF PAGINATION or TOTAL_POSTS --> + <div class="pagination"> + <!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->{TOTAL_POSTS} + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </div> + <!-- ENDIF --> + +</div> +<div class="clear"></div> + +<!-- IF S_HAS_POLL --> + <form method="post" action="{S_POLL_ACTION}"> + + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="content"> + <h2>{POLL_QUESTION}</h2> + <p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p> + + <fieldset class="polls"> + <!-- BEGIN poll_option --> + <dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->> + <dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt> + <!-- IF S_CAN_VOTE --><dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF --> + <!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd> + <dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF --> + </dl> + <!-- END poll_option --> + + <!-- IF S_DISPLAY_RESULTS --> + <dl> + <dt> </dt> + <dd class="resultbar">{L_TOTAL_VOTES} : {TOTAL_VOTES}</dd> + </dl> + <!-- ENDIF --> + + <!-- IF S_CAN_VOTE --> + <dl style="border-top: none;"> + <dt> </dt> + <dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd> + </dl> + <!-- ENDIF --> + + <!-- IF not S_DISPLAY_RESULTS --> + <dl style="border-top: none;"> + <dt> </dt> + <dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd> + </dl> + <!-- ENDIF --> + </fieldset> + </div> + + <span class="corners-bottom"><span></span></span></div> + {S_FORM_TOKEN} + {S_HIDDEN_FIELDS} + </div> + + + </form> + <hr /> +<!-- ENDIF --> + +<!-- BEGIN postrow --> + <!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF --> + <div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->"> + <div class="inner"><span class="corners-top"><span></span></span> + + <div class="postbody"> + <!-- IF postrow.S_IGNORE_POST --> + <div class="ignore">{postrow.L_IGNORE_POST}</div> + <!-- ELSE --> + + <!-- IF not S_IS_BOT --> + <!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE --> + <ul class="profile-icons"> + <!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF --> + </ul> + <!-- ENDIF --> + <!-- ENDIF --> + + <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3> + <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » {postrow.POST_DATE} </p> + + <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED --> + <p class="rules"> + <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF --> + <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF --> + </p> + <!-- ENDIF --> + + <div class="content">{postrow.MESSAGE}</div> + + <!-- IF postrow.S_HAS_ATTACHMENTS --> + <dl class="attachbox"> + <dt>{L_ATTACHMENTS}</dt> + <!-- BEGIN attachment --> + <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd> + <!-- END attachment --> + </dl> + <!-- ENDIF --> + + <!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF --> + <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON --> + <div class="notice">{postrow.EDITED_MESSAGE} + <!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF --> + </div> + <!-- ENDIF --> + + <!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF --> + <!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF --> + <!-- ENDIF --> + + </div> + + <!-- IF not postrow.S_IGNORE_POST --> + <dl class="postprofile" id="profile{postrow.POST_ID}"> + <dt> + <!-- IF postrow.POSTER_AVATAR --> + <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br /> + <!-- ENDIF --> + <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF --> + </dt> + + <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF --> + + <dd> </dd> + + <!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF --> + <!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF --> + <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF --> + + <!-- IF postrow.S_PROFILE_FIELD1 --> + <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. --> + <dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd> + <!-- ENDIF --> + + <!-- BEGIN custom_fields --> + <dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd> + <!-- END custom_fields --> + + <!-- IF not S_IS_BOT --> + <!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER --> + <dd> + <ul class="profile-icons"> + <!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF --> + <!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF --> + </ul> + </dd> + <!-- ENDIF --> + <!-- ENDIF --> + + </dl> + <!-- ENDIF --> + + <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div> + + <span class="corners-bottom"><span></span></span></div> + </div> + + <hr class="divider" /> +<!-- END postrow --> +<!-- IF S_QUICK_REPLY --> + <!-- INCLUDE quickreply_editor.html --> +<!-- ENDIF --> +<!-- IF S_NUM_POSTS > 1 or PREVIOUS_PAGE --> + <form id="viewtopic" method="post" action="{S_TOPIC_ACTION}"> + + <fieldset class="display-options" style="margin-top: 0; "> + <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF --> + <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF --> + <!-- IF not S_IS_BOT --> + <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label> + <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label> + <!-- ENDIF --> + </fieldset> + + </form> + <hr /> +<!-- ENDIF --> + +<div class="topic-actions"> + <div class="buttons"> + <!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO --> + <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div> + <!-- ENDIF --> + </div> + + <!-- IF PAGINATION or TOTAL_POSTS --> + <div class="pagination"> + {TOTAL_POSTS} + <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> + </div> + <!-- ENDIF --> +</div> + +<!-- INCLUDE jumpbox.html --> + +<!-- IF S_TOPIC_MOD --> + <form method="post" action="{S_MOD_ACTION}"> + <fieldset class="quickmod"> + <label for="quick-mod-select">{L_QUICK_MOD}:</label> {S_TOPIC_MOD} <input type="submit" value="{L_GO}" class="button2" /> + {S_FORM_TOKEN} + </fieldset> + </form> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_ONLINE_LIST --> + <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3> + <p>{LOGGED_IN_USER_LIST}</p> +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/prosilver/template/viewtopic_print.html b/prosilver/template/viewtopic_print.html new file mode 100644 index 0000000..0fd0e6d --- /dev/null +++ b/prosilver/template/viewtopic_print.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> +<head> + +<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> +<meta http-equiv="content-style-type" content="text/css" /> +<meta http-equiv="content-language" content="{S_USER_LANG}" /> +<meta http-equiv="imagetoolbar" content="no" /> +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> +<meta name="robots" content="noindex" /> +{META} +<title>{SITENAME} • {PAGE_TITLE}</title> + +<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" /> +</head> + +<body id="phpbb"> +<div id="wrap"> + <a id="top" name="top" accesskey="t"></a> + + <div id="page-header"> + <h1>{SITENAME}</h1> + <p>{SITE_DESCRIPTION}<br /><a href="{U_FORUM}">{U_FORUM}</a></p> + + <h2>{TOPIC_TITLE}</h2> + <p><a href="{U_TOPIC}">{U_TOPIC}</a></p> + </div> + + <div id="page-body"> + <div class="page-number">{PAGE_NUMBER}</div> + <!-- BEGIN postrow --> + <div class="post"> + <h3>{postrow.POST_SUBJECT}</h3> + <div class="date">{postrow.MINI_POST_IMG}{L_POSTED}: <strong>{postrow.POST_DATE}</strong></div> + <div class="author">{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR}</strong></div> + <div class="content">{postrow.MESSAGE}</div> + </div> + <hr /> + <!-- END postrow --> + </div> + + <div id="page-footer"> + <div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div> + <div class="copyright">Powered by phpBB® Forum Software © phpBB Group<br />http://www.phpbb.com/</div> + </div> +</div> + +</body> +</html>
\ No newline at end of file |