Skip to content

Commit

Permalink
完善目录结构
Browse files Browse the repository at this point in the history
  • Loading branch information
fghrsh committed Jun 1, 2016
1 parent b6404fe commit 64da86b
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions include.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function DPlayer_Filter_Plugin_ViewList_Template(&$template) {

function DPlayer_Filter_Plugin_Zbp_MakeTemplatetags() {
global $zbp;
$zbp->header .= '<link rel="stylesheet" href="'.$zbp->host.'zb_users/plugin/DPlayer/dist/DPlayer.min.css">'."\r\n".'<script>var dPlayers = [];var dPlayerOptions = [];</script>'."\r\n";
$zbp->footer .= '<script type="text/javascript" src="'.$zbp->host.'zb_users/plugin/DPlayer/dist/DPlayer.min.js"></script>'."\r\n"."<script>var len = dPlayerOptions.length;for(var i=0;i<len;i++){dPlayers[i] = new DPlayer({element: document.getElementById('player' + dPlayerOptions[i]['id']),autoplay: dPlayerOptions[i]['autoplay'],video: dPlayerOptions[i]['video'],theme: dPlayerOptions[i]['theme'],danmaku: dPlayerOptions[i]['danmaku'],});dPlayers[i].init();}</script>";
$zbp->header .= '<link rel="stylesheet" href="'.$zbp->host.'zb_users/plugin/DPlayer/dplayer/DPlayer.min.css">'."\r\n".'<script>var dPlayers = [];var dPlayerOptions = [];</script>'."\r\n";
$zbp->footer .= '<script type="text/javascript" src="'.$zbp->host.'zb_users/plugin/DPlayer/dplayer/DPlayer.min.js"></script>'."\r\n"."<script>var len = dPlayerOptions.length;for(var i=0;i<len;i++){dPlayers[i] = new DPlayer({element: document.getElementById('player' + dPlayerOptions[i]['id']),autoplay: dPlayerOptions[i]['autoplay'],video: dPlayerOptions[i]['video'],theme: dPlayerOptions[i]['theme'],danmaku: dPlayerOptions[i]['danmaku'],});dPlayers[i].init();}</script>";
}

function InstallPlugin_DPlayer() {
Expand Down
4 changes: 2 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
.tc{border: solid 2px #E1E1E1;width: 50px;height: 23px;float: left;margin: 0.25em;cursor: pointer}
.tc:hover,.active{border: 2px solid #2694E8;}
</style>
<script type="text/javascript" src="farbtastic.js"></script>
<link rel="stylesheet" href="farbtastic.css" type="text/css" />
<script type="text/javascript" src="farbtastic/farbtastic.js"></script>
<link rel="stylesheet" href="farbtastic/farbtastic.css" type="text/css" />
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {$('#picker').farbtastic('#color');});
</script>
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<url></url>
</source>
<adapted>131221</adapted>
<version>1.0</version>
<version>1.1</version>
<pubdate>2016-05-30</pubdate>
<modified>2016-05-30</modified>
<price>200</price>
Expand Down

0 comments on commit 64da86b

Please sign in to comment.