Skip to content

Commit

Permalink
移动js目录,增加markdown库
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Oct 18, 2013
1 parent 440f799 commit 23e0d2a
Show file tree
Hide file tree
Showing 19 changed files with 6,917 additions and 18 deletions.
6 changes: 3 additions & 3 deletions admin/common-js.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<script src="<?php $options->adminUrl('javascript/jquery.js?v=' . $suffixVersion); ?>"></script>
<script src="<?php $options->adminUrl('javascript/jquery-ui.js?v=' . $suffixVersion); ?>"></script>
<script src="<?php $options->adminUrl('javascript/typecho.js?v=' . $suffixVersion); ?>"></script>
<script src="<?php $options->adminUrl('js/jquery.js?v=' . $suffixVersion); ?>"></script>
<script src="<?php $options->adminUrl('js/jquery-ui.js?v=' . $suffixVersion); ?>"></script>
<script src="<?php $options->adminUrl('js/typecho.js?v=' . $suffixVersion); ?>"></script>
<script>
(function () {
$(document).ready(function() {
Expand Down
2 changes: 1 addition & 1 deletion admin/file-upload-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
?>

<script src="<?php $options->adminUrl('javascript/filedrop.js?v=' . $suffixVersion); ?>"></script>
<script src="<?php $options->adminUrl('js/filedrop.js?v=' . $suffixVersion); ?>"></script>
<script>
$(document).ready(function() {
var errorWord = '<?php $val = function_exists('ini_get') ? trim(ini_get('upload_max_filesize')) : 0;
Expand Down
2 changes: 1 addition & 1 deletion admin/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$header = '<link rel="stylesheet" href="' . Typecho_Common::url('css/normalize.css?v=' . $suffixVersion, $options->adminUrl) . '">
<link rel="stylesheet" href="' . Typecho_Common::url('css/grid.css?v=' . $suffixVersion, $options->adminUrl) . '">
<link rel="stylesheet" href="' . Typecho_Common::url('css/style.css?v=' . $suffixVersion, $options->adminUrl) . '">
<script src="' . Typecho_Common::url('javascript/modernizr.min.js?v=' . $suffixVersion, $options->adminUrl) . '"></script>';
<script src="' . Typecho_Common::url('js/modernizr.min.js?v=' . $suffixVersion, $options->adminUrl) . '"></script>';

/** 注册一个初始化插件 */
$header = Typecho_Plugin::factory('admin/header.php')->header($header);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 23e0d2a

Please sign in to comment.