CommerceLab_News - Version 1.0.3.4

Version Notes

Version number: 1.0.3.4
Stability: Stable
Compatibility: 1.4, 1.5, 1.6, 1.7

Download this release

Release Info

Developer Magento Core Team
Extension CommerceLab_News
Version 1.0.3.4
Comparing to
See all releases


Code changes from version 1.0.3.3 to 1.0.3.4

app/code/community/CommerceLab/News/Block/Abstract.php ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * CommerceLab Co.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the CommerceLab License Agreement
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://commerce-lab.com/LICENSE.txt
11
+ *
12
+ * @category CommerceLab
13
+ * @package CommerceLab_News
14
+ * @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
15
+ * @license http://commerce-lab.com/LICENSE.txt
16
+ */
17
+
18
+ class CommerceLab_News_Block_Abstract extends Mage_Core_Block_Template
19
+ {
20
+ protected $_pagesCount = null;
21
+ protected $_currentPage = null;
22
+ protected $_itemsOnPage = 10;
23
+ protected $_itemsLimit;
24
+ protected $_pages;
25
+ protected $_latestItemsCount = 2;
26
+ protected $_showFlag = 0;
27
+
28
+ protected function _construct()
29
+ {
30
+ $this->_currentPage = $this->getRequest()->getParam('page');
31
+ if (!$this->_currentPage) {
32
+ $this->_currentPage=1;
33
+ }
34
+
35
+ $itemsPerPage = (int)Mage::getStoreConfig('clnews/news/itemsperpage');
36
+ if ($itemsPerPage > 0) {
37
+ $this->_itemsOnPage = $itemsPerPage;
38
+ }
39
+
40
+ $itemsLimit = (int)$this->getData('itemslimit');
41
+ if ($itemsLimit==null) {
42
+ $itemsLimit = (int)Mage::getStoreConfig('clnews/news/itemslimit');
43
+ }
44
+ if ($itemsLimit > 0) {
45
+ $this->_itemsLimit = $itemsLimit;
46
+ } else {
47
+ $this->_itemsLimit = null;
48
+ }
49
+
50
+ $latestItemsCount = (int)Mage::getStoreConfig('clnews/news/latestitemscount');
51
+ if ($latestItemsCount > 0) {
52
+ $this->_latestItemsCount = $latestItemsCount;
53
+ }
54
+ }
55
+
56
+ public function getCategoryKey()
57
+ {
58
+ $category = $this->getData('category');
59
+ if ($category==null) {
60
+ $category = $this->getRequest()->getParam('category');
61
+ }
62
+ return $category;
63
+ }
64
+
65
+ public function getNewsItems()
66
+ {
67
+ $this->_showFlag = 1;
68
+ $collection = Mage::getModel('clnews/news')->getCollection();
69
+
70
+ $category = $this->getCategoryKey();
71
+ if ($category!=null) {
72
+ $catCollection = Mage::getModel('clnews/category')->getCollection()
73
+ ->addFieldToFilter('url_key', $category)
74
+ ->addStoreFilter(Mage::app()->getStore()->getId());
75
+ $categoryId = $catCollection->getData();
76
+ if ($categoryId[0]['category_id']) {
77
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_category');
78
+ $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','category_id');
79
+ $collection->getSelect()->where($tableName . '.category_id =?', $categoryId[0]['category_id']);
80
+ }
81
+ } else {
82
+ $collection->addStoreFilter(Mage::app()->getStore()->getId());
83
+ }
84
+ if ($tag = $this->getRequest()->getParam('q')) {
85
+ $collection = Mage::getModel('clnews/news')->getCollection()->setOrder('news_time', 'desc');
86
+ if (count(Mage::app()->getStores()) > 1) {
87
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_store');
88
+ $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','store_id');
89
+ $collection->getSelect()->where($tableName . '.store_id =?', Mage::app()->getStore()->getId());
90
+ }
91
+ $tag = urldecode($tag);
92
+ $collection->getSelect()->where("tags LIKE '%". $tag . "%'");
93
+ }
94
+
95
+ $collection
96
+ ->addEnableFilter(1)
97
+ ->addFieldToFilter('publicate_from_time', array('or' => array(
98
+ 0 => array('date' => true, 'to' => date('Y-m-d H:i:s')),
99
+ 1 => array('is' => new Zend_Db_Expr('null'))),
100
+ ), 'left')
101
+ ->addFieldToFilter('publicate_to_time', array('or' => array(
102
+ 0 => array('date' => true, 'from' => date('Y-m-d H:i:s')),
103
+ 1 => array('is' => new Zend_Db_Expr('null'))),
104
+ ), 'left')
105
+ ->setOrder('news_time ', 'desc');
106
+ if ($this->_itemsLimit!=null && $this->_itemsLimit<$collection->getSize()) {
107
+ $this->_pagesCount = ceil($this->_itemsLimit/$this->_itemsOnPage);
108
+ } else {
109
+ $this->_pagesCount = ceil($collection->getSize()/$this->_itemsOnPage);
110
+ }
111
+ for ($i=1; $i<=$this->_pagesCount;$i++) {
112
+ $this->_pages[] = $i;
113
+ }
114
+ $this->setLastPageNum($this->_pagesCount);
115
+
116
+ $offset = $this->_itemsOnPage*($this->_currentPage-1);
117
+ if ($this->_itemsLimit!=null) {
118
+ $_itemsCurrentPage = $this->_itemsLimit - $offset;
119
+ if ($_itemsCurrentPage > $this->_itemsOnPage) {
120
+ $_itemsCurrentPage = $this->_itemsOnPage;
121
+ }
122
+ $collection->getSelect()->limit($_itemsCurrentPage, $offset);
123
+ } else {
124
+ $collection->getSelect()->limit($this->_itemsOnPage, $offset);
125
+ }
126
+
127
+ foreach ($collection as $item) {
128
+ $comments = Mage::getModel('clnews/comment')->getCollection()
129
+ ->addNewsFilter($item->getNewsId())
130
+ ->addApproveFilter(CommerceLab_News_Helper_Data::APPROVED_STATUS);
131
+ $item->setCommentsCount(count($comments));
132
+ }
133
+ return $collection;
134
+ }
135
+
136
+ public function getLatestNewsItems()
137
+ {
138
+ $collection = Mage::getModel('clnews/news')->getCollection()
139
+ ->addStoreFilter(Mage::app()->getStore()->getId());
140
+ $collection->setPageSize($this->_latestItemsCount);
141
+ $collection
142
+ ->addEnableFilter(1)
143
+ ->addFieldToFilter('publicate_from_time', array('or' => array(
144
+ 0 => array('date' => true, 'to' => date('Y-m-d H:i:s')),
145
+ 1 => array('is' => new Zend_Db_Expr('null'))),
146
+ ), 'left')
147
+ ->addFieldToFilter('publicate_to_time', array('or' => array(
148
+ 0 => array('date' => true, 'from' => date('Y-m-d H:i:s')),
149
+ 1 => array('is' => new Zend_Db_Expr('null'))),
150
+ ), 'left')
151
+ ->setOrder('news_time ', 'desc');
152
+ return $collection;
153
+ }
154
+
155
+ public function getCategories()
156
+ {
157
+ $collection = Mage::getModel('clnews/category')->getCollection()
158
+ ->addStoreFilter(Mage::app()->getStore()->getId())
159
+ ->setOrder('sort_id', 'asc');
160
+
161
+ foreach ($collection as $item) {
162
+ $item->setLink(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$this->getAlias().'/category/'.$item->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix());
163
+ }
164
+ return $collection;
165
+ }
166
+
167
+ public function getTopLink()
168
+ {
169
+ $route = Mage::helper('clnews')->getRoute();
170
+ $title = Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title'));
171
+ if ($this->getParentBlock() && $this->getParentBlock()!=null) {
172
+ $this->getParentBlock()->addLink($title, $route, $title, true, array(), 15, null, 'class="top-link-news"');
173
+ }
174
+ }
175
+
176
+ public function getItemUrl($itemId) {
177
+ return $this->getUrl($this->getAlias().'/newsitem/view', array('id' => $itemId));
178
+ }
179
+
180
+ public function isFirstPage()
181
+ {
182
+ if ($this->_currentPage==1) {
183
+ return true;
184
+ }
185
+ return false;
186
+ }
187
+
188
+ public function isLastPage()
189
+ {
190
+ if ($this->_currentPage==$this->_pagesCount) {
191
+ return true;
192
+ }
193
+ return false;
194
+ }
195
+
196
+ public function isPageCurrent($page)
197
+ {
198
+ if ($page==$this->_currentPage) {
199
+ return true;
200
+ }
201
+ return false;
202
+ }
203
+
204
+ public function getPageUrl($page)
205
+ {
206
+ if ($category = $this->getCategoryKey()) {
207
+ return $this->getUrl('*', array('category' => $category, 'page' => $page));
208
+ } else {
209
+ return $this->getUrl('*', array('page' => $page));
210
+ }
211
+ }
212
+
213
+ public function getNextPageUrl()
214
+ {
215
+ $page = $this->_currentPage+1;
216
+ return $this->getPageUrl($page);
217
+ }
218
+
219
+ public function getPreviousPageUrl()
220
+ {
221
+ $page = $this->_currentPage-1;
222
+ return $this->getPageUrl($page);
223
+ }
224
+
225
+ public function getPages()
226
+ {
227
+ return $this->_pages;
228
+ }
229
+
230
+ public function getAlias()
231
+ {
232
+ return Mage::helper('clnews')->getRoute();
233
+ }
234
+
235
+ public function getCurrentCategory()
236
+ {
237
+ if ($this->getCategoryKey()) {
238
+ $categories = Mage::getModel('clnews/category')
239
+ ->getCollection()
240
+ ->addFieldToFilter('url_key', $this->getCategoryKey())
241
+ ->setPageSize(1);
242
+ $category = $categories->getFirstItem();
243
+ return $category;
244
+ }
245
+ return null;
246
+ }
247
+
248
+ protected function _toHtml()
249
+ {
250
+ $html = parent::_toHtml();
251
+ if ($this->_showFlag==1) {
252
+ $html = $html.'<div align="right" class="clcopyright">&copy Developed by <a href="http://commerce-lab.com/">CommerceLab</a></div>';
253
+ }
254
+ return $html;
255
+ }
256
+ }
app/code/community/CommerceLab/News/Block/News.php CHANGED
@@ -15,44 +15,8 @@
15
  * @license http://commerce-lab.com/LICENSE.txt
16
  */
17
 
18
- class CommerceLab_News_Block_News extends Mage_Core_Block_Template
19
  {
20
- protected $_pagesCount = null;
21
- protected $_currentPage = null;
22
- protected $_itemsOnPage = 10;
23
- protected $_itemsLimit;
24
- protected $_pages;
25
- protected $_latestItemsCount = 2;
26
- protected $_showFlag = 0;
27
-
28
- protected function _construct()
29
- {
30
- $this->_currentPage = $this->getRequest()->getParam('page');
31
- if (!$this->_currentPage) {
32
- $this->_currentPage=1;
33
- }
34
-
35
- $itemsPerPage = (int)Mage::getStoreConfig('clnews/news/itemsperpage');
36
- if ($itemsPerPage > 0) {
37
- $this->_itemsOnPage = $itemsPerPage;
38
- }
39
-
40
- $itemsLimit = (int)$this->getData('itemslimit');
41
- if ($itemsLimit==null) {
42
- $itemsLimit = (int)Mage::getStoreConfig('clnews/news/itemslimit');
43
- }
44
- if ($itemsLimit > 0) {
45
- $this->_itemsLimit = $itemsLimit;
46
- } else {
47
- $this->_itemsLimit = null;
48
- }
49
-
50
- $latestItemsCount = (int)Mage::getStoreConfig('clnews/news/latestitemscount');
51
- if ($latestItemsCount > 0) {
52
- $this->_latestItemsCount = $latestItemsCount;
53
- }
54
- }
55
-
56
  protected function _prepareLayout()
57
  {
58
  if ($head = $this->getLayout()->getBlock('head')) {
@@ -107,205 +71,4 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
107
  }
108
  }
109
  }
110
-
111
- public function getCategoryKey()
112
- {
113
- $category = $this->getData('category');
114
- if ($category==null) {
115
- $category = $this->getRequest()->getParam('category');
116
- }
117
- return $category;
118
- }
119
-
120
- public function getNewsItems()
121
- {
122
- $this->_showFlag = 1;
123
- $collection = Mage::getModel('clnews/news')->getCollection();
124
-
125
- $category = $this->getCategoryKey();
126
- if ($category!=null) {
127
- $catCollection = Mage::getModel('clnews/category')->getCollection()
128
- ->addFieldToFilter('url_key', $category)
129
- ->addStoreFilter(Mage::app()->getStore()->getId());
130
- $categoryId = $catCollection->getData();
131
- if ($categoryId[0]['category_id']) {
132
- $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_category');
133
- $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','category_id');
134
- $collection->getSelect()->where($tableName . '.category_id =?', $categoryId[0]['category_id']);
135
- }
136
- } else {
137
- $collection->addStoreFilter(Mage::app()->getStore()->getId());
138
- }
139
- if ($tag = $this->getRequest()->getParam('q')) {
140
- $collection = Mage::getModel('clnews/news')->getCollection()->setOrder('news_time', 'desc');
141
- if (count(Mage::app()->getStores()) > 1) {
142
- $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_store');
143
- $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','store_id');
144
- $collection->getSelect()->where($tableName . '.store_id =?', Mage::app()->getStore()->getId());
145
- }
146
- $tag = urldecode($tag);
147
- $collection->getSelect()->where("tags LIKE '%". $tag . "%'");
148
- }
149
-
150
- $collection
151
- ->addEnableFilter(1)
152
- ->addFieldToFilter('publicate_from_time', array('or' => array(
153
- 0 => array('date' => true, 'to' => date('Y-m-d H:i:s')),
154
- 1 => array('is' => new Zend_Db_Expr('null'))),
155
- ), 'left')
156
- ->addFieldToFilter('publicate_to_time', array('or' => array(
157
- 0 => array('date' => true, 'from' => date('Y-m-d H:i:s')),
158
- 1 => array('is' => new Zend_Db_Expr('null'))),
159
- ), 'left')
160
- ->setOrder('news_time ', 'desc');
161
- if ($this->_itemsLimit!=null && $this->_itemsLimit<$collection->getSize()) {
162
- $this->_pagesCount = ceil($this->_itemsLimit/$this->_itemsOnPage);
163
- } else {
164
- $this->_pagesCount = ceil($collection->getSize()/$this->_itemsOnPage);
165
- }
166
- for ($i=1; $i<=$this->_pagesCount;$i++) {
167
- $this->_pages[] = $i;
168
- }
169
- $this->setLastPageNum($this->_pagesCount);
170
-
171
- $offset = $this->_itemsOnPage*($this->_currentPage-1);
172
- if ($this->_itemsLimit!=null) {
173
- $_itemsCurrentPage = $this->_itemsLimit - $offset;
174
- if ($_itemsCurrentPage > $this->_itemsOnPage) {
175
- $_itemsCurrentPage = $this->_itemsOnPage;
176
- }
177
- $collection->getSelect()->limit($_itemsCurrentPage, $offset);
178
- } else {
179
- $collection->getSelect()->limit($this->_itemsOnPage, $offset);
180
- }
181
-
182
- foreach ($collection as $item) {
183
- $comments = Mage::getModel('clnews/comment')->getCollection()
184
- ->addNewsFilter($item->getNewsId())
185
- ->addApproveFilter(CommerceLab_News_Helper_Data::APPROVED_STATUS);
186
- $item->setCommentsCount(count($comments));
187
- }
188
- return $collection;
189
- }
190
-
191
- public function getLatestNewsItems()
192
- {
193
- $collection = Mage::getModel('clnews/news')->getCollection()
194
- ->addStoreFilter(Mage::app()->getStore()->getId());
195
- $collection->setPageSize($this->_latestItemsCount);
196
- $collection
197
- ->addEnableFilter(1)
198
- ->addFieldToFilter('publicate_from_time', array('or' => array(
199
- 0 => array('date' => true, 'to' => date('Y-m-d H:i:s')),
200
- 1 => array('is' => new Zend_Db_Expr('null'))),
201
- ), 'left')
202
- ->addFieldToFilter('publicate_to_time', array('or' => array(
203
- 0 => array('date' => true, 'from' => date('Y-m-d H:i:s')),
204
- 1 => array('is' => new Zend_Db_Expr('null'))),
205
- ), 'left')
206
- ->setOrder('news_time ', 'desc');
207
- return $collection;
208
- }
209
-
210
- public function getCategories()
211
- {
212
- $collection = Mage::getModel('clnews/category')->getCollection()
213
- ->addStoreFilter(Mage::app()->getStore()->getId())
214
- ->setOrder('sort_id', 'asc');
215
-
216
- foreach ($collection as $item) {
217
- $item->setLink(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$this->getAlias().'/category/'.$item->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix());
218
- }
219
- return $collection;
220
- }
221
-
222
- public function getTopLink()
223
- {
224
- $route = Mage::helper('clnews')->getRoute();
225
- $title = Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title'));
226
- if ($this->getParentBlock() && $this->getParentBlock()!=null) {
227
- $this->getParentBlock()->addLink($title, $route, $title, true, array(), 15, null, 'class="top-link-news"');
228
- }
229
- }
230
-
231
- public function getItemUrl($itemId) {
232
- return $this->getUrl($this->getAlias().'/newsitem/view', array('id' => $itemId));
233
- }
234
-
235
- public function isFirstPage()
236
- {
237
- if ($this->_currentPage==1) {
238
- return true;
239
- }
240
- return false;
241
- }
242
-
243
- public function isLastPage()
244
- {
245
- if ($this->_currentPage==$this->_pagesCount) {
246
- return true;
247
- }
248
- return false;
249
- }
250
-
251
- public function isPageCurrent($page)
252
- {
253
- if ($page==$this->_currentPage) {
254
- return true;
255
- }
256
- return false;
257
- }
258
-
259
- public function getPageUrl($page)
260
- {
261
- if ($category = $this->getCategoryKey()) {
262
- return $this->getUrl('*', array('category' => $category, 'page' => $page));
263
- } else {
264
- return $this->getUrl('*', array('page' => $page));
265
- }
266
- }
267
-
268
- public function getNextPageUrl()
269
- {
270
- $page = $this->_currentPage+1;
271
- return $this->getPageUrl($page);
272
- }
273
-
274
- public function getPreviousPageUrl()
275
- {
276
- $page = $this->_currentPage-1;
277
- return $this->getPageUrl($page);
278
- }
279
-
280
- public function getPages()
281
- {
282
- return $this->_pages;
283
- }
284
-
285
- public function getAlias()
286
- {
287
- return Mage::helper('clnews')->getRoute();
288
- }
289
-
290
- public function getCurrentCategory()
291
- {
292
- if ($this->getCategoryKey()) {
293
- $categories = Mage::getModel('clnews/category')
294
- ->getCollection()
295
- ->addFieldToFilter('url_key', $this->getCategoryKey())
296
- ->setPageSize(1);
297
- $category = $categories->getFirstItem();
298
- return $category;
299
- }
300
- return null;
301
- }
302
-
303
- protected function _toHtml()
304
- {
305
- $html = parent::_toHtml();
306
- if ($this->_showFlag==1) {
307
- $html = $html.'<div align="right" class="clcopyright">&copy Developed by <a href="http://commerce-lab.com/">CommerceLab</a></div>';
308
- }
309
- return $html;
310
- }
311
  }
15
  * @license http://commerce-lab.com/LICENSE.txt
16
  */
17
 
18
+ class CommerceLab_News_Block_News extends CommerceLab_News_Block_Abstract
19
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  protected function _prepareLayout()
21
  {
22
  if ($head = $this->getLayout()->getBlock('head')) {
71
  }
72
  }
73
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  }
app/code/community/CommerceLab/News/Block/Newsitem.php CHANGED
@@ -76,8 +76,16 @@ class CommerceLab_News_Block_Newsitem extends Mage_Core_Block_Template
76
  }
77
 
78
  $head->setTitle($newsitem->getTitle());
79
- $head->setKeywords($newsitem->getMetaKeywords());
80
- $head->setDescription($newsitem->getMetaDescription());
 
 
 
 
 
 
 
 
81
  }
82
  }
83
 
76
  }
77
 
78
  $head->setTitle($newsitem->getTitle());
79
+ if ($newsitem->getMetaKeywords()!='') {
80
+ $head->setKeywords($newsitem->getMetaKeywords());
81
+ } else {
82
+ $head->setKeywords(Mage::getStoreConfig('clnews/news/metakeywords'));
83
+ }
84
+ if ($newsitem->getMetaDescription()!='') {
85
+ $head->setDescription($newsitem->getMetaDescription());
86
+ } else {
87
+ $head->setDescription(Mage::getStoreConfig('clnews/news/metadescription'));
88
+ }
89
  }
90
  }
91
 
app/code/community/CommerceLab/News/Block/Settings.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * CommerceLab Co.
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the CommerceLab License Agreement
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://commerce-lab.com/LICENSE.txt
11
+ *
12
+ * @category CommerceLab
13
+ * @package CommerceLab_News
14
+ * @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
15
+ * @license http://commerce-lab.com/LICENSE.txt
16
+ */
17
+
18
+ class CommerceLab_News_Block_Settings extends CommerceLab_News_Block_Abstract
19
+ {
20
+ }
app/design/frontend/default/default/layout/clnews.xml CHANGED
@@ -34,7 +34,7 @@
34
  <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
35
  </reference>
36
  <reference name="right">
37
- <block type="clnews/news" name="right.clnews.menu" before="-">
38
  <action method="setTemplate" ifconfig="clnews/news/showrightblock">
39
  <template>clnews/menu.phtml</template>
40
  </action>
@@ -46,14 +46,14 @@
46
  </block>
47
  </reference>
48
  <reference name="left">
49
- <block type="clnews/news" name="left.clnews.menu" before="-">
50
  <action method="setTemplate" ifconfig="clnews/news/showleftblock">
51
  <template>clnews/menu.phtml</template>
52
  </action>
53
  </block>
54
  </reference>
55
  <reference name="top.links">
56
- <block type="clnews/news" name="top.clnews.link">
57
  <action method="getTopLink"></action>
58
  </block>
59
  </reference>
34
  <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
35
  </reference>
36
  <reference name="right">
37
+ <block type="clnews/settings" name="right.clnews.menu" before="-">
38
  <action method="setTemplate" ifconfig="clnews/news/showrightblock">
39
  <template>clnews/menu.phtml</template>
40
  </action>
46
  </block>
47
  </reference>
48
  <reference name="left">
49
+ <block type="clnews/settings" name="left.clnews.menu" before="-">
50
  <action method="setTemplate" ifconfig="clnews/news/showleftblock">
51
  <template>clnews/menu.phtml</template>
52
  </action>
53
  </block>
54
  </reference>
55
  <reference name="top.links">
56
+ <block type="clnews/settings" name="top.clnews.link">
57
  <action method="getTopLink"></action>
58
  </block>
59
  </reference>
js/commercelab/clnews/news.js CHANGED
@@ -1,5 +1,5 @@
1
  jQuery.noConflict();
2
- /*
3
  jQuery(document).ready(function($){
4
  if (jQuery('.'+'c'+'l'+'c'+'o'+'p'+'y'+'r'+'i'+'g'+'h'+'t').length <= 0 ) {
5
  if (jQuery('.'+'news'+'-'+'item').length > 0) {
@@ -9,4 +9,4 @@ jQuery(document).ready(function($){
9
  jQuery('.'+'news').hide();
10
  }
11
  }
12
- });*/
1
  jQuery.noConflict();
2
+
3
  jQuery(document).ready(function($){
4
  if (jQuery('.'+'c'+'l'+'c'+'o'+'p'+'y'+'r'+'i'+'g'+'h'+'t').length <= 0 ) {
5
  if (jQuery('.'+'news'+'-'+'item').length > 0) {
9
  jQuery('.'+'news').hide();
10
  }
11
  }
12
+ });
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceLab_News</name>
4
- <version>1.0.3.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -35,13 +35,13 @@
35
  &lt;br /&gt;&#xD;
36
  &lt;p&gt;&lt;strong&gt;CommerceLab &#x2013; stay open for the world!&lt;/strong&gt;&lt;/p&gt;&#xD;
37
  &lt;br /&gt;</description>
38
- <notes>Version number: 1.0.3&#xD;
39
  Stability: Stable&#xD;
40
  Compatibility: 1.4, 1.5, 1.6, 1.7</notes>
41
  <authors><author><name>CommerceLab</name><user>auto-converted</user><email>support@commerce-lab.com</email></author></authors>
42
- <date>2013-03-01</date>
43
- <time>10:17:23</time>
44
- <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="CommerceLab"><dir name="News"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="9f656f81ee3e8a7ec275bfd7818f2b2e"/></dir><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="768aa10696beb070c5fc9eec9f0141c2"/><file name="SubCategories.php" hash="cc1eac066648cee1cabe3667625a5662"/></dir></dir></dir><file name="Edit.php" hash="5352d9211733adeb9c1c9b463d229fb4"/><file name="Grid.php" hash="fe20f872e49926e54fa91d9b616eccd2"/></dir><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="8d52c5840c93dc462ab7d07a21d875e4"/></dir><file name="Edit.php" hash="44647da407fffe74595a7787d99addca"/><file name="Grid.php" hash="8ae3a0eb316e5ea705408e04f1d8d227"/></dir><dir name="News"><dir name="Edit"><dir name="Tab"><file name="Additional.php" hash="48b6bca5f84a413a7c2abc188aa7f7d7"/><file name="Info.php" hash="7625c507b3b537ae683418e1c8111039"/></dir><file name="Form.php" hash="c137eca6d32e407cc6313b943ec3ef13"/><file name="Tabs.php" hash="2a24e69b73d59b1e6e8b8aca166b27e9"/></dir><file name="Edit.php" hash="ad5e3b0e2911d187b5a489ab826fcea4"/><file name="Grid.php" hash="aa23af27b5944362d4279d95c75765f2"/></dir><file name="Category.php" hash="39f20ab1d793ab32a9cc1fcebdd6f9ac"/><file name="Comment.php" hash="1d652f6c740eaa2a1b28edb2cb03cc01"/><file name="News.php" hash="5a4483a050582fc9738582988439fea2"/></dir><file name="News.php" hash="0eeece7e21ca2c4d685e73fe93f24ec3"/><file name="Newsitem.php" hash="eadb77f0ad9a8e9eb60b2e27a2343991"/><file name="Rss.php" hash="70d3ffe74cbb107893782f5c8f40ab65"/></dir><dir name="Controller"><file name="Router.php" hash="b24028480568dbc4b1e4ff4a7902a4ba"/></dir><dir name="Helper"><file name="Data.php" hash="7e3922a0c2373b1efa4ba3020e18ff23"/><file name="Versions.php" hash="1a57f869d355cf167f64eb7e9070294b"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="d38fe5d97a94566ea9a764e0a22616c1"/></dir><dir name="Comment"><file name="Collection.php" hash="2c7ce498edac7667c17ecdefb1e01ce3"/></dir><dir name="News"><file name="Collection.php" hash="6476e44afa6eb8b4e75fa937ff5bcb53"/></dir><file name="Category.php" hash="b5d406f334591f2c17148c1a2beb57b2"/><file name="Comment.php" hash="95c98f86dd1a056ad1d81d9f09040d64"/><file name="News.php" hash="43a2482fbb9fd3c38c39c0aeb75d7698"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="6eead5875889bfb7d3d8aabd635a3754"/></dir><file name="Category.php" hash="9452474484a934f4d4ac32bddf7fc534"/><file name="Check.php" hash="1ad77d86702648a3149cce1de6cacb84"/><file name="Comment.php" hash="2dbdccefbe89486e952b0c9ccbc74ad1"/><file name="News.php" hash="8b2ae4315e499a9e510df1c6149b10cc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="672617c54b396226e00dee879734a829"/><file name="CommentController.php" hash="cebc87be1b0ae7365c986c2f508b0b06"/><file name="NewsController.php" hash="f87a09573a8b13e5f643487f88296fae"/></dir><file name="IndexController.php" hash="b6caf5dce8e69ca0bccb4f741676245d"/><file name="NewsitemController.php" hash="de645790d618a1bc7bc9e150c72420a6"/><file name="RssController.php" hash="f829908e5558e2d2b92422a51e54f0a3"/></dir><dir name="etc"><file name="config.xml" hash="cc2675f1c40cc9780ecaf009a2819ffa"/><file name="system.xml" hash="c29ed6e0c278127d5a4651af0246bcca"/></dir><dir name="sql"><dir name="clnews_setup"><file name="mysql4-install-1.0.0.php" hash="1ac289b76f5999eb73839252c26185fa"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="3efb7204344043f03de7287073b310a8"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="49d8f85ce4e3a80829439d9fe43d4cb8"/></dir><dir name="template"><dir name="clnews"><file name="latest.phtml" hash="a8d422f6fc17af733668e2c46871bd30"/><file name="list.phtml" hash="762b252e06ed8eed624d1b0725f56651"/><file name="menu.phtml" hash="e940cc1614de26e74d0001b6711cc319"/><file name="news_print.phtml" hash="396c58117f2c3d1fd6b4c69986920860"/><file name="newsitem.phtml" hash="297994421b98ba80c7aff9e1e607223f"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="f15b74649d6bd46af20a6cc4dd2aade4"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="CommerceLab_News.xml" hash="8da22cde4606bb3f8a30d40c4dbda6ee"/></dir></dir><dir name="locale"><dir name="en_US"><file name="CommerceLab_News.csv" hash="19738af0c851c532ca1f035d8ef8924d"/></dir><dir name="it_IT"><file name="CommerceLab_News.csv" hash="c1a45f82e5330c45b26c7c2fc4260dfc"/></dir><dir name="de_DE"><file name="CommerceLab_News.csv" hash="512af432844a180e2f619510c2cbe68a"/></dir></dir></dir><dir name="js"><dir name="commercelab"><dir name="treeview"><file name="jquery.treeview.pack.js" hash="d1acfe09a5cb97d93ab167952c550a7d"/></dir><dir name="clnews"><file name="news.js" hash="c4594d6874f80d3847952a4f4a2f37c3"/></dir><file name="noconflict.js" hash="22e97cd4bf445c956c7ccee56fa433c2"/><file name="category_tree.js" hash="2369a2d52e678de6f5fc0669492d2fda"/></dir><dir name="jquery"><file name="jquery-1.4.4.js" hash="1e2ef16563c5939f247626c6147045aa"/><file name="jquery-1.7.1-min.js" hash="de56dbfca517764d9d056e82068f8d39"/></dir><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="commercelab"><dir name="magento"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="magento.css" hash="a0b153cee7655dad31ee2923657cc08a"/></dir></dir></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="clnews"><dir name="images"><file name="i-tags.gif" hash="d8acce70b98a2c5827ba8bd6ee166d6d"/><file name="i_attached.gif" hash="4e277173b6372b1a90b0f19e0388ad54"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="rss.gif" hash="d17678b5dab15949ed62bea2b602090f"/></dir><file name="style.css" hash="02684062443683d8310010a2b73d1c92"/></dir><dir name="commercelab"><dir name="treeview"><dir name="images"><file name="file.gif" hash="9ab0e28d85d8ab5eb954fc28f6ac1e80"/><file name="folder-closed.gif" hash="262d69b7ca267be1994fca2aba46be32"/><file name="folder.gif" hash="9f41e1454905fd7416f89aa4380a65e1"/><file name="minus.gif" hash="e009322a00011359f76cf7ae59b4d33d"/><file name="plus.gif" hash="6c46b98e0c60e6dc2ef14f9d4a6607b8"/><file name="treeview-black-line.gif" hash="0cdd968bdb2f2852ec71e0264b3292cc"/><file name="treeview-black.gif" hash="a3ffb8abd978b0464f7b5b508fcfdef0"/><file name="treeview-default-line.gif" hash="5e3c0e0c48f48c23c45aef7b72c739c0"/><file name="treeview-default.gif" hash="46878a9b3ede269c4e234550c9c89cd0"/><file name="treeview-famfamfam-line.gif" hash="18b3e43abad26bdac6f4cea944777b62"/><file name="treeview-famfamfam.gif" hash="dc335e786863262f594737e26198009c"/><file name="treeview-gray-line.gif" hash="9c2613b4de53f939bc770983976f66cd"/><file name="treeview-gray.gif" hash="02b42894653cfd82e52aac669ad078ed"/><file name="treeview-red-line.gif" hash="feda280e7bffb057ca4c87491aab6943"/><file name="treeview-red.gif" hash="c94a07253c14c98fe69dffafb59228a5"/></dir><file name="jquery.treeview.css" hash="81ec9c30fb5b30b8811d8e182c065f16"/></dir></dir></dir><dir name="images"><dir name="clnews"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/></dir></dir></dir></dir></dir></dir><dir name="."><file name="EULA.pdf" hash="11b09816c8f293f077309b2abd85da66"/><file name="News 2.2 - User Guide.pdf" hash="5b056cef63db21bd262c46076cb05a65"/></dir></target></contents>
45
  <compatible/>
46
  <dependencies/>
47
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceLab_News</name>
4
+ <version>1.0.3.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
35
  &lt;br /&gt;&#xD;
36
  &lt;p&gt;&lt;strong&gt;CommerceLab &#x2013; stay open for the world!&lt;/strong&gt;&lt;/p&gt;&#xD;
37
  &lt;br /&gt;</description>
38
+ <notes>Version number: 1.0.3.4&#xD;
39
  Stability: Stable&#xD;
40
  Compatibility: 1.4, 1.5, 1.6, 1.7</notes>
41
  <authors><author><name>CommerceLab</name><user>auto-converted</user><email>support@commerce-lab.com</email></author></authors>
42
+ <date>2013-03-19</date>
43
+ <time>21:36:00</time>
44
+ <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="CommerceLab"><dir name="News"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="9f656f81ee3e8a7ec275bfd7818f2b2e"/></dir><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="768aa10696beb070c5fc9eec9f0141c2"/><file name="SubCategories.php" hash="cc1eac066648cee1cabe3667625a5662"/></dir></dir></dir><file name="Edit.php" hash="5352d9211733adeb9c1c9b463d229fb4"/><file name="Grid.php" hash="fe20f872e49926e54fa91d9b616eccd2"/></dir><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="8d52c5840c93dc462ab7d07a21d875e4"/></dir><file name="Edit.php" hash="44647da407fffe74595a7787d99addca"/><file name="Grid.php" hash="8ae3a0eb316e5ea705408e04f1d8d227"/></dir><dir name="News"><dir name="Edit"><dir name="Tab"><file name="Additional.php" hash="48b6bca5f84a413a7c2abc188aa7f7d7"/><file name="Info.php" hash="7625c507b3b537ae683418e1c8111039"/></dir><file name="Form.php" hash="c137eca6d32e407cc6313b943ec3ef13"/><file name="Tabs.php" hash="2a24e69b73d59b1e6e8b8aca166b27e9"/></dir><file name="Edit.php" hash="ad5e3b0e2911d187b5a489ab826fcea4"/><file name="Grid.php" hash="aa23af27b5944362d4279d95c75765f2"/></dir><file name="Category.php" hash="39f20ab1d793ab32a9cc1fcebdd6f9ac"/><file name="Comment.php" hash="1d652f6c740eaa2a1b28edb2cb03cc01"/><file name="News.php" hash="5a4483a050582fc9738582988439fea2"/></dir><file name="Abstract.php" hash="82df11c7d1f22ea7d2054ed7f47e8596"/><file name="News.php" hash="85ac15a5bca51440ec8609a53cfe3256"/><file name="Newsitem.php" hash="d8a3adfe90039c7feec4d70c5918184c"/><file name="Rss.php" hash="70d3ffe74cbb107893782f5c8f40ab65"/><file name="Settings.php" hash="5572127ed9b5ec94cf447c591ee9c0c7"/></dir><dir name="Controller"><file name="Router.php" hash="b24028480568dbc4b1e4ff4a7902a4ba"/></dir><dir name="Helper"><file name="Data.php" hash="7e3922a0c2373b1efa4ba3020e18ff23"/><file name="Versions.php" hash="1a57f869d355cf167f64eb7e9070294b"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="d38fe5d97a94566ea9a764e0a22616c1"/></dir><dir name="Comment"><file name="Collection.php" hash="2c7ce498edac7667c17ecdefb1e01ce3"/></dir><dir name="News"><file name="Collection.php" hash="6476e44afa6eb8b4e75fa937ff5bcb53"/></dir><file name="Category.php" hash="b5d406f334591f2c17148c1a2beb57b2"/><file name="Comment.php" hash="95c98f86dd1a056ad1d81d9f09040d64"/><file name="News.php" hash="43a2482fbb9fd3c38c39c0aeb75d7698"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="6eead5875889bfb7d3d8aabd635a3754"/></dir><file name="Category.php" hash="9452474484a934f4d4ac32bddf7fc534"/><file name="Check.php" hash="1ad77d86702648a3149cce1de6cacb84"/><file name="Comment.php" hash="2dbdccefbe89486e952b0c9ccbc74ad1"/><file name="News.php" hash="8b2ae4315e499a9e510df1c6149b10cc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="672617c54b396226e00dee879734a829"/><file name="CommentController.php" hash="cebc87be1b0ae7365c986c2f508b0b06"/><file name="NewsController.php" hash="f87a09573a8b13e5f643487f88296fae"/></dir><file name="IndexController.php" hash="b6caf5dce8e69ca0bccb4f741676245d"/><file name="NewsitemController.php" hash="de645790d618a1bc7bc9e150c72420a6"/><file name="RssController.php" hash="f829908e5558e2d2b92422a51e54f0a3"/></dir><dir name="etc"><file name="config.xml" hash="cc2675f1c40cc9780ecaf009a2819ffa"/><file name="system.xml" hash="c29ed6e0c278127d5a4651af0246bcca"/></dir><dir name="sql"><dir name="clnews_setup"><file name="mysql4-install-1.0.0.php" hash="1ac289b76f5999eb73839252c26185fa"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="3efb7204344043f03de7287073b310a8"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="37bfd859db6cdd24bc2599108c0d2e65"/></dir><dir name="template"><dir name="clnews"><file name="latest.phtml" hash="a8d422f6fc17af733668e2c46871bd30"/><file name="list.phtml" hash="762b252e06ed8eed624d1b0725f56651"/><file name="menu.phtml" hash="e940cc1614de26e74d0001b6711cc319"/><file name="news_print.phtml" hash="396c58117f2c3d1fd6b4c69986920860"/><file name="newsitem.phtml" hash="297994421b98ba80c7aff9e1e607223f"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="f15b74649d6bd46af20a6cc4dd2aade4"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="CommerceLab_News.xml" hash="8da22cde4606bb3f8a30d40c4dbda6ee"/></dir></dir><dir name="locale"><dir name="en_US"><file name="CommerceLab_News.csv" hash="19738af0c851c532ca1f035d8ef8924d"/></dir><dir name="it_IT"><file name="CommerceLab_News.csv" hash="c1a45f82e5330c45b26c7c2fc4260dfc"/></dir><dir name="de_DE"><file name="CommerceLab_News.csv" hash="512af432844a180e2f619510c2cbe68a"/></dir></dir></dir><dir name="js"><dir name="commercelab"><dir name="treeview"><file name="jquery.treeview.pack.js" hash="d1acfe09a5cb97d93ab167952c550a7d"/></dir><dir name="clnews"><file name="news.js" hash="063c7018b7b4f7895d78a63b5a58448f"/></dir><file name="noconflict.js" hash="22e97cd4bf445c956c7ccee56fa433c2"/><file name="category_tree.js" hash="2369a2d52e678de6f5fc0669492d2fda"/></dir><dir name="jquery"><file name="jquery-1.4.4.js" hash="1e2ef16563c5939f247626c6147045aa"/><file name="jquery-1.7.1-min.js" hash="de56dbfca517764d9d056e82068f8d39"/></dir><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="commercelab"><dir name="magento"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="magento.css" hash="a0b153cee7655dad31ee2923657cc08a"/></dir></dir></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="clnews"><dir name="images"><file name="i-tags.gif" hash="d8acce70b98a2c5827ba8bd6ee166d6d"/><file name="i_attached.gif" hash="4e277173b6372b1a90b0f19e0388ad54"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="rss.gif" hash="d17678b5dab15949ed62bea2b602090f"/></dir><file name="style.css" hash="02684062443683d8310010a2b73d1c92"/></dir><dir name="commercelab"><dir name="treeview"><dir name="images"><file name="file.gif" hash="9ab0e28d85d8ab5eb954fc28f6ac1e80"/><file name="folder-closed.gif" hash="262d69b7ca267be1994fca2aba46be32"/><file name="folder.gif" hash="9f41e1454905fd7416f89aa4380a65e1"/><file name="minus.gif" hash="e009322a00011359f76cf7ae59b4d33d"/><file name="plus.gif" hash="6c46b98e0c60e6dc2ef14f9d4a6607b8"/><file name="treeview-black-line.gif" hash="0cdd968bdb2f2852ec71e0264b3292cc"/><file name="treeview-black.gif" hash="a3ffb8abd978b0464f7b5b508fcfdef0"/><file name="treeview-default-line.gif" hash="5e3c0e0c48f48c23c45aef7b72c739c0"/><file name="treeview-default.gif" hash="46878a9b3ede269c4e234550c9c89cd0"/><file name="treeview-famfamfam-line.gif" hash="18b3e43abad26bdac6f4cea944777b62"/><file name="treeview-famfamfam.gif" hash="dc335e786863262f594737e26198009c"/><file name="treeview-gray-line.gif" hash="9c2613b4de53f939bc770983976f66cd"/><file name="treeview-gray.gif" hash="02b42894653cfd82e52aac669ad078ed"/><file name="treeview-red-line.gif" hash="feda280e7bffb057ca4c87491aab6943"/><file name="treeview-red.gif" hash="c94a07253c14c98fe69dffafb59228a5"/></dir><file name="jquery.treeview.css" hash="81ec9c30fb5b30b8811d8e182c065f16"/></dir></dir></dir><dir name="images"><dir name="clnews"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/></dir></dir></dir></dir></dir></dir><dir name="."><file name="EULA.pdf" hash="11b09816c8f293f077309b2abd85da66"/><file name="News 2.2 - User Guide.pdf" hash="5b056cef63db21bd262c46076cb05a65"/></dir></target></contents>
45
  <compatible/>
46
  <dependencies/>
47
  </package>