Esempio n. 1
0
<?php

$fileman1 = new Tweak('File Manager');
$fileman1->addInterface('filemanager');
$fileman1->Author('TinyBrowser. Repackaged by Andrew & Tikakino');
$fileman1->Description('tinybrowser');
function filemanager()
{
    ?>

<script language="javascript" type="text/javascript" src="tweaks/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tb_standalone.js.php"></script>

<BODY onLoad=tinyBrowserPopUp('file');>

<?php 
}
?>

Esempio n. 2
0
<?php

$wysiwyg = new Tweak('TinyMCE Editor');
$wysiwyg->addTweak('after-add-form-display', 'tinymce');
$wysiwyg->addTweak('after-edit-form-display', 'tinymce');
$wysiwyg->Author('Repackaged by Andrew & Tikakino');
$wysiwyg->Description('tinyMCE 3.3.5.1 + tinybrowser');
function tinymce()
{
    ?>

<script language="javascript" type="text/javascript" src="tweaks/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript" src="tweaks/tinymce/jscripts/tiny_mce/plugins/tinybrowser/tb_tinymce.js.php"></script>

<script language="javascript" type="text/javascript">

tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
convert_urls : "false",
plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,",
		theme_advanced_buttons1_add_before : "newdocument,separator",
		theme_advanced_buttons1_add : "fontselect,fontsizeselect",
		theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
		theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator,",
		theme_advanced_buttons3_add_before : "tablecontrols,separator,",
		theme_advanced_buttons3_add : "emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
		theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,|,code,|,jmformcontrols,insertfile",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",