mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
- Droped not used packages from composer.json
- Fixed packages version in composer.json - Renewed file composer.lock - Checked & Fixed imports paths - Moved /vendor/FHC-Vendor to /FHC-Vendor
This commit is contained in:
@@ -107,7 +107,7 @@ class PhrasesLib
|
||||
// If no <p> tags required
|
||||
if ($blockTags == 'no')
|
||||
{
|
||||
$tmpText = $textileParser->textileThis($result->retval[$i]->text); // Parse
|
||||
$tmpText = $textileParser->parse($result->retval[$i]->text); // Parse
|
||||
|
||||
// Removes tags <p> and </p> from the beginning and from the end of the string if they are present
|
||||
// NOTE: Those tags are usually, but not always, added by the textile parser
|
||||
@@ -127,7 +127,7 @@ class PhrasesLib
|
||||
}
|
||||
else
|
||||
{
|
||||
$result->retval[$i]->text = $textileParser->textileThis($result->retval[$i]->text);
|
||||
$result->retval[$i]->text = $textileParser->parse($result->retval[$i]->text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,28 +18,26 @@ isset($title) ? $title = 'VileSci - '.$title : $title = 'VileSci';
|
||||
!isset($widgetsCSS) ? $widgetsCSS = false : $widgetsCSS = $widgetsCSS;
|
||||
!isset($datepicker) ? $datepicker = false : $datepicker = $datepicker;
|
||||
|
||||
if ($tablesort || $jquery_checkboxes || $jquery_custom)
|
||||
$jqueryV1 = true;
|
||||
if ($tablesort || $jquery_checkboxes || $jquery_custom) $jqueryV1 = true;
|
||||
|
||||
if($datepicker)
|
||||
$jqueryui = true;
|
||||
if($datepicker) $jqueryui = true;
|
||||
|
||||
if($jqueryui)
|
||||
$jqueryV2 = true;
|
||||
if($jqueryui) $jqueryV2 = true;
|
||||
|
||||
if($jqueryV1 && $jqueryV2)
|
||||
show_error("Two JQuery versions used: composer and include folder version");
|
||||
if($jqueryV1 && $jqueryV2) show_error("Two JQuery versions used: composer and include folder version");
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo $title; ?></title>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="<?php echo base_url('skin/images/Vilesci.ico'); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/vilesci.css'); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/vilesci.css'); ?>" />
|
||||
|
||||
<?php if($tablesort) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/tablesort.css'); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/tablesort.css'); ?>" />
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($jqueryV1) : ?>
|
||||
@@ -62,7 +60,7 @@ if($jqueryV1 && $jqueryV2)
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($jquery_custom) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/jquery-ui-1.9.2.custom.min.css'); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/jquery-ui-1.9.2.custom.min.css'); ?>" />
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($tablesort && !empty($tableid)) : ?>
|
||||
@@ -99,17 +97,21 @@ if($jqueryV1 && $jqueryV2)
|
||||
<?php if($tinymce) : ?>
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/tinymce/tinymce/tinymce.min.js');?>"></script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($textile) : ?>
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/borgar/textile-js/lib/textile.min.js');?>"></script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($jsoneditor) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('vendor/jsoneditor/dist/jsoneditor.css');?>" />
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/jsoneditor/dist/jsoneditor.js');?>"></script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($jsonforms) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('vendor/json-forms/dist/css/brutusin-json-forms.min.css'); ?>" />
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/json-forms/dist/js/brutusin-json-forms.min.js'); ?>"></script>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if($widgetsCSS) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/widgets.css'); ?>" />
|
||||
<?php endif ?>
|
||||
|
||||
Reference in New Issue
Block a user