Adrenaline
Waiting for God
Hi !
My latest work for Gesior Acc is Visual Wysiwyg Editor, Tiny MCE:
Notice for moderator: this is fixed version.. :$
Screens:
https://i.imgur.com/2jvN8.png
https://i.imgur.com/7KREo.png
https://i.imgur.com/8OHiw.png
Download Files:
MEGAUPLOAD - The leading online storage and file delivery service
https://rapidshare.com/files/2280643958/Gesior_TinyMCE.zip
Scan:
VirusTotal - Free Online Virus, Malware and URL Scanner
Gesior TinyMCE.zip - Skaner malware'u Jotti
2/42 - ClamAV PUA.HTML.Infected.WebPage-1 dont know what is it :S
F-Prot - File is damaged ???
Instruction:
Extract all folders to root (where you have installed Acc)
Open Layout.php and paste above </head>:
Next step open your latestnews.php
Change all: <textarea name="news_text"
To: <textarea name="news_text" id="elm1"
Find and change:
To:
My latest work for Gesior Acc is Visual Wysiwyg Editor, Tiny MCE:
Notice for moderator: this is fixed version.. :$
Screens:
https://i.imgur.com/2jvN8.png
https://i.imgur.com/7KREo.png
https://i.imgur.com/8OHiw.png
Download Files:
MEGAUPLOAD - The leading online storage and file delivery service
https://rapidshare.com/files/2280643958/Gesior_TinyMCE.zip
Scan:
VirusTotal - Free Online Virus, Malware and URL Scanner
Gesior TinyMCE.zip - Skaner malware'u Jotti
2/42 - ClamAV PUA.HTML.Infected.WebPage-1 dont know what is it :S
F-Prot - File is damaged ???
Instruction:
Extract all folders to root (where you have installed Acc)
Open Layout.php and paste above </head>:
PHP:
<!-- TinyMCE -->
<script type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
// General options
mode : "textareas",
theme : "advanced",
plugins : "autoresize",
// Theme options
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontsizeselect",
theme_advanced_buttons2 : "pastetext,pasteword,search,replace,bullist,numlist,outdent,indent,blockquote,undo,redo,link,unlink",
theme_advanced_buttons3 : "tablecontrols,removeformat,visualaid,sub,sup,charmap,emotions,iespell,media,advhr,print,ltr,rtl,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,styleprops,cite,abbr,acronym,del,ins,attribs,visualchars,nonbreaking,template,pagebreak,restoredraft,insertdate,inserttime,preview,forecolor,backcolor,anchor,image,cleanup,code",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : "css/content.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "lists/template_list.js",
external_link_list_url : "lists/link_list.js",
external_image_list_url : "lists/image_list.js",
media_external_list_url : "lists/media_list.js",
// Style formats
style_formats : [
{title : 'Bold text', inline : 'b'},
{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
{title : 'Example 1', inline : 'span', classes : 'example1'},
{title : 'Example 2', inline : 'span', classes : 'example2'},
{title : 'Table styles'},
{title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
],
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
</script>
<!-- /TinyMCE -->
Change all: <textarea name="news_text"
To: <textarea name="news_text" id="elm1"
Find and change:
PHP:
</script><div id="newnewsform"></div><div id="chicken"><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><img class="ButtonText" id="AddNews" src="'.$layout_name.'/images/buttons/addnews.gif" onClick="showNewNewsForm()" alt="AddNews" /></div></div></div><hr/>';
PHP:
</script><a href="?subtopic=latestnews&action=newnews"><div id="newnewsform"></div><div id="chicken"><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><img class="ButtonText" id="AddNews" src="'.$layout_name.'/images/buttons/addnews.gif" alt="AddNews" /></div></div></div><hr/></a>';