mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 16:49:58 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
14
addons/wiki_link/wiki_link.addon.php
Normal file
14
addons/wiki_link/wiki_link.addon.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
if($called_position == 'after_module_proc' && Context::getResponseMethod()!="XMLRPC" && Context::get('act')=='dispWikiEditPage' ) {
|
||||
$module_info = Context::get('module_info');
|
||||
if(!$module_info->module) return;
|
||||
if($module_info->module != 'wiki') return;
|
||||
Context::loadJavascriptPlugin('hotkeys');
|
||||
Context::addJsFile('./addons/wiki_link/wikilink.js');
|
||||
Context::addCssFile('./addons/wiki_link/wikilink.css');
|
||||
$footer = "<div id='link'> <div class='linkForm'>Link Target: <input type='text' id='linktarget' class='inputTypeText w100' /><a href='#' onclick='setText(); return false;'>AddLink</a></div></div>";
|
||||
Context::addHtmlFooter($footer);
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue