aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/xml_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-26 19:18:48 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-26 19:18:48 -0400
commit95c75e73f9c0074a3e44fd9999661dc732f30080 (patch)
tree840a970c68e5ffd1937d5729d7c3149528d62eb6 /lib/sisu/v2/xml_format.rb
parentdebian/changelog (2.4.0-1) (diff)
parentupdate: changelog, version (2.4.1) (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/xml_format.rb')
-rw-r--r--lib/sisu/v2/xml_format.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v2/xml_format.rb b/lib/sisu/v2/xml_format.rb
index ccef9b19..1558315c 100644
--- a/lib/sisu/v2/xml_format.rb
+++ b/lib/sisu/v2/xml_format.rb
@@ -665,7 +665,7 @@ WOK
end
end
def links_guide_vertical_open #???
- url=(((defined? @vz.url_hp) && @vz.url_hp =~/^http:\/\/\S+$/) ? @vz.url_hp : @vz.url_home)
+ url=(((defined? @vz.url_hp) && @vz.url_hp =~/^https?:\/\/\S+$/) ? @vz.url_hp : @vz.url_home)
%{
<div id="vertical_links">
<ul id="vertical">
@@ -685,7 +685,7 @@ WOK
<!- quick ref -!>}
end
def links_guide_horizontal_open #???
- url=(((defined? @vz.url_hp) && @vz.url_hp =~/^http:\/\/\S+$/) ? @vz.url_hp : @vz.url_home)
+ url=(((defined? @vz.url_hp) && @vz.url_hp =~/^https?:\/\/\S+$/) ? @vz.url_hp : @vz.url_home)
%{
<div id="horizontal_links">
<ul id="horizontal">