カレンダーブロックにはテンプレートがないため、phpファイルを直接編集するしかない。
ちなみに、ALTSYS機能でdiv枠を囲っても、該当部分には、「system_dummy.html」と表示されるだけ。
※「system_dummy.html」については、下記参照。templateNameがなければ、'system_dummy.html'を入れるよう記述されている
▼XOOPS_ROOT/modules/class/template.php
<pre class="code"><code>
function isModuleCached($templateName,$dirname)
{
if(!$templateName)
$templateName='system_dummy.html';
return $this->is_cached('db:'.$templateName, $this->getModuleCachedTemplateId($dirname));
}
function fetchModule($templateName,$dirname)
{
if(!$templateName)
$templateName='system_dummy.html';
return $this->fetch('db:'.$templateName, $this->getModuleCachedTemplateId($dirname));
}
</code></pre>
▼XOOPS_TRUST_PATH/modules/bulletin/class/bulletin_cal.php
▽修正前
<pre class="code"><code>
$ret = '<table border="0" class="outer" cellspacing="1">';
</code></pre>
▽修正後
<pre class="code"><code>
$ret = '<table border="0" class="outer2" cellspacing="1">';
</code></pre>
▼Bulletin|カレンダーのリンク色の変更 - Wander Wonder xField http://xfield.info/modules/tautech/content0156.html
ちなみに、ALTSYS機能でdiv枠を囲っても、該当部分には、「system_dummy.html」と表示されるだけ。
※「system_dummy.html」については、下記参照。templateNameがなければ、'system_dummy.html'を入れるよう記述されている
▼XOOPS_ROOT/modules/class/template.php
<pre class="code"><code>
function isModuleCached($templateName,$dirname)
{
if(!$templateName)
$templateName='system_dummy.html';
return $this->is_cached('db:'.$templateName, $this->getModuleCachedTemplateId($dirname));
}
function fetchModule($templateName,$dirname)
{
if(!$templateName)
$templateName='system_dummy.html';
return $this->fetch('db:'.$templateName, $this->getModuleCachedTemplateId($dirname));
}
</code></pre>
▼XOOPS_TRUST_PATH/modules/bulletin/class/bulletin_cal.php
▽修正前
<pre class="code"><code>
$ret = '<table border="0" class="outer" cellspacing="1">';
</code></pre>
▽修正後
<pre class="code"><code>
$ret = '<table border="0" class="outer2" cellspacing="1">';
</code></pre>
▼Bulletin|カレンダーのリンク色の変更 - Wander Wonder xField http://xfield.info/modules/tautech/content0156.html