Version Notes
Version number: 1.0.3.5
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.5 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.3.4 to 1.0.3.5
- News 2.2 - User Guide.pdf +0 -0
- app/code/community/CommerceLab/News/Block/Abstract.php +32 -3
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tab/Info.php +3 -2
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Grid.php +15 -3
- app/code/community/CommerceLab/News/Block/News.php +28 -0
- app/code/community/CommerceLab/News/Block/Newsitem.php +28 -0
- app/code/community/CommerceLab/News/Helper/Data.php +3 -2
- app/code/community/CommerceLab/News/controllers/NewsitemController.php +6 -0
- app/code/community/CommerceLab/News/etc/config.xml +1 -1
- app/design/frontend/default/default/template/clnews/list.phtml +10 -28
- app/design/frontend/default/default/template/clnews/news_print.phtml +1 -1
- app/design/frontend/default/default/template/clnews/newsitem.phtml +78 -85
- app/locale/de_DE/CommerceLab_News.csv +4 -2
- package.xml +5 -5
News 2.2 - User Guide.pdf
CHANGED
|
Binary file
|
app/code/community/CommerceLab/News/Block/Abstract.php
CHANGED
|
@@ -203,10 +203,23 @@ class CommerceLab_News_Block_Abstract extends Mage_Core_Block_Template
|
|
| 203 |
|
| 204 |
public function getPageUrl($page)
|
| 205 |
{
|
| 206 |
-
if (
|
| 207 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
} else {
|
| 209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 210 |
}
|
| 211 |
}
|
| 212 |
|
|
@@ -253,4 +266,20 @@ class CommerceLab_News_Block_Abstract extends Mage_Core_Block_Template
|
|
| 253 |
}
|
| 254 |
return $html;
|
| 255 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 256 |
}
|
| 203 |
|
| 204 |
public function getPageUrl($page)
|
| 205 |
{
|
| 206 |
+
if (Mage::app()->getRequest()->getModuleName()==Mage::helper('clnews')->getRoute()) {
|
| 207 |
+
if ($category = $this->getCategoryKey()) {
|
| 208 |
+
return $this->getUrl('*', array('category' => $category, 'page' => $page));
|
| 209 |
+
} else {
|
| 210 |
+
return $this->getUrl('*', array('page' => $page));
|
| 211 |
+
}
|
| 212 |
} else {
|
| 213 |
+
if (strstr( Mage::helper("core/url")->getCurrentUrl(), '?')) {
|
| 214 |
+
$sign = '&';
|
| 215 |
+
} else {
|
| 216 |
+
$sign = '?';
|
| 217 |
+
}
|
| 218 |
+
if (strstr( Mage::helper("core/url")->getCurrentUrl(),'page=' )) {
|
| 219 |
+
return preg_replace('(page=[0-9]+)', 'page='.$page, Mage::helper("core/url")->getCurrentUrl());
|
| 220 |
+
} else {
|
| 221 |
+
return Mage::helper("core/url")->getCurrentUrl().$sign.'page='.$page;
|
| 222 |
+
}
|
| 223 |
}
|
| 224 |
}
|
| 225 |
|
| 266 |
}
|
| 267 |
return $html;
|
| 268 |
}
|
| 269 |
+
|
| 270 |
+
public function getCategoryByNews($id)
|
| 271 |
+
{
|
| 272 |
+
$data = Mage::getModel('clnews/category')->getCategoryByNewsId($id);
|
| 273 |
+
$data = new Varien_Object($data);
|
| 274 |
+
$collection = Mage::getModel('clnews/category')->getCollection()
|
| 275 |
+
->addStoreFilter(Mage::app()->getStore()->getId());
|
| 276 |
+
if ($data->getData('0/category_id')!= NULL) {
|
| 277 |
+
$collection->getSelect()->where('main_table.category_id =' . $data->getData('0/category_id'));
|
| 278 |
+
$category = $collection->getFirstItem();
|
| 279 |
+
return $category;
|
| 280 |
+
} else {
|
| 281 |
+
$category = $collection->getFirstItem();
|
| 282 |
+
return $category->setData('title','');
|
| 283 |
+
}
|
| 284 |
+
}
|
| 285 |
}
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tab/Info.php
CHANGED
|
@@ -76,10 +76,11 @@ class CommerceLab_News_Block_Adminhtml_News_Edit_Tab_Info extends Mage_Adminhtml
|
|
| 76 |
}
|
| 77 |
|
| 78 |
$categories = array();
|
| 79 |
-
$collection = Mage::getModel('clnews/category')->getCollection()->setOrder('
|
|
|
|
| 80 |
foreach ($collection as $cat) {
|
| 81 |
$categories[] = ( array(
|
| 82 |
-
'label' => (string)$cat->getTitle(),
|
| 83 |
'value' => $cat->getCategoryId()
|
| 84 |
));
|
| 85 |
}
|
| 76 |
}
|
| 77 |
|
| 78 |
$categories = array();
|
| 79 |
+
$collection = Mage::getModel('clnews/category')->getCollection()->setOrder('sort_id', 'asc');
|
| 80 |
+
$nonEscapableNbspChar = html_entity_decode(' ', ENT_NOQUOTES, 'UTF-8');
|
| 81 |
foreach ($collection as $cat) {
|
| 82 |
$categories[] = ( array(
|
| 83 |
+
'label' => str_repeat($nonEscapableNbspChar, $cat->getLevel() * 4).(string)$cat->getTitle(),
|
| 84 |
'value' => $cat->getCategoryId()
|
| 85 |
));
|
| 86 |
}
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Grid.php
CHANGED
|
@@ -29,9 +29,9 @@ class CommerceLab_News_Block_Adminhtml_News_Grid extends Mage_Adminhtml_Block_Wi
|
|
| 29 |
protected function _prepareCollection()
|
| 30 |
{
|
| 31 |
$collection = Mage::getModel('clnews/news')->getCollection();
|
| 32 |
-
|
| 33 |
-
$
|
| 34 |
-
$
|
| 35 |
}
|
| 36 |
$this->setCollection($collection);
|
| 37 |
return parent::_prepareCollection();
|
|
@@ -193,4 +193,16 @@ class CommerceLab_News_Block_Adminhtml_News_Grid extends Mage_Adminhtml_Block_Wi
|
|
| 193 |
{
|
| 194 |
return $this->getUrl('*/*/edit', array('id' => $row->getId()));
|
| 195 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
}
|
| 29 |
protected function _prepareCollection()
|
| 30 |
{
|
| 31 |
$collection = Mage::getModel('clnews/news')->getCollection();
|
| 32 |
+
foreach($collection as $item) {
|
| 33 |
+
$stores = $this->lookupStoreIds($item->getId());
|
| 34 |
+
$item->setData('store_id', $stores);
|
| 35 |
}
|
| 36 |
$this->setCollection($collection);
|
| 37 |
return parent::_prepareCollection();
|
| 193 |
{
|
| 194 |
return $this->getUrl('*/*/edit', array('id' => $row->getId()));
|
| 195 |
}
|
| 196 |
+
|
| 197 |
+
public function lookupStoreIds($objectId)
|
| 198 |
+
{
|
| 199 |
+
$adapter = Mage::getSingleton('core/resource')->getConnection('core_read');
|
| 200 |
+
|
| 201 |
+
$tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_store');
|
| 202 |
+
$select = $adapter->select()
|
| 203 |
+
->from($tableName, 'store_id')
|
| 204 |
+
->where('news_id = ?',(int)$objectId);
|
| 205 |
+
|
| 206 |
+
return $adapter->fetchCol($select);
|
| 207 |
+
}
|
| 208 |
}
|
app/code/community/CommerceLab/News/Block/News.php
CHANGED
|
@@ -71,4 +71,32 @@ class CommerceLab_News_Block_News extends CommerceLab_News_Block_Abstract
|
|
| 71 |
}
|
| 72 |
}
|
| 73 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
}
|
| 71 |
}
|
| 72 |
}
|
| 73 |
}
|
| 74 |
+
|
| 75 |
+
public function getShortImageSize($item)
|
| 76 |
+
{
|
| 77 |
+
$width_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_width');
|
| 78 |
+
$height_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_height');
|
| 79 |
+
if (Mage::getStoreConfig('clnews/news/resize_to_max') == 1) {
|
| 80 |
+
$width = $width_max;
|
| 81 |
+
$height = $height_max;
|
| 82 |
+
} else {
|
| 83 |
+
$imageObj = new Varien_Image(Mage::getBaseDir('media') . DS . $item->getImageShortContent());
|
| 84 |
+
$original_width = $imageObj->getOriginalWidth();
|
| 85 |
+
$original_height = $imageObj->getOriginalHeight();
|
| 86 |
+
if ($original_width > $width_max) {
|
| 87 |
+
$width = $width_max;
|
| 88 |
+
} else {
|
| 89 |
+
$width = $original_width;
|
| 90 |
+
}
|
| 91 |
+
if ($original_height > $height_max) {
|
| 92 |
+
$height = $height_max;
|
| 93 |
+
} else {
|
| 94 |
+
$height = $original_height;
|
| 95 |
+
}
|
| 96 |
+
}
|
| 97 |
+
if ($item->getShortWidthResize()): $width = $item->getShortWidthResize(); else: $width; endif;
|
| 98 |
+
if ($item->getShortHeightResize()): $height = $item->getShortHeightResize(); else: $height; endif;
|
| 99 |
+
|
| 100 |
+
return array('width' => $width, 'height' => $height);
|
| 101 |
+
}
|
| 102 |
}
|
app/code/community/CommerceLab/News/Block/Newsitem.php
CHANGED
|
@@ -267,6 +267,34 @@ class CommerceLab_News_Block_Newsitem extends Mage_Core_Block_Template
|
|
| 267 |
return $html;
|
| 268 |
}
|
| 269 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 270 |
protected function _toHtml()
|
| 271 |
{
|
| 272 |
$html = parent::_toHtml();
|
| 267 |
return $html;
|
| 268 |
}
|
| 269 |
|
| 270 |
+
public function getFullImageSize($item)
|
| 271 |
+
{
|
| 272 |
+
$width_max = Mage::getStoreConfig('clnews/news/fulldescr_image_max_width');
|
| 273 |
+
$height_max = Mage::getStoreConfig('clnews/news/fulldescr_image_max_height');
|
| 274 |
+
if (Mage::getStoreConfig('clnews/news/resize_to_max') == 1) {
|
| 275 |
+
$width = $width_max;
|
| 276 |
+
$height = $height_max;
|
| 277 |
+
} else {
|
| 278 |
+
$imageObj = new Varien_Image(Mage::getBaseDir('media') . DS . $item->getImageFullContent());
|
| 279 |
+
$original_width = $imageObj->getOriginalWidth();
|
| 280 |
+
$original_height = $imageObj->getOriginalHeight();
|
| 281 |
+
if ($original_width > $width_max) {
|
| 282 |
+
$width = $width_max;
|
| 283 |
+
} else {
|
| 284 |
+
$width = $original_width;
|
| 285 |
+
}
|
| 286 |
+
if ($original_height > $height_max) {
|
| 287 |
+
$height = $height_max;
|
| 288 |
+
} else {
|
| 289 |
+
$height = $original_height;
|
| 290 |
+
}
|
| 291 |
+
}
|
| 292 |
+
if ($item->getFullWidthResize()): $width = $item->getFullWidthResize(); else: $width; endif;
|
| 293 |
+
if ($item->getFullHeightResize()): $height = $item->getFullHeightResize(); else: $height; endif;
|
| 294 |
+
|
| 295 |
+
return array('width' => $width, 'height' => $height);
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
protected function _toHtml()
|
| 299 |
{
|
| 300 |
$html = parent::_toHtml();
|
app/code/community/CommerceLab/News/Helper/Data.php
CHANGED
|
@@ -89,8 +89,9 @@ class CommerceLab_News_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 89 |
public function getFileUrl($newsitem)
|
| 90 |
{
|
| 91 |
$file = Mage::getBaseDir('media'). 'clnews' . DS . $newsitem->getDocument();
|
| 92 |
-
|
| 93 |
-
|
|
|
|
| 94 |
}
|
| 95 |
|
| 96 |
public function showAuthor()
|
| 89 |
public function getFileUrl($newsitem)
|
| 90 |
{
|
| 91 |
$file = Mage::getBaseDir('media'). 'clnews' . DS . $newsitem->getDocument();
|
| 92 |
+
$file = str_replace(Mage::getBaseDir('media'), Mage::getBaseUrl('media'), $file);
|
| 93 |
+
$file = str_replace('\\', '/', $file);
|
| 94 |
+
return $file;
|
| 95 |
}
|
| 96 |
|
| 97 |
public function showAuthor()
|
app/code/community/CommerceLab/News/controllers/NewsitemController.php
CHANGED
|
@@ -69,6 +69,12 @@ class CommerceLab_News_NewsitemController extends Mage_Core_Controller_Front_Act
|
|
| 69 |
}
|
| 70 |
}
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
if ($data = $this->getRequest()->getPost()) {
|
| 73 |
$model = Mage::getModel('clnews/comment');
|
| 74 |
$model->setData($data);
|
| 69 |
}
|
| 70 |
}
|
| 71 |
|
| 72 |
+
$mode = $this->getRequest()->getParam('mode');
|
| 73 |
+
if ($mode=='print') {
|
| 74 |
+
$this->_forward('print');
|
| 75 |
+
return;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
if ($data = $this->getRequest()->getPost()) {
|
| 79 |
$model = Mage::getModel('clnews/comment');
|
| 80 |
$model->setData($data);
|
app/code/community/CommerceLab/News/etc/config.xml
CHANGED
|
@@ -37,7 +37,7 @@
|
|
| 37 |
<modules>
|
| 38 |
<CommerceLab_News>
|
| 39 |
<files>
|
| 40 |
-
<
|
| 41 |
</files>
|
| 42 |
</CommerceLab_News>
|
| 43 |
</modules>
|
| 37 |
<modules>
|
| 38 |
<CommerceLab_News>
|
| 39 |
<files>
|
| 40 |
+
<CommerceLab_News>CommerceLab_News.csv</CommerceLab_News>
|
| 41 |
</files>
|
| 42 |
</CommerceLab_News>
|
| 43 |
</modules>
|
app/design/frontend/default/default/template/clnews/list.phtml
CHANGED
|
@@ -11,37 +11,19 @@
|
|
| 11 |
<?php $items = $this->getNewsItems() ?>
|
| 12 |
<?php foreach ($items as $item): ?>
|
| 13 |
<div class="news-item">
|
| 14 |
-
<?php if ($item->getImageShortContentShow()
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
$height_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_height');
|
| 18 |
-
if (Mage::getStoreConfig('clnews/news/resize_to_max') == 1) {
|
| 19 |
-
$width = $width_max;
|
| 20 |
-
$height = $height_max;
|
| 21 |
-
} else {
|
| 22 |
-
$imageObj = new Varien_Image(Mage::getBaseDir('media') . DS . $item->getImageShortContent());
|
| 23 |
-
$original_width = $imageObj->getOriginalWidth();
|
| 24 |
-
$original_height = $imageObj->getOriginalHeight();
|
| 25 |
-
if ($original_width > $width_max) {
|
| 26 |
-
$width = $width_max;
|
| 27 |
-
} else {
|
| 28 |
-
$width = $original_width;
|
| 29 |
-
}
|
| 30 |
-
if ($original_height > $height_max) {
|
| 31 |
-
$height = $height_max;
|
| 32 |
-
} else {
|
| 33 |
-
$height = $original_height;
|
| 34 |
-
}
|
| 35 |
-
}
|
| 36 |
-
if ($item->getShortWidthResize()): $width = $item->getShortWidthResize(); else: $width; endif;
|
| 37 |
-
if ($item->getShortHeightResize()): $height = $item->getShortHeightResize(); else: $height; endif;
|
| 38 |
-
?>
|
| 39 |
-
<div class="news_image"><img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageShortContent()), $width, $height, 'clnews'); ?>" /></div>
|
| 40 |
<?php endif; ?>
|
| 41 |
<h5><a href="<?php echo $item->getUrl($this->getCategory()) ?>" ><?php echo $item->getTitle();?></a></h5>
|
| 42 |
<?php if (Mage::helper('clnews')->showDate()): ?>
|
| 43 |
<span class="date"><?php echo Mage::helper('clnews')->formatDate($item->getNewsTime()) ?></span>
|
| 44 |
<?php endif ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
<?php if ($item->getAuthor()): ?>
|
| 46 |
<span class="date"> <?php if (Mage::helper('clnews')->showAuthor()): ?>| <?php echo $item->getAuthor() ?><?php endif;?></span>
|
| 47 |
<?php endif ?>
|
|
@@ -59,13 +41,13 @@
|
|
| 59 |
|
| 60 |
<div>
|
| 61 |
<?php if($item->getCommentsEnabled()): ?>
|
| 62 |
-
<a href="<?php echo $
|
| 63 |
<?php endif; ?>
|
| 64 |
</div>
|
| 65 |
</div>
|
|
|
|
| 66 |
<?php endforeach; ?>
|
| 67 |
|
| 68 |
-
|
| 69 |
<?php if($this->getLastPageNum()>1): ?>
|
| 70 |
<div class="pager">
|
| 71 |
<p class="page">
|
| 11 |
<?php $items = $this->getNewsItems() ?>
|
| 12 |
<?php foreach ($items as $item): ?>
|
| 13 |
<div class="news-item">
|
| 14 |
+
<?php if ($item->getImageShortContentShow() && $item->getImageShortContent()): ?>
|
| 15 |
+
<?php $imageSize = $this->getShortImageSize($item) ?>
|
| 16 |
+
<div class="news_image"><img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageShortContent()), $imageSize['width'], $imageSize['height'], 'clnews'); ?>" /></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
<?php endif; ?>
|
| 18 |
<h5><a href="<?php echo $item->getUrl($this->getCategory()) ?>" ><?php echo $item->getTitle();?></a></h5>
|
| 19 |
<?php if (Mage::helper('clnews')->showDate()): ?>
|
| 20 |
<span class="date"><?php echo Mage::helper('clnews')->formatDate($item->getNewsTime()) ?></span>
|
| 21 |
<?php endif ?>
|
| 22 |
+
<?php if (Mage::helper('clnews')->showCategory()): ?>
|
| 23 |
+
<?php if ($this->getCategoryByNews($item->getID())->getData('title') != ''): ?>
|
| 24 |
+
<span class="date"> | <?php echo $this->getCategoryByNews($item->getID())->getData('title') ?></span>
|
| 25 |
+
<?php endif; ?>
|
| 26 |
+
<?php endif; ?>
|
| 27 |
<?php if ($item->getAuthor()): ?>
|
| 28 |
<span class="date"> <?php if (Mage::helper('clnews')->showAuthor()): ?>| <?php echo $item->getAuthor() ?><?php endif;?></span>
|
| 29 |
<?php endif ?>
|
| 41 |
|
| 42 |
<div>
|
| 43 |
<?php if($item->getCommentsEnabled()): ?>
|
| 44 |
+
<a href="<?php echo $item->getUrl($this->getCategory()) ?>#commentBox" class="comment"><?php echo $item->getCommentsCount(); ?> <?php echo $this->__('Comment(s)') ?></a>
|
| 45 |
<?php endif; ?>
|
| 46 |
</div>
|
| 47 |
</div>
|
| 48 |
+
<div class="clearing"></div>
|
| 49 |
<?php endforeach; ?>
|
| 50 |
|
|
|
|
| 51 |
<?php if($this->getLastPageNum()>1): ?>
|
| 52 |
<div class="pager">
|
| 53 |
<p class="page">
|
app/design/frontend/default/default/template/clnews/news_print.phtml
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
<?php if (Mage::helper('clnews')->showDate()): ?>
|
| 31 |
<span class="date"><?php echo Mage::helper('clnews')->formatDate($item->getNewsTime()) ?></span>
|
| 32 |
<?php endif; ?>
|
| 33 |
-
<?php if (Mage::helper('clnews')->showCategory()): ?>
|
| 34 |
<span class="date"> | <?php echo $this->getCategoryByNews($item->getID())->getData('title'); ?></span>
|
| 35 |
<?php endif; ?>
|
| 36 |
<?php echo $item->getFullContent(); ?>
|
| 30 |
<?php if (Mage::helper('clnews')->showDate()): ?>
|
| 31 |
<span class="date"><?php echo Mage::helper('clnews')->formatDate($item->getNewsTime()) ?></span>
|
| 32 |
<?php endif; ?>
|
| 33 |
+
<?php if (Mage::helper('clnews')->showCategory() && ($this->getCategoryByNews($item->getID())->getData('title')!='')): ?>
|
| 34 |
<span class="date"> | <?php echo $this->getCategoryByNews($item->getID())->getData('title'); ?></span>
|
| 35 |
<?php endif; ?>
|
| 36 |
<?php echo $item->getFullContent(); ?>
|
app/design/frontend/default/default/template/clnews/newsitem.phtml
CHANGED
|
@@ -1,14 +1,3 @@
|
|
| 1 |
-
<script src="http://platform.linkedin.com/in.js" type="text/javascript"></script>
|
| 2 |
-
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
| 3 |
-
<div id="fb-root"></div>
|
| 4 |
-
<script>(function(d, s, id) {
|
| 5 |
-
var js, fjs = d.getElementsByTagName(s)[0];
|
| 6 |
-
if (d.getElementById(id)) return;
|
| 7 |
-
js = d.createElement(s); js.id = id;
|
| 8 |
-
js.src = "//connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale() ?>/all.js#xfbml=1";
|
| 9 |
-
fjs.parentNode.insertBefore(js, fjs);
|
| 10 |
-
}(document, 'script', 'facebook-jssdk'));</script>
|
| 11 |
-
<?php $session = Mage::getSingleton('core/session'); ?>
|
| 12 |
<?php $item = $this->getNewsitem(); ?>
|
| 13 |
<h4><?php echo $item->getTitle() ?></h4>
|
| 14 |
<?php if (Mage::helper('clnews')->showDate()): ?>
|
|
@@ -21,42 +10,52 @@
|
|
| 21 |
<?php endif; ?>
|
| 22 |
|
| 23 |
<div class="social">
|
| 24 |
-
<?php if (Mage::helper('clnews')->getGoogleAccess()):
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
$
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
|
|
|
| 54 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
<div class="news">
|
| 56 |
<?php echo $this->contentFilter($item->getFullContent()); ?>
|
| 57 |
-
|
| 58 |
<?php if ($item->getDocument()!=''): ?>
|
| 59 |
-
<p class="loadfile"><a
|
| 60 |
<?php endif ?>
|
| 61 |
<?php if (Mage::helper('clnews')->showAuthor()): ?>
|
| 62 |
<?php if ($item->getAuthor()): ?>
|
|
@@ -67,24 +66,26 @@
|
|
| 67 |
|
| 68 |
<p>
|
| 69 |
<?php if (Mage::helper('clnews')->getTagsAccess()): ?>
|
| 70 |
-
<?php if ($item->getTags()): ?>
|
| 71 |
-
<?php $arr = preg_split('/,/', $item->getTags()); ?>
|
| 72 |
-
<?php $tags = ''; ?>
|
| 73 |
-
<?php $count = count($arr); ?>
|
| 74 |
-
<?php $k = 1; ?>
|
| 75 |
-
<?php foreach ($arr as $val): ?>
|
| 76 |
-
<?php if ($k == $count): ?>
|
| 77 |
-
<?php $tags .= '<a href="' . $this->getUrl(Mage::helper('clnews')->getRoute() . '/index/index/q/' . urlencode(trim($val)) . '/') . '" >' . trim($val) . '</a> '; ?>
|
| 78 |
-
<?php else: ?>
|
| 79 |
-
<?php $tags .= '<a href="' . $this->getUrl(Mage::helper('clnews')->getRoute() . '/index/index/q/' . urlencode(trim($val)) . '/') . '" >' . trim($val) . '</a>, '; ?>
|
| 80 |
-
<?php endif; ?>
|
| 81 |
-
<?php $k++; ?>
|
| 82 |
-
<?php endforeach; ?>
|
| 83 |
-
<img src="<?php echo $this->getSkinUrl('css/clnews/images/i-tags.gif')?>"/> <?php echo $tags; ?>
|
| 84 |
-
<?php endif; ?>
|
| 85 |
<?php endif; ?>
|
| 86 |
</p>
|
|
|
|
| 87 |
<?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
|
|
|
|
| 88 |
<div class="news-item-comment">
|
| 89 |
<?php if($item->getCommentsEnabled()): ?>
|
| 90 |
<?php $comments = $this->getComments(); ?>
|
|
@@ -105,20 +106,21 @@
|
|
| 105 |
<?php endforeach; ?>
|
| 106 |
</div>
|
| 107 |
<?php if($this->getLastPageNum()>1): ?>
|
| 108 |
-
<div class="pager">
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
</div>
|
| 121 |
-
<?php endif;?>
|
|
|
|
| 122 |
<?php if (!$this->getRequireLogin() || ($this->getRequireLogin()&&$this->helper('customer')->isLoggedIn())): ?>
|
| 123 |
<form id="postComment" method="post" action="">
|
| 124 |
<h4><?php echo Mage::helper('clnews')->__('Submit Comment') ?></h4>
|
|
@@ -130,7 +132,7 @@
|
|
| 130 |
<input name="user" id="user" value="<?php echo $this->getCommentName(); ?>" title="<?php echo $this->__('Name') ?>" value="<?php echo $this->htmlEscape($this->helper('clnews')->getUserName()) ?>" class="required-entry input-text" type="text" />
|
| 131 |
</div>
|
| 132 |
<div class="clear"></div>
|
| 133 |
-
|
| 134 |
<div class="input-box">
|
| 135 |
<label for="email"><?php echo Mage::helper('clnews')->__('Email') ?> <span class="required">*</span></label>
|
| 136 |
<input name="email" id="email" value="<?php echo $this->getCommentEmail(); ?>" title="<?php echo $this->__('Email') ?>" value="<?php echo $this->htmlEscape($this->helper('clnews')->getUserEmail()) ?>" class="required-entry input-text validate-email" type="text" />
|
|
@@ -157,7 +159,7 @@
|
|
| 157 |
<button class="button" type="submit"><span><span><?php echo Mage::helper('clnews')->__('Submit Comment') ?></span></span></button>
|
| 158 |
</div>
|
| 159 |
</form>
|
| 160 |
-
|
| 161 |
<script type="text/javascript">
|
| 162 |
var contactForm = new VarienForm('postComment', false);
|
| 163 |
</script>
|
|
@@ -166,9 +168,8 @@
|
|
| 166 |
<p><a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>"><?php echo Mage::helper('clnews')->__('click here');?></a> <?php echo Mage::helper('clnews')->__('to log in');?></p>
|
| 167 |
<?php endif; ?>
|
| 168 |
<?php endif; ?>
|
| 169 |
-
|
| 170 |
</div>
|
| 171 |
-
<a href="<?php echo $this->getBackUrl() ?>" class="back">« Back
|
| 172 |
<script type="text/javascript">
|
| 173 |
function AjaxSend(page, id, showLoader)
|
| 174 |
{
|
|
@@ -201,12 +202,4 @@
|
|
| 201 |
var cl = 'page_' + page;
|
| 202 |
jQuery("#" + cl).addClass("current");
|
| 203 |
}
|
| 204 |
-
|
| 205 |
-
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
| 206 |
-
po.src = 'https://apis.google.com/js/plusone.js';
|
| 207 |
-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
| 208 |
-
<?php if (isset($comments) && count($comments)): ?>
|
| 209 |
-
AjaxSend(1, <?php echo $item->getID() ?>, false);
|
| 210 |
-
<?php endif ?>
|
| 211 |
-
})();
|
| 212 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<?php $item = $this->getNewsitem(); ?>
|
| 2 |
<h4><?php echo $item->getTitle() ?></h4>
|
| 3 |
<?php if (Mage::helper('clnews')->showDate()): ?>
|
| 10 |
<?php endif; ?>
|
| 11 |
|
| 12 |
<div class="social">
|
| 13 |
+
<?php if (Mage::helper('clnews')->getGoogleAccess()): ?>
|
| 14 |
+
<script type="text/javascript">
|
| 15 |
+
(function() {
|
| 16 |
+
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
| 17 |
+
po.src = 'https://apis.google.com/js/plusone.js';
|
| 18 |
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
| 19 |
+
<?php if (isset($comments) && count($comments)): ?>
|
| 20 |
+
AjaxSend(1, <?php echo $item->getID() ?>, false);
|
| 21 |
+
<?php endif ?>
|
| 22 |
+
})();
|
| 23 |
+
</script>
|
| 24 |
+
<div class="google_button"><g:plusone></g:plusone></div>
|
| 25 |
+
<?php endif; ?>
|
| 26 |
+
<?php if (Mage::helper('clnews')->getFaceBookAccess()): ?>
|
| 27 |
+
<div id="fb-root"></div>
|
| 28 |
+
<script>(function(d, s, id) {
|
| 29 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
| 30 |
+
if (d.getElementById(id)) return;
|
| 31 |
+
js = d.createElement(s); js.id = id;
|
| 32 |
+
js.src = "//connect.facebook.net/<?php echo Mage::app()->getLocale()->getDefaultLocale() ?>/all.js#xfbml=1";
|
| 33 |
+
fjs.parentNode.insertBefore(js, fjs);
|
| 34 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
| 35 |
+
<div class="fb-like" data-send="false" data-layout="button_count" data-width="110" data-show-faces="false"></div>
|
| 36 |
+
<?php endif; ?>
|
| 37 |
+
<?php if (Mage::helper('clnews')->getLinkedInAccess()): ?>
|
| 38 |
+
<script src="http://platform.linkedin.com/in.js" type="text/javascript"></script>
|
| 39 |
+
<script type="IN/Share" data-counter="right"></script>
|
| 40 |
+
<?php endif; ?>
|
| 41 |
+
<?php if (Mage::helper('clnews')->getTwitterAccess()): ?>
|
| 42 |
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
| 43 |
+
<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>
|
| 44 |
<?php endif; ?>
|
| 45 |
+
<a href="<?php echo $item->getUrl() ?>?mode=print" class="print-btn"><?php echo $this->__('Print Version'); ?></a>
|
| 46 |
+
</div>
|
| 47 |
+
|
| 48 |
+
<?php if ($item->getImageFullContentShow() && $item->getImageFullContent()): ?>
|
| 49 |
+
<div class="news_image">
|
| 50 |
+
<?php $imageSize = $this->getFullImageSize($item) ?>
|
| 51 |
+
<img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageFullContent()), $imageSize['width'], $imageSize['height'], 'clnews'); ?>" />
|
| 52 |
+
</div>
|
| 53 |
+
<?php endif; ?>
|
| 54 |
+
|
| 55 |
<div class="news">
|
| 56 |
<?php echo $this->contentFilter($item->getFullContent()); ?>
|
|
|
|
| 57 |
<?php if ($item->getDocument()!=''): ?>
|
| 58 |
+
<p class="loadfile"><a href="<?php echo Mage::Helper('clnews')->getFileUrl($item) ?>"><?php if ($item->getLink()): echo $item->getLink(); else: echo $this->__('Download attached document'); endif; ?></a></p>
|
| 59 |
<?php endif ?>
|
| 60 |
<?php if (Mage::helper('clnews')->showAuthor()): ?>
|
| 61 |
<?php if ($item->getAuthor()): ?>
|
| 66 |
|
| 67 |
<p>
|
| 68 |
<?php if (Mage::helper('clnews')->getTagsAccess()): ?>
|
| 69 |
+
<?php if ($item->getTags()): ?>
|
| 70 |
+
<?php $arr = preg_split('/,/', $item->getTags()); ?>
|
| 71 |
+
<?php $tags = ''; ?>
|
| 72 |
+
<?php $count = count($arr); ?>
|
| 73 |
+
<?php $k = 1; ?>
|
| 74 |
+
<?php foreach ($arr as $val): ?>
|
| 75 |
+
<?php if ($k == $count): ?>
|
| 76 |
+
<?php $tags .= '<a href="' . $this->getUrl(Mage::helper('clnews')->getRoute() . '/index/index/q/' . urlencode(trim($val)) . '/') . '" >' . trim($val) . '</a> '; ?>
|
| 77 |
+
<?php else: ?>
|
| 78 |
+
<?php $tags .= '<a href="' . $this->getUrl(Mage::helper('clnews')->getRoute() . '/index/index/q/' . urlencode(trim($val)) . '/') . '" >' . trim($val) . '</a>, '; ?>
|
| 79 |
+
<?php endif; ?>
|
| 80 |
+
<?php $k++; ?>
|
| 81 |
+
<?php endforeach; ?>
|
| 82 |
+
<img src="<?php echo $this->getSkinUrl('css/clnews/images/i-tags.gif')?>"/> <?php echo $tags; ?>
|
| 83 |
+
<?php endif; ?>
|
| 84 |
<?php endif; ?>
|
| 85 |
</p>
|
| 86 |
+
|
| 87 |
<?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
|
| 88 |
+
|
| 89 |
<div class="news-item-comment">
|
| 90 |
<?php if($item->getCommentsEnabled()): ?>
|
| 91 |
<?php $comments = $this->getComments(); ?>
|
| 106 |
<?php endforeach; ?>
|
| 107 |
</div>
|
| 108 |
<?php if($this->getLastPageNum()>1): ?>
|
| 109 |
+
<div class="pager">
|
| 110 |
+
<p class="page">
|
| 111 |
+
<span id="prev"><span class="prev" style="display:none;"><?php echo $this->__('Previous') ?></span></span>
|
| 112 |
+
<?php foreach ($this->getPages() as $_page): ?>
|
| 113 |
+
<?php if ($this->isPageCurrent($_page)): ?>
|
| 114 |
+
<span id="page_<?php echo $_page ?>" class="page current" onclick="AjaxSend(<?php echo $_page ?>, <?php echo $item->getId() ?>, true);"><?php echo $_page ?></span>
|
| 115 |
+
<?php else: ?>
|
| 116 |
+
<span id="page_<?php echo $_page ?>" class="page" onclick="AjaxSend(<?php echo $_page ?>, <?php echo $item->getId() ?>, true);"><?php echo $_page ?></span>
|
| 117 |
+
<?php endif ?>
|
| 118 |
+
<?php endforeach; ?>
|
| 119 |
+
<span id="next"><span class="next"><?php echo $this->__('Next') ?></span></span>
|
| 120 |
+
</p>
|
| 121 |
+
</div>
|
| 122 |
+
<?php endif;?>
|
| 123 |
+
|
| 124 |
<?php if (!$this->getRequireLogin() || ($this->getRequireLogin()&&$this->helper('customer')->isLoggedIn())): ?>
|
| 125 |
<form id="postComment" method="post" action="">
|
| 126 |
<h4><?php echo Mage::helper('clnews')->__('Submit Comment') ?></h4>
|
| 132 |
<input name="user" id="user" value="<?php echo $this->getCommentName(); ?>" title="<?php echo $this->__('Name') ?>" value="<?php echo $this->htmlEscape($this->helper('clnews')->getUserName()) ?>" class="required-entry input-text" type="text" />
|
| 133 |
</div>
|
| 134 |
<div class="clear"></div>
|
| 135 |
+
|
| 136 |
<div class="input-box">
|
| 137 |
<label for="email"><?php echo Mage::helper('clnews')->__('Email') ?> <span class="required">*</span></label>
|
| 138 |
<input name="email" id="email" value="<?php echo $this->getCommentEmail(); ?>" title="<?php echo $this->__('Email') ?>" value="<?php echo $this->htmlEscape($this->helper('clnews')->getUserEmail()) ?>" class="required-entry input-text validate-email" type="text" />
|
| 159 |
<button class="button" type="submit"><span><span><?php echo Mage::helper('clnews')->__('Submit Comment') ?></span></span></button>
|
| 160 |
</div>
|
| 161 |
</form>
|
| 162 |
+
|
| 163 |
<script type="text/javascript">
|
| 164 |
var contactForm = new VarienForm('postComment', false);
|
| 165 |
</script>
|
| 168 |
<p><a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>"><?php echo Mage::helper('clnews')->__('click here');?></a> <?php echo Mage::helper('clnews')->__('to log in');?></p>
|
| 169 |
<?php endif; ?>
|
| 170 |
<?php endif; ?>
|
|
|
|
| 171 |
</div>
|
| 172 |
+
<a href="<?php echo $this->getBackUrl() ?>" class="back">« <?php echo $this->__('Back') ?></a>
|
| 173 |
<script type="text/javascript">
|
| 174 |
function AjaxSend(page, id, showLoader)
|
| 175 |
{
|
| 202 |
var cl = 'page_' + page;
|
| 203 |
jQuery("#" + cl).addClass("current");
|
| 204 |
}
|
| 205 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/locale/de_DE/CommerceLab_News.csv
CHANGED
|
@@ -143,5 +143,7 @@
|
|
| 143 |
"Use comma for multiple words","Verwenden Sie Kommas nach mehreren Wörtern"
|
| 144 |
"e.g. domain.com/news/url_key","z.B. domain.de/nachrichten/url_key"
|
| 145 |
"e.g. Download attached document - default","z.B. Laden Sie beigefügtes Dokument - Standard"
|
| 146 |
-
"Print
|
| 147 |
-
"Back", "zurück"
|
|
|
|
|
|
| 143 |
"Use comma for multiple words","Verwenden Sie Kommas nach mehreren Wörtern"
|
| 144 |
"e.g. domain.com/news/url_key","z.B. domain.de/nachrichten/url_key"
|
| 145 |
"e.g. Download attached document - default","z.B. Laden Sie beigefügtes Dokument - Standard"
|
| 146 |
+
"Print Version", "Druckversion"
|
| 147 |
+
"Back", "zurück"
|
| 148 |
+
"view more","mehr anzeigen"
|
| 149 |
+
"Comment(s)","Kommentar(e)"
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>CommerceLab_News</name>
|
| 4 |
-
<version>1.0.3.
|
| 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 |
<br />
|
| 36 |
<p><strong>CommerceLab – stay open for the world!</strong></p>
|
| 37 |
<br /></description>
|
| 38 |
-
<notes>Version number: 1.0.3.
|
| 39 |
Stability: Stable
|
| 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-
|
| 43 |
-
<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="
|
| 45 |
<compatible/>
|
| 46 |
<dependencies/>
|
| 47 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>CommerceLab_News</name>
|
| 4 |
+
<version>1.0.3.5</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 |
<br />
|
| 36 |
<p><strong>CommerceLab – stay open for the world!</strong></p>
|
| 37 |
<br /></description>
|
| 38 |
+
<notes>Version number: 1.0.3.5
|
| 39 |
Stability: Stable
|
| 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-04-14</date>
|
| 43 |
+
<time>08:16:30</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="97c5caa914d207044776129b1a87f5f2"/></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="55ecd86836803996343b7d282c7b6576"/></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="8000a44c4836bbc816234cabab562446"/><file name="News.php" hash="88481ef96012a897256ba6e225d694af"/><file name="Newsitem.php" hash="5a251599dfa28de6d5a9532eac52678a"/><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="c0c2e68a27af5c159772ce4cbcbdbdf2"/><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="64085b5addc8fd71e8ff4a9bfef9e310"/><file name="RssController.php" hash="f829908e5558e2d2b92422a51e54f0a3"/></dir><dir name="etc"><file name="config.xml" hash="ae7c7e41eb57773e839ddee015d0eac8"/><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="993af6a99dc4b1fa9bbb6b5338cda206"/><file name="menu.phtml" hash="e940cc1614de26e74d0001b6711cc319"/><file name="news_print.phtml" hash="75b7c6ecc6c4d3d98072a6848576985c"/><file name="newsitem.phtml" hash="e509973b0e8dea633b16bedb912024d1"/></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="8fbca606f5ef94bd79d2b4e2c69363df"/></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="18b2690a2a9ca066fdd38b3d309bbb44"/></dir></target></contents>
|
| 45 |
<compatible/>
|
| 46 |
<dependencies/>
|
| 47 |
</package>
|
