Officience_News - Version 0.1.1

Version Notes

Version number: 0.1.0
Stability: Stable
Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8

Download this release

Release Info

Developer khanh trieu nguyen le
Extension Officience_News
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/community/Officience/News/Block/Abstract.php CHANGED
@@ -9,6 +9,7 @@ class Officience_News_Block_Abstract extends Mage_Core_Block_Template {
9
  protected $_pages;
10
  protected $_latestItemsCount = 2;
11
  protected $_showFlag = 0;
 
12
 
13
  protected function _construct() {
14
  $this->_currentPage = $this->getRequest()->getParam('page');
@@ -56,6 +57,7 @@ class Officience_News_Block_Abstract extends Mage_Core_Block_Template {
56
  ->addEnableFilter(1)
57
  ->addStoreFilter($storeId)
58
  ->addStoreEnableFilter(1);
 
59
  if ($this->_itemsLimit != null && $this->_itemsLimit < $collection->getSize()) {
60
  $this->_pagesCount = ceil($this->_itemsLimit / $this->_itemsOnPage);
61
  } else {
@@ -110,14 +112,17 @@ class Officience_News_Block_Abstract extends Mage_Core_Block_Template {
110
  }
111
  }
112
  $currentPage = (int) $this->getRequest()->getParam('page');
113
- $links = "<div class='post-page-break'>";
114
- if ($currentPage > 1) {
115
- $links .= '<div class="left"><a href="' . $url . ($this->_currentPage - 1) . '" >< Newer Posts</a></div>';
116
- }
117
- if ($currentPage < $this->_pagesCount || $currentPage == 1) {
118
- $links .= '<div class="right"><a href="' . $url . ($this->_currentPage + 1) . '" >Older Posts ></a></div>';
 
 
 
 
119
  }
120
- $links .= "</div>";
121
 
122
  echo $links;
123
  //}
9
  protected $_pages;
10
  protected $_latestItemsCount = 2;
11
  protected $_showFlag = 0;
12
+ protected $_sizeCollection = 0;
13
 
14
  protected function _construct() {
15
  $this->_currentPage = $this->getRequest()->getParam('page');
57
  ->addEnableFilter(1)
58
  ->addStoreFilter($storeId)
59
  ->addStoreEnableFilter(1);
60
+ $this->_sizeCollection = $collection->getSize();
61
  if ($this->_itemsLimit != null && $this->_itemsLimit < $collection->getSize()) {
62
  $this->_pagesCount = ceil($this->_itemsLimit / $this->_itemsOnPage);
63
  } else {
112
  }
113
  }
114
  $currentPage = (int) $this->getRequest()->getParam('page');
115
+ $links = '';
116
+ if ($this->_itemsOnPage < $this->_sizeCollection) {
117
+ $links .= "<div class='post-page-break'>";
118
+ if ($currentPage > 1) {
119
+ $links .= '<div class="left"><a href="' . $url . ($this->_currentPage - 1) . '" >< Newer Posts</a></div>';
120
+ }
121
+ if ($currentPage < $this->_pagesCount || $currentPage == 1) {
122
+ $links .= '<div class="right"><a href="' . $url . ($this->_currentPage + 1) . '" >Older Posts ></a></div>';
123
+ }
124
+ $links .= "</div>";
125
  }
 
126
 
127
  echo $links;
128
  //}
app/code/community/Officience/News/Block/Adminhtml/Category/Edit.php CHANGED
@@ -27,9 +27,9 @@ class Officience_News_Block_Adminhtml_Category_Edit extends Mage_Adminhtml_Block
27
 
28
  public function getHeaderText() {
29
  if (Mage::registry('cat_data') && Mage::registry('cat_data')->getId()) {
30
- return $this->__("Edit News Category '%s'", $this->htmlEscape(Mage::registry('cat_data')->getTitle()));
31
  } else {
32
- return $this->__('Add News Category');
33
  }
34
  }
35
 
27
 
28
  public function getHeaderText() {
29
  if (Mage::registry('cat_data') && Mage::registry('cat_data')->getId()) {
30
+ return $this->__("Edit New Category '%s'", $this->htmlEscape(Mage::registry('cat_data')->getTitle()));
31
  } else {
32
+ return $this->__('Add New Category');
33
  }
34
  }
35
 
app/code/community/Officience/News/Block/Adminhtml/Category/Edit/Tabs.php CHANGED
@@ -6,7 +6,7 @@ class Officience_News_Block_Adminhtml_Category_Edit_Tabs extends Mage_Adminhtml_
6
  parent::_construct();
7
  $this->setId('news_tabs');
8
  $this->setDestElementId('edit_form');
9
- $this->setTitle($this->__('News'));
10
  }
11
 
12
  protected function _beforeToHtml() {
6
  parent::_construct();
7
  $this->setId('news_tabs');
8
  $this->setDestElementId('edit_form');
9
+ $this->setTitle($this->__('Category'));
10
  }
11
 
12
  protected function _beforeToHtml() {
app/code/community/Officience/News/Block/Adminhtml/News/Edit/Tab/Info.php CHANGED
@@ -28,7 +28,6 @@ class Officience_News_Block_Adminhtml_News_Edit_Tab_Info extends Mage_Adminhtml_
28
  'class' => 'required-entry',
29
  'required' => false,
30
  'name' => 'identifier',
31
- 'class' => 'validate-identifier',
32
  'after_element_html' => '<div class="hint"><p class="note">' . $this->__('e.g. domain.com/news/identifier') . '</p></div>',
33
  );
34
  $fieldset->addField('identifier', 'text', $arrIdentifier)
@@ -171,7 +170,6 @@ class Officience_News_Block_Adminhtml_News_Edit_Tab_Info extends Mage_Adminhtml_
171
  'class' => 'required-entry',
172
  'required' => false,
173
  'name' => 'identifier',
174
- 'class' => 'validate-identifier',
175
  'after_element_html' => '<div class="hint"><p class="note">' . $this->__('e.g. domain.com/news/identifier') . '</p></div>',
176
  ));
177
 
28
  'class' => 'required-entry',
29
  'required' => false,
30
  'name' => 'identifier',
 
31
  'after_element_html' => '<div class="hint"><p class="note">' . $this->__('e.g. domain.com/news/identifier') . '</p></div>',
32
  );
33
  $fieldset->addField('identifier', 'text', $arrIdentifier)
170
  'class' => 'required-entry',
171
  'required' => false,
172
  'name' => 'identifier',
 
173
  'after_element_html' => '<div class="hint"><p class="note">' . $this->__('e.g. domain.com/news/identifier') . '</p></div>',
174
  ));
175
 
app/code/community/Officience/News/Model/Mysql4/News.php CHANGED
@@ -23,7 +23,7 @@ class Officience_News_Model_Mysql4_News extends Mage_Core_Model_Mysql4_Abstract
23
  );
24
  $defaultValueArr = Mage::helper('offinews')->getDefaultValueData($data[0]);
25
  foreach ($defaultValueArr as $key => $defaultData) {
26
- if ($defaultData) {
27
  $arrValue[$key] = $object->getData($key);
28
  }
29
  }
23
  );
24
  $defaultValueArr = Mage::helper('offinews')->getDefaultValueData($data[0]);
25
  foreach ($defaultValueArr as $key => $defaultData) {
26
+ if ($defaultData && $key != 'default_value') {
27
  $arrValue[$key] = $object->getData($key);
28
  }
29
  }
app/code/community/Officience/News/controllers/Adminhtml/CategoryController.php CHANGED
@@ -99,6 +99,11 @@ class Officience_News_Adminhtml_CategoryController extends Mage_Adminhtml_Contro
99
  $store = intval($this->getRequest()->getParam('store', 0));
100
  if ($store != 0 && $this->getRequest()->getPost('category_id')) {
101
  $datatemp = $this->getRequest()->getPost();
 
 
 
 
 
102
  // try {
103
  $id = $this->getRequest()->getPost('category_id');
104
  $str = Mage::getModel('offinews/category')->getDefaultValue($datatemp['category_id'], $store);
99
  $store = intval($this->getRequest()->getParam('store', 0));
100
  if ($store != 0 && $this->getRequest()->getPost('category_id')) {
101
  $datatemp = $this->getRequest()->getPost();
102
+ if (!$datatemp['identifier']) {
103
+ $datatemp['identifier'] = Mage::helper('offinews')->vnFilter($datatemp['title']);
104
+ } else {
105
+ $datatemp['identifier'] = Mage::helper('offinews')->vnFilter($datatemp['identifier']);
106
+ }
107
  // try {
108
  $id = $this->getRequest()->getPost('category_id');
109
  $str = Mage::getModel('offinews/category')->getDefaultValue($datatemp['category_id'], $store);
app/code/community/Officience/News/controllers/Adminhtml/NewsController.php CHANGED
@@ -117,7 +117,11 @@ class Officience_News_Adminhtml_NewsController extends Mage_Adminhtml_Controller
117
  if ($store != 0 && $id) {
118
 
119
  $datatemp = $this->getRequest()->getPost();
120
-
 
 
 
 
121
  $newsCollection = Mage::getModel('offinews/newsStore')->getCollection()
122
  ->addFieldToFilter('identifier', $datatemp['identifier']);
123
 
@@ -163,6 +167,7 @@ class Officience_News_Adminhtml_NewsController extends Mage_Adminhtml_Controller
163
  unset($dataCur['thumbnail']);
164
 
165
  $dataCur['default_value'] = Mage::helper('offinews')->renderDefaultToText($datatemp);
 
166
  Mage::getModel('offinews/newsStore')->deleteNewsStore($id, $store);
167
 
168
 
@@ -196,6 +201,11 @@ class Officience_News_Adminhtml_NewsController extends Mage_Adminhtml_Controller
196
  }
197
  } else {
198
  $data = $this->getRequest()->getPost();
 
 
 
 
 
199
  $newsCollection = Mage::getModel('offinews/news')->getCollection()
200
  ->addFieldToFilter('identifier', $data['identifier']);
201
  $arr = array();
@@ -248,13 +258,13 @@ class Officience_News_Adminhtml_NewsController extends Mage_Adminhtml_Controller
248
 
249
  $model = Mage::getModel('offinews/news');
250
  /*
251
- $dateFrom = $this->getRequest()->getParam('publicate_from_date');
252
- $dateTo = $this->getRequest()->getParam('publicate_to_date');
253
- $timeFrom = implode(',', $this->getRequest()->getParam('publicate_from_time'));
254
- $timeTo = implode(',', $this->getRequest()->getParam('publicate_to_time'));
255
 
256
- $data['publicate_from_time'] = $timeFrom;
257
- $data['publicate_to_time'] = $timeTo;
258
  *
259
  */
260
  $data['tags'] = $this->getRequest()->getParam('tags');
@@ -278,12 +288,12 @@ class Officience_News_Adminhtml_NewsController extends Mage_Adminhtml_Controller
278
  // } else {
279
  // $data['publicate_to_date'] = new Zend_Db_Expr('null');
280
  // }
281
- // if ($id) {
282
- // $data['update_time'] = now();
283
- // } else {
284
- // $data['created_time'] = now();
285
- // $data['update_time'] = now();
286
- // }
287
 
288
  if ($this->getRequest()->getParam('author') == NULL) {
289
  $model->setUpdateAuthor(NULL);
117
  if ($store != 0 && $id) {
118
 
119
  $datatemp = $this->getRequest()->getPost();
120
+ if (!$datatemp['identifier']) {
121
+ $datatemp['identifier'] = Mage::helper('offinews')->vnFilter($datatemp['title']);
122
+ } else {
123
+ $datatemp['identifier'] = Mage::helper('offinews')->vnFilter($datatemp['identifier']);
124
+ }
125
  $newsCollection = Mage::getModel('offinews/newsStore')->getCollection()
126
  ->addFieldToFilter('identifier', $datatemp['identifier']);
127
 
167
  unset($dataCur['thumbnail']);
168
 
169
  $dataCur['default_value'] = Mage::helper('offinews')->renderDefaultToText($datatemp);
170
+ $dataCur['update_time'] = now();
171
  Mage::getModel('offinews/newsStore')->deleteNewsStore($id, $store);
172
 
173
 
201
  }
202
  } else {
203
  $data = $this->getRequest()->getPost();
204
+ if (!$data['identifier']) {
205
+ $data['identifier'] = Mage::helper('offinews')->vnFilter($data['title']);
206
+ } else {
207
+ $data['identifier'] = Mage::helper('offinews')->vnFilter($data['identifier']);
208
+ }
209
  $newsCollection = Mage::getModel('offinews/news')->getCollection()
210
  ->addFieldToFilter('identifier', $data['identifier']);
211
  $arr = array();
258
 
259
  $model = Mage::getModel('offinews/news');
260
  /*
261
+ $dateFrom = $this->getRequest()->getParam('publicate_from_date');
262
+ $dateTo = $this->getRequest()->getParam('publicate_to_date');
263
+ $timeFrom = implode(',', $this->getRequest()->getParam('publicate_from_time'));
264
+ $timeTo = implode(',', $this->getRequest()->getParam('publicate_to_time'));
265
 
266
+ $data['publicate_from_time'] = $timeFrom;
267
+ $data['publicate_to_time'] = $timeTo;
268
  *
269
  */
270
  $data['tags'] = $this->getRequest()->getParam('tags');
288
  // } else {
289
  // $data['publicate_to_date'] = new Zend_Db_Expr('null');
290
  // }
291
+ if ($id) {
292
+ $data['update_time'] = now();
293
+ } else {
294
+ $data['created_time'] = now();
295
+ $data['update_time'] = now();
296
+ }
297
 
298
  if ($this->getRequest()->getParam('author') == NULL) {
299
  $model->setUpdateAuthor(NULL);
app/code/community/Officience/News/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Officience_News>
5
- <version>0.1.0</version>
6
  </Officience_News>
7
  </modules>
8
  <admin>
2
  <config>
3
  <modules>
4
  <Officience_News>
5
+ <version>0.1.1</version>
6
  </Officience_News>
7
  </modules>
8
  <admin>
app/code/community/Officience/News/sql/offinews_setup/mysql4-install-0.1.0.php CHANGED
@@ -15,8 +15,8 @@ CREATE TABLE {$this->getTable('officience_news')} (
15
  `news_status` smallint(6) NOT NULL DEFAULT '0',
16
  `created_time` datetime DEFAULT NULL,
17
  `update_time` datetime DEFAULT NULL,
18
- `publicate_from_date` datetime DEFAULT NULL,
19
- `publicate_to_date` datetime DEFAULT NULL,
20
  `publicate_from_time` varchar(255) DEFAULT '0',
21
  `publicate_to_time` varchar(255) DEFAULT '0',
22
  `author` varchar(255) NOT NULL DEFAULT '',
@@ -70,9 +70,9 @@ CREATE TABLE {$this->getTable('officience_news_store')} (
70
  `description` text NOT NULL,
71
  `full_content` text NOT NULL,
72
  `news_status` smallint(6) NOT NULL DEFAULT '0',
73
- `publicate_from_date` datetime DEFAULT NULL,
74
- `publicate_to_date` datetime DEFAULT NULL,
75
- `publicate_from_time` varchar(255) DEFAULT '0',
76
  `publicate_to_time` varchar(255) DEFAULT '0',
77
  `author` varchar(255) NOT NULL DEFAULT '',
78
  `meta_keywords` text NOT NULL,
15
  `news_status` smallint(6) NOT NULL DEFAULT '0',
16
  `created_time` datetime DEFAULT NULL,
17
  `update_time` datetime DEFAULT NULL,
18
+ `publicate_from_date` int(11) DEFAULT NULL,
19
+ `publicate_to_date` int(11) DEFAULT NULL,
20
  `publicate_from_time` varchar(255) DEFAULT '0',
21
  `publicate_to_time` varchar(255) DEFAULT '0',
22
  `author` varchar(255) NOT NULL DEFAULT '',
70
  `description` text NOT NULL,
71
  `full_content` text NOT NULL,
72
  `news_status` smallint(6) NOT NULL DEFAULT '0',
73
+ `publicate_from_date` int(11) DEFAULT NULL,
74
+ `publicate_to_date` int(11) DEFAULT NULL,
75
+ `publicate_from_time` varchar(255) DEFAULT '0',
76
  `publicate_to_time` varchar(255) DEFAULT '0',
77
  `author` varchar(255) NOT NULL DEFAULT '',
78
  `meta_keywords` text NOT NULL,
app/design/adminhtml/default/default/template/officience/news/listCategory.phtml CHANGED
@@ -15,7 +15,7 @@
15
  </div>
16
  </ul>
17
  <?php else: ?>
18
- error
19
  <?php endif; ?>
20
  </div>
21
 
15
  </div>
16
  </ul>
17
  <?php else: ?>
18
+ <?php echo Mage::helper('offinews')->__("You don'nt have any category now") ?>
19
  <?php endif; ?>
20
  </div>
21
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Officience_News</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
@@ -13,9 +13,9 @@
13
  Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8&#xD;
14
  </notes>
15
  <authors><author><name>khanh trieu nguyen le</name><user>khanhtrieu</user><email>trieu181989@gmail.com</email></author></authors>
16
- <date>2014-01-20</date>
17
- <time>07:54:04</time>
18
- <contents><target name="magecommunity"><dir name="Officience"><dir name="News"><dir name="Block"><file name="Abstract.php" hash="dc0be92021f001832f5ccaa2f69ac014"/><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="c065af7f04ed40132588ce2852768f2a"/><dir name="Tab"><file name="Additional.php" hash="c9ab8b08e7f84bf4260db0c4e44585d8"/><file name="Form.php" hash="e16f8e7a9eab54b3eeef50e92350a513"/></dir><file name="Tabs.php" hash="7fa0d0e51176fb455bd4c3398927410c"/></dir><file name="Edit.php" hash="70e88e48d1f02b6276c451e9fafcaf18"/><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="cd361d72ab34f4fcfceac9dc876aec46"/><file name="SubCategories.php" hash="84ac8b715d81312b6219005b5e5fbb40"/></dir></dir></dir><file name="Grid.php" hash="c78c5a4b067f3bdfca3790f96d6639e6"/></dir><file name="Category.php" hash="3e1b8159aedc56705973848bb16c8403"/><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="5d4d1d9601407b7208bec9d30a229b61"/></dir><file name="Edit.php" hash="38737d5fabe75d4f8919ae8197a7deee"/><file name="Grid.php" hash="562a13f94c4ae6af1857cf5ae934c01f"/></dir><file name="Comment.php" hash="6a97c5c613d5d276c7f47465e62419f0"/><dir name="News"><dir name="Edit"><file name="Form.php" hash="8390c0d4ac2bae197c92bffbea3b9221"/><dir name="Tab"><file name="Additional.php" hash="e8a8093a47f218884ce1ad626fc2fa7f"/><file name="Category.php" hash="3ccb7e58f9e9e2b0503e93d9d3bbca31"/><file name="Info.php" hash="0054566f8a59fc6f33fdf2dd291602e4"/></dir><file name="Tabs.php" hash="1220094fc1fd17cf1c59cf10ede00d59"/></dir><file name="Edit.php" hash="abb586208da74f8d978e35a99fa50384"/><file name="Grid.php" hash="e3e3109f9dd6885864818dc3fb1b9db2"/></dir><file name="News.php" hash="54fdc0304e1abf4610d0b073007d2b27"/></dir><file name="Category.php" hash="c8a6153334d2f5250c260d5d157b2ee0"/><file name="Menu.php" hash="adab01c06aec792038b22c0e113c8d6a"/><file name="Newspost.php" hash="afd5ca8b36267a2d6f999be7a9322ac2"/><file name="Rss.php" hash="e9a1ab22f44c2a973542dd9ced921fc6"/><file name="Tags.php" hash="2a6a2eeac10605293ab208762ff0f7a5"/></dir><dir name="Controller"><file name="Router.php" hash="6d9e5e485a197d4fafd3a6ee390f0d38"/></dir><dir name="Helper"><file name="Cat.php" hash="ea6d51a49fb720df630b72f985392e83"/><file name="Data.php" hash="68b0021f850f75946393cdd8421aa5fd"/><file name="Versions.php" hash="b69b685f4582a9ed04bbce2a6cccb22d"/></dir><dir name="Model"><file name="Category.php" hash="6b0cbc2499df7306f0fcf302c75cbc3b"/><file name="CategoryStore.php" hash="555f974e41f563d224c4108bf3d0ca16"/><file name="Check.php" hash="fca21db3cd45d70260ef93eb9d162c45"/><file name="Comment.php" hash="da7934feaa9ffa668a7077556b930c16"/><dir name="Config"><dir name="Source"><file name="Dateformat.php" hash="59cb810a297d924f64b697c316561732"/><file name="Parentcat.php" hash="aa66fdd2ac5a9ad8aa4061846062b43f"/><file name="Timeformat.php" hash="0a5c96525ed70c6d432a61c7bd992877"/><file name="Urloption.php" hash="d5b2683ebf79851ca9adb36c9c41f2d5"/></dir></dir><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="f30b55eb04a0ec7ab1d92d00729fb96a"/></dir><file name="Category.php" hash="1bf7f0d833d797b9693ec0dfa67cbe2f"/><dir name="CategoryStore"><file name="Collection.php" hash="47530ea43ca51bd9cd12a0103d693554"/></dir><file name="CategoryStore.php" hash="4d677f70d5c15aaa4c930fc3e8a26e2d"/><dir name="Comment"><file name="Collection.php" hash="b8acbfc5c2c8026f747907a73cb41247"/></dir><file name="Comment.php" hash="5b15f3ae9e9b50580762a8fd376b3bef"/><dir name="News"><file name="Collection.php" hash="99d196ac1da664032b0a3061a982819a"/></dir><file name="News.php" hash="d146edad9e3ea9a028b751868f33a5f7"/><dir name="NewsStore"><file name="Collection.php" hash="2025fb14d855e565c55b62ef43658f73"/></dir><file name="NewsStore.php" hash="2fc593c6f5b1f7fdcfcf9a8d190afa78"/></dir><file name="News.php" hash="e158fba3b7524c44700ae1e7c15c0a0e"/><file name="NewsStore.php" hash="e9bf77fe21d5425d9525000069a385e7"/><dir name="Wysiwyg"><file name="Config.php" hash="0ce818b28a332fed7a64453fd4f7ca31"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="1d2642c99b4d23f04e94cf021998a5c0"/><file name="CommentController.php" hash="6f6163220aa2c588453d0ccaa7c84058"/><file name="NewsController.php" hash="6bd87b2801ea3ac03c80c23062678885"/></dir><file name="IndexController.php" hash="0a1672f74f0457d110984a63d3148113"/><file name="NewspostController.php" hash="9485fa637328a54ee858520011a716ef"/><file name="RssController.php" hash="c62dbe0145a9699d2d254984cbc5923f"/></dir><dir name="etc"><file name="config.xml" hash="db3958dce17e149ccbabb78d11953755"/><file name="system.xml" hash="e9539a9f25515e121a588e8c62848d4e"/></dir><dir name="sql"><dir name="offinews_setup"><file name="mysql4-install-0.1.0.php" hash="5a4cf0bdf4cefd2c5aaaf2122dcaac8a"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="officience_news.xml" hash="50d6ac5f1441b043061879d220e2deae"/></dir><dir name="template"><dir name="officience"><dir name="news"><file name="listCategory.phtml" hash="7ab8ed059cec4a526164a63b3214c01d"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="officience_news.xml" hash="5a00d6df22681843223c34908e922bb5"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir><dir name="officience"><dir name="news"><file name="list.phtml" hash="a2149c23cec7956d91bc623ce75b8586"/><file name="menu.phtml" hash="6dbd76d05133c0130623b9439ecf992f"/><file name="newspost.phtml" hash="a112990cc66dd303e9250641d1512a0c"/><file name="print.phtml" hash="c9ccf78f0b3670abbbb07584adc52000"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Officience_News.xml" hash="5b7ef45d00a284adf7a6cbc9b8d000a8"/></dir></target><target name="mage"><dir name="js"><dir name="officience"><dir name="news"><dir name="css"><dir name="images"><file name="folder.gif" hash="03eb26c42137ac792609822862ef4d0f"/></dir><file name="newscat.css" hash="71eb51604cb34ae50a513b60a4c2f412"/></dir><file name="jquery-1.4.4.js" hash="1e2ef16563c5939f247626c6147045aa"/><file name="jquery-1.7.1-min.js" hash="de56dbfca517764d9d056e82068f8d39"/><file name="noconflict.js" hash="22e97cd4bf445c956c7ccee56fa433c2"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="officience"><dir name="news"><dir name="images"><file name="arr_t.png" hash="3d633e87fdda01e606434ce7456a8145"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="news-ct.png" hash="53fb02a52ae711d86d4e6786971b35e3"/><file name="rss.gif" hash="d17678b5dab15949ed62bea2b602090f"/></dir><file name="style.css" hash="d5b75c112ef55d4fbb2b5b8fb53383dc"/></dir></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Officience_News</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
13
  Compatibility: 1.5, 1.6, 1.6.1, 1.6.2.0, 1.7, 1.8&#xD;
14
  </notes>
15
  <authors><author><name>khanh trieu nguyen le</name><user>khanhtrieu</user><email>trieu181989@gmail.com</email></author></authors>
16
+ <date>2014-02-08</date>
17
+ <time>19:36:44</time>
18
+ <contents><target name="magecommunity"><dir name="Officience"><dir name="News"><dir name="Block"><file name="Abstract.php" hash="8bb1887fa2ab6033a1f096d5fbec80cc"/><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="c065af7f04ed40132588ce2852768f2a"/><dir name="Tab"><file name="Additional.php" hash="c9ab8b08e7f84bf4260db0c4e44585d8"/><file name="Form.php" hash="e16f8e7a9eab54b3eeef50e92350a513"/></dir><file name="Tabs.php" hash="d1058f77f663868ccfe8c16388a968e1"/></dir><file name="Edit.php" hash="ba69a3c689d5bb4e72541cc6f430fe54"/><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="cd361d72ab34f4fcfceac9dc876aec46"/><file name="SubCategories.php" hash="84ac8b715d81312b6219005b5e5fbb40"/></dir></dir></dir><file name="Grid.php" hash="c78c5a4b067f3bdfca3790f96d6639e6"/></dir><file name="Category.php" hash="3e1b8159aedc56705973848bb16c8403"/><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="5d4d1d9601407b7208bec9d30a229b61"/></dir><file name="Edit.php" hash="38737d5fabe75d4f8919ae8197a7deee"/><file name="Grid.php" hash="562a13f94c4ae6af1857cf5ae934c01f"/></dir><file name="Comment.php" hash="6a97c5c613d5d276c7f47465e62419f0"/><dir name="News"><dir name="Edit"><file name="Form.php" hash="8390c0d4ac2bae197c92bffbea3b9221"/><dir name="Tab"><file name="Additional.php" hash="e8a8093a47f218884ce1ad626fc2fa7f"/><file name="Category.php" hash="3ccb7e58f9e9e2b0503e93d9d3bbca31"/><file name="Info.php" hash="5bd1c72c99519b5ea2c9ae63a1fc380f"/></dir><file name="Tabs.php" hash="1220094fc1fd17cf1c59cf10ede00d59"/></dir><file name="Edit.php" hash="abb586208da74f8d978e35a99fa50384"/><file name="Grid.php" hash="e3e3109f9dd6885864818dc3fb1b9db2"/></dir><file name="News.php" hash="54fdc0304e1abf4610d0b073007d2b27"/></dir><file name="Category.php" hash="c8a6153334d2f5250c260d5d157b2ee0"/><file name="Menu.php" hash="adab01c06aec792038b22c0e113c8d6a"/><file name="Newspost.php" hash="afd5ca8b36267a2d6f999be7a9322ac2"/><file name="Rss.php" hash="e9a1ab22f44c2a973542dd9ced921fc6"/><file name="Tags.php" hash="2a6a2eeac10605293ab208762ff0f7a5"/></dir><dir name="Controller"><file name="Router.php" hash="6d9e5e485a197d4fafd3a6ee390f0d38"/></dir><dir name="Helper"><file name="Cat.php" hash="ea6d51a49fb720df630b72f985392e83"/><file name="Data.php" hash="68b0021f850f75946393cdd8421aa5fd"/><file name="Versions.php" hash="b69b685f4582a9ed04bbce2a6cccb22d"/></dir><dir name="Model"><file name="Category.php" hash="6b0cbc2499df7306f0fcf302c75cbc3b"/><file name="CategoryStore.php" hash="555f974e41f563d224c4108bf3d0ca16"/><file name="Check.php" hash="fca21db3cd45d70260ef93eb9d162c45"/><file name="Comment.php" hash="da7934feaa9ffa668a7077556b930c16"/><dir name="Config"><dir name="Source"><file name="Dateformat.php" hash="59cb810a297d924f64b697c316561732"/><file name="Parentcat.php" hash="aa66fdd2ac5a9ad8aa4061846062b43f"/><file name="Timeformat.php" hash="0a5c96525ed70c6d432a61c7bd992877"/><file name="Urloption.php" hash="d5b2683ebf79851ca9adb36c9c41f2d5"/></dir></dir><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="f30b55eb04a0ec7ab1d92d00729fb96a"/></dir><file name="Category.php" hash="1bf7f0d833d797b9693ec0dfa67cbe2f"/><dir name="CategoryStore"><file name="Collection.php" hash="47530ea43ca51bd9cd12a0103d693554"/></dir><file name="CategoryStore.php" hash="4d677f70d5c15aaa4c930fc3e8a26e2d"/><dir name="Comment"><file name="Collection.php" hash="b8acbfc5c2c8026f747907a73cb41247"/></dir><file name="Comment.php" hash="5b15f3ae9e9b50580762a8fd376b3bef"/><dir name="News"><file name="Collection.php" hash="99d196ac1da664032b0a3061a982819a"/></dir><file name="News.php" hash="bc234aa7f2033bb48e67120da7b89584"/><dir name="NewsStore"><file name="Collection.php" hash="2025fb14d855e565c55b62ef43658f73"/></dir><file name="NewsStore.php" hash="2fc593c6f5b1f7fdcfcf9a8d190afa78"/></dir><file name="News.php" hash="e158fba3b7524c44700ae1e7c15c0a0e"/><file name="NewsStore.php" hash="e9bf77fe21d5425d9525000069a385e7"/><dir name="Wysiwyg"><file name="Config.php" hash="0ce818b28a332fed7a64453fd4f7ca31"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="cecdb891aee39b74a86a8e4737f8c0c2"/><file name="CommentController.php" hash="6f6163220aa2c588453d0ccaa7c84058"/><file name="NewsController.php" hash="a04820faf24ed4c53651188ee88911a4"/></dir><file name="IndexController.php" hash="0a1672f74f0457d110984a63d3148113"/><file name="NewspostController.php" hash="9485fa637328a54ee858520011a716ef"/><file name="RssController.php" hash="c62dbe0145a9699d2d254984cbc5923f"/></dir><dir name="etc"><file name="config.xml" hash="1c9e82732bc564f40884bb784b80ac2e"/><file name="system.xml" hash="e9539a9f25515e121a588e8c62848d4e"/></dir><dir name="sql"><dir name="offinews_setup"><file name="mysql4-install-0.1.0.php" hash="75b2e3e9f86f43229953402cba888f89"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="officience_news.xml" hash="50d6ac5f1441b043061879d220e2deae"/></dir><dir name="template"><dir name="officience"><dir name="news"><file name="listCategory.phtml" hash="933cdc6d105c03362fa95021e830e2a5"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="officience_news.xml" hash="5a00d6df22681843223c34908e922bb5"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir><dir name="officience"><dir name="news"><file name="list.phtml" hash="a2149c23cec7956d91bc623ce75b8586"/><file name="menu.phtml" hash="6dbd76d05133c0130623b9439ecf992f"/><file name="newspost.phtml" hash="a112990cc66dd303e9250641d1512a0c"/><file name="print.phtml" hash="c9ccf78f0b3670abbbb07584adc52000"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Officience_News.xml" hash="5b7ef45d00a284adf7a6cbc9b8d000a8"/></dir></target><target name="mage"><dir name="js"><dir name="officience"><dir name="news"><dir name="css"><dir name="images"><file name="folder.gif" hash="03eb26c42137ac792609822862ef4d0f"/></dir><file name="newscat.css" hash="71eb51604cb34ae50a513b60a4c2f412"/></dir><file name="jquery-1.4.4.js" hash="1e2ef16563c5939f247626c6147045aa"/><file name="jquery-1.7.1-min.js" hash="de56dbfca517764d9d056e82068f8d39"/><file name="noconflict.js" hash="22e97cd4bf445c956c7ccee56fa433c2"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="officience"><dir name="news"><dir name="images"><file name="arr_t.png" hash="3d633e87fdda01e606434ce7456a8145"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="news-ct.png" hash="53fb02a52ae711d86d4e6786971b35e3"/><file name="rss.gif" hash="d17678b5dab15949ed62bea2b602090f"/></dir><file name="style.css" hash="d5b75c112ef55d4fbb2b5b8fb53383dc"/></dir></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>