Added ftps:// to list of url.startswith() in display_url_list().
svn: r15575
This commit is contained in:
parent
f5ef3abf53
commit
c5f30ccc3a
@ -1161,21 +1161,21 @@ div#summaryarea {
|
|||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
div#summaryarea table.infolist {
|
div#summaryarea table.infolist {
|
||||||
margin:0;
|
margin: 0;
|
||||||
padding:0;
|
padding: 0;
|
||||||
background-color:#FFF;
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p {
|
div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p {
|
||||||
font:normal .9em/1.2em sans-serif;
|
font: normal .9em/1.2em sans-serif;
|
||||||
vertical-align:top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
div#summaryarea table.infolist tr td a, div#summaryarea table.infolist tr td p a {
|
div#summaryarea table.infolist tr td a, div#summaryarea table.infolist tr td p a {
|
||||||
display:inline;
|
display:inline;
|
||||||
}
|
}
|
||||||
div#summaryarea table.infolist tbody tr td.ColumnAttribute {
|
div#summaryarea table.infolist tbody tr td.ColumnAttribute {
|
||||||
width:14%;
|
width: 14%;
|
||||||
color: #696969;
|
color: #696969;
|
||||||
padding-left:20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Subsections : Weblinks
|
/* Subsections : Weblinks
|
||||||
@ -1187,6 +1187,9 @@ div#WebLinks {
|
|||||||
table.WebLinks {
|
table.WebLinks {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
table.WebLinks tbody tr td {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
table.weblinks tbody tr td.ColumnType {
|
table.weblinks tbody tr td.ColumnType {
|
||||||
width: 15%;
|
width: 15%;
|
||||||
}
|
}
|
||||||
|
@ -1622,9 +1622,9 @@ class BasePage(object):
|
|||||||
trow.extend(
|
trow.extend(
|
||||||
Html('th', label, class_ = "Column" + colclass, inline = True)
|
Html('th', label, class_ = "Column" + colclass, inline = True)
|
||||||
for (label, colclass) in [
|
for (label, colclass) in [
|
||||||
(THEAD, "Type"),
|
(THEAD, "Type"),
|
||||||
(_("Web Path"), "Path"),
|
(_("Url"), "Path"),
|
||||||
(DESCRHEAD, "Description") ]
|
(DESCRHEAD, "Description") ]
|
||||||
)
|
)
|
||||||
|
|
||||||
tbody = Html("tbody")
|
tbody = Html("tbody")
|
||||||
@ -1652,7 +1652,8 @@ class BasePage(object):
|
|||||||
|
|
||||||
# FTP server address
|
# FTP server address
|
||||||
elif _type == UrlType.WEB_FTP:
|
elif _type == UrlType.WEB_FTP:
|
||||||
if not uri.startswith("ftp://"):
|
if not (uri.startswith("ftp://") or
|
||||||
|
uri.startswith("ftps://")):
|
||||||
uri = "ftp://%(ftpsite)s" % { "ftpsite" : uri }
|
uri = "ftp://%(ftpsite)s" % { "ftpsite" : uri }
|
||||||
|
|
||||||
uri = Html("a", uri, href = uri, title = html_escape(uri))
|
uri = Html("a", uri, href = uri, title = html_escape(uri))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user