aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-05-31 11:29:39 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-05-31 11:29:39 +0000
commitef5e10ebbbbc9bd225bf94a419c60f7f22a319d1 (patch)
treeafb20fdb5a59e13f8c86774c99d263dc895baf06
parent5aca128c952389c2079c3a7fa630915948871fcf (diff)
downloadellinika-ef5e10ebbbbc9bd225bf94a419c60f7f22a319d1.tar.gz
ellinika-ef5e10ebbbbc9bd225bf94a419c60f7f22a319d1.tar.bz2
(TABULAR): New attribute 'TYPE'.
The only value implemented currently is 'EXAMPLE' (SAMP): New tag (NOTREADY): Rewritten git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@105 941c8c0f-9102-463b-b60b-cd22ce0e6858
-rw-r--r--xtrans/LINGUA.html.xtrans23
1 files changed, 19 insertions, 4 deletions
diff --git a/xtrans/LINGUA.html.xtrans b/xtrans/LINGUA.html.xtrans
index 5e5892a..df9787e 100644
--- a/xtrans/LINGUA.html.xtrans
+++ b/xtrans/LINGUA.html.xtrans
@@ -659,14 +659,20 @@ Starttag: TABULAR
else:
xtrans.alignment("CENTER")
xtrans.put('<TABLE CELLPADDING="10%" ')
+ if xtrans.attr["TABULAR"].has_key("TYPE"):
+ if xtrans.attr["TABULAR"]["TYPE"] == "EXAMPLE":
+ xtrans.attr["TABULAR"]["NOFRAME"] = 1
if not xtrans.attr["TABULAR"].has_key("NOFRAME"):
xtrans.put(' frame="box"')
if not xtrans.attr["TABULAR"].has_key("BESTFIT"):
xtrans.put(' WIDTH="95%"')
if xtrans.attr["TABULAR"].has_key("CLASS"):
xtrans.put(' class="%s"' % (xtrans.attr["TABULAR"]["CLASS"]))
- xtrans.row_index = 0
xtrans.put(">\n")
+ if xtrans.attr["TABULAR"].has_key("TYPE"):
+ if xtrans.attr["TABULAR"]["TYPE"] == "EXAMPLE":
+ xtrans.put('<COL REPEAT=2 WIDTH="50%">\n')
+ xtrans.row_index = 0
xtrans.max_items = 0
xtrans.separator_row = 0
@@ -763,10 +769,19 @@ Starttag: TRANS nostrip
Endtag: TRANS
xtrans.class_end(xtrans.attr["TRANS"])
+Starttag: SAMP
+ xtrans.put('<SPAN class="sample">')
+
+Endtag: SAMP
+ xtrans.put('</SPAN>')
+
Endtag: NOTREADY
- xtrans.put('<div align="center" class="notready">')
- xtrans.put(xtrans.content["NOTREADY"])
- xtrans.put('</div>')
+ xtrans.put("""<table class="notready">
+<tr>
+<td><img border="0" src="graphics/construction.jpg" alt="[ Construction Bar ]" width="300" height="28"></img></td>
+<td class="notready">%s</td>
+<td><img border="0" src="graphics/construction.jpg" alt="[ Construction Bar ]" width="300" height="28"></img></td>
+</table>""" % (xtrans.content["NOTREADY"]))
Starttag: LOCALIZATION
pass

Return to:

Send suggestions and report system problems to the System administrator.