Added contact title

pull/13/head
Wruczek 9 years ago
parent f30103a4fc
commit 8e00244ecf

@ -53,10 +53,13 @@ $config["adminlist"] = array(6, 17, 19);
/************* Konfiguracja panelu "kontakt" *************/
// Ustaw $config['contact'] = ''; by kompletnie wyłączyć wyświetlanie panelu
$config['contact'] = '
/************* Konfiguracja panelu "kontakt" *************/
// Ustaw $config['contact']['text'] = ''; by kompletnie wyłączyć wyświetlanie panelu
$config['contact']['title'] = 'Kontakt z właścicielem';
$config['contact']['text'] = '
<li>TeamSpeak: <span class="pullright">kanał <a href="ts3server://ts.wruczek.top?channel=Kana%C5%82y%20publiczne%2FPogaduchy%2FPogaduchy%205">Pomoc</a></span></li>
<li>Email: <span class="pullright"><a href="mailto:kontakt@email.com">konakt@email.com</a></span></li>
<li>GaduGadu: <span class="pullright"><a href="gg:49568758">49568758 <img src="http://status.gadu-gadu.pl/users/status.asp?id=49568758&styl=1" alt="GG status"></a></span></li>
<li>Steam: <span class="pullright"><a href="http://steamcommunity.com/id/wruczek">Wruczek</a></li>
<li>GaduGadu: <span class="pullright"><a href="gg:49568758">49568758 <img src="http://status.gadu-gadu.pl/users/status.asp?id=49568758&styl=1"></a></span></li>
<li>Steam: <span class="pullright"><a href="http://steamcommunity.com/id/wruczek">Wruczek</a></span></li>
';

@ -118,11 +118,11 @@ require_once __DIR__ . "/../include/adminlist.php";
</div>
</div>
<?php if(!empty($config['contact'])) { ?>
<?php if(!empty($config['contact']['text'])) { ?>
<div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-envelope" aria-hidden="true"></i> Kontakt</div>
<div class="panel-heading"><i class="fa fa-envelope" aria-hidden="true"></i> <?php echo $config['contact']['title']; ?></div>
<div class="panel-body">
<?php echo $config['contact']; ?>
<?php echo $config['contact']['text']; ?>
</div>
</div>
<?php } ?>

Loading…
Cancel
Save