source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* cvsweb: drop the totally pointless $tablepadding configuration variable
@ 2019-11-29 16:30 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-11-29 16:30 UTC (permalink / raw)
  To: source

Log Message:
-----------
drop the totally pointless $tablepadding configuration variable

Modified Files:
--------------
    cvsweb:
        cvsweb.cgi
        cvsweb.conf

Revision Data
-------------
Index: cvsweb.conf
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.conf,v
retrieving revision 4.21
retrieving revision 4.22
diff -Lcvsweb.conf -Lcvsweb.conf -u -p -r4.21 -r4.22
--- cvsweb.conf
+++ cvsweb.conf
@@ -135,10 +135,6 @@ $shortLogLen = 80;
 #
 $show_author = 1;
 
-# Cell padding for directory table.
-#
-$tablepadding = 2;
-
 # Regular expressions for files and directories which should be hidden.
 # Each regexp is compared against a path relative to a CVS root, after
 # stripping the trailing ",v" if present.  Matching files and directories
Index: cvsweb.cgi
===================================================================
RCS file: /home/cvs/mandoc/cvsweb/cvsweb.cgi,v
retrieving revision 4.33
retrieving revision 4.34
diff -Lcvsweb.cgi -Lcvsweb.cgi -u -p -r4.33 -r4.34
--- cvsweb.cgi
+++ cvsweb.cgi
@@ -69,7 +69,7 @@ use vars qw (
   $charset $output_filter %CMD $allow_compress $backicon $diricon $fileicon
   $fullname $logo $defaulttitle $address $binfileicon $iconsdir
   $shortLogLen $show_author
-  $tablepadding $hr_breakable $showfunc $hr_ignwhite $hr_ignkeysubst
+  $hr_breakable $showfunc $hr_ignwhite $hr_ignkeysubst
   $inputTextSize $mime_types $allow_annotate $allow_markup $allow_mailtos
   $allow_log_extra $allow_dir_extra $allow_source_extra
   $edit_option_form
@@ -203,7 +203,7 @@ $config = '/conf/cvsweb/cvsweb.conf';
 
 $logo = $defaulttitle =
   $address = $shortLogLen = $show_author =
-  $tablepadding = $hr_breakable = $showfunc = $hr_ignwhite =
+  $hr_breakable = $showfunc = $hr_ignwhite =
   $hr_ignkeysubst = $inputTextSize = $mime_types = $allow_annotate =
   $allow_markup = $allow_compress = $edit_option_form =
   $show_subdir_lastmod = $show_log_in_markup = $preformat_in_markup =
@@ -788,8 +788,8 @@ if (-d $fullname) {
 
   my $infocols = 1;
 
-  printf(<<EOF, $tablepadding, 'Directory index of ' . htmlquote($where));
-<table class="dir" width="100%%" cellspacing="0" cellpadding="%s" summary="%s">
+  printf(<<EOF, 'Directory index of ' . htmlquote($where));
+<table class="dir" width="100%%" cellspacing="0" cellpadding="2" summary="%s">
 <tr>
 EOF
   printf('<th colspan="2"%s>', ($byfile ? ' class="sorted"' : ''));
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-29 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-29 16:30 cvsweb: drop the totally pointless $tablepadding configuration variable schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).