Add a domain link to the theme.
This commit is contained in:
parent
09c4dd79d0
commit
54bba850a8
|
|
@ -1369,7 +1369,15 @@ if (strlen($_SESSION['message']) > 0) {
|
||||||
<div id="domains_block">
|
<div id="domains_block">
|
||||||
<div id="domains_header">
|
<div id="domains_header">
|
||||||
<input id="domains_hide" type="button" class="btn" style="float: right" value="<?php echo $text['theme-button-close']; ?>">
|
<input id="domains_hide" type="button" class="btn" style="float: right" value="<?php echo $text['theme-button-close']; ?>">
|
||||||
<b style="color: #000;"><?php echo $text['theme-title-domains']; ?></b> (<?php echo sizeof($_SESSION['domains']); ?>)
|
<?php
|
||||||
|
if (file_exists($_SERVER["DOCUMENT_ROOT"]."/app/domains/domains.php")) {
|
||||||
|
$href = '/app/domains/domains.php';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$href = '/core/domain_settings/domains.php';
|
||||||
|
}
|
||||||
|
echo "<a href=\"".$href."\"><b style=\"color: #000;\">".$text['theme-title-domains']."</b></a> (".sizeof($_SESSION['domains']).")";
|
||||||
|
?>
|
||||||
<br><br>
|
<br><br>
|
||||||
<input type="text" id="domain_filter" class="formfld" style="min-width: 100%; width: 100%;" placeholder="<?php echo $text['theme-label-search']; ?>" onkeyup="domain_search(this.value);">
|
<input type="text" id="domain_filter" class="formfld" style="min-width: 100%; width: 100%;" placeholder="<?php echo $text['theme-label-search']; ?>" onkeyup="domain_search(this.value);">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue