Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31378/include
Modified Files:
functions_entries.inc.php functions_installer.inc.php
Log Message:
removed/marked the (so far discovered) most disturbing javascript-dependencies in s9y
Index: functions_installer.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_installer.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- functions_installer.inc.php 3 Dec 2004 16:13:35 -0000 1.12
+++ functions_installer.inc.php 4 Dec 2004 14:43:38 -0000 1.13
@@ -219,7 +219,7 @@
}
}
-function serendipity_printConfigTemplate($config, $from = false, $noForm = false, $folding = true) {
+function serendipity_printConfigTemplate($config, $from = false, $noForm = false, $folding = false) {
global $serendipity;
if (!isset($serendipity['XHTML11'])) {
$serendipity['XHTML11'] = FALSE;
Index: functions_entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_entries.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- functions_entries.inc.php 3 Dec 2004 12:02:25 -0000 1.18
+++ functions_entries.inc.php 4 Dec 2004 14:43:38 -0000 1.19
@@ -1307,6 +1307,7 @@
/* Since the user has WYSIWYG editor disabled, we want to check if we should use the "better" non-WYSIWYG editor */
if (!$serendipity['wysiwyg'] && eregi($serendipity['EditorBrowsers'], $_SERVER['HTTP_USER_AGENT']) ) {
?>
+<?php // FIXXME: This is JS only and should'nt be displayed in non-JS enviroments ?>
<input type="button" name="insI" value="I" accesskey="i" style="font-style: italic" onclick="wrapSelection(document.forms['serendipityEntry']['serendipity[body]'],'<i>','</i>')" />
<input type="button" name="insB" value="B" accesskey="i" style="font-weight: bold" onclick="wrapSelection(document.forms['serendipityEntry']['serendipity[body]'],'<b>','</b>')" />
<input type="button" name="insU" value="U" accesskey="u" style="text-decoration: underline;" onclick="wrapSelection(document.forms['serendipityEntry']['serendipity[body]'],'<u>','</u>')" />
@@ -1364,6 +1365,7 @@
<?php
if (!$serendipity['wysiwyg']) {
?>
+<?php // FIXXME: Can only be made visible in JS enviroments. ?>
<div id="tools_extended" style="display: none">
<?php
/* Since the user has WYSIWYG editor disabled, we want to check if we should use the "better" non-WYSIWYG editor */
@@ -1394,6 +1396,7 @@
<tr>
<td colspan="3">
+<?php // FIXXME: Can only be made visible in JS enviroments. ?>
<textarea style="width: 100%;<?php echo (!$serendipity['wysiwyg']) ? 'display: none;' : '' ?>" name="serendipity[extended]" id="serendipity[extended]" cols="80" rows="20"><?php echo isset($entry['extended']) ? htmlspecialchars($entry['extended']) : ''; ?></textarea>
</td>
</tr>
|