nextcloud/plugins/textviewer/lib_textviewer.php

12 lines
503 B
PHP

<?php
//load the required js and css files
OC_UTIL::addScript('plugins/textviewer/textviewer.js');
OC_UTIL::addStyle('plugins/textviewer/style.css');
//load SyntaxHighligher
OC_UTIL::addScript('plugins/textviewer/syntaxhighlighter/scripts/shCore.js');
OC_UTIL::addStyle('plugins/textviewer/syntaxhighlighter/styles/shCoreDefault.css');
OC_UTIL::addStyle('plugins/textviewer/syntaxhighlighter/styles/shCore.css');
OC_UTIL::addStyle('plugins/textviewer/syntaxhighlighter/styles/shThemeDefault.css');
?>