Forum. MyNuke.ru

Forum. MyNuke.ru (http://forum.mynuke.ru/index.php)
-   Блоки (http://forum.mynuke.ru/forumdisplay.php?f=16)
-   -   Немогу изминить · (http://forum.mynuke.ru/showthread.php?t=2893)

Morf 02.07.2007 22:21

Немогу изминить ·
 
Как положено открыл block-Content.php заминил · на • но ричего не меняется. Интересно почему?

Soniks 04.07.2007 00:57

Morf смотрте стиль и шрифт, или же не там меняете, что в исходном коде получается?

Morf 04.07.2007 19:49

Извините, спорить не буду, но причём тут стиль и шрифт? Шрифт- 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>&bull;</big></strong>&nbsp;<a href=\"modules.php?name=Content&amp;pa=showpage&amp;pid=$pid\">$title</a><br>";
}

?>

В место &middot; я поставил &bull; больше ни чего не менял.

Alexander-V-Sh 04.07.2007 23:44

а вы уверены, что не меняется?
&middot; на &bull; - это одно и тоже впринципе.

Причем это все стоит в <strong><big>.
При определенных размерах и шрифтах можно разницу незаметить.

Morf 05.07.2007 00:52

Что за беда, попробовал поставить &gt; знак больше в теге <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>&gt;</b>&nbsp;<a href=\"modules.php?name=Content&amp;pa=showpage&amp;pid=$pid\">$title</a><br>";
}

?>

Alexander-V-Sh 05.07.2007 14:27

значит не тот блок правите :)
тут проверка элементарная, написали "ляляляляля" в тексте, если не появилось на экране, значит не то.

Morf 06.07.2007 01:24

А слона то, я и не заметил. Нашёл!!! block-Modules.php окурат 54 и 66 строка. Кинчачнис оним словом. Ура!, ура!, ура! Слава модераторам, надоумили.


Часовой пояс GMT +4, время: 17:05.

Copyright © 2005 by Soniks