diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-10 00:59:11 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-10 00:59:11 +0000 |
commit | cb6cd93dae4ca2135c58ad2d8f4cf0e2ae53031a (patch) | |
tree | 316329913e0785924f526e210f22a53df5297925 /phpBB/templates/subSilver | |
parent | b5d4bc5ced7f744ff5f0cb8e656f8ef37e709f9d (diff) | |
download | forums-cb6cd93dae4ca2135c58ad2d8f4cf0e2ae53031a.tar forums-cb6cd93dae4ca2135c58ad2d8f4cf0e2ae53031a.tar.gz forums-cb6cd93dae4ca2135c58ad2d8f4cf0e2ae53031a.tar.bz2 forums-cb6cd93dae4ca2135c58ad2d8f4cf0e2ae53031a.tar.xz forums-cb6cd93dae4ca2135c58ad2d8f4cf0e2ae53031a.zip |
Updates ... looks a little better? Maybe we should move to genmed as the "new" gen?
git-svn-id: file:///svn/phpbb/trunk@3998 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates/subSilver')
-rw-r--r-- | phpBB/templates/subSilver/ucp_header.html | 2 | ||||
-rw-r--r-- | phpBB/templates/subSilver/ucp_profile.html | 241 |
2 files changed, 185 insertions, 58 deletions
diff --git a/phpBB/templates/subSilver/ucp_header.html b/phpBB/templates/subSilver/ucp_header.html index 9cfcb4705e..84a596af98 100644 --- a/phpBB/templates/subSilver/ucp_header.html +++ b/phpBB/templates/subSilver/ucp_header.html @@ -1,7 +1,7 @@ <!-- $Id$ --> <!-- INCLUDE overall_header.html --> -<form method="post" action="{S_UCP_ACTION}" {S_FORM_ENCTYPE}><table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<form method="post" name="ucp" action="{S_UCP_ACTION}" {S_FORM_ENCTYPE}><table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> <tr> <td class="nav" colspan="2" align="left" valign="middle"><a href="{U_INDEX}">{L_INDEX}</a></td> </tr> diff --git a/phpBB/templates/subSilver/ucp_profile.html b/phpBB/templates/subSilver/ucp_profile.html index 031a615c96..6eb2c34293 100644 --- a/phpBB/templates/subSilver/ucp_profile.html +++ b/phpBB/templates/subSilver/ucp_profile.html @@ -1,9 +1,45 @@ <!-- $Id$ --> +<script language="javascript" type="text/javascript"> +<!-- + +// Define the bbCode tags +bbcode = new Array(); +bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[flash]','[/flash]','[url]','[/url]'); +imageTag = false; + +// Helpline messages +b_help = "{L_BBCODE_B_HELP}"; +i_help = "{L_BBCODE_I_HELP}"; +u_help = "{L_BBCODE_U_HELP}"; +q_help = "{L_BBCODE_Q_HELP}"; +c_help = "{L_BBCODE_C_HELP}"; +l_help = "{L_BBCODE_L_HELP}"; +o_help = "{L_BBCODE_O_HELP}"; +p_help = "{L_BBCODE_P_HELP}"; +w_help = "{L_BBCODE_W_HELP}"; +a_help = "{L_BBCODE_A_HELP}"; +s_help = "{L_BBCODE_S_HELP}"; +f_help = "{L_BBCODE_F_HELP}"; +e_help = "{L_BBCODE_E_HELP}"; + +function checkForm() +{ + if (document.post.message.value.length < 2) { + alert('{L_EMPTY_MESSAGE}'); + return false; + } else { +// document.post.post.disabled = true; + return true; + } +} +//--> +</script> +<script language="javascript" type="text/javascript" src="templates/subSilver/editor.js"></script> <!-- INCLUDE ucp_header.html --> <tr> - <td width="20%" valign="top"><table width="100%" cellspacing="1" cellpadding="4" border="0"> + <td width="20%" height="100%"><table width="100%" height="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th>Options</th> </tr> @@ -12,12 +48,19 @@ <!-- IF ucp_subsection.S_SELECTED --> <td class="row1" height="25" nowrap="nowrap"><span class="nav"><b>{ucp_subsection.L_TITLE}</b> <!-- ELSE --> - <td class="row2" height="25" nowrap="nowrap"><a class="nav" href="{ucp_subsection.U_TITLE}">{ucp_subsection.L_TITLE}</a> + <td class="row2" height="25" nowrap="nowrap" onmouseover="this.className='row1'" onmouseout="this.className='row2'"><a class="nav" href="{ucp_subsection.U_TITLE}">{ucp_subsection.L_TITLE}</a> <!-- ENDIF --> </td> </tr> <!-- END ucp_subsection --> + <tr> + <td class="row2" height="100%"> </td> + </tr> + <tr> + <td class="cat" height="28"> </td> + </tr> </table></td> + <td class="row3"><img src="images/spacer.gif" width="1" alt="" /></td> <td width="80%" valign="top"><table width="100%" cellspacing="1" cellpadding="4" border="0"> <tr> <th colspan="2" height="25" valign="middle">{L_TITLE}</th> @@ -31,88 +74,172 @@ <!-- IF S_DISPLAY_REG_DETAILS --> <tr> - <td class="row1" width="38%"><span class="gen">{L_USERNAME}: </span></td> + <td class="row1" width="38%"><b class="genmed">{L_USERNAME}: </b></td> <td class="row2"><!-- IF S_CHANGE_USERNAME --><input type="text" class="post" style="width:200px" name="username" size="25" maxlength="40" value="{USERNAME}" /><!-- ELSE --><b class="gen">{USERNAME}</b><!-- ENDIF --></td> </tr> <tr> - <td class="row1"><span class="gen">{L_EMAIL_ADDRESS}: </span></td> - <td class="row2"><input type="text" class="post" style="width:200px" name="email" size="25" maxlength="255" value="{EMAIL}" /></td> + <td class="row1"><b class="genmed">{L_EMAIL_ADDRESS}: </b></td> + <td class="row2"><!-- IF S_CHANGE_EMAIL --><input type="text" class="post" style="width:200px" name="email" size="25" maxlength="255" value="{EMAIL}" /><!-- ELSE --><b class="gen">{EMAIL}</b><!-- ENDIF --></td> </tr> + <!-- IF S_CHANGE_PASSWORD --> <tr> - <td class="row1"><span class="gen">{L_CURRENT_PASSWORD}: </span><br /> - <span class="gensmall">{L_CURRENT_PASSWORD_EXPLAIN}</span></td> - <td class="row2"> - <input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{PASSWORD}" /> - </td> + <td class="row1"><b class="genmed">{L_NEW_PASSWORD}: </b><br /><span class="gensmall">{L_NEW_PASSWORD_EXPLAIN}</span></td> + <td class="row2"><input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{PASSWORD}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_NEW_PASSWORD}: </span><br /> - <span class="gensmall">{L_NEW_PASSWORD_EXPLAIN}</span></td> - <td class="row2"> - <input type="password" class="post" style="width: 200px" name="new_password" size="25" maxlength="100" value="{PASSWORD}" /> - </td> + <td class="row1"><b class="genmed">{L_CONFIRM_PASSWORD}: </b><br /><span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td> + <td class="row2"><input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD}: </span><br /> - <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td> - <td class="row2"> - <input type="password" class="post" style="width: 200px" name="password_confirm" size="25" maxlength="100" value="{PASSWORD_CONFIRM}" /> - </td> + <td class="row1"><b class="genmed">{L_CURRENT_PASSWORD}: </b><br /><span class="gensmall">{L_CURRENT_PASSWORD_EXPLAIN}</span></td> + <td class="row2"><input type="password" class="post" style="width: 200px" name="cur_password" size="25" maxlength="100" value="{PASSWORD}" /></td> </tr> <!-- ENDIF --> + <!-- ENDIF --> <!-- IF S_DISPLAY_PROFILE --> <tr> <td class="row2" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td> </tr> <tr> - <td class="row1"><span class="gen">{L_ICQ}:</span></td> - <td class="row2"><input type="text" name="icq" class="post"style="width: 100px" size="10" maxlength="15" value="{ICQ}" /></td> + <td class="row1"><b class="genmed">{L_ICQ}: </b></td> + <td class="row2"><input class="post" type="text" name="icq" size="30" maxlength="15" value="{ICQ}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_AIM}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 150px" name="aim" size="20" maxlength="255" value="{AIM}" /></td> + <td class="row1"><b class="genmed">{L_AIM}: </b></td> + <td class="row2"><input class="post" type="text" name="aim" size="30" maxlength="255" value="{AIM}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_MSNM}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 150px" name="msn" size="20" maxlength="255" value="{MSN}" /></td> + <td class="row1"><b class="genmed">{L_MSNM}: </b></td> + <td class="row2"><input class="post" type="text" name="msn" size="30" maxlength="255" value="{MSN}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_YIM}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 150px" name="yim" size="20" maxlength="255" value="{YIM}" /></td> + <td class="row1"><b class="genmed">{L_YIM}: </b></td> + <td class="row2"><input class="post" type="text" name="yim" size="30" maxlength="255" value="{YIM}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_WEBSITE}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 200px" name="website" size="25" maxlength="255" value="{WEBSITE}" /></td> + <td class="row1"><b class="genmed">{L_JABBER}: </b></td> + <td class="row2"><input class="post" type="text" name="yim" size="30" maxlength="255" value="{YIM}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_LOCATION}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 200px" name="location" size="25" maxlength="100" value="{LOCATION}" /></td> + <td class="row1"><b class="genmed">{L_WEBSITE}: </b></td> + <td class="row2"><input class="post" type="text" name="website" size="30" maxlength="255" value="{WEBSITE}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_OCCUPATION}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 200px" name="occupation" size="25" maxlength="100" value="{OCCUPATION}" /></td> + <td class="row1"><b class="genmed">{L_LOCATION}: </b></td> + <td class="row2"><input class="post" type="text" name="location" size="30" maxlength="100" value="{LOCATION}" /></td> </tr> <tr> - <td class="row1"><span class="gen">{L_INTERESTS}:</span></td> - <td class="row2"><input type="text" class="post"style="width: 200px" name="interests" size="35" maxlength="150" value="{INTERESTS}" /></td> + <td class="row1"><b class="genmed">{L_BIRTHDAY}: </b></td> + <td class="row2"><span class="gensmall">Day:</span> <select name="birthday[day]">{S_BIRTHDAY_DAY_OPTIONS}</select> <span class="gensmall">Month:</span> <select name="birthday[month]">{S_BIRTHDAY_MONTH_OPTIONS}</select> <span class="gensmall">Year:</span> <select name="birthday[year]">{S_BIRTHDAY_YEAR_OPTIONS}</select></td> </tr> - <!-- ENDIF --> - - <!-- IF S_DISPLAY_SIGNATURE --> <tr> - <td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td> - <td class="row2"><textarea name="signature"style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea></td> + <td class="row1"><b class="genmed">{L_OCCUPATION}: </b></td> + <td class="row2"><textarea class="post" name="occupation" rows="3" cols="30">{OCCUPATION}</textarea></td> + </tr> + <tr> + <td class="row1"><b class="genmed">{L_INTERESTS}: </b></td> + <td class="row2"><textarea class="post" name="interests" rows="3" cols="30">{INTERESTS}</textarea></td> </tr> <!-- ENDIF --> - <!-- IF S_DISPLAY_AVATAR --> + <!-- IF S_DISPLAY_SIGNATURE --> <tr> - <td colspan="2" height="28"> </td> + <td class="row1"><b class="genmed">{L_SIGNATURE}: </b><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}</span></td> + <td class="row2"><table cellspacing="0" cellpadding="2" border="0"> + <tr align="center" valign="middle"> + <td><input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" onmouseover="helpline('b')" /></td> + <td><input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" onmouseover="helpline('i')" /></td> + <td><input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" onmouseover="helpline('u')" /></td> + <td><input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" /></td> + <td><input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" /></td> + + <td><input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" /></td> + <td><input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" /></td> + <td><input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" /></td> + <td><input type="button" class="button" accesskey="f" name="addbbcode16" value="Flash" style="width: 40px" onclick="bbstyle(16)" onmouseover="helpline('p')" /></td> + <td><input type="button" class="button" accesskey="w" name="addbbcode18" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(18)" onmouseover="helpline('w')" /></td> + </tr> + <tr> + <td colspan="10"><table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td><span class="genmed"> {L_FONT_SIZE}:</span> <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')"> + <option value="7">{L_FONT_TINY}</option> + <option value="9">{L_FONT_SMALL}</option> + <option value="12" selected="selected">{L_FONT_NORMAL}</option> + <option value="18">{L_FONT_LARGE}</option> + <option value="24">{L_FONT_HUGE}</option> + </select></td> + <td class="gensmall" nowrap="nowrap" align="right"><a href="javascript:bbstyle(-1)" onmouseover="helpline('a')">{L_CLOSE_TAGS}</a></td> + </tr> + </table></td> + </tr> + <tr> + <td colspan="10" width="450"><input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" /></td> + </tr> + <tr> + <td colspan="10" align="center"><textarea class="post" name="signature" rows="6" cols="60" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{SIGNATURE}</textarea></td> + </tr> + </table></td> + </tr> + <tr> + <td class="row1" valign="top"><b class="genmed">{L_OPTIONS}</b><br /><table cellspacing="2" cellpadding="0" border="0"> + <tr> + <td class="gensmall">{HTML_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{BBCODE_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{IMG_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{FLASH_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{SMILIES_STATUS}</td> + </tr> + </table></td> + <td class="row2" valign="top"><table cellspacing="0" cellpadding="1" border="0"> + <!-- IF S_HTML_ALLOWED --> + <tr> + <td><input type="checkbox" name="disable_html" {S_HTML_CHECKED} /></td> + <td class="gen">{L_DISABLE_HTML}</td> + </tr> + <!-- ENDIF --> + <!-- IF S_BBCODE_ALLOWED --> + <tr> + <td><input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} /></td> + <td class="gen">{L_DISABLE_BBCODE}</td> + </tr> + <!-- ENDIF --> + <!-- IF S_SMILIES_ALLOWED --> + <tr> + <td><input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} /></td> + <td class="gen">{L_DISABLE_SMILIES}</td> + </tr> + <!-- ENDIF --> + <tr> + <td><input type="checkbox" name="disable_magic_url" {S_MAGIC_URL_CHECKED} /></td> + <td class="gen">{L_DISABLE_MAGIC_URL}</td> + </tr> + </table></td> + </tr> + <!-- IF S_SIGNATURE_PREVIEW --> + <tr> + <th colspan="2" height="25" valign="middle">{L_SIGNATURE_PREVIEW}</th> </tr> <tr> - <th colspan="2" height="12" valign="middle">{L_AVATAR_PANEL}</th> + <td class="row1" colspan="2" align="center"><table cellspacing="0" cellpadding="6" border="0"> + <tr> + <td><span class="postdetails">{SIGNATURE_PREVIEW}</span></td> + </tr> + </table></td> </tr> + <!-- ENDIF --> + <!-- ENDIF --> + + <!-- IF S_DISPLAY_AVATAR --> <tr> <td class="row1" colspan="2"><table width="70%" cellspacing="2" cellpadding="0" border="0" align="center"> <tr> @@ -121,34 +248,34 @@ </tr> </table></td> </tr> - <!-- BEGIN switch_avatar_local_upload --> + <!-- IF S_UPLOAD_AVATAR_FILE --> <tr> - <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE}:</span></td> + <td class="row1"><b class="genmed">{L_UPLOAD_AVATAR_FILE}:</b></td> <td class="row2"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" name="avatar" class="post" style="width:200px" /></td> </tr> - <!-- END switch_avatar_local_upload --> - <!-- BEGIN switch_avatar_remote_upload --> + <!-- ENDIF --> + <!-- IF S_UPLOAD_AVATAR_URL --> <tr> - <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL}:</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td> + <td class="row1"><b class="genmed">{L_UPLOAD_AVATAR_URL}:</b><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td> <td class="row2"><input type="text" name="avatarurl" size="40" class="post" style="width:200px" /></td> </tr> - <!-- END switch_avatar_remote_upload --> - <!-- BEGIN switch_avatar_remote_link --> + <!-- ENDIF --> + <!-- IF S_LINK_AVATAR --> <tr> - <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR}:</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td> + <td class="row1"><b class="genmed">{L_LINK_REMOTE_AVATAR}:</b><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td> <td class="row2"><input type="text" name="avatarremoteurl" size="40" class="post" style="width:200px" /></td> </tr> - <!-- END switch_avatar_remote_link --> - <!-- BEGIN switch_avatar_local_gallery --> + <!-- ENDIF --> + <!-- IF S_GALLERY_AVATAR --> <tr> - <td class="row1"><span class="gen">{L_AVATAR_GALLERY}:</span></td> + <td class="row1"><b class="genmed">{L_AVATAR_GALLERY}:</b></td> <td class="row2"><input type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" class="liteoption" /></td> </tr> - <!-- END switch_avatar_local_gallery --> + <!-- ENDIF --> <!-- ENDIF --> <tr> - <td class="cat" colspan="2" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="liteoption" type="reset" value="{L_RESET}" name="reset" /></td> + <td class="cat" colspan="2" height="28" align="center">{S_HIDDEN_FIELDS}<!-- IF S_DISPLAY_SIGNATURE --><input class="liteoption" type="submit" name="preview" value="{L_PREVIEW}" /> <!-- ENDIF --><input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="liteoption" type="reset" value="{L_RESET}" name="reset" /></td> </tr> </table></td> </tr> |