[slbackup-commit] CVS update: slbackup-php/src index.php
sl-style.css
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Tue Apr 17 06:15:26 UTC 2007
User: finnarne-guest
Date: 07/04/17 06:15:26
Modified: src index.php
Added: src sl-style.css
Log:
revert the timestamp string, to make it use the most significant values
Revision Changes Path
1.25 +1 -1 slbackup-php/src/index.php
Index: index.php
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/src/index.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- index.php 17 Apr 2007 05:57:52 -0000 1.24
+++ index.php 17 Apr 2007 06:15:26 -0000 1.25
@@ -380,7 +380,7 @@
}
if (empty($encrypt) || empty ($xorstring)) {
- $encrypt = crypt(sprintf (gettimeofday (true))) ;
+ $encrypt = crypt(strrev(sprintf (gettimeofday (true)))) ;
$_SESSION['encrypt'] = $encrypt ;
$xorstring = xorstring ($encrypt, $passwd) ;
}
1.1 slbackup-php/src/sl-style.css
Index: sl-style.css
===================================================================
body {
color: black;
background: #F5F5E5;
padding: 1ex;
background-position: top right;
}
h1 {
text-align: center;
letter-spacing: 0.2em;
font-family: serif;
font-size: 2em;
font-variant: small-caps;
}
h2 {
color: #881133;
}
h2.menu {
color: #6699BB;
background: #E5FAFF;
text-align: right;
font-family: serif;
font-size: 1.5em;
font-variant: small-caps;
padding-right: 1ex;
}
body>div.hbar {
background: #991111;
width: 100%;
height: 1ex;
}
div.body {
margin-top: 1ex;
padding-left: 1ex;
padding-right: 1em;
padding-top: 1em;
padding-bottom: 1ex;
margin-right: 26ex;
}
div.menu {
background: #CCEEF5;
margin-top: 1ex;
padding: 1px 5px 2em;
line-height: 1.3;
float: right;
position: fixed;
width: 25ex;
top: 1em; right: 1em; bottom: auto; left: auto;
}
a:link {
font-weight: bold;
}
a:active {
text-decoration: overline;
}
a:visited {
font-weight: bold;
}
@media print {
div.menu {visibility: hidden}
div.body {margin-right: 2ex}
}
More information about the slbackup-commit
mailing list