Really use relative URLs in webadmin

I forgot the forms and the style sheets. Meh :(

Thanks to gencha for testing a snapshot and noticing that the forms are broken.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1254 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-10-18 12:51:25 +00:00
parent aca6783f6f
commit b94e784301
15 changed files with 20 additions and 20 deletions
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/editchan<? ELSE ?>/addchan<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>editchan<? ELSE ?>addchan<? ENDIF ?>" method="post">
<input type="hidden" name="submitted" value="1">
<input type="hidden" name="user" value="<? VAR User ESC=HTML ?>">
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="/settings" method="POST">
<form action="settings" method="POST">
<input type="hidden" name="submitted" value="1">
<table width="95%" cellpadding="0" cellspacing="0">
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/edituser<? ELSE ?>/adduser<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>edituser<? ELSE ?>adduser<? ENDIF ?>" method="post">
<input type="hidden" name="submitted" value="1">
<table width="95%" cellpadding="0" cellspacing="0">
@@ -33,7 +33,7 @@ a:hover {
}
.header {
background-image: url('/img/clouds-header.jpg');
background-image: url('../img/clouds-header.jpg');
padding: 10px;
border: 1px solid #000000;
height: 100px;
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/editchan<? ELSE ?>/addchan<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>editchan<? ELSE ?>addchan<? ENDIF ?>" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
<input type="hidden" name="user" value="<? VAR User ESC=HTML ?>" />
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="/settings" method="post">
<form action="settings" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/edituser<? ELSE ?>/adduser<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>edituser<? ELSE ?>adduser<? ENDIF ?>" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/editchan<? ELSE ?>/addchan<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>editchan<? ELSE ?>addchan<? ENDIF ?>" method="post">
<input type="hidden" name="submitted" value="1">
<input type="hidden" name="user" value="<? VAR User ESC=HTML ?>">
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="/settings" method="POST">
<form action="settings" method="POST">
<input type="hidden" name="submitted" value="1">
<table width="95%" cellpadding="0" cellspacing="0">
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/edituser<? ELSE ?>/adduser<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>edituser<? ELSE ?>adduser<? ENDIF ?>" method="post">
<input type="hidden" name="submitted" value="1">
<table width="95%" cellpadding="0" cellspacing="0">
+2 -2
View File
@@ -1,5 +1,5 @@
body {
background-image: url('/img/graphix_bg.jpg');
background-image: url('../img/graphix_bg.jpg');
margin-top: 10px;
}
@@ -32,7 +32,7 @@ a:hover {
}
.header {
background-image: url('/img/graphix_header.jpg');
background-image: url('../img/graphix_header.jpg');
padding: 10px;
border: 1px solid #000000;
height: 100px;
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/editchan<? ELSE ?>/addchan<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>editchan<? ELSE ?>addchan<? ENDIF ?>" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
<input type="hidden" name="user" value="<? VAR User ESC=HTML ?>" />
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="/settings" method="post">
<form action="settings" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
+1 -1
View File
@@ -1,6 +1,6 @@
<? INC Header.tmpl ?>
<form action="<? IF Edit ?>/edituser<? ELSE ?>/adduser<? ENDIF ?>" method="post">
<form action="<? IF Edit ?>edituser<? ELSE ?>adduser<? ENDIF ?>" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
+5 -5
View File
@@ -1,5 +1,5 @@
body {
background: url(/img/pagebg.gif) top repeat-x #0C1833 fixed;
background: url(../img/pagebg.gif) top repeat-x #0C1833 fixed;
color: #fff;
margin: 0px auto;
}
@@ -41,7 +41,7 @@ table td {
table thead {
border-bottom: 2px solid #000;
background: url(/img/linkbg.jpg) 0px -30px repeat-x #369;
background: url(../img/linkbg.jpg) 0px -30px repeat-x #369;
color: #fff;
font-weight: bold;
}
@@ -112,7 +112,7 @@ textarea {
.sectiontitle {
float: left;
white-space: nowrap;
background: url(/img/linkbg.jpg) 0px 0px repeat-x #336;
background: url(../img/linkbg.jpg) 0px 0px repeat-x #336;
color: #eee;
font-size: 14px;
font-weight: bold;
@@ -139,7 +139,7 @@ textarea {
border-top: 1px solid #000;
border-bottom: 1px solid #000;
float: left;
background: url(/img/linkbg.jpg) repeat-x;
background: url(../img/linkbg.jpg) repeat-x;
margin-bottom: 10px;
}
@@ -166,7 +166,7 @@ textarea {
color: #fff;
padding: 0px 10px;
text-decoration: none;
background: url(/img/linkbg.jpg) 0px 0px repeat-x;
background: url(../img/linkbg.jpg) 0px 0px repeat-x;
}
#gnav a:hover {