[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
backup
/
media
/
com_content
/
js
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 admin-article-pagebreak.min.js
621 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-article-readmore.js
1,139 B
SET
[ EDIT ]
|
[ DEL ]
📄 admin-articles-modal.min.js
1,212 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: admin-article-readmore.js
/** * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ window.insertReadmore = function(editor) { "use strict"; if (!Joomla.getOptions('xtd-readmore')) { // Something went wrong! return false; } var content, options = window.Joomla.getOptions('xtd-readmore'); if (window.Joomla && window.Joomla.editors && window.Joomla.editors.instances && window.Joomla.editors.instances.hasOwnProperty(editor)) { content = window.Joomla.editors.instances[editor].getValue(); } else { content = (new Function('return ' + options.editor))(); } if (content.match(/<hr\s+id=("|')system-readmore("|')\s*\/*>/i)) { alert(options.exists); return false; } else { /** Use the API, if editor supports it **/ if (window.Joomla && window.Joomla.editors && window.Joomla.editors.instances && window.Joomla.editors.instances.hasOwnProperty(editor)) { window.Joomla.editors.instances[editor].replaceSelection('<hr id="system-readmore" />'); } else { window.jInsertEditorText('<hr id="system-readmore" />', editor); } } };