Update of /cvsroot/phpslash/phpslash-dev/include/templates/en/basic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15573/phpslash-dev/include/templates/en/basic
Modified Files:
about.tpl slashHead-fckeditor.tpl submissionForm.tpl
Log Message:
Submission form uses tinyMCE textarea editor.
Index: about.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/about.tpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** about.tpl 19 Nov 2004 22:23:13 -0000 1.3
--- about.tpl 20 Nov 2004 14:56:27 -0000 1.4
***************
*** 12,16 ****
<td><a href="http://prdownloads.sourceforge.net/phpslash/phpslash-0.8.tar.gz?download">V0.8</a></td>
<td><a href="http://www.php-slash.org">PHPSlash Development Team</a></td>
! <td>November 19, 2004</td>
</tr>
<tr>
--- 12,16 ----
<td><a href="http://prdownloads.sourceforge.net/phpslash/phpslash-0.8.tar.gz?download">V0.8</a></td>
<td><a href="http://www.php-slash.org">PHPSlash Development Team</a></td>
! <td>November 20, 2004</td>
</tr>
<tr>
Index: slashHead-fckeditor.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/slashHead-fckeditor.tpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** slashHead-fckeditor.tpl 15 Nov 2004 22:03:12 -0000 1.6
--- slashHead-fckeditor.tpl 20 Nov 2004 14:56:28 -0000 1.7
***************
*** 46,77 ****
function PSL_chooseEditor(onLoad) {
- // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE
- // if((document.all && document.designMode) || (document.designMode)) {
-
// IE 5.5 - Eliminating reload() because it pulled down new form data
! if(document.all && document.designMode) {
! // HTML or htmlArea
! if (document.editNew.content_type[0].checked) {
! // HTMLArea.replace('en');
! // HTMLArea.replaceAll();
! initEditor();
! } else {
! // how to remove in IE?
!
! }
!
! // W3C/Moz 1.3+ - reload() without adjusting form data
! } else if(document.designMode) {
! // HTML or htmlArea
! if (document.editNew.content_type[0].checked) {
! // HTMLArea.replace('en');
! // HTMLArea.replaceAll();
! initEditor();
} else {
! if(onLoad == 1) {
! onLoad = 2;
! window.location.reload();
! }
}
}
--- 46,64 ----
function PSL_chooseEditor(onLoad) {
+ // if IE 5.5 or W3C/Moz 1.3+ - Can't combine the two due to problems with reload() & IE
// IE 5.5 - Eliminating reload() because it pulled down new form data
! if (document.editNew && document.designMode) {
! if (document.all) {
! // HTML or htmlArea
! if (document.editNew.content_type[0].checked) {
! initEditor();
! }
! // W3C/Moz 1.3+ - reload() without adjusting form data
} else {
! // HTML or htmlArea
! if (document.editNew.content_type[0].checked) {
! initEditor();
! }
}
}
Index: submissionForm.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/submissionForm.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** submissionForm.tpl 16 Nov 2004 18:12:51 -0000 1.2
--- submissionForm.tpl 20 Nov 2004 14:56:28 -0000 1.3
***************
*** 58,63 ****
<td class="descr">New Submittal Options:</td>
<td>
! <input type="radio" name="content" value="plain" /> Plain Text
! <input type="radio" checked="checked" name="content" value="html" /> HTML
<input type="radio" name="content" value="exttrans" /> Extended Translation
</td>
--- 58,63 ----
<td class="descr">New Submittal Options:</td>
<td>
! <input type="radio" checked="checked" name="content" value="plain" /> Plain Text
! <input type="radio" name="content" value="html" /> HTML
<input type="radio" name="content" value="exttrans" /> Extended Translation
</td>
***************
*** 66,69 ****
--- 66,70 ----
<td> </td>
<td>
+ <p><input type="checkbox" name="cookie" value="yes" {CHECKED} />Save Cookie with your name.</p>
<input type="submit" name="submit" value="save" />
<input type="submit" name="submit" value="preview" />
|