|
From: <os...@us...> - 2012-04-10 16:43:03
|
Revision: 4193
http://oscss.svn.sourceforge.net/oscss/?rev=4193&view=rev
Author: oscim
Date: 2012-04-10 16:42:56 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
Ajsutement dev - modele datatype
Modified Paths:
--------------
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.sql
Added Paths:
-----------
trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/modules/rapport/
trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/modules/rapport/rp__DATATYPE_REPLACE_.php
Added: trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/modules/rapport/rp__DATATYPE_REPLACE_.php
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/modules/rapport/rp__DATATYPE_REPLACE_.php (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/modules/rapport/rp__DATATYPE_REPLACE_.php 2012-04-10 16:42:56 UTC (rev 4193)
@@ -0,0 +1,179 @@
+<?php
+/**
+ @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version 2.1.1
+ @date 10/04/2012 , 15:00:00
+ @author oscim <mail aur...@os...> <www http://www.oscim.fr>
+ @encode UTF-8
+ @class rp__DATATYPE_REPLACE_
+ @brief manage description rp__DATATYPE_REPLACE_
+*/
+
+class rp__DATATYPE_REPLACE_
+ implements InterfaceModule{
+ /**
+ @var current string name
+ */
+ public $code;
+ /**
+ @var Datatype master
+ */
+ public $type;
+ /**
+ @var string title current module
+ */
+ public $title;
+ /**
+ @var string description current module
+ */
+ public $description;
+
+ /**
+ @var array info post data
+ */
+ public $listing = array();
+ /**
+ @var array info post data
+ */
+ public $query = array();
+ /**
+ @var boolean true/false
+ */
+ public $enabled;
+
+ /**
+ @brief class constructor
+ */
+ function __construct() {
+ $this->code = 'rp__DATATYPE_REPLACE_';
+ $this->type ='rapport';
+ $this->title = __('rp__DATATYPE_REPLACE_ heading title');
+ $this->description = __('rp__DATATYPE_REPLACE_ heading description');
+ $this->enabled = true;
+
+
+ global $languages_id;
+ $this->language_id = $languages_id;
+
+
+ }
+
+ /**
+ */
+ public function check_action($actions){
+ }
+
+ /**
+ @brief Edition/affichage produit
+ */
+ function load_db_values ($id) {
+
+ /**
+ @remarks this define col theader title, and ajust html code
+ Just for Edit listing
+ */
+ $this->listing['theader']=array(
+ array('width'=>'5%','class'=>'tcenter', 'txt'=>__('rp__DATATYPE_REPLACE_ table heading number') ) ,
+ array('width'=>'70%','class'=>'tcenter', 'txt'=>__('rp__DATATYPE_REPLACE_ table heading data') ) ,
+ array('width'=>'10%','class'=>'tcenter', 'txt'=>__('rp__DATATYPE_REPLACE_ table heading viewed') ),
+ array('width'=>'5%','class'=>'tcenter', 'txt'=>__('rp__DATATYPE_REPLACE_ table heading language') ),
+ );
+
+ /**
+ @remarks this define col in table, and if is possible sort
+ Just for Edit listing
+ */
+ $this->listing['modele']=array(
+ '_DATATYPE_REPLACE__id'=>true,
+ '_DATATYPE_REPLACE__name' =>true,
+ '_DATATYPE_REPLACE__viewed'=>true,
+ 'name'=>false,
+ );
+
+
+ $this->query['select'] = " p._DATATYPE_REPLACE__id, pd._DATATYPE_REPLACE__name, pd._DATATYPE_REPLACE__viewed , l.name";
+ $this->query['tables'] = " " . TABLE__DATATYPE_REPLACE_MAJ_. " p, " . TABLE__DATATYPE_REPLACE_MAJ__DESCRIPTION . " pd , " . TABLE_LANGUAGES . " l ";
+ $this->query['where'] = " p._DATATYPE_REPLACE__id = pd._DATATYPE_REPLACE__id and l.languages_id = pd.language_id ";
+ $this->query['orderby'] = " pd._DATATYPE_REPLACE__viewed DESC";
+
+ }
+
+ /**
+ @fn FormatDBValue($row)
+ @brief Format row values for put in listing
+ @param $item arrary/object
+ @return array;
+ */
+ function FormatDBValue($item) {
+ $ord = array();
+ foreach($this->listing['modele'] as $k=>$r){
+ if($k == '_DATATYPE_REPLACE__id')
+ $ord[$k]= '<a href="'.tep_href_link(FILENAME__DATATYPE_REPLACE_, 'action=view&cID='.$item[$k]).'" >'.$item[$k].'</a>';
+ else
+ $ord[$k]=$item[$k];
+
+ }
+
+ return $ord;
+ }
+
+
+ /**
+ */
+ function display_view($id) {
+ }
+
+
+
+
+ /**
+ @remarks implements InterfaceModule depend
+ if module twin in backoffice, report all content install in the other module
+ public function check() {return true;}
+ public function install() {return true;}
+ public function remove() {return true;}
+ public function keys() {return array(); }
+ */
+
+ /**
+ @fn check()
+ @brief test if count all var , and keys is equal
+ @return boolean true/false
+ */
+ function check() { return false; }
+
+
+ /**
+ @fn keys()
+ @return array all key configuration define by this module
+ */
+ function keys() {
+ return array('MODULE_PRODUCTS_VIEWEDDESCRIPTION_SORT_ORDER');
+ }
+
+ /**
+ @fn install()
+ @brief add all configuration
+ @note
+ - Modules can emarquer sql installation instructions, however, in the case of transverse information, or dependent of an extension, preferring the implementation of an extension, file with sql independent
+ - please, pefix all var configuration by 'MODULE_OT__MODTYPENAME_MAJ_'
+ - if module twin in backoffice, report all content install in the other module
+ - Not use language in DB , but function :__()
+ for MODULE_TOTO_ST
+ var title MODULE_TOTO_ST_S (small description)
+ var description MODULE_TOTO_ST_L (long description)
+ */
+ function install() { return false; }
+
+ /**
+ @fn remove()
+ @brief delete all configuration
+ @note
+ - please, pefix all var configuration by 'MODULE_PAYMENT__MODTYPENAME_MAJ_'
+ - if module twin in backoffice, report all content remove in the other module
+ */
+ function remove() { return false; }
+}
+?>
\ No newline at end of file
Modified: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.sql 2012-04-10 16:23:03 UTC (rev 4192)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.sql 2012-04-10 16:42:56 UTC (rev 4193)
@@ -7,5 +7,6 @@
language_id int(3) NOT NULL DEFAULT '1',
_DATATYPE_REPLACE__title varchar(128) NOT NULL,
_DATATYPE_REPLACE__chapo text NOT NULL,
- _DATATYPE_REPLACE__description text NOT NULL
+ _DATATYPE_REPLACE__description text NOT NULL,
+ _DATATYPE_REPLACE__viewed int(11) NOT NULL DEFAULT '1'
) CHARSET=utf8 ;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <os...@us...> - 2012-04-13 16:14:57
|
Revision: 4223
http://oscss.svn.sourceforge.net/oscss/?rev=4223&view=rev
Author: oscim
Date: 2012-04-13 15:28:10 +0000 (Fri, 13 Apr 2012)
Log Message:
-----------
Suite evolution precendente, ajustement du modele DataType
Modified Paths:
--------------
trunk/dev/GenerCode/datatype/Modele/catalog/common/classes/datatype_drivers/Data__DATATYPE_REPLACE_.php
trunk/dev/GenerCode/datatype/Modele/install.xml
Modified: trunk/dev/GenerCode/datatype/Modele/catalog/common/classes/datatype_drivers/Data__DATATYPE_REPLACE_.php
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/common/classes/datatype_drivers/Data__DATATYPE_REPLACE_.php 2012-04-13 15:22:20 UTC (rev 4222)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/common/classes/datatype_drivers/Data__DATATYPE_REPLACE_.php 2012-04-13 15:28:10 UTC (rev 4223)
@@ -25,19 +25,34 @@
public $reg_anchors = array(
'_DATATYPE_REPLACE_' => '_DATATYPE_REPLACE_SEOTAG_'
);
-
/**
+ @var DataType array reg check for control get params , please respect order $reg_anchors
+ */
+ public $reg_check = array(
+ '([0-9]*)' // unique page
+ );
+ /**
@var DataType files for folder /_DATATYPE_REPLACE_
*/
public $reg_filenames = array(
'FILENAME__DATATYPE_REPLACE_' => FILENAME_DEFAULT // unique page
);
-
/**
- @var DataType array reg check for control get params , please respect order $reg_anchors
+ @var DataType Tables define
*/
- public $reg_check = array(
- '([0-9]*)' // unique page
+ public $db_tables = array(
+ ## table master
+ 'TABLE__DATATYPE_REPLACE_MAJ_' => '_DATATYPE_REPLACE_', //
+ ## table language
+ 'TABLE__DATATYPE_REPLACE_MAJ__DESCRIPTION' => '_DATATYPE_REPLACE__description', //
+ ## table extra
+// 'TABLE__DATATYPE_REPLACE_MAJ__EXTRA' => '_DATATYPE_REPLACE__extra', //
+ 'TABLE__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS' => '_DATATYPE_REPLACE__extra_fields', //
+ 'TABLE__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS_LABELS' => '_DATATYPE_REPLACE__extra_fields_labels', //
+ 'TABLE__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS_VALUES' => '_DATATYPE_REPLACE__extra_fields_values', //
+ 'TABLE__DATATYPE_REPLACE_MAJ__TO__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS' => '_DATATYPE_REPLACE__to__DATATYPE_REPLACE__extra_fields', //
+ ## table link datatype categorie
+ 'TABLE__DATATYPE_REPLACE_MAJ__TO_CATEGORIES' => '_DATATYPE_REPLACE__to_categories' //
);
/**
@var DataType dynamic
@@ -54,20 +69,21 @@
/**
@brief constructor
+ @param next bool true for complete load , but use 2 call
*/
- function __construct(){
+ function __construct($next=false){
global $languages_id;
- $this->listing_sql['tables'] = " FROM " . TABLE__DATATYPE_REPLACE_MAJ_ . " ".$this->p." ".
- " LEFT JOIN " . TABLE__DATATYPE_REPLACE_MAJ__DESCRIPTION . " ".$this->p."d ON( ".$this->p."d._DATATYPE_REPLACE__id = ".$this->p."._DATATYPE_REPLACE__id AND ".$this->p."d.language_id = '" . (int)$languages_id . "' ) ".
- "";
+ if($next) {
+ $this->listing_sql['tables'] = " FROM " . TABLE__DATATYPE_REPLACE_MAJ_ . " ".$this->p." ".
+ " LEFT JOIN " . TABLE__DATATYPE_REPLACE_MAJ__DESCRIPTION . " ".$this->p."d ON( ".$this->p."d._DATATYPE_REPLACE__id = ".$this->p."._DATATYPE_REPLACE__id AND ".$this->p."d.language_id = '" . (int)$languages_id . "' ) ".
+ "";
- $this->listing_sql['where'] = " WHERE ".$this->p."._DATATYPE_REPLACE__status = '1' ";
- $this->listing_sql['sort'] = " ".$this->p."d._DATATYPE_REPLACE__title ";
- $this->listing_sql['base_key'] = "_DATATYPE_REPLACE__id ";
- $this->listing_sql['col_count'] = " ".$this->p."._DATATYPE_REPLACE__id ";
- foreach($this->reg_filenames as $key=>$row)
- if(!defined($key))define($key, $row);
+ $this->listing_sql['where'] = " WHERE ".$this->p."._DATATYPE_REPLACE__status = '1' ";
+ $this->listing_sql['sort'] = " ".$this->p."d._DATATYPE_REPLACE__title ";
+ $this->listing_sql['base_key'] = "_DATATYPE_REPLACE__id ";
+ $this->listing_sql['col_count'] = " ".$this->p."._DATATYPE_REPLACE__id ";
+ }
}
/**
Modified: trunk/dev/GenerCode/datatype/Modele/install.xml
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/install.xml 2012-04-13 15:22:20 UTC (rev 4222)
+++ trunk/dev/GenerCode/datatype/Modele/install.xml 2012-04-13 15:28:10 UTC (rev 4223)
@@ -56,10 +56,6 @@
<add2end>
<file name="admin/includes/tables_files_modules.php" />
<add type="php"><![CDATA[
- define('TABLE__DATATYPE_REPLACE_MAJ_', DB_TABLE_PREFIX . '_DATATYPE_REPLACE_');
- define('TABLE__DATATYPE_REPLACE_MAJ__DESCRIPTION', DB_TABLE_PREFIX . '_DATATYPE_REPLACE__description');
- define('TABLE__DATATYPE_REPLACE_MAJ__EXTRA', DB_TABLE_PREFIX . '_DATATYPE_REPLACE__extra');
- define('TABLE__DATATYPE_REPLACE_MAJ__TO_CATEGORIES', DB_TABLE_PREFIX . '_DATATYPE_REPLACE__to_categories');
define('FILENAME__DATATYPE_REPLACE_MAJ_', '_DATATYPE_REPLACE_s.php');]]></add>
</add2end>
@@ -67,19 +63,7 @@
<add2end>
<file name="includes/tables_files_modules.php" />
<add type="php"><![CDATA[
- ## table master
- define('TABLE__DATATYPE_REPLACE_MAJ_', DB_TABLE_PREFIX . '_DATATYPE_REPLACE_');
- define('TABLE__DATATYPE_REPLACE_MAJ__DESCRIPTION', DB_TABLE_PREFIX . '_DATATYPE_REPLACE__description');
- ## link categories
- define('TABLE__DATATYPE_REPLACE_MAJ__TO_CATEGORIES', DB_TABLE_PREFIX . '_DATATYPE_REPLACE__to_categories');
- ## extra
- // define('TABLE__DATATYPE_REPLACE_MAJ__EXTRA', DB_TABLE_PREFIX . '_DATATYPE_REPLACE__extra');
- define('TABLE__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS', DB_TABLE_PREFIX .'_DATATYPE_REPLACE__extra_fields');
- define('TABLE__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS_LABELS', DB_TABLE_PREFIX .'_DATATYPE_REPLACE__extra_fields_labels');
- define('TABLE__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS_VALUES', DB_TABLE_PREFIX .'_DATATYPE_REPLACE__extra_fields_values');
- define('TABLE__DATATYPE_REPLACE_MAJ__TO__DATATYPE_REPLACE_MAJ__EXTRA_FIELDS', DB_TABLE_PREFIX .'_DATATYPE_REPLACE__to__DATATYPE_REPLACE__extra_fields');
-
- define('FILENAME__DATATYPE_REPLACE_MAJ_', '_DATATYPE_REPLACE_.php');]]>
+]]>
</add>
</add2end>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <os...@us...> - 2012-04-18 06:32:18
|
Revision: 4259
http://oscss.svn.sourceforge.net/oscss/?rev=4259&view=rev
Author: oscim
Date: 2012-04-18 06:32:06 +0000 (Wed, 18 Apr 2012)
Log Message:
-----------
Suite tarvail GenerCode
Ajustement et developpement
Modified Paths:
--------------
trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.box_view.gab
trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.gab
trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.step.0.gab
trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.page.gab
trunk/dev/GenerCode/datatype/Modele/catalog/includes/modules/account/ac__DATATYPE_REPLACE_.php
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE_.sql
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.sql
Added Paths:
-----------
trunk/dev/GenerCode/datatype/Modele/catalog/includes/languages/fr_FR/modules/account/
trunk/dev/GenerCode/datatype/Modele/catalog/includes/languages/fr_FR/modules/account/ac__DATATYPE_REPLACE_.php
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.key.sql
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.key.sql
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_values.key.sql
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__to_categories.key.sql
trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__to_customers.key.sql
Modified: trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.box_view.gab
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.box_view.gab 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.box_view.gab 2012-04-18 06:32:06 UTC (rev 4259)
@@ -1,21 +1,21 @@
<?php
/**
- @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce
- @portion code Copyright (c) 2002 osCommerce
- @package osCSS-2 <www http://www.oscss.org>
- @version 2.1.1
- @date 15/04/2012, 22:44
- @author oscim <mail aur...@os...> <www http://www.oscim.fr>
- @encode UTF-8
+ @licence GPL 2005-_CURRENTYEAR_ The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version _CURRENTVERSION_
+ @date _CURRENTDATE_
+ @author genrated by GenerCode
+ @encode UTF-8
*\dir includes/gabarit/
*\file
*/
global $language,$customer_id;
-// print_r(ac_annuaire::$current);
+// print_r(ac__DATATYPE_REPLACE_::$current);
?>
<div class="rowaction">
- <a href="<?php echo ac_annuaire::href_link('add'); ?>"><?php echo __('ac_annuaire box action add'); ?></a>
+ <a href="<?php echo ac__DATATYPE_REPLACE_::href_link('add'); ?>"><?php echo __('ac__DATATYPE_REPLACE_ box action add'); ?></a>
</div>
<div class="contentBox myOrders">
Modified: trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.gab
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.gab 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.gab 2012-04-18 06:32:06 UTC (rev 4259)
@@ -1,33 +1,33 @@
<?php
/**
- @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce
- @portion code Copyright (c) 2002 osCommerce
- @package osCSS-2 <www http://www.oscss.org>
- @version 2.1.1
- @date 15/04/2012, 22:44
- @author oscim <mail aur...@os...> <www http://www.oscim.fr>
- @encode UTF-8
+ @licence GPL 2005-_CURRENTYEAR_ The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version _CURRENTVERSION_
+ @date _CURRENTDATE_
+ @author genrated by GenerCode
+ @encode UTF-8
*/
global $language,$customer_id,$entry;
?>
<div id="adressBookProcess">
- <?php /** Retour d'erreur checkup sur la boutique */ $page->messageStack->_draw('ac_annuaire'); ?>
+ <?php /** Retour d'erreur checkup sur la boutique */ $page->messageStack->_draw('ac__DATATYPE_REPLACE_'); ?>
- <?php echo tep_draw_form('ac_annuaire',(isset($_GET['id']) ? ac_annuaire::href_link('edit','id='.(int)$_GET['id']) : ac_annuaire::href_link('add') ), 'post'); ?>
+ <?php echo tep_draw_form('ac__DATATYPE_REPLACE_',(isset($_GET['id']) ? ac__DATATYPE_REPLACE_::href_link('edit','id='.(int)$_GET['id']) : ac__DATATYPE_REPLACE_::href_link('add') ), 'post'); ?>
$result->gabarit
- <?php echo tep_get_include_contents(ac_annuaire::$current->gabarit) ?>
+ <?php echo tep_get_include_contents(ac__DATATYPE_REPLACE_::$current->gabarit) ?>
<div class="navBt">
<?php if(isset($_GET['id'])) echo tep_draw_hidden_field('id', (int)$_GET['id']) ;?>
- <?php echo '<a class="navBt" href="' . ac_annuaire::href_link(). '">' . __('ac_annuaire action abandons') . '</a>'; ?>
+ <?php echo '<a class="navBt" href="' . ac__DATATYPE_REPLACE_::href_link(). '">' . __('ac__DATATYPE_REPLACE_ action abandons') . '</a>'; ?>
<input class="submitBt" id="send" type="submit" value="<?php echo IMAGE_BUTTON_UPDATE; ?>" />
</div>
Modified: trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.step.0.gab
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.step.0.gab 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.edit.step.0.gab 2012-04-18 06:32:06 UTC (rev 4259)
@@ -1,13 +1,13 @@
<?php
/**
- @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce
- @portion code Copyright (c) 2002 osCommerce
- @package osCSS-2 <www http://www.oscss.org>
- @version 2.1.1
- @date 15/04/2012, 22:44
- @author oscim <mail aur...@os...> <www http://www.oscim.fr>
- @encode UTF-8
- @brief Sub gabarit for draw Step 0 form for add new entry in annuaire
+ @licence GPL 2005-_CURRENTYEAR_ The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version _CURRENTVERSION_
+ @date _CURRENTDATE_
+ @author genrated by GenerCode
+ @encode UTF-8
+ @brief Sub gabarit for draw Step 0 form for add new entry in _DATATYPE_REPLACE_
*/
global $language,$customer_id,$entry;
@@ -17,7 +17,7 @@
<fieldset>
<p>
- <label><?php echo __('ac_annuaire add step_0 input ') ?><label>
+ <label><?php echo __('ac__DATATYPE_REPLACE_ add step_0 input ') ?><label>
<?php if(isset($_GET['id'])) echo tep_draw_hidden_field('id', (int)$_GET['id']) ;?>
</p>
</fieldset>
Modified: trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.page.gab
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.page.gab 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/includes/gabarit/_DATATYPE_REPLACE_/account.display_view.page.gab 2012-04-18 06:32:06 UTC (rev 4259)
@@ -1,44 +1,44 @@
<?php
/**
- @licence GPL 2005-2012 The osCSS developers - osCSS Open Source E-commerce
- @portion code Copyright (c) 2002 osCommerce
- @package osCSS-2 <www http://www.oscss.org>
- @version 2.1.1
- @date 15/04/2012, 22:44
- @author oscim <mail aur...@os...> <www http://www.oscim.fr>
- @encode UTF-8
+ @licence GPL 2005-_CURRENTYEAR_ The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version _CURRENTVERSION_
+ @date _CURRENTDATE_
+ @author genrated by GenerCode
+ @encode UTF-8
*\dir includes/gabarit/
*\file
- *\brief display module ac_annuaire list address,
+ *\brief display module ac__DATATYPE_REPLACE_ list address,
*
- * template html for function display_view in class ac_annuaire
+ * template html for function display_view in class ac__DATATYPE_REPLACE_
*/
global $language,$customer_id;
-// print_r(ac_annuaire::$current);
+// print_r(ac__DATATYPE_REPLACE_::$current);
?>
<div id="addressBook">
<?php /* Retour d'erreur checkup sur la boutique */ $page->messageStack->_draw('addressbook'); ?>
- <?php if (count(ac_annuaire::$current) > 0): ?>
+ <?php if (count(ac__DATATYPE_REPLACE_::$current) > 0): ?>
<table>
<thead>
<tr>
- <th><?php echo __('ac_annuaire table heading title'); ?></th>
- <th><?php echo __('ac_annuaire table heading date'); ?></th>
- <th><?php echo __('ac_annuaire table heading action'); ?></th>
+ <th><?php echo __('ac__DATATYPE_REPLACE_ table heading title'); ?></th>
+ <th><?php echo __('ac__DATATYPE_REPLACE_ table heading date'); ?></th>
+ <th><?php echo __('ac__DATATYPE_REPLACE_ table heading action'); ?></th>
</tr>
</thead>
<tbody>
- <?php foreach(ac_annuaire::$current as $row): /*print_r($row);*/ ?>
+ <?php foreach(ac__DATATYPE_REPLACE_::$current as $row): /*print_r($row);*/ ?>
<tr>
<td><a href="<?php echo $row->href ?>"><?php echo $row->title ?></a></td>
<td><?php echo tep_date_short($row->date_added) ?></td>
<td>
- <a href="<?php echo ac_annuaire::href_link('edit','id='.$row->id) ?>">edit</a>
- <a href="<?php echo ac_annuaire::href_link('offline','id='.$row->id) ?>">offline</a>
+ <a href="<?php echo ac__DATATYPE_REPLACE_::href_link('edit','id='.$row->id) ?>">edit</a>
+ <a href="<?php echo ac__DATATYPE_REPLACE_::href_link('offline','id='.$row->id) ?>">offline</a>
</td>
</tr>
<?php endforeach; ?>
@@ -50,8 +50,8 @@
<div class="navBt">
<?php echo '<a class="navBt" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . IMAGE_BUTTON_BACK . '</a>'; ?>
- <?php /*if (tep_count_customer_ac_annuaire_entries() < MAX_ADDRESS_BOOK_ENTRIES) { ?>
- <?php echo '<a class="navBt" href="' . ac_annuaire::href_link('add','') . '">' . IMAGE_BUTTON_ADD_ADDRESS . '</a>'; ?>
+ <?php /*if (tep_count_customer_ac__DATATYPE_REPLACE__entries() < MAX_ADDRESS_BOOK_ENTRIES) { ?>
+ <?php echo '<a class="navBt" href="' . ac__DATATYPE_REPLACE_::href_link('add','') . '">' . IMAGE_BUTTON_ADD_ADDRESS . '</a>'; ?>
<?php } */?>
</div>
</div>
\ No newline at end of file
Added: trunk/dev/GenerCode/datatype/Modele/catalog/includes/languages/fr_FR/modules/account/ac__DATATYPE_REPLACE_.php
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/includes/languages/fr_FR/modules/account/ac__DATATYPE_REPLACE_.php (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/includes/languages/fr_FR/modules/account/ac__DATATYPE_REPLACE_.php 2012-04-18 06:32:06 UTC (rev 4259)
@@ -0,0 +1,13 @@
+<?php
+/**
+ @licence GPL 2005-_CURRENTYEAR_ The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version _CURRENTVERSION_
+ @date _CURRENTDATE_
+ @author genrated by GenerCode
+ @encode UTF-8
+ @note not delete item in public module. this reserved in admin panel
+*/
+
+?>
\ No newline at end of file
Modified: trunk/dev/GenerCode/datatype/Modele/catalog/includes/modules/account/ac__DATATYPE_REPLACE_.php
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/includes/modules/account/ac__DATATYPE_REPLACE_.php 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/includes/modules/account/ac__DATATYPE_REPLACE_.php 2012-04-18 06:32:06 UTC (rev 4259)
@@ -7,10 +7,10 @@
@date _CURRENTDATE_
@author genrated by GenerCode
@encode UTF-8
- @note not delete in public module. this reserved in admin panel
+ @note not delete item in public module. this reserved in admin panel
*/
-class ac_annuaire
+class ac__DATATYPE_REPLACE_
extends
AbstractAccount
implements
@@ -54,7 +54,7 @@
$this->type =self::$type;
$this->title = __('module aca address book text title');
$this->description = __('module aca address book text description') ;
- $this->sort_order = (defined('MODULE_ACA_ADDRESS_BOOK_SORT_ORDER')) ? MODULE_ACA_ADDRESS_BOOK_SORT_ORDER : 0;
+ $this->sort_order = (defined('MODULE_ACA__DATATYPE_REPLACE_MAJ__SORT_ORDER')) ? MODULE_ACA__DATATYPE_REPLACE_MAJ__SORT_ORDER : 0;
$this->enabled = true;
@@ -79,12 +79,12 @@
self::$action = 'ab_page';
- define('TABLE_ANNUAIRE_TO_CUSTOMERS', DB_TABLE_PREFIX.'annuaire_to_customers');
+ define('TABLE__DATATYPE_REPLACE_MAJ__TO_CUSTOMERS', DB_TABLE_PREFIX.'_DATATYPE_REPLACE__to_customers');
// define all menu
// report in config this modules
- define('MAX_DISPLAY_ANNUAIRE_ACCOUNT_LISTING', '10');
+ define('MAX_DISPLAY__DATATYPE_REPLACE_MAJ__ACCOUNT_LISTING', '10');
}
public function get_header($action=''){}
@@ -114,17 +114,17 @@
// }
- $page->messageStack->add('addressbook', __('SUCCESS_ADDRESS_BOOK_ENTRY_UPDATED'), 'success');
+// $page->messageStack->add('addressbook', __('SUCCESS__DATATYPE_REPLACE_MAJ__ENTRY_UPDATED'), 'success');
// }
break;
case 'deleteconfirm':
- if(!isset($_GET['delete']) || !is_numeric($_GET['delete']) ) return false;
-/** ADD control addresse defaut */
-
- tep_db_query("delete from " . TABLE_ADDRESS_BOOK . " where ac_annuaire_id = '" . (int)$_GET['delete'] . "' and customers_id = '" . (int)$customer_id . "'");
-
- $page->messageStack->add_session('addressbook', __('SUCCESS_ADDRESS_BOOK_ENTRY_DELETED'), 'success');
+// if(!isset($_GET['delete']) || !is_numeric($_GET['delete']) ) return false;
+//
+//
+// tep_db_query("delete from " . TABLE__DATATYPE_REPLACE_MAJ_ . " where ac__DATATYPE_REPLACE__id = '" . (int)$_GET['delete'] . "' and customers_id = '" . (int)$customer_id . "'");
+//
+// $page->messageStack->add_session('addressbook', __('SUCCESS__DATATYPE_REPLACE_MAJ__ENTRY_DELETED'), 'success');
break;
}
@@ -134,16 +134,16 @@
/**
*/
public function after_check_action ($action) {
- if($action=='new') tep_redirect(tep_href_link(FILENAME_ACCOUNT, 'aca_mod='.$this->code.'&aca_type='.$this->type.'&aca_action=display_view', 'SSL'));
+// if($action=='new') tep_redirect(tep_href_link(FILENAME_ACCOUNT, 'aca_mod='.$this->code.'&aca_type='.$this->type.'&aca_action=display_view', 'SSL'));
}
/**
*/
public function update_table_account () {
- //! This function returns an array with variables to update into TABLE_ADDRESS_BOOK
+ //! This function returns an array with variables to update into TABLE__DATATYPE_REPLACE_MAJ_
$sql_data_array=$this->sql_data_array;
-// tep_db_perform(TABLE_ADDRESS_BOOK, $this->cInfo->sql_data_array, 'update', "customers_id = '" . (int)$_GET['cID'] . "' and ac_annuaire_id = '" . (int)$this->cInfo->customers_default_address_id . "'");
+// tep_db_perform(TABLE__DATATYPE_REPLACE_MAJ_, $this->cInfo->sql_data_array, 'update', "customers_id = '" . (int)$_GET['cID'] . "' and ac__DATATYPE_REPLACE__id = '" . (int)$this->cInfo->customers_default_address_id . "'");
return array();
}
@@ -189,18 +189,18 @@
*/
case 'ab_page':
- $sql="SELECT c.annuaire_id AS id, c.date_added as date_added ".
- " FROM " . TABLE_ANNUAIRE_TO_CUSTOMERS . " ctc ".
- " LEFT JOIN " . TABLE_ANNUAIRE . " c ON(c.annuaire_id = ctc.annuaire_id )
- WHERE ctc.customers_id = '" . (int)$customer_id . "' " . DataForceStatus(" AND c.annuaire_status = '1' ") . " " ;
+ $sql="SELECT c._DATATYPE_REPLACE__id AS id, c.date_added as date_added ".
+ " FROM " . TABLE__DATATYPE_REPLACE_MAJ__TO_CUSTOMERS . " ctc ".
+ " LEFT JOIN " . TABLE__DATATYPE_REPLACE_MAJ_ . " c ON(c._DATATYPE_REPLACE__id = ctc._DATATYPE_REPLACE__id )
+ WHERE ctc.customers_id = '" . (int)$customer_id . "' " . DataForceStatus(" AND c._DATATYPE_REPLACE__status = '1' ") . " " ;
- self::$history_split = new splitPageResults($sql, MAX_DISPLAY_ANNUAIRE_ACCOUNT_LISTING);
+ self::$history_split = new splitPageResults($sql, MAX_DISPLAY__DATATYPE_REPLACE_MAJ__ACCOUNT_LISTING);
$_query = $DB->query(self::$history_split->sql_query);
$result = array();
foreach($_query->fetchAllAssoc() as $row){
- $n = annuaire::get_item($row['id']);
+ $n = _DATATYPE_REPLACE_::get_item($row['id']);
$n->date_added = tep_date_short($row['date_added']);
$result[]=$n;
@@ -214,14 +214,14 @@
@remarks calcul for widget in account master page
*/
default:
- $query="SELECT c.annuaire_id AS id, c.date_added as date_added ".
- " FROM " . TABLE_ANNUAIRE_TO_CUSTOMERS . " ctc ".
- " LEFT JOIN " . TABLE_ANNUAIRE . " c ON(c.annuaire_id = ctc.annuaire_id )
- WHERE ctc.customers_id = '" . (int)$customer_id . "' " . DataForceStatus(" AND c.annuaire_status = '1' ") . " LIMIT 1 " ;
+ $query="SELECT c._DATATYPE_REPLACE__id AS id, c.date_added as date_added ".
+ " FROM " . TABLE__DATATYPE_REPLACE_MAJ__TO_CUSTOMERS . " ctc ".
+ " LEFT JOIN " . TABLE__DATATYPE_REPLACE_MAJ_ . " c ON(c._DATATYPE_REPLACE__id = ctc._DATATYPE_REPLACE__id )
+ WHERE ctc.customers_id = '" . (int)$customer_id . "' " . DataForceStatus(" AND c._DATATYPE_REPLACE__status = '1' ") . " LIMIT 1 " ;
$result = $DB->query($query);
$tp= $result->fetchAssoc();
- self::$current =annuaire::get_item($tp['id']);
+ self::$current =_DATATYPE_REPLACE_::get_item($tp['id']);
}
@@ -254,7 +254,7 @@
switch(self::$action){
default:
- $v['title']=__("ac_annuaire menu myaccount link manage");
+ $v['title']=__("ac__DATATYPE_REPLACE_ menu myaccount link manage");
$v['href']= self::href_link(); //tep_href_link(FILENAME_ACCOUNT, 'aca_mod='.$this->code.'&aca_type='.self::$type.'&aca_action=display_view', 'SSL');
return new objectInfo( array(
'type'=>'menu',
@@ -312,7 +312,7 @@
self::$account = $page->_call('customer','the_customer');
- $v['title']=(isset($_GET['id'])? __("ac_annuaire page edit") : __("ac_annuaire page add") );
+ $v['title']=(isset($_GET['id'])? __("ac__DATATYPE_REPLACE_ page edit") : __("ac__DATATYPE_REPLACE_ page add") );
$v['content']=tep_output_string_protected(tep_get_include_contents($forcepath.'/'.self::$type.'.'.__FUNCTION__.'.edit'),false,true);
return new objectInfo( $v );
break;
@@ -325,7 +325,7 @@
$customer_id=$page->the_var('customer_id');
$this->load_db_values($customer_id);
- $v['title']=__("ac_annuaire page view");
+ $v['title']=__("ac__DATATYPE_REPLACE_ page view");
$v['content']=tep_output_string_protected(tep_get_include_contents($forcepath.'/'.self::$type.'.'.__FUNCTION__.'.page'),false,true);
return new objectInfo( $v );
break;
@@ -334,7 +334,7 @@
@remarks widget in account master page
*/
default:
- $v['title']=__("ac_annuaire widget view");
+ $v['title']=__("ac__DATATYPE_REPLACE_ widget view");
$v['href']= self::href_link();
$v['content']=tep_output_string_protected(tep_get_include_contents($forcepath.'/'.self::$type.'.'.'box_view'),false,true);
return new objectInfo(array(
Modified: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE_.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE_.sql 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE_.sql 2012-04-18 06:32:06 UTC (rev 4259)
@@ -8,7 +8,9 @@
_DATATYPE_REPLACE__status int(1) NOT NULL,
_DATATYPE_REPLACE__hidden int(1) NOT NULL,
date_added datetime DEFAULT '1000-01-01 00:00:00',
+ user_added int(11) NOT NULL DEFAULT '0',
last_modified datetime DEFAULT '1000-01-01 00:00:00',
+ user_modified int(11) NOT NULL DEFAULT '0',
sort_order varchar(2) NOT NULL DEFAULT '0',
PRIMARY KEY (_DATATYPE_REPLACE__id)
) CHARSET=utf8 ;
Added: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.key.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.key.sql (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__description.key.sql 2012-04-18 06:32:06 UTC (rev 4259)
@@ -0,0 +1,19 @@
+--+######################################################################--+
+--| osCSS Open Source E-commerce |
+--+######################################################################--+
+--| Copyright (c) 2005-2011 The osCSS developers |
+--| |
+--| http://www.oscss.org |
+--| Portions Copyright (c) 2003 osCommerce |
+--+######################################################################--+
+--| This source file is subject to version 2.0 of the GPL license, |
+--| available at the following url: |
+--| http://www.oscss.org/ |
+--+######################################################################--+
+
+
+ALTER TABLE osc__DATATYPE_REPLACE__description ADD INDEX idx__DATATYPE_REPLACE__description (categories_id);
+ALTER TABLE osc__DATATYPE_REPLACE__description ADD INDEX idx__DATATYPE_REPLACE__description_lg (language_id);
+
+ALTER TABLE osc__DATATYPE_REPLACE__description ADD CONSTRAINT fk__DATATYPE_REPLACE__description FOREIGN KEY (categories_id) REFERENCES osc_categories (categories_id);
+ALTER TABLE osc__DATATYPE_REPLACE__description ADD CONSTRAINT fk__DATATYPE_REPLACE__description_lg FOREIGN KEY (language_id) REFERENCES osc_languages (languages_id);
Added: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.key.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.key.sql (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.key.sql 2012-04-18 06:32:06 UTC (rev 4259)
@@ -0,0 +1,21 @@
+--+######################################################################--+
+--| osCSS Open Source E-commerce |
+--+######################################################################--+
+--| Copyright (c) 2005-2011 The osCSS developers |
+--| |
+--| http://www.oscss.org |
+--| Portions Copyright (c) 2003 osCommerce |
+--+######################################################################--+
+--| This source file is subject to version 2.0 of the GPL license, |
+--| available at the following url: |
+--| http://www.oscss.org/ |
+--+######################################################################--+
+
+
+
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_labels ADD INDEX idx__DATATYPE_REPLACE__extra_fields_labels_lgid (languages_id);
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_labels ADD INDEX idx__DATATYPE_REPLACE__epf_id (epf_id);
+
+
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_labels ADD CONSTRAINT fk_osc__DATATYPE_REPLACE__extra_fields_labels_lgid FOREIGN KEY (languages_id) REFERENCES osc_languages (languages_id);
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_labels ADD CONSTRAINT fk_osc__DATATYPE_REPLACE__extra_fields_labels_id FOREIGN KEY (epf_id) REFERENCES osc__DATATYPE_REPLACE__extra_fields (epf_id);
\ No newline at end of file
Modified: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.sql 2012-04-17 20:46:47 UTC (rev 4258)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_labels.sql 2012-04-18 06:32:06 UTC (rev 4259)
@@ -2,7 +2,7 @@
-- Structure de la table osc__DATATYPE_REPLACE__extra_fields_labels
--
-CREATE TABLE IF NOT EXISTS osc_annuaire_extra_fields_labels(
+CREATE TABLE IF NOT EXISTS osc__DATATYPE_REPLACE__extra_fields_labels(
epf_id int(10) unsigned NOT NULL,
languages_id int(11) NOT NULL,
epf_label varchar(64) DEFAULT NULL,
Added: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_values.key.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_values.key.sql (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__extra_fields_values.key.sql 2012-04-18 06:32:06 UTC (rev 4259)
@@ -0,0 +1,21 @@
+--+######################################################################--+
+--| osCSS Open Source E-commerce |
+--+######################################################################--+
+--| Copyright (c) 2005-2011 The osCSS developers |
+--| |
+--| http://www.oscss.org |
+--| Portions Copyright (c) 2003 osCommerce |
+--+######################################################################--+
+--| This source file is subject to version 2.0 of the GPL license, |
+--| available at the following url: |
+--| http://www.oscss.org/ |
+--+######################################################################--+
+
+
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_values ADD INDEX idx__DATATYPE_REPLACE__extra_fields_labels_lgid (languages_id);
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_values ADD INDEX idx__DATATYPE_REPLACE__epf_id (epf_id);
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_values ADD INDEX idx__DATATYPE_REPLACE__value_id (value_id);
+
+
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_values ADD CONSTRAINT fk_osc__DATATYPE_REPLACE__extra_fields_values_lgid FOREIGN KEY (languages_id) REFERENCES osc_languages (languages_id);
+ALTER TABLE osc__DATATYPE_REPLACE__extra_fields_values ADD CONSTRAINT fk_osc__DATATYPE_REPLACE__extra_fields_values_epf_id FOREIGN KEY (epf_id) REFERENCES osc__DATATYPE_REPLACE__extra_fields (epf_id);
\ No newline at end of file
Added: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__to_categories.key.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__to_categories.key.sql (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__to_categories.key.sql 2012-04-18 06:32:06 UTC (rev 4259)
@@ -0,0 +1,19 @@
+--+######################################################################--+
+--| osCSS Open Source E-commerce |
+--+######################################################################--+
+--| Copyright (c) 2005-2011 The osCSS developers |
+--| |
+--| http://www.oscss.org |
+--| Portions Copyright (c) 2003 osCommerce |
+--+######################################################################--+
+--| This source file is subject to version 2.0 of the GPL license, |
+--| available at the following url: |
+--| http://www.oscss.org/ |
+--+######################################################################--+
+
+
+ALTER TABLE osc__DATATYPE_REPLACE__to_categories ADD INDEX idx__DATATYPE_REPLACE__to_categories (categories_id);
+ALTER TABLE osc__DATATYPE_REPLACE__to_categories ADD INDEX idx__DATATYPE_REPLACE__to_categories_lk (_DATATYPE_REPLACE__id);
+
+ALTER TABLE osc__DATATYPE_REPLACE__to_categories ADD CONSTRAINT fk__DATATYPE_REPLACE__to_categories FOREIGN KEY (categories_id) REFERENCES osc_categories (categories_id);
+ALTER TABLE osc__DATATYPE_REPLACE__to_categories ADD CONSTRAINT fk__DATATYPE_REPLACE__to_categories_lg FOREIGN KEY (_DATATYPE_REPLACE__id) REFERENCES osc__DATATYPE_REPLACE_ (_DATATYPE_REPLACE__id);
Added: trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/tables/osc__DATATYPE_REPLACE__to_customers.key.sql
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/sql/mysql/install/...
[truncated message content] |
|
From: <os...@us...> - 2012-04-21 16:32:06
|
Revision: 4295
http://oscss.svn.sourceforge.net/oscss/?rev=4295&view=rev
Author: oscim
Date: 2012-04-21 16:31:40 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
Mise a niveau de l'installateur du modele datatype et ajout elment de langue manquant
Modified Paths:
--------------
trunk/dev/GenerCode/datatype/Modele/install.xml
Added Paths:
-----------
trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/languages/fr_FR/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG_criteres.txt
Added: trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/languages/fr_FR/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG_criteres.txt
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/languages/fr_FR/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG_criteres.txt (rev 0)
+++ trunk/dev/GenerCode/datatype/Modele/catalog/admin/includes/languages/fr_FR/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG_criteres.txt 2012-04-21 16:31:40 UTC (rev 4295)
@@ -0,0 +1,17 @@
+<?php
+/**
+ @licence GPL 2005-_CURRENTYEAR_ The osCSS developers - osCSS Open Source E-commerce
+ @portion code Copyright (c) 2002 osCommerce
+ @package osCSS-2 <www http://www.oscss.org>
+ @version _CURRENTVERSION_
+ @date _CURRENTDATE_
+ @author genrated by GenerCode
+ @encode UTF-8
+ @sub-package _DATATYPE_REPLACE_SEOTAG_criteres
+*/
+$lang['acriteres title']="Critéres pour les _DATATYPE_REPLACE_ " ;
+$lang['acriteres description']="Ajoute la gestion des critéres de _DATATYPE_REPLACE_ par categories" ;
+$lang['acriteres tab']="Critéres" ;
+$lang['acriteres alert too many categories, only select one category to use this extension']="Pour activer les critéres sur ce _DATATYPE_REPLACE_, celui ci doit necessairement n'appartenir qu'a une seul categorie. Modifié vos categories et enregistrer vos modification afin d'acceder à ces options " ;
+$lang['category extra fields']="Ajuster les contenus des critéres" ;
+?>
\ No newline at end of file
Modified: trunk/dev/GenerCode/datatype/Modele/install.xml
===================================================================
--- trunk/dev/GenerCode/datatype/Modele/install.xml 2012-04-21 16:24:40 UTC (rev 4294)
+++ trunk/dev/GenerCode/datatype/Modele/install.xml 2012-04-21 16:31:40 UTC (rev 4295)
@@ -25,7 +25,9 @@
<file name="admin/includes/gabarit/_DATATYPE_REPLACE_s/display_view.inline.gab" />
<file name="admin/includes/gabarit/_DATATYPE_REPLACE_s/display_view.listing.gab" />
<file name="admin/includes/gabarit/_DATATYPE_REPLACE_s/display_view.new.gab" />
+
<file name="admin/includes/gabarit/_DATATYPE_REPLACE_s/_DATATYPE_REPLACE_SEOTAG__description/display_edit.edit.gab" />
+ <file name="admin/includes/gabarit/_DATATYPE_REPLACE_s/_DATATYPE_REPLACE_SEOTAG__criteres/display_edit.edit.gab" />
<!-- extra config -->
<file name="admin/includes/gabarit/configuration/mod_DATATYPE_REPLACE_extra/draw.delete.gab" />
<file name="admin/includes/gabarit/configuration/mod_DATATYPE_REPLACE_extra/draw.label.edit.gab" />
@@ -36,6 +38,7 @@
<file name="admin/includes/gabarit/configuration/mod_DATATYPE_REPLACE_extra/draw.value.edit.gab" />
<file name="admin/includes/gabarit/configuration/mod_DATATYPE_REPLACE_extra/draw.value.new.gab" />
+
<!-- datatype -->
<file name="common/classes/datatype_drivers/Data__DATATYPE_REPLACE_.php" />
@@ -47,6 +50,7 @@
<!-- Module -->
<file name="includes/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG__description.php" />
+ <file name="includes/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG__criteres.php" />
<file name="includes/modules/account/ac__DATATYPE_REPLACE_.php" />
<!-- template -->
@@ -65,8 +69,8 @@
<file name="admin/includes/languages/%LANGUAGE%/modules/pages/_DATATYPE_REPLACE_s.txt" lgref="fr_FR"/>
<file name="admin/includes/languages/%LANGUAGE%/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG__description.txt" lgref="fr_FR"/>
+ <file name="admin/includes/languages/%LANGUAGE%/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG__criteres.txt" lgref="fr_FR"/>
-
<file name="includes/languages/%LANGUAGE%/modules/_DATATYPE_REPLACE_/_DATATYPE_REPLACE_SEOTAG__description.txt" lgref="fr_FR"/>
<file name="includes/languages/%LANGUAGE%/modules/account/ac__DATATYPE_REPLACE_.txt" lgref="fr_FR"/>
</addfilelg>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|