[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: customcodes.js
////////////////////////////////////////////////////////////////// // Add Youtube button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.youtube', { init : function(ed, url) { ed.addButton('youtube', { title : 'Add a Youtube video', image : url+'/button-youtube.png', onclick : function() { ed.selection.setContent('[youtube id="Enter video ID (eg. Wq4Y7ztznKc)" width="600" height="350"]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('youtube', tinymce.plugins.youtube); })(); ////////////////////////////////////////////////////////////////// // Add Vimeo button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.vimeo', { init : function(ed, url) { ed.addButton('vimeo', { title : 'Add a Vimeo video', image : url+'/button-vimeo.png', onclick : function() { ed.selection.setContent('[vimeo id="Enter video ID (eg. 10145153)" width="600" height="350"]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('vimeo', tinymce.plugins.vimeo); })(); ////////////////////////////////////////////////////////////////// //Add SoundCloud button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.soundcloud', { init : function(ed, url) { ed.addButton('soundcloud', { title : 'Add a SoundCloud widget', image : url+'/soundcloud.png', onclick : function() { ed.selection.setContent('[soundcloud url="http://api.soundcloud.com/tracks/15565763" comments="true" auto_play="false" color="ff7700" width="100%" height="81"]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('soundcloud', tinymce.plugins.soundcloud); })(); ////////////////////////////////////////////////////////////////// // Add Button button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.button', { init : function(ed, url) { ed.addButton('button', { title : 'Add a button', image : url+'/button-button.png', onclick : function() { ed.selection.setContent('[button color="eg. black, red, blue, orange, green, light" link="" target=""]Text here[/button]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('button', tinymce.plugins.button); })(); ////////////////////////////////////////////////////////////////// // Add Dropcap button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.dropcap', { init : function(ed, url) { ed.addButton('dropcap', { title : 'Add a dropcap', image : url+'/button-dropcap.png', onclick : function() { ed.selection.setContent('[dropcap]...[/dropcap]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('dropcap', tinymce.plugins.dropcap); })(); ////////////////////////////////////////////////////////////////// // Add Highlight button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.highlight', { init : function(ed, url) { ed.addButton('highlight', { title : 'Add a highlight', image : url+'/button-highlight.png', onclick : function() { ed.selection.setContent('[highlight color="eg. yellow, black"]...[/highlight]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('highlight', tinymce.plugins.highlight); })(); ////////////////////////////////////////////////////////////////// // Add Checklist button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.checklist', { init : function(ed, url) { ed.addButton('checklist', { title : 'Add a checklist', image : url+'/button-checklist.png', onclick : function() { ed.selection.setContent('[checklist]<ul>\r<li>Item #1</li>\r<li>Item #2</li>\r<li>Item #3</li>\r</ul>[/checklist]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('checklist', tinymce.plugins.checklist); })(); ////////////////////////////////////////////////////////////////// // Add Badlist button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.badlist', { init : function(ed, url) { ed.addButton('badlist', { title : 'Add a badlist', image : url+'/button-badlist.png', onclick : function() { ed.selection.setContent('[badlist]<ul>\r<li>Item #1</li>\r<li>Item #2</li>\r<li>Item #3</li>\r</ul>[/badlist]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('badlist', tinymce.plugins.badlist); })(); ////////////////////////////////////////////////////////////////// // Add Tabs button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.tabs', { init : function(ed, url) { ed.addButton('tabs', { title : 'Add tabs', image : url+'/button-tabs.png', onclick : function() { ed.selection.setContent('[tabs tab1=\"Tab 1\" tab2=\"Tab 2\" tab3=\"Tab 3\"]<br /><br />[tab id=1]Tab content 1[/tab]<br />[tab id=2]Tab content 2[/tab]<br />[tab id=3]Tab content 3[/tab]<br /><br />[/tabs]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('tabs', tinymce.plugins.tabs); })(); ////////////////////////////////////////////////////////////////// // Add Toggle button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.toggle', { init : function(ed, url) { ed.addButton('toggle', { title : 'Add a toggle', image : url+'/button-toggle.png', onclick : function() { ed.selection.setContent('[toggle title=""]...[/toggle]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('toggle', tinymce.plugins.toggle); })(); ////////////////////////////////////////////////////////////////// // Add One_half button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.one_half', { init : function(ed, url) { ed.addButton('one_half', { title : 'Add a one_half column', image : url+'/button-12.png', onclick : function() { ed.selection.setContent('[one_half last="no"]...[/one_half]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('one_half', tinymce.plugins.one_half); })(); ////////////////////////////////////////////////////////////////// // Add One_half button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.one_third', { init : function(ed, url) { ed.addButton('one_third', { title : 'Add a one_third column', image : url+'/button-13.png', onclick : function() { ed.selection.setContent('[one_third last="no"]...[/one_third]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('one_third', tinymce.plugins.one_third); })(); ////////////////////////////////////////////////////////////////// // Add Two_half button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.two_third', { init : function(ed, url) { ed.addButton('two_third', { title : 'Add a two_third column', image : url+'/button-23.png', onclick : function() { ed.selection.setContent('[two_third last="no"]...[/two_third]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('two_third', tinymce.plugins.two_third); })(); ////////////////////////////////////////////////////////////////// // Add one_fourth button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.one_fourth', { init : function(ed, url) { ed.addButton('one_fourth', { title : 'Add a one_fourth column', image : url+'/button-14.png', onclick : function() { ed.selection.setContent('[one_fourth last="no"]...[/one_fourth]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('one_fourth', tinymce.plugins.one_fourth); })(); ////////////////////////////////////////////////////////////////// // Add three_fourth button ////////////////////////////////////////////////////////////////// (function() { tinymce.create('tinymce.plugins.three_fourth', { init : function(ed, url) { ed.addButton('three_fourth', { title : 'Add a three_fourth column', image : url+'/button-34.png', onclick : function() { ed.selection.setContent('[three_fourth last="no"]...[/three_fourth]'); } }); }, createControl : function(n, cm) { return null; }, }); tinymce.PluginManager.add('three_fourth', tinymce.plugins.three_fourth); })();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: webm010.cluster103.gra.hosting.ovh.net
Server IP: 10.103.20.10
PHP Version: 7.4.33
Server Software: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
HDD Total: 14.32 GB
HDD Free: 8.45 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
Exists
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: cuisinesj
User ID (UID): 17129
Group ID (GID): 100
Script Owner UID: 17129
Current Dir Owner: 17129