pawelek1261
22.07.2012, 13:32:21
Cześć, jak mogę przesunąć tekst na stopce strony "Powered by PHP-Fusion copyright © 2002 - 2012 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3"
bo chcę aby był nieco niżej.
I drugie pytanie czy mogę wyłączyć dziennik błędów, jak tak to w jaki sposób. Z góry dzięki
toaspzoo
22.07.2012, 13:55:19
Co do tekstu do dodaj atrybut style="margin-top:20px;"
pawelek1261
22.07.2012, 13:56:50
A gdy kod wygląda tak:
Kod
$link_class = $class ? " class='$class' " : "";
$res = "Powered by <a href='http://www.php-fusion.co.uk'".$link_class.">PHP-Fusion</a> copyright © 2002 - ".date("Y")." by Nick Jones.";
$res .= ($nobreak ? " " : "<br />\n");
$res .= "Released as free software without warranties under <a href='http://www.fsf.org/licensing/licenses/agpl-3.0.html'".$link_class.">GNU Affero GPL</a> v3.\n";
return $res;
to jak mogę to dodać?
sobol6803
22.07.2012, 14:31:22
Otwórz stronę w przeglądarce i w źródle strony zobacz jaką klasę ma div ze stopki. Wtedy otwierasz plik css i do tej klasy dopisujesz margin-top.
toaspzoo
22.07.2012, 14:44:23
$link_class = $class ? " class='$class' " : "";
$res = "<div style='position:relative; top:50px;'>Powered by <a href='http://www.php-fusion.co.uk'".$link_class.">PHP-Fusion</a> copyright © 2002 - ".date("Y")." by Nick Jones."; $res .= ($nobreak ? " " : "<br />\n");
$res .= "Released as free software without warranties under <a href='http://www.fsf.org/licensing/licenses/agpl-3.0.html'".$link_class.">GNU Affero GPL</a> v3</div>.\n";
return $res;