Switch off WYSIWYG
Moderator: Thorsten
Switch off WYSIWYG
Hi Thortsen, I'd like to switch off WYSIWYG mode permanently. Is there a corresponding flag which disables the function without getting errors ?
Hi,
there's no flag but you can remove the WYSIWYG editor easily. Open the files admin/header.php and change the whole code with this:
bye
Thorsten
there's no flag but you can remove the WYSIWYG editor easily. Open the files admin/header.php and change the whole code with this:
Code: Select all
<?php
/******************************************************************************
* File: header.php
* Description: header of the admin area
* Author: Thorsten Rinne <thorsten@phpmyfaq.de>
* Date: 2003-02-26
* Last change: 2004-07-25
* Copyright: (c) 2001-2004 Thorsten Rinne
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
******************************************************************************/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Content-type: text/html; charset=".$PMF_LANG["metaCharset"]);
header("Vary: Negotiate,Accept");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $PMF_LANG["metaLanguage"]; ?>" lang="<?php print $PMF_LANG["metaLanguage"]; ?>">
<head>
<title><?php print $PMF_CONF["title"]; ?> - powered by phpMyFAQ</title>
<meta name="copyright" content="(c) 2001-2004 Thorsten Rinne" />
<meta http-equiv="Content-Type" content="text/html; charset=<?php print $PMF_LANG["metaCharset"]; ?>" />
<style type="text/css"> @import url(../template/admin.css); </style>
<script language="JavaScript" type="text/javascript" src="../inc/functions.js"></script>
</head>
<body id="body" dir="<?php print $PMF_LANG["dir"]; ?>"><a name="top"></a>
<!-- Header -->
<div id="header">
<h1>phpMyFAQ <?php print $PMF_CONF["version"]; ?></h1>
</div>
<!-- Navigation -->
<div class="sideBox">
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist