View Full Version : Немогу изминить ·
Как положено открыл block-Content.php заминил · на • но ричего не меняется. Интересно почему?
Morf смотрте стиль и шрифт, или же не там меняете, что в исходном коде получается?
Извините, спорить не буду, но причём тут стиль и шрифт? Шрифт- Verdana. Вот мой block-Content.php:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2006 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
global $prefix, $db;
$result = $db->sql_query("SELECT pid, title FROM " . $prefix . "_pages WHERE active='1'");
while ($row = $db->sql_fetchrow($result)) {
$pid = intval($row['pid']);
$title = filter($row['title'], "nohtml");
$content .= "<strong><big>•</big></strong> <a href=\"modules.php?name=Content&pa=showpage&pid=$pid\">$title</a><br>";
}
?>
В место · я поставил • больше ни чего не менял.
Alexander-V-Sh
04.07.2007, 23:44
а вы уверены, что не меняется?
· на • - это одно и тоже впринципе.
Причем это все стоит в <strong><big>.
При определенных размерах и шрифтах можно разницу незаметить.
Что за беда, попробовал поставить > знак больше в теге <b></b> ничего не меняется. На ровном месте споткнулся.
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2006 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
global $prefix, $db;
$result = $db->sql_query("SELECT pid, title FROM " . $prefix . "_pages WHERE active='1'");
while ($row = $db->sql_fetchrow($result)) {
$pid = intval($row['pid']);
$title = filter($row['title'], "nohtml");
$content .= "<b>></b> <a href=\"modules.php?name=Content&pa=showpage&pid=$pid\">$title</a><br>";
}
?>
Alexander-V-Sh
05.07.2007, 14:27
значит не тот блок правите :)
тут проверка элементарная, написали "ляляляляля" в тексте, если не появилось на экране, значит не то.
А слона то, я и не заметил. Нашёл!!! block-Modules.php окурат 54 и 66 строка. Кинчачнис оним словом. Ура!, ура!, ура! Слава модераторам, надоумили.
MyNuke.ru