「Widget:Schedule」の版間の差分
編集の要約なし |
編集の要約なし |
||
| 1行目: | 1行目: | ||
<includeonly> | <includeonly> | ||
<!--{if (isset($group))}--> | |||
<script> | <script> | ||
$(function(){ | $(function(){ | ||
var geturl = "http://48ch.net/api/schedule/ | var geturl = "http://48ch.net/api/schedule/<!--{$group|escape:'quotes'}-->.php?callback=?"; | ||
$.getJSON(geturl, function(data) { | $.getJSON(geturl, function(data) { | ||
$.each(data, function(date, item) { | $.each(data, function(date, item) { | ||
| 11行目: | 12行目: | ||
</script> | </script> | ||
<ul id="view"></ul> | <ul id="view"></ul> | ||
<!--{/if}--> | |||
</includeonly> | </includeonly> | ||