deleted folder
@ -69,7 +69,7 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule {
|
||||
$result .= '<option>'.$lang.'</option>';
|
||||
$languages[] = $lang;
|
||||
}
|
||||
$result .= '</select><br><textarea id="areacontent"></textarea><br><input type="submit" class="btn add" value="save" onclick="add();">';
|
||||
$result .= '</select><br><textarea class="tinymce" name="content" id="areacontent" style="width: 100%"></textarea><br><input type="submit" class="btn add" value="save" onclick="add();">';
|
||||
return $result;
|
||||
}
|
||||
|
||||
@ -86,7 +86,20 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule {
|
||||
|
||||
public static function sai_mod__SYSTEM_SAI_saimod_sys_locale_action_editmode($entry){
|
||||
$result =
|
||||
'<h3>'.$entry.'</h3>'.
|
||||
|
||||
|
||||
'<script>tinymce.init({
|
||||
selector: "textarea",
|
||||
plugins: [
|
||||
"advlist autolink lists link image charmap print preview anchor",
|
||||
"searchreplace visualblocks code fullscreen",
|
||||
"insertdatetime media table contextmenu paste moxiemanager"
|
||||
],
|
||||
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
|
||||
});</script><textarea></textarea>
|
||||
|
||||
|
||||
<h3>'.$entry.'</h3>'.
|
||||
'<table class="table table-hover table-condensed" style="overflow: auto;">'.
|
||||
'<tr>';
|
||||
|
||||
@ -113,7 +126,8 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule {
|
||||
$fu = 0;
|
||||
foreach ($languages as $columns){
|
||||
//echo "+tututututututut:".$r[$columns]."nochmal tututututututut";
|
||||
$result .= '<td><div class="dialog"><input type="textarea" value="'.$r[$columns].'" id="edit_field_'.$r["id"].'_'.$columns.'"></textarea></div><br><input type="submit" class="btn edit_content" value="edit" lang="'.$columns.'" name="'.$r["id"].'"><br></td>';
|
||||
$result .= '<td>
|
||||
<div class="dialog"><input type="textarea" name="content" class="tinymce" style="width: 100%" value="'.$r[$columns].'" id="edit_field_'.$r["id"].'_'.$columns.'"></textarea></div><br><input type="submit" class="btn edit_content" value="edit" lang="'.$columns.'" name="'.$r["id"].'"><br></td>';
|
||||
//$_POST[$r["id"]] = $r[$columns];
|
||||
}
|
||||
$result .= "</tr></table>";
|
||||
|
||||
@ -34,7 +34,11 @@ function loadEntry(buttonID) {
|
||||
|
||||
$('div#content-wrapper').load(SAI_ENDPOINT+'sai_mod=.SYSTEM.SAI.saimod_sys_locale&action=editmode&entry='+buttonID, function(){
|
||||
init__SYSTEM_SAI_saimod_sys_locale_edit();
|
||||
});
|
||||
//test();
|
||||
});
|
||||
}
|
||||
function test(){
|
||||
alert("test");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,16 +0,0 @@
|
||||
|
||||
html body div.cms_css_popup_main img { border: none; }
|
||||
html body div.cms_css_popup_main table { border-collapse: collapse; }
|
||||
|
||||
|
||||
html body div.cms_css_popup_main { position: absolute; display: none;
|
||||
|
||||
font-size: 0.8em;
|
||||
font-family: Arial, Sans-Serif;
|
||||
}
|
||||
|
||||
html body div.cms_css_popup_drag { border: 1px solid #000000; border-width: 1px 1px 1px 1px; padding: 2px 6px; background: #802000; font: 900 1.0em Trebuchet MS, Sans-Serif; color: #FFFFFF; }
|
||||
html body div.cms_css_popup_body { border: 1px solid #000000; border-width: 0px 1px 1px 1px; padding: 6px 6px; background: #DBDBBA; }
|
||||
|
||||
html body div.cms_css_popup_drag { cursor: default; }
|
||||
html body div.cms_css_popup_exit { cursor: pointer; float: right; width: 9px; height: 12px; background: url("../images/popup/exit.gif") no-repeat left bottom; }
|
||||
@ -1,65 +0,0 @@
|
||||
|
||||
|
||||
html body table.cms_css_wysiwyg img { border: none; }
|
||||
|
||||
|
||||
html body table.cms_css_wysiwyg { border-collapse: collapse; }
|
||||
html body table.cms_css_wysiwyg th,
|
||||
html body table.cms_css_wysiwyg td { padding: 0px; }
|
||||
|
||||
|
||||
html body table.cms_css_wysiwyg img.cms_css_wysiwyg
|
||||
{
|
||||
cursor: pointer;
|
||||
border: 1px solid #404040;
|
||||
background: #F7F7F0;
|
||||
}
|
||||
|
||||
html body img.cms_css_wysiwyg { margin: -5px 1px -5px 0px; }
|
||||
html body table.cms_css_wysiwyg img.cms_css_wysiwyg { margin: 0px 1px 1px 0px; }
|
||||
|
||||
html body table.cms_css_wysiwyg img,
|
||||
html body table.cms_css_wysiwyg select { vertical-align: middle; }
|
||||
|
||||
html body iframe.cms_css_wysiwyg
|
||||
{
|
||||
width: 500px;
|
||||
height: 250px;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
/***** popup ******************************************************************/
|
||||
|
||||
html body div.cms_css_wysiwyg_popup_info { width: 250px; }
|
||||
|
||||
html body div.cms_css_wysiwyg_popup_info div.cms_css_wysiwyg_popup_info_content
|
||||
{
|
||||
border: 1px solid black;
|
||||
background: #FFFFFF;
|
||||
padding: 10px;
|
||||
|
||||
font: 100 0.8em Verdana, Sans-Serif;
|
||||
}
|
||||
|
||||
html body div.cms_css_wysiwyg_popup_info div.cms_css_wysiwyg_popup_info_content p
|
||||
{
|
||||
padding: 0px; margin: 0px 0px 3px 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
html body div.cms_css_wysiwyg_popup_form { width: 300px; }
|
||||
html body div.cms_css_wysiwyg_popup_form td { padding: 1px 1px 1px 1px; }
|
||||
|
||||
html body div.cms_css_wysiwyg_popup_colors { width: 161px; }
|
||||
html body div.cms_css_wysiwyg_popup_colors area { cursor: pointer; }
|
||||
html body div.cms_css_wysiwyg_popup_colors img { float: left; }
|
||||
html body div.cms_css_wysiwyg_popup_colors br { clear: both; }
|
||||
|
||||
html body div.cms_css_wysiwyg_popup_smileys { width: 224px; }
|
||||
html body div.cms_css_wysiwyg_popup_smileys td { padding: 1px 0px 0px 1px; border: 1px solid #000000; background: #FFFFFF; }
|
||||
html body div.cms_css_wysiwyg_popup_smileys img { margin: 0px 1px 1px 0px; border: 1px solid #D0D0D0; background: #FFFFFF; }
|
||||
html body div.cms_css_wysiwyg_popup_smileys img { cursor: pointer; }
|
||||
html body div.cms_css_wysiwyg_popup_smileys img { float: left; }
|
||||
html body div.cms_css_wysiwyg_popup_smileys br { clear: both; }
|
||||
@ -1,35 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
||||
<title>PHPDevel Wysiwyg HTML Editor</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="description" content="" />
|
||||
<meta name="keywords" content="" />
|
||||
|
||||
<?php $wysiwyg_root = 'wysiwyg/'; include 'http://www.mojotrollz.eu/web/system/sai/modules/saimod_sys_locale/wysiwyg/php/init.php'; ?>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?php
|
||||
|
||||
if (get_magic_quotes_gpc()) $_POST = array_map('stripslashes', $_POST);
|
||||
|
||||
$subject = isset($_POST['subject']) ? $_POST['subject'] : 'Subject';
|
||||
$message = isset($_POST['message']) ? $_POST['message'] : 'Message';
|
||||
|
||||
?>
|
||||
|
||||
<form action="demo.php" method="post">
|
||||
<table>
|
||||
<tr><td><input type="text" name="subject" value="<?=htmlspecialchars($subject);?>" /></td></tr>
|
||||
<tr><td><?php echo wysiwyg('wysiwyg_id', 'message', $message); ?></td></tr>
|
||||
<tr><td><input type="submit" value="Submit" /></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 60 B |
|
Before Width: | Height: | Size: 1021 B |
|
Before Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 704 B |
|
Before Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 695 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 695 B |
|
Before Width: | Height: | Size: 700 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 1014 B |
|
Before Width: | Height: | Size: 676 B |
|
Before Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 697 B |
|
Before Width: | Height: | Size: 676 B |
|
Before Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 708 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 815 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 697 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 705 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 689 B |
|
Before Width: | Height: | Size: 901 B |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 500 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 672 B |
|
Before Width: | Height: | Size: 698 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 1018 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 946 B |
|
Before Width: | Height: | Size: 699 B |
|
Before Width: | Height: | Size: 296 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 76 B |
|
Before Width: | Height: | Size: 138 B |
|
Before Width: | Height: | Size: 185 B |
|
Before Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 174 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 304 B |
|
Before Width: | Height: | Size: 309 B |
|
Before Width: | Height: | Size: 90 B |
|
Before Width: | Height: | Size: 90 B |
|
Before Width: | Height: | Size: 651 B |
|
Before Width: | Height: | Size: 651 B |
|
Before Width: | Height: | Size: 1007 B |
|
Before Width: | Height: | Size: 1018 B |
|
Before Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 84 B |
|
Before Width: | Height: | Size: 83 B |
|
Before Width: | Height: | Size: 83 B |
|
Before Width: | Height: | Size: 79 B |
|
Before Width: | Height: | Size: 79 B |
|
Before Width: | Height: | Size: 79 B |
|
Before Width: | Height: | Size: 70 B |
|
Before Width: | Height: | Size: 80 B |
|
Before Width: | Height: | Size: 71 B |
|
Before Width: | Height: | Size: 80 B |