PDA

Zobacz pełną wersję : Wielki mały problem z mod_yweather_0.4_pl



Thorn
13-07-2007, 14:05
mam problem przy większej ilości miast chciałbym by miasta były w odstępie <br> a nie wiem gdzie zmodyfikować to w kodzie


<?php
/**
* @version $Id: mod_yweather.php 2006-02-06 18:29:23Z kebonkopi $
* @package Joomla
* @copyright Copyright (C) 2006 Dikiwinky. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );
global $mosConfig_offset;
$cities = $params->def( 'cities' );
$degree = $params->def( 'degree' );
$font_header = $params->def( 'font_header' );
$bg_header = $params->def( 'bg_header' );
$fg_header = $params->def( 'fg_header' );
$fs_header = $params->def( 'fs_header' );
$font_cities = $params->def( 'font_cities' );
$bg_cities = $params->def( 'bg_cities' );
$fg_cities = $params->def( 'fg_cities' );
$fs_cities = $params->def( 'fs_cities' );
?>
<script language="JavaScript"src="http://data.geo.yahoo.com/geo/v1?w=<?=$degree;?>,<?=$cities;?>&amp;
hbc=<?=$bg_header;?>&amp;hfc=<?=$fg_header;?>&amp;hff=<?=$font_header;?>&amp;hfs=<?=$fs_header;?>&amp;
ibc=<?=$bg_cities?>&amp;ifc=<?=$fg_cities?>&amp;iff=<?=$font_cities;?>&amp;ifs=<?=$fs_cities;?>">
</script>

jak tego nie zrobię to mi rozwala całą stronę ponieważ miasta są obok siebie a nie pod sobą :( proszę o pomoc