cewebs-aman 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1defc051445aba330f553651dcbeace855369b980b7cf40ec94398cc974ec0f0
4
- data.tar.gz: d39e696c86d8c06d87416cc4a25097054d5401bfb18149958bc7ea76e74aaa03
3
+ metadata.gz: d5feec3d848aa04668167e90c799fa3d060664f6ef99182a4c58ce5750d1e7cc
4
+ data.tar.gz: efbbe8291da148ef5829227e8a1731cdb2c1f704afb160893f4be03942e82c85
5
5
  SHA512:
6
- metadata.gz: 99e2cf373762a72e7bd963f61590e4340e2864b3005c03688e4c743375911c46c037f6b5ac888dffcca918ecc44766451d63ffe568310bde66187ebc3dffc8b0
7
- data.tar.gz: 9bf21259b9359ab949144a3b8c5bffdadb59f0d462d45d4274ef46e66dbef5f68df898c57aa1b4cf0d4a522723b5729a67ee1b1a1942a4e015d5d79d60d84e28
6
+ metadata.gz: 10dc7975cc4610e5d9b740b23bb0745e6a67221898907bf86e18377b7ff813fa6df94a914c49ad3ac7847079b42132ef0d81e337ad1531388bd46175886fa768
7
+ data.tar.gz: fbf714ad29f05851d503d598806ca0769cc9ea9912d611f62135330ddef4c739cd1e9249b32f1c16e5ff5231a5c34a5f67baaec39f82f571344c7b5a4805281b
data/cewebs-aman.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cewebs-aman"
3
- s.version = "2.0.1"
3
+ s.version = "2.0.3"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "GPL-3.0-or-later"
6
6
  s.summary = "Administration manager of CEWebS"
@@ -104,7 +104,7 @@ class RelaxNGUI_1_2 < CEWebS::View
104
104
  end
105
105
  end
106
106
  end
107
- input_ :type => 'text', :name => "CEWebS_svalue_#{i}", :value => h(value)
107
+ input_ :type => 'text', :name => "CEWebS_svalue_#{i}", :value => h_!(value)
108
108
  end
109
109
  i += 1
110
110
  end
@@ -243,7 +243,7 @@ class RelaxNGUI_1_2 < CEWebS::View
243
243
  checkform = formatform = ""
244
244
  data = sp.find("r:data").first
245
245
  value = @file.sfind(@path + @id + set)
246
- out = capture { checkform, formatform = set_form_fields(sp,data,set,value) }
246
+ out = capture_! { checkform, formatform = set_form_fields(sp,data,set,value) }
247
247
  if out != ''
248
248
  form_(:id => "CEWebS_#{path_to_id(set)}", :onsubmit => "#{checkform != "" ? "if (!#{checkform}){ return false; }; " : ""}setPath('#{set}',true,'#{operation}');#{formatform != "" ? "#{formatform};" : ""}return false;") do
249
249
  text_ out
@@ -294,7 +294,7 @@ class RelaxNGUI_1_2 < CEWebS::View
294
294
  if cchoice.empty? # when no cewebs:choice
295
295
  if !data.find("c:link").empty? # when cewebs:link
296
296
  # the administration of the engine shows the links
297
- input_(:type => "text", :class => "size-xxl", :name => 'CEWebS_value', :value => h(value), :placeholder => 'CEWebS://')
297
+ input_(:type => "text", :class => "size-xxl", :name => 'CEWebS_value', :value => h_!(value), :placeholder => 'CEWebS://')
298
298
  else
299
299
  if para.empty? # when no parameters
300
300
  textarea_(value, :name => 'CEWebS_value', :class => 'size-max', :cols => '30', :rows => '3', :style => 'overflow:hidden', :onfocus => 'resize_textarea(this)', :onkeyup => 'resize_textarea(this)')
@@ -303,9 +303,9 @@ class RelaxNGUI_1_2 < CEWebS::View
303
303
  checkform = "val_string_regex('#{path_to_id(set)}',new RegExp(/^#{data.find("string(r:param[@name='pattern'])")}$/),'#{@strings.sfind('nomatch')}')"
304
304
  end
305
305
  if data.find("r:param[@name='maxLength']").empty? # when no maxlenght
306
- input_(:type => "text", :class => "size-xxl", :name => 'CEWebS_value', :value => h(value))
306
+ input_(:type => "text", :class => "size-xxl", :name => 'CEWebS_value', :value => h_!(value))
307
307
  else # when maxlength
308
- input_(:maxlength => "#{data.find("string(r:param[@name='maxLength'])")}", :type => "text", :class => "size-xxl", :name => 'CEWebS_value', :value => h(value))
308
+ input_(:maxlength => "#{data.find("string(r:param[@name='maxLength'])")}", :type => "text", :class => "size-xxl", :name => 'CEWebS_value', :value => h_!(value))
309
309
  end
310
310
  end
311
311
  end
@@ -762,7 +762,7 @@ class RelaxNGUI_1_2 < CEWebS::View
762
762
  tnode, upath, retdata = rl
763
763
  if maxc == max and max != 0
764
764
  tr_ do
765
- td_(:colspan => '2', :class => 'margin-right-big') { '&#160;' }
765
+ td_(:colspan => '2', :class => 'margin-right-big') { space_ }
766
766
  td_ :colspan => '5', :class => 'margin-left-big margin-right-big' do
767
767
  a_ @strings.sfind("more"), :onclick => "change_location('more_list',\"#{exp_to_javascript(path)}\",'')", :class => 'click link'
768
768
  end
@@ -793,7 +793,7 @@ class RelaxNGUI_1_2 < CEWebS::View
793
793
  spath = path_to_schema_path(tnode.path)
794
794
  sui = @schema.lfind("#{spath}/c:ui",@language)
795
795
  td_ :class => "margin-left-big margin-right-big" do
796
- text_ h(sui.sfind("c:row"))
796
+ text_ h_!(sui.sfind("c:row"))
797
797
  end
798
798
  end
799
799
  retdata.each_with_index do |colcontent,j|
@@ -926,12 +926,12 @@ class RelaxNGUI_1_2 < CEWebS::View
926
926
  def print_content(type,cont,cut=nil)
927
927
  #{{{
928
928
  cont = cont.to_s
929
- short = cut.nil? || cont.length < cut.to_i ? h(cont).gsub(/\n/,"<br/>") : h(cont[0,cut.to_i]) + (cut.to_i == 0 ? "" : "...")
929
+ short = cut.nil? || cont.length < cut.to_i ? h_!(cont).gsub(/\n/,"<br/>") : h_!(cont[0,cut.to_i]) + (cut.to_i == 0 ? "" : "...")
930
930
  format = { 'dateTime' => 'datetimeformat', 'time' => 'timeformat', 'date' => 'dateformat' }[type]
931
931
  if format && cont != ''
932
932
  text_ Time.parse(cont).strftime(@strings.sfind(format))
933
933
  elsif type == 'anyURI'
934
- a_(:href => h(cont)) { short }
934
+ a_(:href => h_!(cont)) { short }
935
935
  else
936
936
  text_ short
937
937
  end
@@ -2,7 +2,7 @@
2
2
  <strings xml:lang="en">
3
3
  <back>Back</back>
4
4
  <newentry>New entry</newentry>
5
- <source>Source</source>
5
+ <source>π</source>
6
6
  <source_edit>Edit the XML source of this part of the configuration.</source_edit>
7
7
  <source_error_meanwhile>The configuration has been changed in the meantime. Nothing has been saved.</source_error_meanwhile>
8
8
  <source_error_wellformed>The source is not well-formed. Nothing has been saved.</source_error_wellformed>
@@ -34,7 +34,7 @@
34
34
  <strings xml:lang="de">
35
35
  <back>Zurück</back>
36
36
  <newentry>Neuer Eintrag</newentry>
37
- <source>Quelltext</source>
37
+ <source>π</source>
38
38
  <source_edit>XML Quelltext dieses Teils der Konfiguration bearbeiten.</source_edit>
39
39
  <source_error_meanwhile>Die Konfiguration wurde in der Zwischenzeit geändert. Es wurde nichts gespeichert.</source_error_meanwhile>
40
40
  <source_error_wellformed>Der Quelltext ist nicht wohlgeformt. Es wurde nichts gespeichert.</source_error_wellformed>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cewebs-aman
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler