mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-11 10:16:19 +00:00
first commit
This commit is contained in:
5
src/dev/ckeditor4.php
Executable file
5
src/dev/ckeditor4.php
Executable file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$mode = empty($mode) ? "full" : $mode;
|
||||
$value = empty($value) ? "" : $value;
|
||||
?>
|
||||
18
src/dev/ckeditor4_head.php
Executable file
18
src/dev/ckeditor4_head.php
Executable 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
4
src/dev/debug_panel.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
$debug = new DebugPanel();
|
||||
?>
|
||||
9
src/dev/richtext.php
Executable file
9
src/dev/richtext.php
Executable 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
|
||||
));
|
||||
?>
|
||||
Reference in New Issue
Block a user