Version Notes
inorder to display this extension, you have to call below given code on required template page.
CUE_socialIcons(); ?>
Download this release
Release Info
Developer | Magento Core Team |
Extension | Social_Bookmarks_Icons_2_0 |
Version | 2.1 |
Comparing to | |
See all releases |
Version 2.1
- app/code/community/SN/Network/Block/Adminhtml/Network.php +12 -0
- app/code/community/SN/Network/Block/Adminhtml/Network/Edit.php +26 -0
- app/code/community/SN/Network/Block/Adminhtml/Network/Edit/Form.php +21 -0
- app/code/community/SN/Network/Block/Adminhtml/Network/Edit/Tab/Form.php +78 -0
- app/code/community/SN/Network/Block/Adminhtml/Network/Edit/Tabs.php +35 -0
- app/code/community/SN/Network/Block/Adminhtml/Network/Grid.php +57 -0
- app/code/community/SN/Network/Helper/Data.php +31 -0
- app/code/community/SN/Network/Model/Mysql4/Network.php +8 -0
- app/code/community/SN/Network/Model/Mysql4/Network/Collection.php +9 -0
- app/code/community/SN/Network/Model/Network.php +9 -0
- app/code/community/SN/Network/controllers/Adminhtml/NetworkController.php +209 -0
- app/code/community/SN/Network/controllers/IndexController.php +41 -0
- app/code/community/SN/Network/sql/network_setup/mysql4-install-0.1.0.php +26 -0
- app/design/adminhtml/default/default/layout/network.xml +8 -0
- app/design/frontend/default/default/layout/network.xml +28 -0
- app/etc/config.xml +134 -0
- app/etc/modules/SN_Network.xml +22 -0
- package.xml +19 -0
- skin/frontend/default/default/css/cb_sn.css +0 -0
- skin/frontend/default/default/images/cb_social_icons/Facebook-icon.png +0 -0
- skin/frontend/default/default/images/cb_social_icons/Flickr-icon.png +0 -0
- skin/frontend/default/default/images/cb_social_icons/MySpace-icon.png +0 -0
- skin/frontend/default/default/images/cb_social_icons/Twitter-icon.png +0 -0
app/code/community/SN/Network/Block/Adminhtml/Network.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Block_Adminhtml_Network extends Mage_Adminhtml_Block_Widget_Grid_Container
|
3 |
+
{
|
4 |
+
public function __construct()
|
5 |
+
{
|
6 |
+
$this->_controller = 'adminhtml_network';
|
7 |
+
$this->_blockGroup = 'network';
|
8 |
+
$this->_headerText = Mage::helper('network')->__('Bookmark Manager');
|
9 |
+
$this->_addButtonLabel = Mage::helper('network')->__('Add Social Bookmark Icon');
|
10 |
+
parent::__construct();
|
11 |
+
}
|
12 |
+
}
|
app/code/community/SN/Network/Block/Adminhtml/Network/Edit.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Block_Adminhtml_Network_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
|
3 |
+
{
|
4 |
+
public function __construct()
|
5 |
+
{
|
6 |
+
parent::__construct();
|
7 |
+
$this->_objectId = 'id';
|
8 |
+
$this->_blockGroup = 'network';
|
9 |
+
$this->_controller = 'adminhtml_network';
|
10 |
+
$this->_updateButton('save', 'label', Mage::helper('network')->__('Save Item'));
|
11 |
+
$this->_updateButton('delete', 'label', Mage::helper('network')->__('Delete Item'));
|
12 |
+
}
|
13 |
+
|
14 |
+
public function getHeaderText()
|
15 |
+
{
|
16 |
+
if(Mage::registry('network_data') && Mage::registry('network_data')->getId())
|
17 |
+
{
|
18 |
+
return Mage::helper('network')->__("Edit Bookmark '%s'", $this->htmlEscape(Mage::registry('network_data')->getVch_icon_name()));
|
19 |
+
}
|
20 |
+
else
|
21 |
+
{
|
22 |
+
return Mage::helper('network')->__('Add Social Bookmark Icon');
|
23 |
+
}
|
24 |
+
|
25 |
+
}
|
26 |
+
}
|
app/code/community/SN/Network/Block/Adminhtml/Network/Edit/Form.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Block_Adminhtml_Network_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
|
3 |
+
{
|
4 |
+
protected function _prepareForm()
|
5 |
+
{
|
6 |
+
$form = new Varien_Data_Form(array(
|
7 |
+
'id' => 'edit_form',
|
8 |
+
'action' => $this->getUrl('*/*/save', array('id' => $this->getRequest()->getParam('id'))),'method' => 'post',
|
9 |
+
'enctype' => 'multipart/form-data'
|
10 |
+
)
|
11 |
+
);
|
12 |
+
|
13 |
+
$form->setUseContainer(true);
|
14 |
+
|
15 |
+
$this->setForm($form);
|
16 |
+
|
17 |
+
return parent::_prepareForm();
|
18 |
+
|
19 |
+
}
|
20 |
+
|
21 |
+
}
|
app/code/community/SN/Network/Block/Adminhtml/Network/Edit/Tab/Form.php
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Block_Adminhtml_Network_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
|
3 |
+
{
|
4 |
+
protected function _prepareForm()
|
5 |
+
{
|
6 |
+
$form = new Varien_Data_Form();
|
7 |
+
$this->setForm($form);
|
8 |
+
$fieldset = $form->addFieldset('network_form', array('legend'=>Mage::helper('network')->__('Bookmark Information')));
|
9 |
+
|
10 |
+
$fieldset->addField('vch_icon_name', 'text', array(
|
11 |
+
'label' => Mage::helper('network')->__('Title'),
|
12 |
+
'required' => false,
|
13 |
+
'name' => 'vch_icon_name',
|
14 |
+
));
|
15 |
+
|
16 |
+
|
17 |
+
$fieldset->addField('vch_url', 'text', array(
|
18 |
+
'label' => Mage::helper('network')->__('URL'),
|
19 |
+
'required' => false,
|
20 |
+
'name' => 'vch_url',
|
21 |
+
));
|
22 |
+
|
23 |
+
$fieldset->addField('vch_logo_image', 'file', array(
|
24 |
+
'label' => Mage::helper('network')->__('Image File'),
|
25 |
+
'required' => false,
|
26 |
+
'name' => 'vch_logo_image',
|
27 |
+
));
|
28 |
+
|
29 |
+
|
30 |
+
$fieldset->addField('mint_position','text', array(
|
31 |
+
'label' => Mage::helper('network')->__('Position'),
|
32 |
+
|
33 |
+
'required' => false,
|
34 |
+
'name' => 'mint_position',
|
35 |
+
));
|
36 |
+
|
37 |
+
$fieldset->addField('txt_cust_code','textarea',array(
|
38 |
+
'label' => Mage::helper('network')->__('Bookmark Code'),
|
39 |
+
'name' => 'txt_cust_code',
|
40 |
+
|
41 |
+
|
42 |
+
));
|
43 |
+
|
44 |
+
$fieldset->addField('sint_status', 'select', array(
|
45 |
+
'label' => Mage::helper('network')->__('Status'),
|
46 |
+
'name' => 'sint_status',
|
47 |
+
'values' => array(
|
48 |
+
array(
|
49 |
+
'value' => 1,
|
50 |
+
'label' => Mage::helper('network')->__('Enabled'),
|
51 |
+
),
|
52 |
+
|
53 |
+
array(
|
54 |
+
'value' => 2,
|
55 |
+
'label' => Mage::helper('network')->__('Disabled'),
|
56 |
+
),
|
57 |
+
),
|
58 |
+
));
|
59 |
+
|
60 |
+
|
61 |
+
$fieldset->addField('label1','label', array(
|
62 |
+
'label' => '<b>NOTE : </b> if some value is present in Bookmark Code then URL & Image File will be ignored for this data.',
|
63 |
+
'width' => '700px',
|
64 |
+
));
|
65 |
+
|
66 |
+
|
67 |
+
if ( Mage::getSingleton('adminhtml/session')->gethelloworldData() )
|
68 |
+
{
|
69 |
+
$form->setValues(Mage::getSingleton('adminhtml/session')->gethelloworldData());
|
70 |
+
Mage::getSingleton('adminhtml/session')->sethelloworldData(null);
|
71 |
+
}
|
72 |
+
elseif ( Mage::registry('network_data') )
|
73 |
+
{
|
74 |
+
$form->setValues(Mage::registry('network_data')->getData());
|
75 |
+
}
|
76 |
+
return parent::_prepareForm();
|
77 |
+
}
|
78 |
+
}
|
app/code/community/SN/Network/Block/Adminhtml/Network/Edit/Tabs.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Block_Adminhtml_Network_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
|
3 |
+
{
|
4 |
+
public function __construct()
|
5 |
+
{
|
6 |
+
parent::__construct();
|
7 |
+
|
8 |
+
$this->setId('network_tabs');
|
9 |
+
|
10 |
+
$this->setDestElementId('edit_form');
|
11 |
+
|
12 |
+
$this->setTitle(Mage::helper('network')->__('News Information'));
|
13 |
+
|
14 |
+
}
|
15 |
+
|
16 |
+
protected function _beforeToHtml()
|
17 |
+
|
18 |
+
{
|
19 |
+
$this->addTab('form_section', array(
|
20 |
+
|
21 |
+
'label' => Mage::helper('network')->__('Social Bookmark'),
|
22 |
+
|
23 |
+
'title' => Mage::helper('network')->__('Social Bookmark'),
|
24 |
+
|
25 |
+
'content' => $this->getLayout()->createBlock('network/adminhtml_network_edit_tab_form')->toHtml(),
|
26 |
+
|
27 |
+
));
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
return parent::_beforeToHtml();
|
32 |
+
|
33 |
+
}
|
34 |
+
|
35 |
+
}
|
app/code/community/SN/Network/Block/Adminhtml/Network/Grid.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Block_Adminhtml_Network_Grid extends Mage_Adminhtml_Block_Widget_Grid
|
3 |
+
{
|
4 |
+
public function __construct()
|
5 |
+
{
|
6 |
+
parent::__construct();
|
7 |
+
$this->setId('networkGrid');
|
8 |
+
// This is the primary key of the database
|
9 |
+
$this->setDefaultSort('mint_position');
|
10 |
+
$this->setDefaultDir('ASC');
|
11 |
+
$this->setSaveParametersInSession(true);
|
12 |
+
}
|
13 |
+
protected function _prepareCollection()
|
14 |
+
{
|
15 |
+
$collection = Mage::getModel('network/network')->getCollection();
|
16 |
+
$this->setCollection($collection);
|
17 |
+
return parent::_prepareCollection();
|
18 |
+
}
|
19 |
+
protected function _prepareColumns()
|
20 |
+
{
|
21 |
+
$this->addColumn('tint_id', array(
|
22 |
+
'header' => Mage::helper('network')->__('ID'),
|
23 |
+
'align' => 'left',
|
24 |
+
'width' => '10px',
|
25 |
+
'index' => 'tint_id',
|
26 |
+
));
|
27 |
+
|
28 |
+
$this->addColumn('vch_icon_name',array(
|
29 |
+
'header' => Mage::helper('network')->__('Name'),
|
30 |
+
'align' => 'left',
|
31 |
+
'index' => 'vch_icon_name',
|
32 |
+
'width' => '100px',
|
33 |
+
));
|
34 |
+
|
35 |
+
$this->addColumn('vch_url',array(
|
36 |
+
'header' => Mage::helper('network')->__('URL'),
|
37 |
+
'align' => 'left',
|
38 |
+
'index' => 'vch_url',
|
39 |
+
'width' => '200px',
|
40 |
+
));
|
41 |
+
|
42 |
+
$this->addColumn('mint_position',array(
|
43 |
+
'header' => Mage::helper('network')->__('Position'),
|
44 |
+
'align' => 'left',
|
45 |
+
'index' => 'mint_position',
|
46 |
+
'width' => '200px',
|
47 |
+
));
|
48 |
+
|
49 |
+
|
50 |
+
return parent::_prepareColumns();
|
51 |
+
}
|
52 |
+
|
53 |
+
public function getRowUrl($row)
|
54 |
+
{
|
55 |
+
return $this->getUrl('*/*/edit',array('id' => $row->getId()));
|
56 |
+
}
|
57 |
+
}
|
app/code/community/SN/Network/Helper/Data.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Helper_Data extends Mage_Core_Helper_Abstract
|
3 |
+
{
|
4 |
+
public function CUE_socialIcons()
|
5 |
+
{
|
6 |
+
$cb_social_icon_collection = Mage::getModel('network/network')->getCollection()->setOrder('mint_position', 'ASC');;
|
7 |
+
$skinUrl = Mage::getDesign()->getSkinUrl('images/');
|
8 |
+
foreach ($cb_social_icon_collection as $cbCollection):
|
9 |
+
$image=$cbCollection['vch_logo_image'];
|
10 |
+
|
11 |
+
$imgPath=$skinUrl.'cb_social_icons/'.$image;
|
12 |
+
|
13 |
+
$status=$cbCollection['sint_status'];
|
14 |
+
|
15 |
+
if(!empty($cbCollection['txt_cust_code']) && $status==1)
|
16 |
+
{
|
17 |
+
echo $cbCollection['txt_cust_code'];
|
18 |
+
}
|
19 |
+
else
|
20 |
+
{
|
21 |
+
if($status==1)
|
22 |
+
{
|
23 |
+
?>
|
24 |
+
<a href="<?=$cbCollection['vch_url'];?>" title="<?=$cbCollection['vch_icon_name']?>" target="_blank"><img alt="<?=$cbCollection['vch_icon_name']?>" src="<?=$imgPath?>" width="24px" height="24px"></a>
|
25 |
+
<?php
|
26 |
+
}
|
27 |
+
}
|
28 |
+
endforeach;
|
29 |
+
|
30 |
+
}
|
31 |
+
}
|
app/code/community/SN/Network/Model/Mysql4/Network.php
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Model_Mysql4_Network extends Mage_Core_Model_Mysql4_Abstract
|
3 |
+
{
|
4 |
+
public function _construct()
|
5 |
+
{
|
6 |
+
$this->_init('network/network', 'tint_id');
|
7 |
+
}
|
8 |
+
}
|
app/code/community/SN/Network/Model/Mysql4/Network/Collection.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Model_Mysql4_Network_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
|
3 |
+
{
|
4 |
+
public function _construct()
|
5 |
+
{
|
6 |
+
//parent::__construct();
|
7 |
+
$this->_init('network/network');
|
8 |
+
}
|
9 |
+
}
|
app/code/community/SN/Network/Model/Network.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Model_Network extends Mage_Core_Model_Abstract
|
3 |
+
{
|
4 |
+
public function _construct()
|
5 |
+
{
|
6 |
+
parent::_construct();
|
7 |
+
$this->_init('network/network');
|
8 |
+
}
|
9 |
+
}
|
app/code/community/SN/Network/controllers/Adminhtml/NetworkController.php
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_Adminhtml_NetworkController extends Mage_Adminhtml_Controller_action
|
3 |
+
{
|
4 |
+
protected function _initAction()
|
5 |
+
|
6 |
+
{
|
7 |
+
$this->loadLayout()
|
8 |
+
->_setActiveMenu('network/items')
|
9 |
+
->_addBreadcrumb(Mage::helper('adminhtml')->__('Items Manager'), Mage::helper('adminhtml')->__('Item Manager'));
|
10 |
+
return $this;
|
11 |
+
}
|
12 |
+
|
13 |
+
public function indexAction() {
|
14 |
+
|
15 |
+
$this->_initAction();
|
16 |
+
// $this->_addContent($this->getLayout()->createBlock('Network/adminhtml_Network'));
|
17 |
+
$this->renderLayout();
|
18 |
+
}
|
19 |
+
public function editAction()
|
20 |
+
|
21 |
+
{
|
22 |
+
$NetworkId = $this->getRequest()->getParam('id');
|
23 |
+
|
24 |
+
$NetworkModel = Mage::getModel('network/network')->load($NetworkId);
|
25 |
+
|
26 |
+
if ($NetworkModel->getId() || $NetworkId == 0) {
|
27 |
+
|
28 |
+
|
29 |
+
Mage::register('network_data', $NetworkModel);
|
30 |
+
|
31 |
+
|
32 |
+
$this->loadLayout();
|
33 |
+
|
34 |
+
$this->_setActiveMenu('network/items');
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
$this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item Manager'), Mage::helper('adminhtml')->__('Item Manager'));
|
39 |
+
|
40 |
+
$this->_addBreadcrumb(Mage::helper('adminhtml')->__('Item News'), Mage::helper('adminhtml')->__('Item News'));
|
41 |
+
|
42 |
+
|
43 |
+
$this->getLayout()->getBlock('head')->setCanLoadExtJs(true);
|
44 |
+
|
45 |
+
|
46 |
+
$this->_addContent($this->getLayout()->createBlock('network/adminhtml_network_edit'))->_addLeft($this->getLayout()->createBlock('network/adminhtml_network_edit_tabs'));
|
47 |
+
|
48 |
+
|
49 |
+
$this->renderLayout();
|
50 |
+
|
51 |
+
} else {
|
52 |
+
|
53 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('network')->__('Item does not exist'));
|
54 |
+
|
55 |
+
$this->_redirect('*/*/');
|
56 |
+
|
57 |
+
}
|
58 |
+
|
59 |
+
}
|
60 |
+
|
61 |
+
|
62 |
+
|
63 |
+
public function newAction()
|
64 |
+
|
65 |
+
{
|
66 |
+
|
67 |
+
$this->_forward('edit');
|
68 |
+
|
69 |
+
}
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
public function saveAction()
|
74 |
+
|
75 |
+
{
|
76 |
+
if ( $this->getRequest()->getPost() ) {
|
77 |
+
|
78 |
+
try {
|
79 |
+
|
80 |
+
$postData = $this->getRequest()->getPost();
|
81 |
+
|
82 |
+
$NetworkModel = Mage::getModel('network/network');
|
83 |
+
if(isset($_FILES['vch_logo_image']['name']) && $_FILES['vch_logo_image']['name'] != '') {
|
84 |
+
try {
|
85 |
+
/* Starting upload */
|
86 |
+
$uploader = new Varien_File_Uploader('vch_logo_image');
|
87 |
+
|
88 |
+
// Any extention would work
|
89 |
+
$uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
|
90 |
+
$uploader->setAllowRenameFiles(false);
|
91 |
+
|
92 |
+
// Set the file upload mode
|
93 |
+
// false -> get the file directly in the specified folder
|
94 |
+
// true -> get the file in the product like folders
|
95 |
+
// (file.jpg will go in something like /media/f/i/file.jpg)
|
96 |
+
$uploader->setFilesDispersion(false);
|
97 |
+
|
98 |
+
// We set cb_social_icons (in skin directory) as the upload dir
|
99 |
+
$base_path = Mage::getBaseDir() . DS ;
|
100 |
+
$path = $base_path."/skin/frontend/default/default/images/cb_social_icons";
|
101 |
+
$uploader->save($path, $_FILES['vch_logo_image']['name'] );
|
102 |
+
|
103 |
+
} catch (Exception $e) {
|
104 |
+
|
105 |
+
}
|
106 |
+
|
107 |
+
}
|
108 |
+
|
109 |
+
if(isset($_FILES['vch_logo_image']['name']) && !empty($_FILES['vch_logo_image']['name']))
|
110 |
+
{
|
111 |
+
$NetworkModel->setId($this->getRequest()->getParam('id'))
|
112 |
+
->setVch_icon_name($postData['vch_icon_name'])
|
113 |
+
->setVch_url($postData['vch_url'])
|
114 |
+
->setVch_logo_image($_FILES['vch_logo_image']['name'])
|
115 |
+
->setSint_status($postData['sint_status'])
|
116 |
+
->setMint_position($postData['mint_position'])
|
117 |
+
->save();
|
118 |
+
}
|
119 |
+
else
|
120 |
+
{
|
121 |
+
$NetworkModel->setId($this->getRequest()->getParam('id'))
|
122 |
+
->setVch_icon_name($postData['vch_icon_name'])
|
123 |
+
->setVch_url($postData['vch_url'])
|
124 |
+
->setSint_status($postData['sint_status'])
|
125 |
+
->setMint_position($postData['mint_position'])
|
126 |
+
->setTxt_cust_code($postData['txt_cust_code'])
|
127 |
+
->save();
|
128 |
+
}
|
129 |
+
|
130 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully saved'));
|
131 |
+
|
132 |
+
Mage::getSingleton('adminhtml/session')->setNetworkData(false);
|
133 |
+
|
134 |
+
$this->_redirect('*/*/');
|
135 |
+
|
136 |
+
return;
|
137 |
+
|
138 |
+
|
139 |
+
} catch (Exception $e) {
|
140 |
+
|
141 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
142 |
+
Mage::getSingleton('adminhtml/session')->setNetworkData($this->getRequest()->getPost());
|
143 |
+
|
144 |
+
$this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
|
145 |
+
|
146 |
+
return;
|
147 |
+
}
|
148 |
+
|
149 |
+
}
|
150 |
+
|
151 |
+
$this->_redirect('*/*/');
|
152 |
+
|
153 |
+
}
|
154 |
+
|
155 |
+
|
156 |
+
|
157 |
+
public function deleteAction()
|
158 |
+
|
159 |
+
{
|
160 |
+
|
161 |
+
if( $this->getRequest()->getParam('id') > 0 ) {
|
162 |
+
|
163 |
+
try {
|
164 |
+
|
165 |
+
$NetworkModel = Mage::getModel('network/network');
|
166 |
+
|
167 |
+
|
168 |
+
$NetworkModel->setId($this->getRequest()->getParam('id'))->delete();
|
169 |
+
|
170 |
+
Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__('Item was successfully deleted'));
|
171 |
+
|
172 |
+
$this->_redirect('*/*/');
|
173 |
+
|
174 |
+
} catch (Exception $e) {
|
175 |
+
|
176 |
+
Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
|
177 |
+
|
178 |
+
$this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
|
179 |
+
|
180 |
+
}
|
181 |
+
|
182 |
+
}
|
183 |
+
|
184 |
+
$this->_redirect('*/*/');
|
185 |
+
|
186 |
+
}
|
187 |
+
|
188 |
+
/**
|
189 |
+
|
190 |
+
* Product grid for AJAX request.
|
191 |
+
|
192 |
+
* Sort and filter result for example.
|
193 |
+
|
194 |
+
*/
|
195 |
+
|
196 |
+
public function gridAction()
|
197 |
+
|
198 |
+
{
|
199 |
+
$this->loadLayout();
|
200 |
+
|
201 |
+
$this->getResponse()->setBody(
|
202 |
+
|
203 |
+
$this->getLayout()->createBlock('importedit/adminhtml_network_grid')->toHtml()
|
204 |
+
|
205 |
+
);
|
206 |
+
|
207 |
+
}
|
208 |
+
|
209 |
+
}
|
app/code/community/SN/Network/controllers/IndexController.php
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class SN_Network_IndexController extends Mage_Core_Controller_Front_Action
|
3 |
+
{
|
4 |
+
public function indexAction()
|
5 |
+
{
|
6 |
+
$this->loadLayout();
|
7 |
+
$block = $this->getLayout()->createBlock('Mage_Core_Block_Template','sn.index',array('template' => 'network/index.phtml'));
|
8 |
+
$this->getLayout()->getBlock('content')->append($block);
|
9 |
+
$this->_initLayoutMessages('core/session');
|
10 |
+
$this->renderLayout();
|
11 |
+
|
12 |
+
|
13 |
+
if($this->_request->isPost())
|
14 |
+
{
|
15 |
+
echo"Posted";
|
16 |
+
}
|
17 |
+
}
|
18 |
+
public function listAction()
|
19 |
+
{
|
20 |
+
$this->loadLayout();
|
21 |
+
$block = $this->getLayout()->createBlock('Mage_Core_Block_Template','sn.list',array('template' => 'network/list.phtml'));
|
22 |
+
$this->getLayout()->getBlock('content')->append($block);
|
23 |
+
$this->_initLayoutMessages('core/session');
|
24 |
+
$HelloworldObj = Mage::getModel('network/network');
|
25 |
+
$collection = $HelloworldObj->getCollection();
|
26 |
+
$arrData=array();
|
27 |
+
foreach($collection as $item)
|
28 |
+
{
|
29 |
+
//echo '<pre>'; print_r($item->getData());
|
30 |
+
$item->getData();
|
31 |
+
}
|
32 |
+
$arrData=$collection->getData();
|
33 |
+
//Mage::getSingleton('helloworld/session')->addSuccess($arrData);
|
34 |
+
//$this->_initLayoutMessages('helloworld/session');
|
35 |
+
//echo '<pre>'; print_r($arrData);
|
36 |
+
//$this->view->text = 'test';
|
37 |
+
//$this->data = $arrData;
|
38 |
+
$this->renderLayout();
|
39 |
+
}
|
40 |
+
|
41 |
+
}
|
app/code/community/SN/Network/sql/network_setup/mysql4-install-0.1.0.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
$installer->startSetup();
|
4 |
+
$installer->run("
|
5 |
+
CREATE TABLE `cb_social_network` (
|
6 |
+
`tint_id` tinyint(1) NOT NULL AUTO_INCREMENT,
|
7 |
+
`vch_logo_image` varchar(200) NOT NULL,
|
8 |
+
`vch_icon_name` varchar(255) NOT NULL,
|
9 |
+
`vch_url` varchar(255) NOT NULL,
|
10 |
+
`vch_alt` varchar(255) NOT NULL,
|
11 |
+
`txt_cust_code` text NOT NULL,
|
12 |
+
`mint_position` mediumint(3) NOT NULL,
|
13 |
+
`sint_status` smallint(6) NOT NULL DEFAULT '1',
|
14 |
+
PRIMARY KEY (`tint_id`),
|
15 |
+
KEY `vch_icon_name` (`vch_icon_name`),
|
16 |
+
KEY `mint_position` (`mint_position`)
|
17 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
18 |
+
|
19 |
+
|
20 |
+
INSERT INTO `cb_social_network` (`tint_id`, `vch_logo_image`, `vch_icon_name`, `vch_url`, `vch_alt`, `txt_cust_code`, `mint_position`, `sint_status`) VALUES
|
21 |
+
(1, 'Facebook-icon.png', 'Facebook', 'http://www.facebook.com/', '', '', 1, 1),
|
22 |
+
(2, 'Twitter-icon.png', 'Twitter', 'http://www.twitter.com/', '', '', 2, 1),
|
23 |
+
(3, 'MySpace-icon.png', 'MySpace', 'http://www.myspace.com', '', '', 3, 1),
|
24 |
+
(4, 'Flickr-icon.png', 'Flickr', 'http://www.flickr.com', '', '', 4, 1);
|
25 |
+
");
|
26 |
+
$installer->endSetup();
|
app/design/adminhtml/default/default/layout/network.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<network_adminhtml_network_index>
|
4 |
+
<reference name="content">
|
5 |
+
<block type="network/adminhtml_network" name="network" />
|
6 |
+
</reference>
|
7 |
+
</network_adminhtml_network_index>
|
8 |
+
</layout>
|
app/design/frontend/default/default/layout/network.xml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
* Package :- CueBlocks_Zoom-1.0.tgz
|
6 |
+
* Version :- 1.0
|
7 |
+
* Edition :- Community
|
8 |
+
* Developed By :- CueBlocks.com
|
9 |
+
*
|
10 |
+
*/
|
11 |
+
-->
|
12 |
+
<layout version="0.1.0">
|
13 |
+
|
14 |
+
<default>
|
15 |
+
<reference name="head">
|
16 |
+
<action method="addItem"><type>skin_css</type><name>css/cb_sn.css</name><params/></action>
|
17 |
+
</reference>
|
18 |
+
|
19 |
+
<!-- <reference name="footer">
|
20 |
+
<action method="setTemplate"><template>network/footer.phtml</template></action>
|
21 |
+
</reference> -->
|
22 |
+
</default>
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
</layout>
|
28 |
+
|
app/etc/config.xml
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category Mage
|
23 |
+
* @package Mage_Core
|
24 |
+
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<config>
|
29 |
+
<global>
|
30 |
+
<install>
|
31 |
+
<date></date>
|
32 |
+
</install>
|
33 |
+
<resources>
|
34 |
+
<default_setup>
|
35 |
+
<connection>
|
36 |
+
<host>localhost</host>
|
37 |
+
<username></username>
|
38 |
+
<password/>
|
39 |
+
<dbname>magento</dbname>
|
40 |
+
<model>mysql4</model>
|
41 |
+
<initStatements>SET NAMES utf8</initStatements>
|
42 |
+
<type>pdo_mysql</type>
|
43 |
+
<active>0</active>
|
44 |
+
</connection>
|
45 |
+
</default_setup>
|
46 |
+
<default_write>
|
47 |
+
<connection>
|
48 |
+
<use>default_setup</use>
|
49 |
+
</connection>
|
50 |
+
</default_write>
|
51 |
+
<default_read>
|
52 |
+
<connection>
|
53 |
+
<use>default_setup</use>
|
54 |
+
</connection>
|
55 |
+
</default_read>
|
56 |
+
<core_setup>
|
57 |
+
<setup>
|
58 |
+
<module>Mage_Core</module>
|
59 |
+
</setup>
|
60 |
+
<connection>
|
61 |
+
<use>default_setup</use>
|
62 |
+
</connection>
|
63 |
+
</core_setup>
|
64 |
+
<core_write>
|
65 |
+
<connection>
|
66 |
+
<use>default_write</use>
|
67 |
+
</connection>
|
68 |
+
</core_write>
|
69 |
+
<core_read>
|
70 |
+
<connection>
|
71 |
+
<use>default_read</use>
|
72 |
+
</connection>
|
73 |
+
</core_read>
|
74 |
+
</resources>
|
75 |
+
<resource>
|
76 |
+
<connection>
|
77 |
+
<types>
|
78 |
+
<pdo_mysql>
|
79 |
+
<class>Mage_Core_Model_Resource_Type_Db_Pdo_Mysql</class>
|
80 |
+
</pdo_mysql>
|
81 |
+
</types>
|
82 |
+
</connection>
|
83 |
+
</resource>
|
84 |
+
<models>
|
85 |
+
<varien>
|
86 |
+
<class>Varien</class>
|
87 |
+
</varien>
|
88 |
+
<core>
|
89 |
+
<class>Mage_Core_Model</class>
|
90 |
+
<resourceModel>core_mysql4</resourceModel>
|
91 |
+
</core>
|
92 |
+
<core_mysql4>
|
93 |
+
<class>Mage_Core_Model_Mysql4</class>
|
94 |
+
<entities>
|
95 |
+
<config_data><table>core_config_data</table></config_data>
|
96 |
+
<website><table>core_website</table></website>
|
97 |
+
<store><table>core_store</table></store>
|
98 |
+
<resource><table>core_resource</table></resource>
|
99 |
+
<cache><table>core_cache</table></cache>
|
100 |
+
<cache_tag><table>core_cache_tag</table></cache_tag>
|
101 |
+
<cache_option><table>core_cache_option</table></cache_option>
|
102 |
+
</entities>
|
103 |
+
</core_mysql4>
|
104 |
+
</models>
|
105 |
+
</global>
|
106 |
+
|
107 |
+
<default>
|
108 |
+
<system>
|
109 |
+
<filesystem>
|
110 |
+
<base>{{root_dir}}</base>
|
111 |
+
<app>{{root_dir}}/app</app>
|
112 |
+
<code>{{app_dir}}/code</code>
|
113 |
+
<design>{{app_dir}}/design</design>
|
114 |
+
<locale>{{app_dir}}/locale</locale>
|
115 |
+
<etc>{{app_dir}}/etc</etc>
|
116 |
+
<media>{{root_dir}}/media</media>
|
117 |
+
<upload>{{root_dir}}/media/upload</upload>
|
118 |
+
<skin>{{root_dir}}/skin</skin>
|
119 |
+
<var>{{var_dir}}</var>
|
120 |
+
<cache>{{var_dir}}/cache</cache>
|
121 |
+
<session>{{var_dir}}/session</session>
|
122 |
+
<tmp>{{var_dir}}/tmp</tmp>
|
123 |
+
<pear>{{var_dir}}/pear</pear>
|
124 |
+
<export>{{var_dir}}/export</export>
|
125 |
+
</filesystem>
|
126 |
+
</system>
|
127 |
+
<general>
|
128 |
+
<locale>
|
129 |
+
<code>en_US</code>
|
130 |
+
<timezone>America/Los_Angeles</timezone>
|
131 |
+
</locale>
|
132 |
+
</general>
|
133 |
+
</default>
|
134 |
+
</config>
|
app/etc/modules/SN_Network.xml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
* Package :- CueBlocks_Zoom-1.0.tgz
|
6 |
+
* Version :- 1.0
|
7 |
+
* Edition :- Community
|
8 |
+
* Developed By :- CueBlocks.com
|
9 |
+
*
|
10 |
+
*/
|
11 |
+
-->
|
12 |
+
<config>
|
13 |
+
<modules>
|
14 |
+
<SN_Network>
|
15 |
+
<active>true</active>
|
16 |
+
<codePool>community</codePool>
|
17 |
+
<depends>
|
18 |
+
<Mage_Catalog />
|
19 |
+
</depends>
|
20 |
+
</SN_Network>
|
21 |
+
</modules>
|
22 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Social_Bookmarks_Icons_2_0</name>
|
4 |
+
<version>2.1</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>
|
8 |
+
<extends/>
|
9 |
+
<summary>This extension allows you to share products / page on various Social Networking sites as choosen by you. The highlighting point of this extension is flexibility to call social icons anywhere you wish to display.</summary>
|
10 |
+
<description>This extension allows you to share products / page on various Social Networking sites as choosen by you. The highlighting point of this extension is flexibility to call social icons anywhere you wish to display.</description>
|
11 |
+
<notes>inorder to display this extension, you have to call below given code on required template page.
|
12 |
+
<?php echo Mage::helper('network/data')->CUE_socialIcons(); ?></notes>
|
13 |
+
<authors><author><name>Nitin Khullar</name><user>auto-converted</user><email>nitin.khullar@cueblocks.com</email></author></authors>
|
14 |
+
<date>2010-12-17</date>
|
15 |
+
<time>05:59:51</time>
|
16 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="network.xml" hash="e53c67d4623cc024606160bd965b4fc7"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="network.xml" hash="9179e5afe72fe71ff551d5e5c7a82cc2"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="cb_sn.css" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="images"><dir name="cb_social_icons"><file name="Facebook-icon.png" hash="41747a3796dce5f963fb2148d098449d"/><file name="Flickr-icon.png" hash="5c0aaf62c1b84d8347a482d953308e5c"/><file name="MySpace-icon.png" hash="cfc71f32acec27d3416da402bbaf01a3"/><file name="Twitter-icon.png" hash="c3ab6c65a4f6979cfd8aa1944eadd2dd"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SN_Network.xml" hash="9b16689b5e618318cc8840734902bade"/></dir><dir name="."><file name="config.xml" hash="1461338d8c3bbeb24ce149c63cdf53f9"/></dir></target><target name="magecommunity"><dir name="SN"><dir name="Network"><dir name="Block"><dir name="Adminhtml"><dir name="Network"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="0a67d686b31f6a4dd38459d87b71f21a"/></dir><file name="Form.php" hash="263e0e54e8baed7a8262a9e062e383f4"/><file name="Tabs.php" hash="6147b0ce9918dff8ae383bcd527c1ea8"/></dir><file name="Edit.php" hash="fb73ad94cf3f5d6f6481f071f0b38e5e"/><file name="Grid.php" hash="65cd59b428235f0e731d7b6e60c63076"/></dir><file name="Network.php" hash="e926f1af478443690ad84f21cad854d3"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="NetworkController.php" hash="5229a1f162dfaa2fecc1c35a6274dbab"/></dir><file name="IndexController.php" hash="860a00351789c1184a302b72cab84ef6"/></dir><dir name="Helper"><file name="Data.php" hash="9f55b04ad0fa8d4863183285576d1475"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Network"><file name="Collection.php" hash="229f02538c42f210cce82446829c19ab"/></dir><file name="Network.php" hash="882808ada9e5b11fc1abf12802414413"/></dir><file name="Network.php" hash="8d64e7727e81bf7814a71bef61f76b7e"/></dir><dir name="sql"><dir name="network_setup"><file name="mysql4-install-0.1.0.php" hash="42b600526b16fb0d072bda00f8b275f6"/></dir></dir></dir></dir></target></contents>
|
17 |
+
<compatible/>
|
18 |
+
<dependencies/>
|
19 |
+
</package>
|
skin/frontend/default/default/css/cb_sn.css
ADDED
File without changes
|
skin/frontend/default/default/images/cb_social_icons/Facebook-icon.png
ADDED
Binary file
|
skin/frontend/default/default/images/cb_social_icons/Flickr-icon.png
ADDED
Binary file
|
skin/frontend/default/default/images/cb_social_icons/MySpace-icon.png
ADDED
Binary file
|
skin/frontend/default/default/images/cb_social_icons/Twitter-icon.png
ADDED
Binary file
|