Skip to content
Snippets Groups Projects
sitesetting.php 4.48 KiB
Newer Older
<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['EMAIL'];?></label>
	<input type="text" class="form-control" name="betreibermail" value="<?php echo $grundconfig->betreibermail;?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['EMAILN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['CRON_PW'];?></label>
	<input type="text" class="form-control" name="cron_pw" value="<?php echo $grundconfig->cron_pw;?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['CRON_PWN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['WARTUNG'];?></label>
	<select name="wartung" class="form-control">
		<option value="0" <?php if($grundconfig->wartung == 0) echo 'selected="selected"';?>>deaktiviert</option>
		<option value="1" <?php if($grundconfig->wartung == 1) echo 'selected="selected"';?>>aktiviert</option>
	</select>
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['WARTUNGN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['DOMAIN'];?></label>
	<input type="text" class="form-control" name="domain" value="<?php echo $grundconfig->domain;?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['DOMAINN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['SEITN'];?></label>
	<input type="text" class="form-control" name="seitenname" value="<?php echo $grundconfig->seitenname;?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['SEITNN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['DSTART'];?></label>
	<input type="date" class="form-control" name="start_seite" value="<?php echo date("Y-m-d", $grundconfig->start_seite);?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['DSTARTN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['USTART'];?></label>
	<div class="row">
		<div class="col-md-6">
			Chat<input class="form-control" type="checkbox" name="anzeige_chat" value="1" <?php if($interface->anzeige_chat == 1){ echo 'CHECKED';} ?>>
		</div>
		<div class="col-md-6">
			Startseitentext<input class="form-control" type="checkbox" name="anzeige_text" value="1" <?php if($interface->anzeige_text == 1){ echo 'CHECKED';} ?>>
		</div>
	</div>
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['USTARTN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['NEWSK'];?></label>
		<select name="news_komment" class="form-control">
Eric Laufer's avatar
Eric Laufer committed
			<option value="0" <?php if ($interface->news_komment == 0) echo 'SELECTED';?>>Deaktiviert</option>
			<option value="1" <?php if ($interface->news_komment == 1) echo 'SELECTED';?>>Aktiviert</option>
		</select>
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['NEWSKN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['BUCHL'];?></label>
		<select name="buchungen_loeschen" class="form-control">
Eric Laufer's avatar
Eric Laufer committed
			<option value="0" <?php if ($interface->buchungen_loeschen == 0) echo 'SELECTED';?>>Deaktiviert</option>
			<option value="1" <?php if ($interface->buchungen_loeschen == 1) echo 'SELECTED';?>>Aktiviert</option>
		</select>
		<?php
		if ($interface->buchungen_loeschen == 1) echo '<input class="form-control" style="width:100px;" type="text" name="buchungen_loeschen_tage" value="'.$interface->buchungen_loeschen_tage.'"> Tage';
Eric Laufer's avatar
Eric Laufer committed
		?>
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['BUCHLN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['DENIEDE'];?></label>
	<input type="text" class="form-control" name="denied_domains" value="<?php echo $grundconfig->denied_domains;?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['DENIEDEN'];?></small>
</div>

<div class="form-group">
	<label><?php echo GLOBALSETTING['SETTING']['GRUND']['IPLAND'];?></label>
	<input type="text" class="form-control" name="ip_erlaubt" value="<?php echo $grundconfig->ip_erlaubt;?>">
	<small class="form-text text-muted"><?php echo GLOBALSETTING['SETTING']['GRUND']['IPLANDN'];?></small>
</div>