first commit

This commit is contained in:
/usr/bin/nano
2017-04-15 01:34:36 +03:00
commit c715e2a604
5325 changed files with 329700 additions and 0 deletions

5
src/dev/ckeditor4.php Executable file
View File

@@ -0,0 +1,5 @@
<?php
$mode = empty($mode) ? "full" : $mode;
$value = empty($value) ? "" : $value;
?>

18
src/dev/ckeditor4_head.php Executable file
View File

@@ -0,0 +1,18 @@
<?php
$contentCss = NULL;
if ($g_config['extrapacker']['packCss'] && $g_config['extrapacker']['dir'])
{
// Если мы в админке, то директория может быть переопределена, но изначальная должна быть сохранена в $g_config['extrapacker']['non_admin_dir']
$dir = isset($g_config['extrapacker']['non_admin_dir']) ? $g_config['extrapacker']['non_admin_dir'] : $g_config['extrapacker']['dir'];
$path = "tmp/{$dir}/css/";
$files = glob(BASEPATH . $path . "*.css");
if (count($files) > 0)
{
sort($files);
$file = end($files);
$contentCss = "/" . $path . basename($file);
}
}
?>

4
src/dev/debug_panel.php Executable file
View File

@@ -0,0 +1,4 @@
<?php
$debug = new DebugPanel();
?>

9
src/dev/richtext.php Executable file
View File

@@ -0,0 +1,9 @@
<?php
IncludeCom("dev/ckeditor4", array
(
"name" => empty($name) ? NULL : $name,
"value" => empty($value) ? NULL : $value,
"mode" => empty($mode) ? NULL : $mode
));
?>