Add view classes for articles, banners, languages, menu, newsletter, containers, shop categories, clients, payment methods, products, and search
- Created Articles.php for rendering article views including full articles, miniature lists, and news sections. - Added Banners.php for handling banner displays. - Introduced Languages.php for rendering language options. - Implemented Menu.php for dynamic menu rendering. - Developed Newsletter.php for newsletter view rendering. - Created Scontainers.php for rendering specific containers. - Added ShopCategory.php for category descriptions and product listings. - Introduced ShopClient.php for managing client-related views such as address editing and order history. - Implemented ShopPaymentMethod.php for displaying payment methods in the basket. - Created ShopProduct.php for generating product URLs. - Added ShopSearch.php for rendering a simple search form. - Added .htaccess file to enhance security by restricting access to sensitive files and directories.
This commit is contained in:
@@ -5,12 +5,6 @@ foreach ( $this -> apilo_carrier_account_list as $carrier_account )
|
||||
{
|
||||
$carrier_accounts[ $carrier_account['id'] ] = $carrier_account['name'];
|
||||
}
|
||||
// sellasist_shipments_methods
|
||||
$sellasist_shipments_methods = [];
|
||||
foreach ( $this -> sellasist_shipments_methods as $sellasist_shipments_method )
|
||||
{
|
||||
$sellasist_shipments_methods[ $sellasist_shipments_method['id'] ] = $sellasist_shipments_method['title'];
|
||||
}
|
||||
|
||||
$grid = new \grid( 'pp_shop_transports' );
|
||||
$grid -> gdb_opt = $gdb;
|
||||
@@ -67,12 +61,6 @@ $grid -> columns_view = [
|
||||
'th' => [ 'class' => 'g-center' ],
|
||||
'td' => [ 'class' => 'g-center' ],
|
||||
'replace' => [ 'array' => $carrier_accounts ],
|
||||
], [
|
||||
'name' => 'Typ kuriera Sellasist',
|
||||
'db' => 'sellasist_shipment_method_id',
|
||||
'th' => [ 'class' => 'g-center' ],
|
||||
'td' => [ 'class' => 'g-center' ],
|
||||
'replace' => [ 'array' => $sellasist_shipments_methods ],
|
||||
], [
|
||||
'name' => 'Edytuj',
|
||||
'action' => [ 'type' => 'edit', 'url' => '/admin/shop_transport/transport_edit/id=[id]' ],
|
||||
|
||||
Reference in New Issue
Block a user