diff options
Diffstat (limited to 'includes/subsysedit.inc')
-rw-r--r-- | includes/subsysedit.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/subsysedit.inc b/includes/subsysedit.inc index e9c4b4c..ab71e37 100644 --- a/includes/subsysedit.inc +++ b/includes/subsysedit.inc @@ -8,12 +8,12 @@ <br> <p class="text-muted"> - <span id="editor-save-status">Saved</span> · <span id="editor-size"><?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/subsystems/$systemID-$subsystemID.html") ? strlen(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID-subsystem-$subsystemID.html")) : "0" ?></span> bytes + <span id="editor-save-status">Saved</span> · <span id="editor-size"><?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/subsystems/$systemID-$subsystemID.html") ? strlen(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/subsystems/$systemID-$subsystemID.html")) : "0" ?></span> bytes </p> <!--suppress HtmlFormInputWithoutLabel --> <textarea id="page-editor"> - <?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/subsystems/$systemID-$subsystemID.html") ? file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID-subsystem-$subsystemID.html") : "" ?> + <?= file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/data/subsystems/$systemID-$subsystemID.html") ? file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/subsystems/$systemID-$subsystemID.html") : "" ?> </textarea> <script src="/assets/editor/editor.js"></script> |