|
From: <os...@us...> - 2012-07-13 13:23:50
|
Revision: 4516
http://oscss.svn.sourceforge.net/oscss/?rev=4516&view=rev
Author: oscim
Date: 2012-07-13 13:23:43 +0000 (Fri, 13 Jul 2012)
Log Message:
-----------
correction
Modified Paths:
--------------
trunk/catalog/admin/includes/modules/pages/navigation_links.php
Modified: trunk/catalog/admin/includes/modules/pages/navigation_links.php
===================================================================
--- trunk/catalog/admin/includes/modules/pages/navigation_links.php 2012-07-13 12:36:34 UTC (rev 4515)
+++ trunk/catalog/admin/includes/modules/pages/navigation_links.php 2012-07-13 13:23:43 UTC (rev 4516)
@@ -12,7 +12,7 @@
class navigation_links
extends ModTwo /// new abstract class for nextgen module
- implements
+ implements
InterfaceModule,
/*IntModTwo, */ /// new interface module for nextgen module
ExtModConfig {
@@ -77,7 +77,7 @@
/**
@remarks not load if not first init
*/
- if(!defined('JSONSTATMENT')){
+ if(!defined('JSONSTATMENT')){
if(self::$action =='' || self::$action =='listing')
//! active datatable in ajax, precise les GET necessaire
@@ -126,14 +126,14 @@
);
- self::$allfields['c.customers_status'] = array(
- 'sort'=>true,
- 'alias'=>'customers_status',
- 'text'=>__('@tasks table heading customers_status'),
- 'default'=>true,
+// self::$allfields['c.customers_status'] = array(
+// 'sort'=>true,
+// 'alias'=>'customers_status',
+// 'text'=>__('@tasks table heading customers_status'),
+// 'default'=>true,
+//
+// );
- );
-
/* Db parent */
self::$allfields['c.parent_id'] = array(
'sort'=>true,
@@ -522,6 +522,17 @@
foreach(self::$InitInfo['modele']['listing'] as $k=>$row)
if($k == 'action') $ord[$k]=self::ButtonRowsActions($item);
elseif($k == 'status') $ord[$k]=self::RowStatus($item);
+ elseif($k =='customers_status'){
+ $result = sqlstatus::fetch(array(
+ 'type'=>'customers_restrict_access',
+ 'language_id'=>(int)$languages_id,
+ 'status'=>1,
+ 'id'=> $item['customers_status'],
+ ),
+ true
+ );
+ $ord[$k]= (( $result !=false) ? $result->name : '' );
+ }
else $ord[$k]=$item[$k];
$res[]=$ord;
@@ -643,9 +654,9 @@
- /**
- @remarks implements InterfaceModule depend
- if module twin in backoffice, report all content install in the other module
+ /**
+ @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;}
@@ -654,7 +665,7 @@
/**
@fn check()
- @brief test if count all var , and keys is equal
+ @brief test if count all var , and keys is equal
@return boolean true/false
*/
function check() { return false; }
@@ -662,19 +673,19 @@
/**
@fn keys()
- @return array all key configuration define by this module
+ @return array all key configuration define by this module
*/
function keys() { return false; }
/**
@fn install()
- @brief add all configuration
- @note
+ @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
+ - 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)
*/
@@ -683,9 +694,9 @@
/**
@fn remove()
@brief delete all configuration
- @note
+ @note
- please, pefix all var configuration by 'MODULE_PAYMENT__MODTYPENAME_MAJ_'
- - if module twin in backoffice, report all content remove in the other module
+ - if module twin in backoffice, report all content remove in the other module
*/
function remove() { return false; }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|