changeset 371:a6e61f5e1a69

Split show_hosts into show_hosts and show_names. imported from: moin--main--1.5--patch-375
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Tue, 10 Jan 2006 19:13:59 +0000
parents 64e283966e97
children 8e63254c99eb
files ChangeLog MoinMoin/macro/RecentChanges.py MoinMoin/multiconfig.py MoinMoin/wikiaction.py docs/CHANGES
diffstat 5 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jan 09 13:18:56 2006 +0000
+++ b/ChangeLog	Tue Jan 10 19:13:59 2006 +0000
@@ -2,6 +2,19 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-01-10 20:13:59 GMT	Alexander Schremmer <alex@alexanderweb.de.tla>	patch-375
+
+    Summary:
+      Split show_hosts into show_hosts and show_names.
+    Revision:
+      moin--main--1.5--patch-375
+
+
+    modified files:
+     ChangeLog MoinMoin/macro/RecentChanges.py
+     MoinMoin/multiconfig.py MoinMoin/wikiaction.py docs/CHANGES
+
+
 2006-01-09 14:18:56 GMT	Alexander Schremmer <alex@alexanderweb.de.tla>	patch-374
 
     Summary:
--- a/MoinMoin/macro/RecentChanges.py	Mon Jan 09 13:18:56 2006 +0000
+++ b/MoinMoin/macro/RecentChanges.py	Tue Jan 10 19:13:59 2006 +0000
@@ -97,7 +97,7 @@
     
     # print editor name or IP
     d['editors'] = None
-    if request.cfg.show_hosts:
+    if request.cfg.show_names:
         if len(lines) > 1:
             counters = {}
             for idx in range(len(lines)):
--- a/MoinMoin/multiconfig.py	Mon Jan 09 13:18:56 2006 +0000
+++ b/MoinMoin/multiconfig.py	Tue Jan 10 19:13:59 2006 +0000
@@ -290,6 +290,7 @@
     show_hosts = 1
     show_interwiki = 0
     show_login = 1
+    show_names = True
     show_section_numbers = 0
     show_timings = 0
     show_version = 0
--- a/MoinMoin/wikiaction.py	Mon Jan 09 13:18:56 2006 +0000
+++ b/MoinMoin/wikiaction.py	Tue Jan 10 19:13:59 2006 +0000
@@ -257,7 +257,7 @@
             Column('mtime', label=_('Date'), align='right'),
             Column('size',  label=_('Size'), align='right'),
             Column('diff', label='<input type="submit" value="%s">' % (_("Diff"))),
-            Column('editor', label=_('Editor'), hidden=not request.cfg.show_hosts),
+            Column('editor', label=_('Editor'), hidden=not request.cfg.show_names),
             Column('comment', label=_('Comment')),
             Column('action', label=_('Action')),
             ]
--- a/docs/CHANGES	Mon Jan 09 13:18:56 2006 +0000
+++ b/docs/CHANGES	Tue Jan 10 19:13:59 2006 +0000
@@ -7,6 +7,7 @@
 
   Other changes:
     * Updated FCKeditor to current CVS (2006-01-08 == 2.2+)
+    * Split up show_hosts into show_hosts and show_names
 
 Version 1.5.0:
   Please completely read CHANGES text until you reach the version you were