HEX
Server: Apache
System: Linux ns308404 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: root (0)
PHP: 8.3.31
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/onlinedev.com/httpdocs/admin/templates/editcarrieres.phtml
<div class="head">
	<h1>Editer le contenu de la page "Carri&egrave;re"</h1>
</div>
<?php if ($_REQUEST['saved']): ?><div id="msg1" class="msg1">Contenu sauvgard&eacute;</div><?php endif; ?>
<form action="<?php echo App::getUrl('news', 'editcarrieres') ?>" name="f" method="post" id="f">
<input type="hidden" name="sent" value="1" />
<table border="0" cellspacing="0" cellpadding="0" class="list4">
	<tr class="r2">
		<th valign="top">Titre</th>
		<td><input type="text" name="title" class="" value="<?php echo $title ?>" /></td>
	</tr>
	<tr class="r1">
		<th valign="top">Contenu:</th>
		<td><textarea id="pcontent" name="content" class="" style="height:400px"><?php echo $content; ?></textarea></td>
	</tr>
	<tr class="r2">
		<td>&nbsp;</td>
		<td height="25"><a href="#" title="Envoyer" class="but2" onclick="document.getElementById('f').submit();">Envoyer</a></td>
	</tr>
</table>
</form>
<script type="text/javascript" src="include/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
            mode: "exact",
            elements: "pcontent",            
            theme : "advanced", 
            width: 680,
            language: "fr",
            plugins : "table,advhr,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,paste,directionality,fullscreen,noneditable,contextmenu",
            theme_advanced_buttons1_add_before : "save,newdocument,separator",
            theme_advanced_buttons1_add : "fontselect,fontsizeselect",
            theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor,liststyle",
            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,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",                
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_statusbar_location : "bottom",
            plugin_insertdate_dateFormat : "%Y-%m-%d",
            plugin_insertdate_timeFormat : "%H:%M:%S",
            extended_valid_elements : "hr[class|width|size|noshade]",
            file_browser_callback : "fileBrowserCallBack",
            paste_use_dialog : false,
            convert_urls: false
    });
   function fileBrowserCallBack(field_name, url, type, win) {
			                tinyfck_field = field_name;
			                tinyfck = win;
			                window.open("<?php echo App::getBaseUrl() ?>include/tiny_mce/filemanager/browser.html?Connector=connectors/php/connector.php", "tinyfck", "modal,width=600,height=400");
			        }
</script>