// fix tpl folder detection in BO
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10327 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
c47131aa9f
commit
5b908a0844
3 files changed
+2
-2
No files matched your search
File renamed without changes.
+1
-1
@@ -1259,7 +1259,7 @@ class ToolsCore
|
|||||||
{
|
{
|
||||||
// 'CMSCategories' => 'cms_categories'
|
// 'CMSCategories' => 'cms_categories'
|
||||||
// 'RangePrice' => 'range_price'
|
// 'RangePrice' => 'range_price'
|
||||||
return strtolower(preg_replace('/([a-zA-Z])([A-Z][a-z])/', '$1_$2', $string));
|
return strtolower(trim(preg_replace('/([A-Z][a-z])/', '_$1', $string), '_'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getBrightness($hex)
|
public static function getBrightness($hex)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class AdminOrdersControllerCore extends AdminController
|
|||||||
'total_paid' => array('title' => $this->l('Total'), 'width' => 70, 'align' => 'right', 'prefix' => '<b>', 'suffix' => '</b>', 'type' => 'price', 'currency' => true),
|
'total_paid' => array('title' => $this->l('Total'), 'width' => 70, 'align' => 'right', 'prefix' => '<b>', 'suffix' => '</b>', 'type' => 'price', 'currency' => true),
|
||||||
'payment' => array('title' => $this->l('Payment'), 'width' => 100),
|
'payment' => array('title' => $this->l('Payment'), 'width' => 100),
|
||||||
'osname' => array('title' => $this->l('Status'), 'width' => 230, 'type' => 'select', 'list' => $statesArray, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int', 'width' => 200),
|
'osname' => array('title' => $this->l('Status'), 'width' => 230, 'type' => 'select', 'list' => $statesArray, 'filter_key' => 'os!id_order_state', 'filter_type' => 'int', 'width' => 200),
|
||||||
'date_add' => array('title' => $this->l('Date'), 'width' => 35, 'align' => 'right', 'type' => 'datetime', 'filter_key' => 'a!date_add'),
|
'date_add' => array('title' => $this->l('Date'), 'width' => 120, 'align' => 'right', 'type' => 'datetime', 'filter_key' => 'a!date_add'),
|
||||||
'id_pdf' => array('title' => $this->l('PDF'), 'width' => 35, 'align' => 'center', 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false));
|
'id_pdf' => array('title' => $this->l('PDF'), 'width' => 35, 'align' => 'center', 'callback' => 'printPDFIcons', 'orderby' => false, 'search' => false));
|
||||||
|
|
||||||
$this->shopLinkType = 'shop';
|
$this->shopLinkType = 'shop';
|
||||||
|
|||||||
Reference in new issue
Block a user