Page MenuHomeIn-Portal Phabricator

in-commerce
No OneTemporary

File Metadata

Created
Wed, Apr 30, 8:57 AM

in-commerce

Index: branches/RC/themes/default2009/in-commerce/elements/static_menu.elm.tpl
===================================================================
--- branches/RC/themes/default2009/in-commerce/elements/static_menu.elm.tpl (revision 11497)
+++ branches/RC/themes/default2009/in-commerce/elements/static_menu.elm.tpl (nonexistent)
@@ -1 +0,0 @@
-<inp2:m_RenderElement name="static_menu_element" module="In-commerce" icon="menu_products.gif"/>
\ No newline at end of file
Property changes on: branches/RC/themes/default2009/in-commerce/elements/static_menu.elm.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1.2.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/themes/default2009/in-commerce/elements/menu.xml.tpl
===================================================================
--- branches/RC/themes/default2009/in-commerce/elements/menu.xml.tpl (revision 11497)
+++ branches/RC/themes/default2009/in-commerce/elements/menu.xml.tpl (nonexistent)
@@ -1,7 +0,0 @@
-<inp2:m_RenderElement name="dmenu_element" module="In-commerce" icon="menu_products.gif" no_editing="1"/>
-
-<!--## IF FOR USER LOGIN ##-->
-<!--##
-<inp2:m_if check="u_FieldEquals" name="Login" value="support" db="db">
-</inp2:m_if>
-##-->
\ No newline at end of file
Property changes on: branches/RC/themes/default2009/in-commerce/elements/menu.xml.tpl
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1.2.2
\ No newline at end of property
Index: branches/RC/in-commerce/install/upgrades.php
===================================================================
--- branches/RC/in-commerce/install/upgrades.php (nonexistent)
+++ branches/RC/in-commerce/install/upgrades.php (revision 11498)
@@ -0,0 +1,43 @@
+<?php
+ $upgrade_class = 'InCommerceUpgrades';
+
+ /**
+ * Class, that holds all upgrade scripts for "Core" module
+ *
+ */
+ class InCommerceUpgrades extends kHelper {
+
+ /**
+ * Install toolkit instance
+ *
+ * @var kInstallToolkit
+ */
+ var $_toolkit = null;
+
+ /**
+ * Sets common instance of installator toolkit
+ *
+ * @param kInstallToolkit $instance
+ */
+ function setToolkit(&$instance)
+ {
+ $this->_toolkit =& $instance;
+ }
+
+ /**
+ * Changes table structure, where multilingual fields of TEXT type are present
+ *
+ * @param string $mode when called mode {before, after)
+ */
+ function Upgrade_5_0_0($mode)
+ {
+ if ($mode == 'after') {
+ $root_category = $this->Application->findModule('Name', 'In-Commerce', 'RootCat');
+
+ $sql = 'UPDATE ' . $this->Application->getUnitOption('c', 'TableName') . '
+ SET UseMenuIconUrl = 1, MenuIconUrl = "in-commerce/img/menu_products.gif"
+ WHERE ' . $this->Application->getUnitOption('c', 'IDField') . ' = ' . $root_category;
+ $this->Conn->Query($sql);
+ }
+ }
+ }
\ No newline at end of file
Property changes on: branches/RC/in-commerce/install/upgrades.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property

Event Timeline