mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Remove email functionality
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -1027,14 +1027,6 @@ if (isset($piholeFTLConf['RATE_LIMIT'])) {
|
||||
</form>
|
||||
</div>
|
||||
<!-- ######################################################### API and Web ######################################################### -->
|
||||
<?php
|
||||
// Administrator email address
|
||||
if (isset($setupVars['ADMIN_EMAIL'])) {
|
||||
$adminemail = $setupVars['ADMIN_EMAIL'];
|
||||
} else {
|
||||
$adminemail = '';
|
||||
}
|
||||
?>
|
||||
<div id="api" class="tab-pane fade<?php if ($tab === 'api') { ?> in active<?php } ?>">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
@@ -1138,14 +1130,6 @@ if (isset($setupVars['ADMIN_EMAIL'])) {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h4>Administrator Email Address</h4>
|
||||
<input type="email" class="form-control" name="adminemail" value="<?php echo htmlspecialchars($adminemail); ?>">
|
||||
<input type="hidden" name="field" value="webUI">
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer clearfix">
|
||||
<button type="submit" class="btn btn-primary pull-right">Save</button>
|
||||
|
||||
Reference in New Issue
Block a user