*
* @package Magic3 Framework
* @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
- * @copyright Copyright 2006-2012 Magic3 Project.
+ * @copyright Copyright 2006-2014 Magic3 Project.
* @license http://www.gnu.org/copyleft/gpl.html GPL License
- * @version SVN: $Id: blog_update_boxWidgetContainer.php 5267 2012-10-04 11:33:36Z fishbone $
+ * @version SVN: $Id$
* @link http://www.magic3.org
*/
require_once($gEnvManager->getContainerPath() . '/baseWidgetContainer.php');
if (!$this->isEntry){ // 記事の投稿がないときはメッセージを出力
$this->tmpl->addVar("_widget", "message", '投稿記事はありません');
+ $this->tmpl->setAttribute('itemlist', 'visibility', 'hidden');
}
// RSSの設定
// 一覧を作成
$this->defaultUrl = $this->gEnv->getDefaultUrl();
$this->db->getEntryItems($itemCount, $langId, array($this, 'itemLoop'));
-
- // 画面にデータを埋め込む
- if ($this->isExistsList) $this->tmpl->setAttribute('itemlist', 'visibility', 'visible');
+ if (!$this->isExistsList) $this->tmpl->setAttribute('itemlist', 'visibility', 'hidden');// 一覧非表示
// RSSチャンネル部出力データ作成
$linkUrl = $this->getUrl($this->gPage->createRssCmdUrl($this->gEnv->getCurrentWidgetId()));
+/**\r
+ * 表示データ作成用テンプレート(patTemplate)\r
+ *\r
+ * LICENSE: This source file is licensed under the terms of the GNU General Public License.\r
+ *\r
+ * @package Magic3 Framework\r
+ * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>\r
+ * @copyright Copyright 2006-2014 Magic3 Project.\r
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License\r
+ * @version SVN: $Id$\r
+ * @link http://www.magic3.org\r
+ */\r
<patTemplate:tmpl name="_widget">\r
<script type="text/javascript">\r
//<![CDATA[\r
+/**
+ * 表示データ作成用テンプレート(patTemplate)
+ *
+ * LICENSE: This source file is licensed under the terms of the GNU General Public License.
+ *
+ * @package Magic3 Framework
+ * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
+ * @copyright Copyright 2006-2014 Magic3 Project.
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
+ * @version SVN: $Id$
+ * @link http://www.magic3.org
+ */
<patTemplate:tmpl name="_widget">
{MESSAGE}
<ul>
+/**
+ * RSS作成用テンプレート(patTemplate)
+ *
+ * LICENSE: This source file is licensed under the terms of the GNU General Public License.
+ *
+ * @package Magic3 Framework
+ * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
+ * @copyright Copyright 2006-2014 Magic3 Project.
+ * @license http://www.gnu.org/copyleft/gpl.html GPL License
+ * @version SVN: $Id$
+ * @link http://www.magic3.org
+ */
<patTemplate:tmpl name="_widget">
<patTemplate:tmpl name="itemlist">
<item rdf:about="{LINK_URL}">