Skip to content
Snippets Groups Projects
Commit 6a560bdb authored by Tim Repke's avatar Tim Repke
Browse files

fix beta

parent d5008421
No related branches found
No related tags found
No related merge requests found
......@@ -265,28 +265,28 @@ class IndexPage extends DefaultIndex {
label: 'FS Fahrt',
fontname: 'sans',
fontcolor: '#ff9818'
});
var hurdur = new HurDur({
cats: 10,
loopcb: function() {
$('#text, body').stop().animate({color:b?'#ffffff':'#000000'}, 1000);
var now = (Date.now() + ((new Date()).getTimezoneOffset()*60))/1000;
var diff = opentime - now;
var view = '';
if (diff <= 0) {
view = '00:00:00.00';
} else {
view = hurrdurrr(parseInt(diff/60/60/24, 10)) + 'd ' + hurrdurrr(parseInt(diff / 60 / 60 % 24, 10))
+ 'h:' + hurrdurrr(parseInt(diff / 60 % 60, 10)) + 'm.' + hurrdurrr(parseInt(diff%60, 10)) + 's';
}
$('#countdown').html(view);
function hurrdurrr(num) {
return ((num < 10) ? '0' : '') + num;
cats: 10,
loopcb: function() {
$('#text, body').stop().animate({color:b?'#ffffff':'#000000'}, 1000);
var now = (Date.now() + ((new Date()).getTimezoneOffset()*60))/1000;
var diff = opentime - now;
var view = '';
if (diff <= 0) {
view = '00:00:00.00';
} else {
view = hurrdurrr(parseInt(diff/60/60/24, 10)) + 'd ' + hurrdurrr(parseInt(diff / 60 / 60 % 24, 10))
+ 'h:' + hurrdurrr(parseInt(diff / 60 % 60, 10)) + 'm.' + hurrdurrr(parseInt(diff%60, 10)) + 's';
}
$('#countdown').html(view);
function hurrdurrr(num) {
return ((num < 10) ? '0' : '') + num;
}
b = !b;
}
b = !b;
}});
});
hurdur.start();
});
</script>";
......
......@@ -86,13 +86,13 @@ abstract class DefaultIndex {
</div>
<div id="footerbox">&nbsp;
<span style="float:left; margin-left:10px">
&copy;<?php echo date("Y"); ?> Fachschaftsinitiative Informatik der Humboldt Universität zu Berlin.
&copy; <?php echo date("Y"); ?> Fachschaftsinitiative Informatik der Humboldt Universität zu Berlin.
</span>
<a href="<?php $this->environment->sysconf['impressum'] ?>" style="float:right; margin-right: 10px">Impressum</a>
<a href="<?php echo $this->environment->sysconf['impressum']; ?>" style="color:white;float:right; margin-right: 10px" target="_blank">Impressum</a>
</div>
<img id="nyan" alt="O" src="<?php echo $this->resolvePath('graphics/studityp_5.gif') ?>"
style="position: fixed;bottom: 5px;left:0"/>
<a style="position: fixed;top:5px; right:5px;" href="https://github.com/TimRepke/registration-system">
<a style="position: fixed;top:5px; right:5px;" target="_blank" href="https://github.com/TimRepke/registration-system">
<img alt="GitHub" title="Auf GitHub gabeln" src="<?php echo $this->resolvePath('graphics/GitHub-Mark-32px.png') ?>"/></a>
</div>
</body>
......
......@@ -92,9 +92,10 @@ class FormSignupMethod extends SignupMethod {
<label>Anmerkung</label>
<textarea id="comment" name ="comment" rows="3" cols="50">' . $bachelorData["comment"] . '</textarea>
<input type="checkbox" name="public" value="public" style="width:40px" /><span>Anmeldung verstecken</span><br/>
<input type="checkbox" name="public" value="public" style="width:40px" />
<span>Anmeldung verstecken</span><br/>
<input type="checkbox" name="disclaimer" value="disclaimer" style="width:40px" />
<span><a style="text-decoration:underline;" target="_blank" href="'.$fahrt->get('disclaimlink').'">Disclaimer</a> gelesen und akzeptiert</span><br/>
<span><a style="text-decoration:underline;" target="_blank" href="'.$fahrt->get('disclaimlink').'">Disclaimer</a> gelesen und akzeptiert</span><br/>
<div style="clear:both"></div>';
$this->show_formular_helper_input("Captcha eingeben", "captcha", "", "",'width:45%; float:left;');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment