LEPTON CMS 7.2.0
feel free to keep it strictly simple...
Loading...
Searching...
No Matches
function.display_wysiwyg_editor.php File Reference

Go to the source code of this file.

Functions

 display_wysiwyg_editor (string $name, string $id, string $content, string $width=null, string $height=null, bool $prompt=false)
 

Variables

if(!defined("SEC_FILE")) if(defined('LEPTON_PATH')) else
 
 $root = $oneback
 
 $level = 1
 

Function Documentation

◆ display_wysiwyg_editor()

display_wysiwyg_editor ( string $name,
string $id,
string $content,
string $width = null,
string $height = null,
bool $prompt = false )

Function called by parent, default by the wysiwyg-module.

Parameters
string$nameThe name of the textarea to watch
string$idThe "id" - some other modules handel this param differ
string$sourceThe source to edit.
string$widthOptional the width
string$heightOptional the height of the editor
bool$promptOptional true: direct output to the browser, false: return the renerated string.
Returns
string

Definition at line 52 of file function.display_wysiwyg_editor.php.

Variable Documentation

◆ $level

$level = 1

Definition at line 26 of file function.display_wysiwyg_editor.php.

◆ $root

$root = $oneback

Definition at line 25 of file function.display_wysiwyg_editor.php.

◆ else

while(($level< 10) &&(!file_exists($root.SEC_FILE))) if (file_exists( $root.SEC_FILE)) else
Initial value:
{
$oneback = "../"

This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.

NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.

Author
LEPTON Project

Definition at line 23 of file function.display_wysiwyg_editor.php.