drg_cms 0.5.52.12 → 0.5.52.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/assets/javascripts/drg_cms/drg_cms.js +17 -2
- data/app/assets/stylesheets/drg_cms/drg_cms.css +16 -3
- data/app/assets/stylesheets/drg_cms/select-multiple.css +1 -1
- data/app/controllers/cmsedit_controller.rb +56 -16
- data/app/controllers/dc_application_controller.rb +83 -1
- data/app/controllers/dc_common_controller.rb +2 -52
- data/app/forms/all_options.yml +27 -4
- data/app/forms/cms_menu.yml +5 -0
- data/app/forms/dc_gallery.yml +53 -0
- data/app/forms/dc_link.yml +16 -10
- data/app/forms/dc_menu_item.yml +5 -0
- data/app/forms/dc_page.yml +1 -2
- data/app/forms/dc_removed_url.yml +42 -0
- data/app/helpers/cmsedit_helper.rb +63 -22
- data/app/helpers/dc_application_helper.rb +35 -11
- data/app/helpers/dc_gallery_renderer.rb +94 -0
- data/app/helpers/dc_page_renderer.rb +20 -3
- data/app/helpers/dc_poll_renderer.rb +6 -7
- data/app/models/concerns/dc_page_concern.rb +1 -1
- data/app/models/dc_filter.rb +15 -7
- data/app/models/dc_gallery.rb +64 -0
- data/app/models/dc_link.rb +1 -0
- data/app/models/dc_memory.rb +19 -4
- data/app/models/dc_page.rb +1 -1
- data/app/models/dc_removed_url.rb +54 -0
- data/app/models/drgcms_form_fields.rb +5 -1649
- data/app/models/drgcms_form_fields/check_box.rb +69 -0
- data/app/models/drgcms_form_fields/comment.rb +49 -0
- data/app/models/drgcms_form_fields/date_picker.rb +102 -0
- data/app/models/drgcms_form_fields/date_select.rb +68 -0
- data/app/models/drgcms_form_fields/date_time_picker.rb +87 -0
- data/app/models/drgcms_form_fields/datetime_select.rb +73 -0
- data/app/models/drgcms_form_fields/drgcms_field.rb +241 -0
- data/app/models/drgcms_form_fields/drgcms_form_fields.rb +25 -0
- data/app/models/drgcms_form_fields/embedded.rb +84 -0
- data/app/models/drgcms_form_fields/file_select.rb +70 -0
- data/app/models/drgcms_form_fields/hidden_field.rb +52 -0
- data/app/models/drgcms_form_fields/html_field.rb +70 -0
- data/app/models/drgcms_form_fields/journal_diff.rb +60 -0
- data/app/models/drgcms_form_fields/link_to.rb +69 -0
- data/app/models/drgcms_form_fields/multitext_autocomplete.rb +195 -0
- data/app/models/drgcms_form_fields/number_field.rb +83 -0
- data/app/models/drgcms_form_fields/password_field.rb +62 -0
- data/app/models/drgcms_form_fields/readonly.rb +79 -0
- data/app/models/drgcms_form_fields/select.rb +164 -0
- data/app/models/drgcms_form_fields/submit_tag.rb +58 -0
- data/app/models/drgcms_form_fields/text_area.rb +68 -0
- data/app/models/drgcms_form_fields/text_autocomplete.rb +143 -0
- data/app/models/drgcms_form_fields/text_field.rb +56 -0
- data/app/models/drgcms_form_fields/text_with_select.rb +92 -0
- data/app/models/drgcms_form_fields/tree_select.rb +150 -0
- data/config/locales/drgcms_en.yml +1 -0
- data/config/locales/drgcms_sl.yml +2 -1
- data/config/locales/models_en.yml +42 -6
- data/config/locales/models_sl.yml +38 -3
- data/lib/drg_cms.rb +1 -1
- data/lib/drg_cms/version.rb +1 -1
- data/lib/tasks/dc_cleanup.rake +1 -1
- metadata +33 -4
@@ -0,0 +1,56 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright (c) 2012+ Damjan Rems
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
+
# a copy of this software and associated documentation files (the
|
6
|
+
# "Software"), to deal in the Software without restriction, including
|
7
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
+
# the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be
|
13
|
+
# included in all copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
#++
|
23
|
+
module DrgcmsFormFields
|
24
|
+
|
25
|
+
###########################################################################
|
26
|
+
# Implementation of text_field DRG CMS form field.
|
27
|
+
#
|
28
|
+
# ===Form options:
|
29
|
+
# * +type:+ text_field (required)
|
30
|
+
# * +name:+ Field name (required)
|
31
|
+
# * +html:+ html options which apply to text_field field (optional)
|
32
|
+
#
|
33
|
+
# Form example:
|
34
|
+
# 10:
|
35
|
+
# name: title
|
36
|
+
# type: text_field
|
37
|
+
# size: 30
|
38
|
+
# html:
|
39
|
+
# required: yes
|
40
|
+
###########################################################################
|
41
|
+
class TextField < DrgcmsField
|
42
|
+
|
43
|
+
###########################################################################
|
44
|
+
# Render text_field field html code
|
45
|
+
###########################################################################
|
46
|
+
def render
|
47
|
+
return ro_standard if @readonly
|
48
|
+
set_initial_value
|
49
|
+
#
|
50
|
+
record = record_text_for(@yaml['name'])
|
51
|
+
@html << @parent.text_field( record, @yaml['name'], @yaml['html'])
|
52
|
+
self
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright (c) 2012+ Damjan Rems
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
+
# a copy of this software and associated documentation files (the
|
6
|
+
# "Software"), to deal in the Software without restriction, including
|
7
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
+
# the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be
|
13
|
+
# included in all copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
#++
|
23
|
+
module DrgcmsFormFields
|
24
|
+
|
25
|
+
###########################################################################
|
26
|
+
# Implementation of text_with_select DRG CMS form field. Field will provide
|
27
|
+
# text_field entry field with select dropdown box with optional values for the field.
|
28
|
+
# Form options are mostly same as in select field.
|
29
|
+
#
|
30
|
+
# ===Form options:
|
31
|
+
# * +name:+ field name (required)
|
32
|
+
# * +type:+ text_with_select (required)
|
33
|
+
# * +choices:+ Values for choices separated by comma. Values can also be specified like description:value.
|
34
|
+
# In this case description will be shown to user, but value will be saved to document.
|
35
|
+
# choices: 'OK:0,Ready:1,Error:2'
|
36
|
+
# choices: Ruby,Pyton,PHP
|
37
|
+
# * +eval:+ Choices will be provided by evaluating expression
|
38
|
+
# eval: dc_choices4('model_name','description_field_name','_id'); dc_choices4 helper will provide data for select field.
|
39
|
+
# eval: ModelName.choices4_field; ModelName class will define method choices4_field which
|
40
|
+
# will provide data for select field. Since expression is evaluated in the context of Form Field object
|
41
|
+
# Even session session variables can be accessed.
|
42
|
+
# eval: 'MyClass.method(@parent.session[:user_id])'
|
43
|
+
# When searching is more complex custom search method may be defined in CollectionName
|
44
|
+
# model which will provide result set for search.
|
45
|
+
# eval: collection_name.search_field_name.method_name;
|
46
|
+
# If choices or eval is not defined choices will be provided from translation helpers. For example:
|
47
|
+
# Collection has field status. Choices for field will be provided by en.helpers.model_name.choices4_status
|
48
|
+
# entry of english translation. English is of course default translation. If you provide translations in
|
49
|
+
# your local language then select choices will be localized.
|
50
|
+
# en.helpers.model_name.choices4_status: 'OK:0,Ready:1,Error:2'
|
51
|
+
# sl.helpers.model_name.choices4_status: 'V redu:0,Pripravljen:1,Napaka:2'
|
52
|
+
# * +html:+ html options which apply to select and text_field fields (optional)
|
53
|
+
#
|
54
|
+
# Form example:
|
55
|
+
# 10:
|
56
|
+
# name: link
|
57
|
+
# type: text_with_select
|
58
|
+
# eval: '@parent.dc_page_class.all_pages_for_site(@parent.dc_get_site)'
|
59
|
+
# html:
|
60
|
+
# size: 50
|
61
|
+
###########################################################################
|
62
|
+
class TextWithSelect < Select
|
63
|
+
|
64
|
+
###########################################################################
|
65
|
+
# Render text_with_select field html code
|
66
|
+
###########################################################################
|
67
|
+
def render
|
68
|
+
return ro_standard if @readonly
|
69
|
+
set_initial_value('html','value')
|
70
|
+
|
71
|
+
record = record_text_for(@yaml['name'])
|
72
|
+
@html << @parent.text_field( record, @yaml['name'], @yaml['html'])
|
73
|
+
@yaml['html']['class'] = 'text-with-select'
|
74
|
+
@yaml['html'].symbolize_keys!
|
75
|
+
@html << @parent.select( @yaml['name'] + '_', nil, get_choices, { include_blank: true }, { class: 'text-with-select' })
|
76
|
+
|
77
|
+
# javascript to update text field if new value is selected in select field
|
78
|
+
@js =<<EOJS
|
79
|
+
$(document).ready(function() {
|
80
|
+
$('##{@yaml['name']}_').change( function() {
|
81
|
+
if ($(this).val().toString().length > 0) {
|
82
|
+
$('##{record}_#{@yaml['name']}').val( $(this).val() );
|
83
|
+
}
|
84
|
+
$('##{record}_#{@yaml['name']}').focus();
|
85
|
+
});
|
86
|
+
});
|
87
|
+
EOJS
|
88
|
+
self
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,150 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright (c) 2012+ Damjan Rems
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
+
# a copy of this software and associated documentation files (the
|
6
|
+
# "Software"), to deal in the Software without restriction, including
|
7
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
+
# the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be
|
13
|
+
# included in all copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
#++
|
23
|
+
module DrgcmsFormFields
|
24
|
+
|
25
|
+
###########################################################################
|
26
|
+
# Implementation of tree_select DRG CMS form field. Field will provides
|
27
|
+
# multiple select functionality displayed as a tree. Might be used for selecting
|
28
|
+
# multiple categories in a parent-child tree view.#
|
29
|
+
#
|
30
|
+
# ===Form options:
|
31
|
+
# * +name:+ field name (required)
|
32
|
+
# * +type:+ tree_select (required)
|
33
|
+
# * +choices:+ Values for choices separated by comma. Values can also be specified like description:value.
|
34
|
+
# In this case description will be shown to user, but value will be saved to document.
|
35
|
+
# choices: 'OK:0,Ready:1,Error:2'
|
36
|
+
# choices: Ruby,Pyton,PHP
|
37
|
+
# * +eval:+ Choices will be provided by evaluating expression
|
38
|
+
# eval: ModelName.choices4_field; Model class should define method which will provide data for field.
|
39
|
+
# Data returned must be of type Array and have 3 elements.
|
40
|
+
# 1 - description text
|
41
|
+
# 2 - id value
|
42
|
+
# 3 - parent id
|
43
|
+
# * +html:+ html options which apply to select and text_field fields (optional)
|
44
|
+
#
|
45
|
+
# Form example:
|
46
|
+
# 10:
|
47
|
+
# name: categories
|
48
|
+
# type: tree_select
|
49
|
+
# eval: 'Categories.all_categories'
|
50
|
+
# html:
|
51
|
+
# size: 50x10
|
52
|
+
###########################################################################
|
53
|
+
class TreeSelect < Select
|
54
|
+
|
55
|
+
###########################################################################
|
56
|
+
# Prepare choices for tree data rendering.
|
57
|
+
###########################################################################
|
58
|
+
def make_tree(parent)
|
59
|
+
return '' unless @choices[parent.to_s]
|
60
|
+
@html << '<ul>'
|
61
|
+
choices = if @choices[parent.to_s].first[3] != 0
|
62
|
+
@choices[parent.to_s].sort_by {|e| e[3].to_i } # sort by order if first is not 0
|
63
|
+
# @choices[parent.to_s].sort_alphabetical_by(&:first) # use UTF-8 sort
|
64
|
+
else
|
65
|
+
@choices[parent.to_s].sort_alphabetical_by(&:first) # use UTF-8 sort
|
66
|
+
end
|
67
|
+
choices.each do |choice|
|
68
|
+
jstree = %Q[{"selected" : #{choice.last ? 'true' : 'false'} }]
|
69
|
+
# data-jstree must be singe quoted
|
70
|
+
@html << %Q[<li data-id="#{choice[1]}" data-jstree='#{jstree}'>#{choice.first}\n]
|
71
|
+
# call recursively for children
|
72
|
+
make_tree(choice[1]) if @choices[ choice[1].to_s ]
|
73
|
+
@html << "</li>"
|
74
|
+
end
|
75
|
+
@html << '</ul>'
|
76
|
+
end
|
77
|
+
|
78
|
+
###########################################################################
|
79
|
+
# Render tree_select field html code
|
80
|
+
###########################################################################
|
81
|
+
def render
|
82
|
+
return ro_standard if @readonly
|
83
|
+
set_initial_value('html','value')
|
84
|
+
require 'sort_alphabetical'
|
85
|
+
|
86
|
+
record = record_text_for(@yaml['name'])
|
87
|
+
@html << "<div id=\"#{@yaml['name']}\" class=\"tree-select\" #{set_style()} >"
|
88
|
+
# Fill @choices hash. The key is parent object id
|
89
|
+
@choices = {}
|
90
|
+
do_eval(@yaml['eval']).each {|data| @choices[ data[2].to_s ] ||= []; @choices[ data[2].to_s ] << (data << false)}
|
91
|
+
# put current values hash with. To speed up selection when there is a lot of categories
|
92
|
+
current_values = {}
|
93
|
+
current = @record[@yaml['name']] || []
|
94
|
+
current = [current] unless current.class == Array # non array fields
|
95
|
+
current.each {|e| current_values[e.to_s] = true}
|
96
|
+
# set third element of @choices when selected
|
97
|
+
@choices.keys.each do |key|
|
98
|
+
0.upto( @choices[key].size - 1 ) do |i|
|
99
|
+
choice = @choices[key][i]
|
100
|
+
choice[choice.size - 1] = true if current_values[ choice[1].to_s ]
|
101
|
+
end
|
102
|
+
end
|
103
|
+
make_tree(nil)
|
104
|
+
@html << '</ul></div>'
|
105
|
+
# add hidden communication field
|
106
|
+
@html << @parent.hidden_field(record, @yaml['name'], value: current.join(','))
|
107
|
+
# save multiple indicator for data processing on return
|
108
|
+
@html << @parent.hidden_field(record, "#{@yaml['name']}_multiple", value: 1) if @yaml['multiple']
|
109
|
+
# javascript to update hidden record field when tree looses focus
|
110
|
+
@js =<<EOJS
|
111
|
+
$(function(){
|
112
|
+
$("##{@yaml['name']}").jstree( {
|
113
|
+
"checkbox" : {"three_state" : false},
|
114
|
+
"core" : { "themes" : { "icons": false },
|
115
|
+
"multiple" : #{@yaml['multiple'] ? 'true' : 'false'} },
|
116
|
+
"plugins" : ["checkbox"]
|
117
|
+
});
|
118
|
+
});
|
119
|
+
|
120
|
+
$(document).ready(function() {
|
121
|
+
$('##{@yaml['name']}').on('focusout', function(e) {
|
122
|
+
var checked_ids = [];
|
123
|
+
var checked = $('##{@yaml['name']}').jstree("get_checked", true);
|
124
|
+
$.each(checked, function() {
|
125
|
+
checked_ids.push( this.data.id );
|
126
|
+
});
|
127
|
+
$('#record_#{@yaml['name']}').val( checked_ids.join(",") );
|
128
|
+
});
|
129
|
+
});
|
130
|
+
EOJS
|
131
|
+
self
|
132
|
+
end
|
133
|
+
|
134
|
+
###########################################################################
|
135
|
+
# Return value. Return nil if input field is empty
|
136
|
+
###########################################################################
|
137
|
+
def self.get_data(params, name)
|
138
|
+
return nil if params['record'][name].blank?
|
139
|
+
#
|
140
|
+
result = params['record'][name].split(',')
|
141
|
+
result.delete_if {|e| e.blank? }
|
142
|
+
return nil if result.size == 0
|
143
|
+
# convert to BSON objects if is BSON object ID
|
144
|
+
result = result.map{ |e| BSON::ObjectId.from_string(e) } if BSON::ObjectId.legal?(result.first)
|
145
|
+
# return only first element if multiple values select was not alowed
|
146
|
+
params['record']["#{name}_multiple"] == '1' ? result : result.first
|
147
|
+
end
|
148
|
+
|
149
|
+
end
|
150
|
+
end
|
@@ -67,6 +67,7 @@ sl:
|
|
67
67
|
new: Dodaj
|
68
68
|
sort: Razvrsti
|
69
69
|
filter: Filter
|
70
|
+
refresh: Osveži
|
70
71
|
back: Nazaj
|
71
72
|
delete: Izbris
|
72
73
|
enable: Omogoči
|
@@ -101,4 +102,4 @@ sl:
|
|
101
102
|
restore: Restavriraj
|
102
103
|
|
103
104
|
filters:
|
104
|
-
this_site_only: Dokumenti samo
|
105
|
+
this_site_only: Dokumenti samo trenutno izbrane strani
|
@@ -260,7 +260,7 @@ en:
|
|
260
260
|
title: Browser title
|
261
261
|
sub_subject: Sub subject
|
262
262
|
picture: Picture
|
263
|
-
gallery: Gallery
|
263
|
+
gallery: Gallery
|
264
264
|
alt_link: Alt link
|
265
265
|
css: CSS
|
266
266
|
script: Skript
|
@@ -276,10 +276,10 @@ en:
|
|
276
276
|
active: Active
|
277
277
|
dc_parts: Parts
|
278
278
|
policy_id: Access policy
|
279
|
+
dc_site_id: Site
|
279
280
|
dc_design_id: Design
|
280
281
|
dc_poll_id: Poll
|
281
282
|
kats: Categories
|
282
|
-
gallery: Gallery name
|
283
283
|
updated_at: Updated
|
284
284
|
if_url: URL
|
285
285
|
if_width: Width
|
@@ -393,6 +393,7 @@ en:
|
|
393
393
|
|
394
394
|
name: Link name
|
395
395
|
params: Parameters
|
396
|
+
redirect: Redirect
|
396
397
|
dc_site_id: Valid for site
|
397
398
|
page_id: Link to page
|
398
399
|
active: Active
|
@@ -466,7 +467,7 @@ en:
|
|
466
467
|
|
467
468
|
value: Value
|
468
469
|
description: Value description
|
469
|
-
|
470
|
+
dc_big_table_locales: Locales
|
470
471
|
active: Active
|
471
472
|
|
472
473
|
dc_big_table_locale:
|
@@ -516,6 +517,27 @@ en:
|
|
516
517
|
fields: General
|
517
518
|
ztab: Advanced
|
518
519
|
dc_element: Element name
|
520
|
+
|
521
|
+
dc_removed_url:
|
522
|
+
tabletitle: URLs removed from site
|
523
|
+
|
524
|
+
url: URL
|
525
|
+
description: Description
|
526
|
+
dc_site_id: Site
|
527
|
+
updated_at: Updated
|
528
|
+
|
529
|
+
dc_gallery:
|
530
|
+
tabletitle: Picture gallery documents
|
531
|
+
|
532
|
+
title: Title
|
533
|
+
description: Description
|
534
|
+
picture: Big picture
|
535
|
+
thumbnail: Small picture
|
536
|
+
doc_id: Document
|
537
|
+
order: Order
|
538
|
+
active: Active
|
539
|
+
created_at: Created
|
540
|
+
|
519
541
|
|
520
542
|
# help for forms #####################################################
|
521
543
|
|
@@ -695,7 +717,7 @@ en:
|
|
695
717
|
title: Browser title. Optimization for SEO.
|
696
718
|
sub_subject: Sub subject, short description of text
|
697
719
|
picture: Picture used in conjunction with page
|
698
|
-
gallery: Picture gallery id used with page
|
720
|
+
gallery: Picture gallery id used with page
|
699
721
|
alt_link: Alternative link, by which page could be found
|
700
722
|
css: CSS only for this menu page
|
701
723
|
script: Javascript only for this page
|
@@ -710,10 +732,10 @@ en:
|
|
710
732
|
active: Page is active
|
711
733
|
dc_parts: Parts of the article
|
712
734
|
policy_id: Access policy for the page
|
735
|
+
dc_site_id: The page belongs to one site only
|
713
736
|
dc_design_id: Design used for rendering page
|
714
737
|
dc_poll_id: Select poll, if poll is to be used with page
|
715
738
|
kats: Categories for this article
|
716
|
-
gallery: Gallery pictures are defined in parts of page. Value defines name of parts which hold data about pictures in gallary.
|
717
739
|
body: Content of this page
|
718
740
|
if_url: URL adress of page which will be loaded into IFrame
|
719
741
|
if_width: IFrame area width
|
@@ -801,6 +823,7 @@ en:
|
|
801
823
|
dc_link:
|
802
824
|
name: Link name ex. homepage
|
803
825
|
params: Aditional parameters passed to document renderer
|
826
|
+
redirect: Redirect to another link
|
804
827
|
page_id: Page redirected to by this shortcut link
|
805
828
|
dc_site_id: Link is valid for site
|
806
829
|
active: Link is active
|
@@ -886,4 +909,17 @@ en:
|
|
886
909
|
filter: Filter definition in YAML
|
887
910
|
public: Filter is available to all users
|
888
911
|
sort: Default sort when selecting filter
|
889
|
-
|
912
|
+
|
913
|
+
dc_removed_url:
|
914
|
+
url: URL which was removed from site
|
915
|
+
description: Reason why was URL removed
|
916
|
+
dc_site_id: Site that URL belongs to
|
917
|
+
|
918
|
+
dc_gallery:
|
919
|
+
title: Picture title
|
920
|
+
description: Description of picture
|
921
|
+
picture: Big picture file name
|
922
|
+
thumbnail: Small picture file name
|
923
|
+
doc_id: Document associated with gallery
|
924
|
+
order: Order
|
925
|
+
active: Document is active
|
@@ -288,7 +288,6 @@ sl:
|
|
288
288
|
title: Naslov za brskalnik
|
289
289
|
sub_subject: Povzetek
|
290
290
|
picture: Slika
|
291
|
-
gallery: Id galerije
|
292
291
|
alt_link: Alt povezava
|
293
292
|
css: CSS
|
294
293
|
script: Skript
|
@@ -397,6 +396,7 @@ sl:
|
|
397
396
|
|
398
397
|
name: Ime povezave
|
399
398
|
params: Parametri
|
399
|
+
redirect: prevezava
|
400
400
|
page_id: Stran za prikaz
|
401
401
|
dc_site_id: Spletišče
|
402
402
|
active: Aktiven
|
@@ -515,11 +515,32 @@ sl:
|
|
515
515
|
filter: Vsebina filtra
|
516
516
|
public: Je javen
|
517
517
|
sort: Privzeto razvrsti
|
518
|
+
|
518
519
|
|
519
520
|
dc_memory:
|
520
521
|
fields: Splošno
|
521
522
|
ztab: Napredno
|
522
523
|
dc_element: Ime elementa
|
524
|
+
|
525
|
+
dc_removed_url:
|
526
|
+
tabletitle: Nektivni URL naslovi
|
527
|
+
|
528
|
+
url: URL naslov
|
529
|
+
description: Razlog umika
|
530
|
+
dc_site_id: Spletišče
|
531
|
+
updated_at: Spremenjeno
|
532
|
+
|
533
|
+
dc_gallery:
|
534
|
+
tabletitle: Tabela slikovne galerije
|
535
|
+
|
536
|
+
title: Naslov
|
537
|
+
description: Opis
|
538
|
+
picture: Velika slika
|
539
|
+
thumbnail: Mala slika
|
540
|
+
doc_id: Dokument
|
541
|
+
order: Zaporedje
|
542
|
+
active: Aktiven
|
543
|
+
created_at: Ustvarjeno
|
523
544
|
|
524
545
|
# help pomoč na obrazcih ####################################################
|
525
546
|
|
@@ -722,7 +743,7 @@ sl:
|
|
722
743
|
title: Naslov, ki se izpiše v gornji vrstici brskalnika. Optimiziraj za SEO.
|
723
744
|
alt_link: Alternativna povezava do sestavka
|
724
745
|
picture: Slika v povezavi s stranjo
|
725
|
-
gallery:
|
746
|
+
gallery: Dokument vsebuje slikovno galerijo.
|
726
747
|
css: CSS
|
727
748
|
script: Skript
|
728
749
|
params: Dodatni parametri za prikaz strani.
|
@@ -742,7 +763,6 @@ sl:
|
|
742
763
|
dc_design_id: Dizajn, mu pripada sestavek
|
743
764
|
dc_site_id: Spletišče. ki mu pripada stran
|
744
765
|
kats: Kategorije, ki jim pripada članek
|
745
|
-
gallery: Posamezne slike so definirane v elementih strani. Podatek določa ime elementov, ki pripadajo galeriji.
|
746
766
|
picture: Slika uporabljena za prikaz sestavka
|
747
767
|
dc_poll_id: Anketa, če sestavek vsebuje tudi anketo
|
748
768
|
if_url: URL naslov od koder bo naložena vsebina IFrame-a
|
@@ -812,6 +832,7 @@ sl:
|
|
812
832
|
dc_link:
|
813
833
|
name: Ime povezave ali bližnjice npr. domov
|
814
834
|
params: Dodatni parametri za program
|
835
|
+
redirect: Prevezava na drugo povezavo
|
815
836
|
dc_site_id: Velja za spletno stran
|
816
837
|
page_id: Stran na katero se bo preusmerila povezava
|
817
838
|
active: Povezava je aktivna
|
@@ -897,3 +918,17 @@ sl:
|
|
897
918
|
filter: Vsebina filtra
|
898
919
|
public: Filter je na voljo vsem uporabnikom
|
899
920
|
sort: Privzeto sortiranje ob izbiri filtra
|
921
|
+
|
922
|
+
dc_removed_url:
|
923
|
+
url: URL naslov, ki je bil umaknjen iz spletišča
|
924
|
+
description: OPis razloga umika
|
925
|
+
dc_site_id: Spletišče, ki mu URL pripada
|
926
|
+
|
927
|
+
dc_gallery:
|
928
|
+
title: Naslov slike
|
929
|
+
description: Kratek opis slike
|
930
|
+
picture: Datoteka uporabljena za veliko sliko
|
931
|
+
thumbnail: Datozeka uporabljena za malo sliko
|
932
|
+
doc_id: Dokument povezan z galerijo
|
933
|
+
order: Vrstni red slike v galeriji
|
934
|
+
active: Dokument je aktiven
|