1 |
198 |
ahitrov |
package webshop::DeliverySection; |
2 |
|
|
|
3 |
|
|
use Contenido::Section; |
4 |
|
|
@ISA = ('Contenido::Section'); |
5 |
|
|
|
6 |
|
|
sub extra_properties |
7 |
|
|
{ |
8 |
|
|
return ( |
9 |
|
|
{ 'attr' => 'brief', 'type' => 'text', 'rusname' => 'Описание секции' }, |
10 |
|
|
{ 'attr' => 'default_document_class', 'default' => 'webshop::Delivery' }, |
11 |
|
|
{ 'attr' => '_sorted', 'default' => 1 }, |
12 |
|
|
{ 'attr' => 'filters', 'hidden' => 1 }, |
13 |
|
|
{ 'attr' => 'order_by', 'hidden' => 1 }, |
14 |
|
|
) |
15 |
|
|
} |
16 |
|
|
|
17 |
|
|
sub class_name |
18 |
|
|
{ |
19 |
|
|
return 'Cпособы доставки'; |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
sub class_description |
23 |
|
|
{ |
24 |
|
|
return 'Cпособы доставки'; |
25 |
|
|
} |
26 |
|
|
|
27 |
|
|
1; |