|
From: Jon O. <jon...@us...> - 2008-07-08 22:09:59
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12804 Modified Files: pa_comment_posting.tpl pa_lists.tpl pa_mini.tpl Log Message: Still updating/debugging generic core comments Index: pa_comment_posting.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/_core/pa_comment_posting.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pa_comment_posting.tpl 15 Feb 2008 20:04:48 -0000 1.3 --- pa_comment_posting.tpl 8 Jul 2008 22:09:55 -0000 1.4 *************** *** 49,53 **** } - // Replacement for arrayname.length property function getarraysize(thearray) { --- 49,52 ---- *************** *** 74,97 **** } - - function checkForm() { - - formErrors = false; - - if (document.post.message.value.length < 2) { - formErrors = "{L_EMPTY_MESSAGE}"; - } - - if (formErrors) { - alert(formErrors); - return false; - } else { - bbstyle(-1); - //formObj.preview.disabled = true; - //formObj.submit.disabled = true; - return true; - } - } - function emoticon(text) { var txtarea = document.post.message; --- 73,76 ---- *************** *** 134,138 **** } - function bbstyle(bbnumber) { var txtarea = document.post.message; --- 113,116 ---- *************** *** 238,254 **** <script language="javascript"> <!-- ! var postmaxchars = {MESSAGE_LENGTH}; ! function checklength(theform) { ! if (postmaxchars != 0) ! { ! message = ""; ! } ! else { ! message = ""; } ! alert("{L_MSG_LENGTH_1}"+theform.message.value.length+"{L_MSG_LENGTH_2}\n\r\n\r{L_MSG_LENGTH_3}"+postmaxchars+"{L_MSG_LENGTH_4}\n\r\n\r{L_MSG_LENGTH_5}"+(postmaxchars-theform.message.value.length)+"{L_MSG_LENGTH_6}"); } //--> </script> --- 216,254 ---- <script language="javascript"> <!-- ! var postmaxchars = {MESSAGE_LENGTH}; ! function checklength(theform) ! { ! if (postmaxchars != 0) { ! message = ""; ! } ! else ! { ! message = ""; ! } ! alert("{L_MSG_LENGTH_1}"+theform.message.value.length+"{L_MSG_LENGTH_2}\n\r\n\r{L_MSG_LENGTH_3}"+postmaxchars+"{L_MSG_LENGTH_4}\n\r\n\r{L_MSG_LENGTH_5}"+(postmaxchars-theform.message.value.length)+"{L_MSG_LENGTH_6}"); ! } ! ! function checkForm() { ! ! formErrors = false; ! ! if (document.post.message.value.length < 2) { ! formErrors = "{L_EMPTY_MESSAGE}"; ! } ! ! if (formErrors) { ! alert(formErrors); ! return false; ! } else { ! if (bbstyle) { ! bbstyle(-1); } ! //formObj.preview.disabled = true; ! //formObj.submit.disabled = true; ! return true; } + } //--> </script> Index: pa_mini.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/_core/pa_mini.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pa_mini.tpl 21 May 2008 21:54:57 -0000 1.3 --- pa_mini.tpl 8 Jul 2008 22:09:55 -0000 1.4 *************** *** 85,89 **** <!-- END display_username --> <!-- BEGIN display_date --> ! • {L_UPDATE_TIME}: {file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> --- 85,89 ---- <!-- END display_username --> <!-- BEGIN display_date --> ! • {L_UPDATE_TIME}: {file_rows.UPDATED}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> Index: pa_lists.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/_core/pa_lists.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pa_lists.tpl 9 Sep 2007 20:17:12 -0000 1.1 --- pa_lists.tpl 8 Jul 2008 22:09:55 -0000 1.2 *************** *** 20,24 **** <!-- END display_username --> <!-- BEGIN display_date --> ! • {L_UPDATE_TIME}: {file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> --- 20,24 ---- <!-- END display_username --> <!-- BEGIN display_date --> ! • {L_UPDATE_TIME}: {file_rows.UPDATED}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> |