drg_cms 0.6.1.11 → 0.7.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +260 -0
  3. data/MIT-LICENSE +1 -1
  4. data/README.md +9 -5
  5. data/app/assets/javascripts/drg_cms/drg_cms.js +95 -34
  6. data/app/assets/javascripts/drg_cms/jquery.bpopup.js +372 -0
  7. data/app/assets/javascripts/drg_cms_application.js +1 -3
  8. data/app/assets/javascripts/drg_cms_cms.js +3 -4
  9. data/app/assets/stylesheets/drg_cms/drg_cms.css +37 -5
  10. data/app/assets/stylesheets/drg_cms/jstree.css +32 -27
  11. data/app/assets/stylesheets/drg_cms/select-multiple.css +6 -4
  12. data/app/controllers/cmsedit_controller.rb +22 -24
  13. data/app/controllers/dc_application_controller.rb +10 -9
  14. data/app/controllers/dc_common_controller.rb +14 -11
  15. data/app/controllers/dc_main_controller.rb +0 -1
  16. data/app/controls/dc_gallery_control.rb +46 -0
  17. data/app/controls/dc_image_control.rb +180 -0
  18. data/app/controls/dc_page_control.rb +3 -3
  19. data/app/controls/dc_poll_result_control.rb +7 -8
  20. data/app/controls/dc_report.rb +9 -4
  21. data/app/controls/design_element_settings_control.rb +88 -37
  22. data/app/forms/all_options.yml +18 -7
  23. data/app/forms/cms_menu.yml +10 -4
  24. data/app/forms/dc_category.yml +17 -8
  25. data/app/forms/dc_category_as_tree.yml +31 -0
  26. data/app/forms/dc_gallery.yml +1 -1
  27. data/app/forms/dc_image.yml +122 -0
  28. data/app/forms/dc_image_search.yml +72 -0
  29. data/app/forms/dc_page.yml +11 -8
  30. data/app/forms/dc_steps_template.yml +2 -1
  31. data/app/forms/help/dc_category_as_tree.en +4 -0
  32. data/app/forms/help/dc_category_as_tree.sl +5 -0
  33. data/app/helpers/cms_common_helper.rb +24 -16
  34. data/app/helpers/cms_edit_helper.rb +28 -35
  35. data/app/helpers/cms_helper.rb +21 -5
  36. data/app/helpers/cms_index_helper.rb +53 -38
  37. data/app/helpers/dc_application_helper.rb +95 -121
  38. data/app/helpers/dc_category_helper.rb +129 -0
  39. data/app/helpers/dc_image_helper.rb +127 -0
  40. data/app/models/concerns/dc_policy_rule_concern.rb +1 -1
  41. data/app/models/concerns/dc_user_concern.rb +12 -4
  42. data/app/models/dc_category.rb +62 -24
  43. data/app/models/dc_design.rb +5 -4
  44. data/app/models/dc_filter.rb +19 -18
  45. data/app/models/dc_image.rb +237 -0
  46. data/app/models/dc_internals.rb +5 -9
  47. data/app/models/dc_policy_role.rb +8 -8
  48. data/app/models/drgcms_form_fields/date_picker.rb +10 -12
  49. data/app/models/drgcms_form_fields/datetime_picker.rb +10 -11
  50. data/app/models/drgcms_form_fields/drgcms_field.rb +55 -30
  51. data/app/models/drgcms_form_fields/embedded.rb +11 -8
  52. data/app/models/drgcms_form_fields/journal_diff.rb +2 -2
  53. data/app/models/drgcms_form_fields/multitext_autocomplete.rb +51 -47
  54. data/app/models/drgcms_form_fields/select.rb +20 -14
  55. data/app/models/drgcms_form_fields/text_with_select.rb +5 -9
  56. data/app/models/drgcms_form_fields/tree_select.rb +20 -19
  57. data/app/renderers/dc_gallery_renderer.rb +10 -4
  58. data/app/renderers/dc_page_renderer.rb +7 -7
  59. data/app/renderers/dc_poll_renderer.rb +13 -12
  60. data/app/views/cmsedit/_edit_stuff.html.erb +1 -1
  61. data/app/views/cmsedit/edit.html.erb +1 -1
  62. data/app/views/cmsedit/index.html.erb +1 -1
  63. data/app/views/cmsedit/new.html.erb +1 -0
  64. data/app/views/layouts/content.html.erb +1 -1
  65. data/config/locales/drgcms_en.yml +16 -2
  66. data/config/locales/drgcms_sl.yml +15 -2
  67. data/config/locales/models_en.yml +33 -0
  68. data/config/locales/models_sl.yml +44 -1
  69. data/drg_cms.gemspec +3 -3
  70. data/lib/drg_cms/version.rb +1 -1
  71. data/lib/drg_cms.rb +19 -5
  72. data/lib/generators/convert_to_ar/USAGE +8 -0
  73. data/lib/generators/convert_to_ar/convert_to_ar_generator.rb +158 -0
  74. data/lib/tasks/dc_cleanup.rake +20 -42
  75. metadata +25 -14
  76. data/History.log +0 -109
  77. data/app/assets/javascripts/drg_cms/jquery.bpopup.min.js +0 -7
  78. data/app/views/layouts/__cmsedit.html.erb +0 -16
@@ -1,4 +1,3 @@
1
- #encoding: utf-8
2
1
  #--
3
2
  # Copyright (c) 2014+ Damjan Rems
4
3
  #
@@ -23,7 +22,7 @@
23
22
  #++
24
23
 
25
24
  ######################################################################
26
- # DrgcmsControls for editing settings in a document.
25
+ # DRG Controls for editing settings in a document.
27
26
  #
28
27
  # Parameters to settings call:
29
28
  # :location - model_name where settings document is located. Typicaly dc_page or dc_site.
@@ -40,33 +39,36 @@ module DesignElementSettingsControl
40
39
  # Return:
41
40
  # [document, data] : Mongoid document, yaml as String
42
41
  ######################################################################
43
- def get_settings()
44
- # On save. Set required variables
42
+ def get_settings
43
+ # On save. Set required variables
45
44
  if params[:record]
46
45
  params[:location] = params[:record][:dc_location]
47
46
  params[:field_name] = params[:record][:dc_field_name]
48
47
  params[:element] = params[:record][:dc_element]
49
48
  params[:id] = params[:record][:dc_document_id]
50
49
  end
51
- # Check model
50
+
51
+ # Check model
52
52
  begin
53
53
  model = params[:location].classify.constantize
54
54
  rescue
55
55
  flash[:error] = "Invalid or undefined model name! #{params[:location]}"
56
56
  return false
57
57
  end
58
- # Check fild name
58
+
59
+ # Check fild name
59
60
  begin
60
61
  document = model.find(params[:id])
61
62
  params[:field_name] ||= (params[:location] == 'dc_site' ? 'settings' : 'params')
62
- # field not defined on document
63
+ # field not defined on document
63
64
  raise unless document.respond_to?(params[:field_name])
64
65
  yaml = document[params[:field_name]] || ''
65
66
  rescue
66
67
  flash[:error] = 'Invalid or undefined field name!'
67
68
  return false
68
69
  end
69
- # Check data
70
+
71
+ # Check data
70
72
  begin
71
73
  data = YAML.load(yaml) || {}
72
74
  rescue
@@ -81,14 +83,12 @@ end
81
83
  #
82
84
  # Load fields on form with values from settings document.
83
85
  ######################################################################
84
- def dc_new_record()
86
+ def dc_new_record
85
87
  document, data = get_settings
86
- return false if document.class == FalseClass and data.nil?
87
- # fill values with settings values
88
- if data['settings'] and data['settings'][ params[:element] ]
89
- data['settings'][ params[:element] ].each { |key, value| @record.send("#{key}=", value) }
90
- end
91
- # add some fields required at post as hidden fields to form
88
+ return false if document.class == FalseClass
89
+
90
+ record_fill_with_values(data)
91
+ # add some fields required at post as hidden fields to form
92
92
  form = @form['form']['tabs'] ? @form['form']['tabs'].to_a.last : @form['form']['fields']
93
93
  form[9999] = {'type' => 'hidden_field', 'name' => 'dc_location', 'html' => {'value' => params[:location]}}
94
94
  form[9998] = {'type' => 'hidden_field', 'name' => 'dc_field_name'}
@@ -96,7 +96,6 @@ def dc_new_record()
96
96
  form[9997] = {'type' => 'hidden_field', 'name' => 'dc_element'}
97
97
  @record.dc_element = params[:element]
98
98
  form[9996] = {'type' => 'hidden_field', 'name' => 'dc_document_id', 'html' => {'value' => params[:id]}}
99
- true
100
99
  end
101
100
 
102
101
  ######################################################################
@@ -104,32 +103,84 @@ end
104
103
  #
105
104
  # Convert data from fields on form to yaml and save it to document settings field.
106
105
  ######################################################################
107
- def dc_before_save()
106
+ def dc_before_save
108
107
  document, data = get_settings
109
- return false if document.class == FalseClass and data.nil?
110
- #
111
- fields_on_form.each do |v|
112
- session[:form_processing] = v['name'] # for debuging
113
- next if v['type'].nil? or
114
- v['readonly'] # fields with readonly option don't return value and would be wiped
115
- # return value from form field definition
116
- value = DrgcmsFormFields.const_get(v['type'].camelize).get_data(params, v['name'])
117
- value = value.map {|e| e.to_s} if value.class == Array
118
- # set to nil if blank
119
- value = nil if value.blank?
120
- data['settings'] ||= {}
121
- data['settings'][ params[:element] ] ||= {}
122
- data['settings'][ params[:element] ][ v['name'] ] = value
123
- end
124
- # remove nil elements
125
- data['settings'][ params[:element] ].compact!
126
- # save data to document field
108
+ return false if document.class == FalseClass
109
+
110
+ field_fill_with_values(data)
127
111
  document.send("#{params[:field_name]}=", data.to_yaml)
112
+ # save to journal
113
+ params[:table] = params[:location] # for journal
114
+ save_journal(:update, document.changes)
128
115
  document.save
129
- # to re-set form again
116
+ params[:table] = 'dc_memory' # restore
117
+ # to re-set form again
130
118
  dc_new_record
131
119
  false # must be
132
120
  end
133
121
 
122
+ private
134
123
 
135
- end
124
+ ######################################################################
125
+ # Fill @record with values found in document hash field
126
+ ######################################################################
127
+ def record_fill_with_values(data)
128
+ # settings
129
+ if params[:element]
130
+ if data['settings'] && data['settings'][params[:element]]
131
+ data['settings'][params[:element]].each { |key, value| @record.send("#{key}=", value) }
132
+ end
133
+ else
134
+ # any field
135
+ fields_on_form.each do |field|
136
+ keys = field['key'] ? field['key'].split(/\.|\,|\;/) : [field['name']]
137
+ value = data.dig(*keys)
138
+ @record.send("#{field['name']}=", value)
139
+ end
140
+ end
141
+ end
142
+
143
+ ######################################################################
144
+ # Fill field with values entered on a form
145
+ ######################################################################
146
+ def field_fill_with_values(data)
147
+ fields_on_form.each do |field|
148
+ session[:form_processing] = field['name'] # for debuging
149
+ next if field['type'].nil? || field['readonly']
150
+
151
+ # return value from form field definition
152
+ value = DrgcmsFormFields.const_get(field['type'].camelize).get_data(params, field['name'])
153
+ value = value.map(&:to_s) if value.class == Array
154
+ # set to nil if blank
155
+ value = nil if value.blank?
156
+
157
+ keys = field['key'] ? field['key'].split(/\.|\,|\;/) : [field['name']]
158
+ if params[:element].present?
159
+ keys = ['settings', params[:element]] + keys
160
+ end
161
+
162
+ h = data
163
+ if value.blank?
164
+ # remove field from hash if empty
165
+ keys.each_with_index do |key, i|
166
+ if i + 1 == keys.size
167
+ h.delete(keys.last) if h
168
+ else
169
+ h = h[key]
170
+ end
171
+ break if h.nil?
172
+ end
173
+ # set hash element
174
+ else
175
+ keys.each_with_index do |key, i|
176
+ break if i + 1 == keys.size
177
+
178
+ h[key] = {} unless h.key?(key)
179
+ h = h[key]
180
+ end
181
+ h[keys.last] = value
182
+ end
183
+ end
184
+ end
185
+
186
+ end
@@ -10,6 +10,7 @@ controls: controls_file
10
10
  readonly: 1
11
11
  permissions:
12
12
  can_view: role_name
13
+ class: angular-like
13
14
 
14
15
  script: "
15
16
  javascript code
@@ -129,13 +130,16 @@ result_set:
129
130
  eval: dc_name4_value
130
131
 
131
132
  form:
132
- title:
133
- field: description
134
- height: 600
133
+ title: Title text
134
+ title:
135
+ field: field_name
135
136
  title:
136
- edit: Title for edit
137
- show: Title for show
138
- labels_pos: top
137
+ edit: Title text for edit
138
+ show: Title text for show
139
+
140
+ height: 600
141
+ labels_pos: top
142
+ multipart: true
139
143
 
140
144
  actions: standard
141
145
  actions: none
@@ -214,6 +218,7 @@ form:
214
218
  eval: "dc_choices4('model','description_field_name','_id',site: :with_nil)"
215
219
  eval: ModelName.choices4_site
216
220
  eval: dc_big_table 'key-name'
221
+ depend: field_on_form,another_field_on_form,and_so_on
217
222
  html:
218
223
  include_blank: true
219
224
  90:
@@ -274,12 +279,18 @@ form:
274
279
  html:
275
280
  height: 800
276
281
  20:
277
- name: odhod
282
+ name: time
278
283
  type: datetime_picker
284
+ step: 15
285
+ inline: true
279
286
  20:
280
287
  name: gender
281
288
  type: radio
282
289
  inline: true
290
+ 30:
291
+ name: galery
292
+ type: method
293
+ eval: show_gallery
283
294
 
284
295
  40:
285
296
  name: customer_id
@@ -37,12 +37,17 @@ menu:
37
37
  controller: cmsedit
38
38
  icon: web
39
39
  table: dc_design
40
- 30:
40
+ 30:
41
41
  caption: helpers.label.dc_page.tabletitle
42
42
  controller: cmsedit
43
43
  icon: description-o
44
44
  table: dc_page
45
- 50:
45
+ 40:
46
+ caption: helpers.label.dc_image.tabletitle
47
+ controller: cmsedit
48
+ icon: image-o
49
+ table: dc_image
50
+ 50:
46
51
  caption: helpers.label.dc_piece.tabletitle
47
52
  controller: cmsedit
48
53
  icon: extension-o
@@ -62,12 +67,13 @@ menu:
62
67
  controller: cmsedit
63
68
  icon: more_horiz-o
64
69
  table: dc_simple_menu
65
- 90:
70
+ 90:
66
71
  caption: helpers.label.dc_category.tabletitle
67
72
  controller: cmsedit
68
73
  icon: list
69
74
  table: dc_category
70
- 100:
75
+
76
+ 100:
71
77
  caption: helpers.label.dc_poll.tabletitle
72
78
  controller: cmsedit
73
79
  icon: poll-o
@@ -3,8 +3,17 @@
3
3
  table: dc_category
4
4
 
5
5
  index:
6
- filter: name, description, ctype, parent
7
- actions: standard
6
+ filter: name, description, dc_site_id, parent
7
+ actions:
8
+ 1: new
9
+ 2: filter
10
+ 10:
11
+ type: link
12
+ icon: account_tree-o
13
+ caption: drgcms.category_as_tree
14
+ table: dc_category
15
+ form_name: dc_category_as_tree
16
+ # controller: cmsedit
8
17
 
9
18
  result_set:
10
19
  actions:
@@ -36,13 +45,11 @@ form:
36
45
  10:
37
46
  name: name
38
47
  type: text_field
39
- html:
40
- size: 30
48
+ size: 30
41
49
  20:
42
50
  name: description
43
51
  type: text_field
44
- html:
45
- size: 100
52
+ size: 100
46
53
  30:
47
54
  name: ctype
48
55
  type: select
@@ -51,8 +58,7 @@ form:
51
58
  40:
52
59
  name: order
53
60
  type: text_field
54
- html:
55
- size: 5
61
+ size: 5
56
62
  50:
57
63
  name: dc_site_id
58
64
  type: select
@@ -65,4 +71,7 @@ form:
65
71
  eval: DcCategory.values_for_parent
66
72
  html:
67
73
  include_blank: true
74
+ 70:
75
+ name: active
76
+ type: check_box
68
77
 
@@ -0,0 +1,31 @@
1
+ ## YAML Template for page
2
+ ---
3
+ extend: dc_category
4
+
5
+ index:
6
+ actions:
7
+ 10: /
8
+
9
+ result_set:
10
+ type: method
11
+ eval: categories_as_tree
12
+
13
+ form:
14
+ actions:
15
+ standard: /
16
+ 1:
17
+ type: link
18
+ caption: drgcms.back
19
+ icon: arrow-back
20
+ form_name: dc_category_as_tree
21
+ table: dc_category
22
+ params:
23
+ ids:
24
+ object: params
25
+ method: ids
26
+
27
+ 10:
28
+ type: submit
29
+ caption: 'drgcms.save&back'
30
+ form_name: dc_category_as_tree
31
+ table: dc_category
@@ -1,7 +1,7 @@
1
1
  # Form for dc_gallery
2
2
  table: dc_gallery
3
3
  index:
4
- filter: id as text_field, doc_id as text_field
4
+ filter: doc_id as text_field
5
5
  actions: standard
6
6
 
7
7
  result_set:
@@ -0,0 +1,122 @@
1
+ # Form for dc_image
2
+ table: dc_image
3
+
4
+ index:
5
+ actions: standard
6
+
7
+ result_set:
8
+ actions: standard
9
+
10
+ # Choose from
11
+ # _id,created_at,updated_at,name,text,size_l,size_m,size_s,categories,created_by,dc_user_id
12
+ columns:
13
+ 10:
14
+ name: short
15
+ width: 20%
16
+ 20:
17
+ name: created_by
18
+ eval: dc_name4_id,dc_user,name
19
+ 30:
20
+ name: created_at
21
+ format: '%d.%m.%Y'
22
+ 40:
23
+ name: categories_line
24
+ width: 40%
25
+
26
+ form:
27
+ actions: standard
28
+ multipart: true
29
+
30
+ fields:
31
+ 10:
32
+ name: upload_file
33
+ type: file_field
34
+ group: 2
35
+ 20:
36
+ name: image
37
+ type: method
38
+ caption: ' '
39
+ eval: dc_image_preview
40
+ 30:
41
+ name: short
42
+ type: text_field
43
+ size: 50
44
+ 40:
45
+ name: text
46
+ type: text_area
47
+ size: 80x5
48
+ 50:
49
+ name: cats_input
50
+ type: text_area
51
+ size: 50x5
52
+ line: bottom
53
+ 60:
54
+ name: keep_original
55
+ type: check_box
56
+ 70:
57
+ name: size_o
58
+ type: readonly
59
+
60
+ 100:
61
+ name: size_ls
62
+ type: text_with_select
63
+ eval: dc_image_choices_for_image_size
64
+ size: 8
65
+ group: 3
66
+ 110:
67
+ name: size_ms
68
+ type: text_with_select
69
+ eval: dc_image_choices_for_image_size
70
+ size: 8
71
+ 120:
72
+ name: size_ss
73
+ type: text_with_select
74
+ eval: dc_image_choices_for_image_size
75
+ size: 8
76
+ 210:
77
+ name: offset_lx
78
+ type: text_field
79
+ help: helpers.help.dc_image.offset
80
+ size: 3
81
+ group: 3
82
+ 220:
83
+ name: offset_mx
84
+ type: text_field
85
+ help: helpers.help.dc_image.offset
86
+ size: 3
87
+ 230:
88
+ name: offset_sx
89
+ type: text_field
90
+ help: helpers.help.dc_image.offset
91
+ size: 3
92
+
93
+ 310:
94
+ name: offset_ly
95
+ type: text_field
96
+ help: helpers.help.dc_image.offset
97
+ size: 3
98
+ group: 3
99
+ 320:
100
+ name: offset_my
101
+ type: text_field
102
+ help: helpers.help.dc_image.offset
103
+ size: 3
104
+ 330:
105
+ name: offset_sy
106
+ type: text_field
107
+ help: helpers.help.dc_image.offset
108
+ size: 3
109
+
110
+ 410:
111
+ name: preview_l
112
+ type: method
113
+ group: 3
114
+ eval: dc_image_preview_resized
115
+ 420:
116
+ name: preview_m
117
+ type: method
118
+ eval: dc_image_preview_resized
119
+ 430:
120
+ name: preview_s
121
+ type: method
122
+ eval: dc_image_preview_resized
@@ -0,0 +1,72 @@
1
+ # Form for dc_image search
2
+ table: dc_image
3
+ title: drgcms.dc_image.search
4
+
5
+ index:
6
+ actions:
7
+ 1: close
8
+ 2:
9
+ type: window
10
+ action: new
11
+ icon: plus
12
+ caption: drgcms.new
13
+ table: dc_image
14
+ params:
15
+ window_close: 0
16
+ 3:
17
+ type: ajax
18
+ action: run
19
+ icon: search
20
+ caption: drgcms.search
21
+ method: post
22
+ control: dc_image.images_search
23
+ params:
24
+ field_name:
25
+ object: params
26
+ method: field_name
27
+
28
+ 10:
29
+ type: field
30
+ name: short
31
+ field_type: text_field
32
+ size: 20
33
+
34
+ 20:
35
+ type: field
36
+ name: categories
37
+ field_type: text_field
38
+ size: 40
39
+
40
+ 30:
41
+ type: field
42
+ caption: user
43
+ name: created_by
44
+ field_type: select
45
+ eval: DcImage.all_users
46
+ html:
47
+ include_blank: true
48
+
49
+ result_set:
50
+ filter: search_filter
51
+ actions: false
52
+
53
+ # Choose from
54
+ # _id,created_at,updated_at,name,text,size_l,size_m,size_s,categories,created_by,dc_user_id
55
+ columns:
56
+ 10:
57
+ name: preview
58
+ eval: dc_image_first
59
+ caption: drgcms.dc_image.image
60
+ width: 20%
61
+ 20:
62
+ name: short
63
+ 30:
64
+ name: links
65
+ eval: dc_image_select_links
66
+ caption: drgcms.dc_image.available
67
+
68
+ css: "
69
+ .img-link {padding: 2px 4px; margin-right: 1rem; background-color: #ddd; border-bottom: 3px solid #222;}
70
+ .dc-image-preview img {max-height: 3rem;}
71
+ .img-link i:hover {color: #2C8EFF; cursor: pointer;}
72
+ "
@@ -58,7 +58,8 @@ form:
58
58
 
59
59
  70:
60
60
  name: publish_date
61
- type: datetime_select
61
+ type: datetime_picker
62
+ step: 15
62
63
 
63
64
  80:
64
65
  name: picture
@@ -69,14 +70,14 @@ form:
69
70
  type: check_box
70
71
  100:
71
72
  name: valid_from
72
- type: datetime_select
73
- options:
74
- include_blank: true
73
+ type: datetime_picker
74
+ step: 15
75
+
75
76
  110:
76
77
  name: valid_to
77
- type: datetime_select
78
- options:
79
- include_blank: true
78
+ type: datetime_picker
79
+ step: 15
80
+
80
81
  # 120:
81
82
  # name: kats
82
83
  # type: select
@@ -96,7 +97,9 @@ form:
96
97
  10:
97
98
  name: dc_design_id
98
99
  type: select
99
- eval: DcDesign.choices4_design(@parent.dc_get_site)
100
+ # eval: DcDesign.choices4_design(@parent.dc_get_site)
101
+ eval: DcDesign.choices4_design
102
+ depend: dc_site_id
100
103
  html:
101
104
  include_blank: true
102
105
  15:
@@ -6,13 +6,14 @@ form:
6
6
  type: ajax
7
7
  caption: drgcms.cancel
8
8
  icon: cancel
9
- method: post
10
9
  form_name: x
11
10
  action: run
12
11
  control: x.steps_cancel
13
12
  params:
14
13
  step: x
15
14
  next_step: x
15
+ html:
16
+ data-validate: false
16
17
 
17
18
  10:
18
19
  type: ajax
@@ -0,0 +1,4 @@
1
+ ---
2
+ index: "<p>Updates categories in a Tree view. For edit menu click right mouse button
3
+ over selected category.</p>\r\n"
4
+ form: ''
@@ -0,0 +1,5 @@
1
+ ---
2
+ index: "<p>Urejanje kategorij v drevesnem pogledu. Poi&scaron;čite va&scaron;o kategorijo
3
+ in kliknite desni gumb na mi&scaron;ki za menu.</p>\r\n"
4
+ form: "<p>Urejanje kategorij v drevesnem pogledu. Poi&scaron;čite va&scaron;o kategorijo
5
+ in kliknite desni gumb na mi&scaron;ki za menu.</p>\r\n"