bugfixes in HTML-Code of the isdnrep

This commit is contained in:
Stefan Luethje 1997-05-06 22:13:31 +00:00
parent 75d37c6052
commit 530906c324
3 changed files with 19 additions and 4 deletions

View File

@ -19,6 +19,9 @@
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
## $Log$
## Revision 1.19 1997/05/05 21:22:14 luethje
## new version
##
## Revision 1.18 1997/05/04 20:19:34 luethje
## README completed
## isdnrep finished
@ -194,7 +197,7 @@ SERVICEFILE = /etc/services
# DON'T EDIT BELOW THIS LINE
######################################################################
VERSION = 2.99.14
VERSION = 2.99.15
ifeq ($(POSTGRES),1)
DEFS += -DPOSTGRES

View File

@ -19,6 +19,11 @@
* along with this program; if not, write to the Free Software
*
* $Log$
* Revision 1.9 1997/05/04 20:19:47 luethje
* README completed
* isdnrep finished
* interval-bug fixed
*
* Revision 1.8 1997/04/17 20:09:32 luethje
* patch of Ingo Schneider
*
@ -289,7 +294,6 @@ static void init_variables(int argc, char* argv[])
xlog = MAX_PRINTS_IN_QUEUE;
sockets = NULL;
allflags = 0;
known = NULL;
opt_dat = NULL;

View File

@ -20,6 +20,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.16 1997/05/05 21:04:21 luethje
* README completed
* some changes for the isdnmon
*
* Revision 1.15 1997/05/04 22:23:15 luethje
* README completed
* new features of the format string
@ -212,6 +216,8 @@
#define H_BODY_BOTTOM1 "<TD align=left colspan=%d>%s</TD>%s\n"
#define H_BODY_BOTTOM2 "</TABLE><P>\n"
#define H_LINE "<TR><TD colspan=%d><HR size=%d noshade width=100%%></TD></TR>\n"
#define H_LEFT "<TD align=left><TT>%s</TT></TD>"
#define H_CENTER "<TD align=center><TT>%s</TT></TD>"
#define H_RIGHT "<TD align=right><TT>%s</TT></TD>"
@ -2171,9 +2177,11 @@ static void strich(int type)
{
switch (type) {
case 3 :
case 1 : print_msg(PRT_NORMAL,"<TR><TD colspan=%d><HR size=1 noshade width=100%></TD></TR>\n",get_format_size());
case 1 : print_msg(PRT_NORMAL,H_LINE,get_format_size(),1);
break;
case 2 : print_msg(PRT_NORMAL,"<TR><TD colspan=%d><HR size=3 noshade width=100%></TD></TR>\n",get_format_size());
case 2 : print_msg(PRT_NORMAL,H_LINE,get_format_size(),3);
break;
default: print_msg(PRT_ERR,"Internal error: Invalid line flag!\n");
break;
} /* switch */
}