From 18ab5a50ade8f9d1bfc4160cf69491f40d45422f Mon Sep 17 00:00:00 2001
From: david <>
Date: Mon, 5 Aug 2002 00:57:10 +0000
Subject: [PATCH] UI tweaks and miscellaneous bugfixes. LDP logo at 200x80
---
LDP/lampadas/database/tables/block/EN.m4 | 4 ++--
LDP/lampadas/database/tables/page_i18n/DE.m4 | 2 +-
LDP/lampadas/database/tables/page_i18n/EN.m4 | 16 ++++++++--------
LDP/lampadas/database/tables/page_i18n/FR.m4 | 2 +-
LDP/lampadas/database/tables/template/EN.m4 | 12 +++++++-----
LDP/lampadas/pylib/HTML.py | 2 --
LDP/lampadas/pylib/Tables.py | 4 ++--
LDP/lampadas/www/css/ldp.css | 2 +-
LDP/lampadas/www/images/ldp200x80.png | Bin 0 -> 1771 bytes
9 files changed, 22 insertions(+), 22 deletions(-)
create mode 100644 LDP/lampadas/www/images/ldp200x80.png
diff --git a/LDP/lampadas/database/tables/block/EN.m4 b/LDP/lampadas/database/tables/block/EN.m4
index 62d85a9d..7aff415f 100644
--- a/LDP/lampadas/database/tables/block/EN.m4
+++ b/LDP/lampadas/database/tables/block/EN.m4
@@ -12,7 +12,7 @@ insert([blklogo],
- LOGO
+
|
@@ -45,7 +45,7 @@ insert([blkfooter],
-
+
|strrender_time|: |elapsed_time|
])
diff --git a/LDP/lampadas/database/tables/page_i18n/DE.m4 b/LDP/lampadas/database/tables/page_i18n/DE.m4
index 64dc9431..e378034b 100644
--- a/LDP/lampadas/database/tables/page_i18n/DE.m4
+++ b/LDP/lampadas/database/tables/page_i18n/DE.m4
@@ -19,7 +19,7 @@ insert([newdocument], [Dokument hinzuf
insert([users], [Liste der Benutzer], [],
[
|tabletters|
- |tabusers|
+ |tabusers|
], 1)
insert([sessions], [Benutzersitzungen], [],
diff --git a/LDP/lampadas/database/tables/page_i18n/EN.m4 b/LDP/lampadas/database/tables/page_i18n/EN.m4
index 5429e599..d6952b91 100644
--- a/LDP/lampadas/database/tables/page_i18n/EN.m4
+++ b/LDP/lampadas/database/tables/page_i18n/EN.m4
@@ -16,7 +16,7 @@ insert([newdocument], [Add Document], [],
insert([users], [User List], [],
[
|tabletters|
-
|tabusers|
+ |tabusers|
], 1)
insert([sessions], [User Sessions], [],
@@ -33,13 +33,13 @@ insert([my], [My Home], [],
|session_user_docs|
], 1)
-insert([home], [|strproject|], [Home],
+insert([home], [|strprojectshort| Home Page], [Home],
[
- Welcome to |strproject|.
+
Welcome to |strproject|.
This site is based on a development version of the
Lampadas Document Management System from
- The Linux Documentation Project
+ The Linux Documentation Project
This is alpha quality code, updated from the cvs tree
very frequently, whenever there are significant features or
@@ -47,7 +47,7 @@ insert([home], [|strproject|], [Home],
This happens at least once a day and sometimes
several times a day.
The system is fairly stable, although some half-
- implemented features will cause ugly error dumps.
+ implemented features will cause ugly error dumps.
This demo site is populated with data from the LDPDB.
If you had an account on the LDPDB, you have one here.
@@ -55,12 +55,12 @@ insert([home], [|strproject|], [Home],
hashed form, I was unable to port them over, and you\'ve been
given a new password. To get it, click the "Mail Password"
link and your new password will be mailed to your address
- of record.
+ of record.
There are also a set of additional test users.
Log in as one of them to see the site through their eyes.
The pages change depending on your access level.
- These users\'passwords are "password".
+ These users\'passwords are "password".
- sysadmin - the SUPERUSER, who manages the system.
@@ -77,7 +77,7 @@ insert([home], [|strproject|], [Home],
project.
You can find out more about it by reading the
Lampadas Developer\'s
- Guide.
+ Guide.
], 1)
insert([doctable], [DocTable], [],
diff --git a/LDP/lampadas/database/tables/page_i18n/FR.m4 b/LDP/lampadas/database/tables/page_i18n/FR.m4
index 14af63b9..3bfc5816 100644
--- a/LDP/lampadas/database/tables/page_i18n/FR.m4
+++ b/LDP/lampadas/database/tables/page_i18n/FR.m4
@@ -16,7 +16,7 @@ insert([newdocument], [Add Document], [],
insert([users], [User List], [],
[
|tabletters|
- |tabusers|
+ |tabusers|
], 1)
insert([sessions], [User Sessions], [],
diff --git a/LDP/lampadas/database/tables/template/EN.m4 b/LDP/lampadas/database/tables/template/EN.m4
index 5e79f368..c4c3bfe7 100644
--- a/LDP/lampadas/database/tables/template/EN.m4
+++ b/LDP/lampadas/database/tables/template/EN.m4
@@ -20,8 +20,10 @@ insert(index,
-
+ |
|blkheader|
+ |
+
|
@@ -31,7 +33,7 @@ insert(index,
|navtypes|
|navlanguages|
-
+ |
|body|
|
-
+ |
|blkheader|
|
@@ -71,12 +73,12 @@ insert(default,
|navtypes|
|navlanguages|
-
+ |
|body|
|
-
+ |
|blkfooter|
|
diff --git a/LDP/lampadas/pylib/HTML.py b/LDP/lampadas/pylib/HTML.py
index de1f9d8e..ac2112a3 100755
--- a/LDP/lampadas/pylib/HTML.py
+++ b/LDP/lampadas/pylib/HTML.py
@@ -143,8 +143,6 @@ class PageFactory:
if config.port > '':
newstring = newstring + ':' + config.port
newstring = newstring + config.root_dir
- if uri.force_lang:
- newstring = newstring + uri.lang + '/'
# Meta-data from the page's URL
elif token=='uri.lang_ext':
diff --git a/LDP/lampadas/pylib/Tables.py b/LDP/lampadas/pylib/Tables.py
index b9c0b2cd..31cc7c2b 100644
--- a/LDP/lampadas/pylib/Tables.py
+++ b/LDP/lampadas/pylib/Tables.py
@@ -541,7 +541,7 @@ class Tables:
def letters(self, uri):
log(3, 'Creating letter table')
- box = '\n'
+ box = '\n'
for letter in string.uppercase:
if letter==uri.letter:
box = box + '' + letter + ' | \n'
@@ -1114,7 +1114,7 @@ class Tables:
"""
log(3, 'Creating tabslashlanguages table')
box = WOStringIO('\n' \
- '
|strprojectshort|
\n')
+ '
|strproject|
\n')
id = 1
langkeys = lampadas.languages.keys()
for langkey in langkeys:
diff --git a/LDP/lampadas/www/css/ldp.css b/LDP/lampadas/www/css/ldp.css
index bf52bb0a..0359a60b 100644
--- a/LDP/lampadas/www/css/ldp.css
+++ b/LDP/lampadas/www/css/ldp.css
@@ -251,7 +251,7 @@ DIV.map {
margin: 0;
padding: 10;
background-color: #bbccee;
- font: bold 64pt "Georgia", serif;
+ font: bold 24pt "Georgia", serif;
}
#p2, #p2 A, #p3, #p3 A, #p4, #p4 A, #p5, #p5 A, #p6, #p6 A, #p7, #p7 A, #p8, #p8 A, #p9, #p9 A, #p10, #p10 A {
diff --git a/LDP/lampadas/www/images/ldp200x80.png b/LDP/lampadas/www/images/ldp200x80.png
new file mode 100644
index 0000000000000000000000000000000000000000..0dd7b7e787fd32dfa71a8d35e0a3b5c0a02d2d4a
GIT binary patch
literal 1771
zcmV
;P)=}z#9ZY
zZn%oNH`I)lx6xQ-c|(_k@s?DjF-Njxg5FS(p1EbFWF~vdCaIa>zuni3Sz`i(giP&a
zU#frr;m3Qg-$!>4`d<=6t9D|}?(~=_t6^+i6GHTv({0SeUI~MDfZ@Bd5Jki_6s!WG
zX$FN5GV`!Hq7cy*aW^M}*PdS>t?5fO1`%vIFNEJUKq%v3G;Od5BIk#IaL)|#sXXfy
z3PDK5y&Ht28BG_HcNFqiKGTvQ0k*kL(9H#rULZ57j3K&Mqn}(5bVi7`Q9ijzf^=5_
zIo~w&a``>!ra+p#&-oxn`(=#6hG^tJ6VhBVRf`3d0wO9|u{Dgkd-Yh%=q=MM(6`RYA^y5`OcX
z*o40-p^Wg*tH$Mf6jjJ>UItGYgCCwrof6~S0IbG*vz`M|WSab7n)r6i4PsP+Fr>;jo?;GKwI7CPQ*bWUkQ-^$EGr5+QO=>2=5TPb@>`n(ZlC||=>jn-M*JKD`V){Vo#zWM6^(%seqezpO
ziHZsk?kQiX;Ui5pP1fD}Gms#f49&t9kzzKY
z?UJ~c_YV*^@j{>p46q?GN$GamCCQ_RLQvaEydKGmk!1YlY;nLwacTR69G;Sc#P<$v(;)>Ik8%@gW7}$R*neuM)+Tm?1_upu0bgJk*R}R_+Y)eHwG_4G
zBUb5nrb%BgH>$+(otUaM30ZbxRHmKkprn%mfv7*$=RoYGAo~>37YzT9nC_>z&T9hF
zUUKeLe9z2v(0Vq&VBZrV0zf3ZWQAPo^XCA$+9{Px^LsZ5!cu*syBq^V0SJG$iwx7>
z_L3lZMWGRI@0ASGBhoyGyxbaV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