Skip to content

Commit

Permalink
Sustituir enlaces absolutos
Browse files Browse the repository at this point in the history
Se han sustituido más enlaces absolutos por relativos.
  • Loading branch information
xaabi6 committed Dec 8, 2021
1 parent 82f7043 commit 0fee3ec
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 73 deletions.
2 changes: 1 addition & 1 deletion Sources/Subs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4151,7 +4151,7 @@ function setupMenuContext()

'search' => array(
'title' => $txt['search'],
'href' => 'http://foro.clubcelica.es/search.php',
'href' => './search.php',
'show' => $context['allow_search'],
'sub_buttons' => array(
),
Expand Down
2 changes: 1 addition & 1 deletion Sources/Subs.php~
Original file line number Diff line number Diff line change
Expand Up @@ -4156,7 +4156,7 @@ function setupMenuContext()

'search' => array(
'title' => $txt['search'],
'href' => 'http://foro.clubcelica.es/search.php',
'href' => './search.php',
'show' => $context['allow_search'],
'sub_buttons' => array(
),
Expand Down
34 changes: 8 additions & 26 deletions Themes/MegaPolis/index.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ function template_main_above()
// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<link rel="shortcut icon" href="https://www.clubcelica.es/foro/favicon.ico"></link>
<link rel="shortcut icon" href="./favicon.ico"></link>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<meta name="description" content="Portal dedicado al mundo del motor, concretamente Toyota Celica y a todos sus aficionados." />', empty($context['robot_no_index']) ? '' : '
<meta name="robots" content="all" />', '
<meta name="keywords" content="Toyota, Celica, auto, racing, tuning, coches, motor, Club, españa, clubcelica, toyotacelica, oficial, coche" />
<link rev="made" href="mailto:[email protected]" />
<base href="https://foro.clubcelica.es/">
<base href=".">
<meta name="Revisit" content="2 days" />
<meta name="REVISIT-AFTER" content="1 days" />
<meta name="DC.Language" scheme="RFC1766" content="Spanish" />
Expand Down Expand Up @@ -189,29 +189,11 @@ function shrinkHeaderIC(mode)

/*Crear una arreglo con las imagenes aleatorias con su ubicación*/

$imagenes[0]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_1.jpg';
$imagenes[1]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_2.jpg';
$imagenes[2]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_3.jpg';
$imagenes[3]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_4.jpg';
$imagenes[4]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_5.jpg';
$imagenes[5]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_6.jpg';
$imagenes[6]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_7.jpg';
$imagenes[7]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_8.jpg';
$imagenes[8]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_9.jpg';
$imagenes[9]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_10.jpg';
$imagenes[10]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_11.jpg';
$imagenes[11]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_12.jpg';
$imagenes[12]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_13.jpg';
$imagenes[13]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_14.jpg';
$imagenes[14]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_15.jpg';
$imagenes[15]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_16.jpg';
$imagenes[16]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_17.jpg';
$imagenes[17]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_18.jpg';
$imagenes[18]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_19.jpg';
$imagenes[19]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_20.jpg';
$imagenes[0]='./images/logo.png';
$imagenes[1]='./images/logo_2.jpg';

/*Definir numero maximo*/
$i=rand(0,19);
$i=rand(0,1);


echo '<table cellpadding="0" cellspacing="0" width="100%" style="border-bottom: 1px solid #060000;">
Expand All @@ -230,7 +212,7 @@ function shrinkHeaderIC(mode)
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
<td valign="top" class="navmenu">
<a href="https://www.clubcelica.es">' , $txt[103] , '</a></td>';
<a href=".">' , $txt[103] , '</a></td>';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '' : '' , '
Expand All @@ -241,7 +223,7 @@ function shrinkHeaderIC(mode)
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '' : '' , '
<td valign="top" class="navmenu">
<a href="https://clubcelica.es/search.php" target="_blank">' , $txt[182] , '</a></td>';
<a href="./search.php" target="_blank">' , $txt[182] , '</a></td>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
Expand Down Expand Up @@ -391,7 +373,7 @@ function smfFooterHighlight(element, value)
</tr>
<tr><td>
Club Celica España, un club hispano para los amantes, propietarios y aficionados del Toyota Celica. <a href="https://www.clubcelica.es/condiciones.html">-Condiciones de Uso-</a>
Club Celica España, un club hispano para los amantes, propietarios y aficionados del Toyota Celica. <a href="./condiciones.html">-Condiciones de Uso-</a>
</tr></td>
<tr>
Expand Down
8 changes: 6 additions & 2 deletions Themes/Windows7_20final/index.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ function template_html_above()
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
/*Crear una arreglo con las imagenes aleatorias con su ubicación*/$imagenes[0]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_1.jpg';$imagenes[1]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_2.jpg';$imagenes[2]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_3.jpg';$imagenes[3]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_4.jpg';$imagenes[4]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_5.jpg';$imagenes[5]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_6.jpg';$imagenes[6]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_7.jpg';$imagenes[7]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_8.jpg';$imagenes[8]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_9.jpg';$imagenes[9]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_10.jpg';$imagenes[10]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_11.jpg';$imagenes[11]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_12.jpg';$imagenes[12]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_13.jpg';$imagenes[13]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_14.jpg';$imagenes[14]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_15.jpg';$imagenes[15]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_16.jpg';$imagenes[16]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_17.jpg';$imagenes[17]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_18.jpg';$imagenes[18]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_19.jpg';$imagenes[19]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_20.jpg';$imagenes[19]='https://www.clubcelica.es/templates/siteground-j15-84/images/beta.jpg';/*Definir numero maximo*/$i=rand(0,19);
/*Crear una arreglo con las imagenes aleatorias con su ubicación*/
$imagenes[0]='./Themes/Windows7_20final/images/logo.png';
/*Definir numero maximo*/
// Si se añaden más imágenes hay que usar la función rand(): $i=rand(0,0);
$i=0;
echo '
<div class="headerimg" align="center">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%"><a href="'.$scripturl.'">
Expand Down Expand Up @@ -240,7 +244,7 @@ function template_body_below()

echo'
<div class="navigation" style="padding-left: 5px; padding-right: 5px; padding-top: 9px; font-size: 11px; font-family: tahoma; color: white; font-weight: bold;">
<div style="float: left;">Club Celica España, foro para los amantes, propietarios y aficionados del Toyota Celica. <a href="https://www.clubcelica.es/condiciones.html">-Condiciones de Uso-</a></div> </div>
<div style="float: left;">Club Celica España, foro para los amantes, propietarios y aficionados del Toyota Celica. <a href="./condiciones.html">-Condiciones de Uso-</a></div> </div>
<br />';


Expand Down
8 changes: 6 additions & 2 deletions Themes/Windows7_20final/index.template.php~
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ function template_body_above()
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo $context['tapatalk_body_hook'];

/*Crear una arreglo con las imagenes aleatorias con su ubicaci�n*/$imagenes[0]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_1.jpg';$imagenes[1]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_2.jpg';$imagenes[2]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_3.jpg';$imagenes[3]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_4.jpg';$imagenes[4]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_5.jpg';$imagenes[5]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_6.jpg';$imagenes[6]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_7.jpg';$imagenes[7]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_8.jpg';$imagenes[8]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_9.jpg';$imagenes[9]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_10.jpg';$imagenes[10]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_11.jpg';$imagenes[11]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_12.jpg';$imagenes[12]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_13.jpg';$imagenes[13]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_14.jpg';$imagenes[14]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_15.jpg';$imagenes[15]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_16.jpg';$imagenes[16]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_17.jpg';$imagenes[17]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_18.jpg';$imagenes[18]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_19.jpg';$imagenes[19]='https://www.clubcelica.es/templates/siteground-j15-84/images/logo_20.jpg';$imagenes[19]='https://www.clubcelica.es/templates/siteground-j15-84/images/beta.jpg';/*Definir numero maximo*/$i=rand(0,19);
/*Crear una arreglo con las imagenes aleatorias con su ubicaci�n*/
$imagenes[0]='./Themes/Windows7_20final/images/logo.png';
/*Definir numero maximo*/
// Si se a�aden m�s im�genes hay que usar la funci�n rand(): $i=rand(0,0);
$i=0;
echo '
<div class="headerimg" align="center">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%"><a href="'.$scripturl.'">
Expand Down Expand Up @@ -242,7 +246,7 @@ src="https://pagead2.googlesyndication.com/pagead/show_ads.js">

echo'
<div class="navigation" style="padding-left: 5px; padding-right: 5px; padding-top: 9px; font-size: 11px; font-family: tahoma; color: white; font-weight: bold;">
<div style="float: left;">Club Celica Espa�a, foro para los amantes, propietarios y aficionados del Toyota Celica. <a href="https://www.clubcelica.es/condiciones.html">-Condiciones de Uso-</a></div> </div>
<div style="float: left;">Club Celica Espa�a, foro para los amantes, propietarios y aficionados del Toyota Celica. <a href="./condiciones.html">-Condiciones de Uso-</a></div> </div>
<br />';


Expand Down
2 changes: 1 addition & 1 deletion Themes/Windows7_20final/navidad/nievetroll.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

//Configure below to change URL path to the snow image
var snowsrc="http://www.clubcelica.es/foro/Themes/Windows7_20final/navidad/trollnieve.gif"
var snowsrc="./Themes/Windows7_20final/navidad/trollnieve.gif"
// Configure below to change number of snow to render
var no = 10;
// Configure whether snow should disappear after x seconds (0=never):
Expand Down
31 changes: 10 additions & 21 deletions android.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,28 @@

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link rel="stylesheet" href="http://www.clubcelica.es/foro/Themes/MegaPolis/style.css" type="text/css">
<link rel="stylesheet" href="./Themes/MegaPolis/style.css" type="text/css">

</head>

<body><?
$imagenes[0]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_1.jpg';
$imagenes[1]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_2.jpg';
$imagenes[2]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_3.jpg';
$imagenes[3]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_4.jpg';
$imagenes[4]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_5.jpg';
$imagenes[5]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_6.jpg';
$imagenes[6]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_7.jpg';
$imagenes[7]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_8.jpg';
$imagenes[8]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_9.jpg';
$imagenes[9]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_10.jpg';
$imagenes[10]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_11.jpg';
$imagenes[11]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_12.jpg';
$imagenes[12]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_13.jpg';
$imagenes[0]='./Themes/MegaPolis/images/logo.png';
$imagenes[1]='./Themes/MegaPolis/images/logo_2.jpg';

/*Definir numero maximo*/
$i=rand(0,12);
$i=rand(0,1);

echo '<table cellpadding="0" cellspacing="0" width="100%" style="border-bottom: 1px solid #060000;">
<tr align="center">
<td><img src="'.$imagenes[$i].'" align="center"></td></tr></table>';
?>
<p><br><center><h1>Bienvenido a Club Celica España para Android</h1><h2><br><br>Escoge entre las siguientes opciones:<br><br>
<a href="http://foro.clubcelica.es/index.php?action=unread" target="_blank">Últimos temas no leídos desde la última visita</a><br><br>
<a href="http://foro.clubcelica.es/index.php?action=unreadreplies" target="_blank">Mostrar nuevas respuestas a tus mensajes</a><br><br>
<a href="http://foro.clubcelica.es/index.php?action=pm" target="_blank">Mensajes Privados</a><br><br>
<a href="http://foro.clubcelica.es/index.php?action=profile" target="_blank">Mi Perfil</a><br><br>
<a href="http://clubcelica.es/search.php" target="_blank">Buscar</a><br><br>
<a href="http://foro.clubcelica.es/" target="_blank">Índice del Foro</a><br><br>
<a href="./index.php?action=unread" target="_blank">Últimos temas no leídos desde la última visita</a><br><br>
<a href="./index.php?action=unreadreplies" target="_blank">Mostrar nuevas respuestas a tus mensajes</a><br><br>
<a href="./index.php?action=pm" target="_blank">Mensajes Privados</a><br><br>
<a href="./index.php?action=profile" target="_blank">Mi Perfil</a><br><br>
<a href="./search.php" target="_blank">Buscar</a><br><br>
<a href="." target="_blank">Índice del Foro</a><br><br>
</p>

</body>
Expand Down
4 changes: 2 additions & 2 deletions formulario.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<head>
<title>Club Celica España</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="Themes/MegaPolis/style.css" type="text/css">
<link rel="stylesheet" href="./Themes/MegaPolis/style.css" type="text/css">
</head>
<form method="post" action="formulario.php">
<font color="white"><p>Nombre:<br>
Expand All @@ -45,7 +45,7 @@
<p style="padding-top: 5px;">
<p><input type="submit" name="enviar" value="Enviar Comentario" />
<input type="reset" name="enviar" value="Borrar los datos" />
<input type = "hidden" name="redirect" value="http://www.clubcelica.es/foro/ok.php">
<input type = "hidden" name="redirect" value="./ok.php">
<br></td>
</tr>
</p>
Expand Down
2 changes: 1 addition & 1 deletion minac0_ok.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<title>Club Celica España</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="Themes/Megapolis/style.css" type="text/css">
<link rel="stylesheet" href="./Themes/Megapolis/style.css" type="text/css">
</head>
<p><center>Tu mensaje ha sido enviado, en un periodo de 48h-72h obtendrás una respuesta.</center></p><br>
<p>Club Celica España</p>
Expand Down
21 changes: 5 additions & 16 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,16 @@

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link rel="stylesheet" href="http://www.clubcelica.es/foro/Themes/MegaPolis/style.css" type="text/css">
<link rel="stylesheet" href="./Themes/MegaPolis/style.css" type="text/css">

</head>

<body><?
$imagenes[0]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_1.jpg';
$imagenes[1]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_2.jpg';
$imagenes[2]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_3.jpg';
$imagenes[3]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_4.jpg';
$imagenes[4]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_5.jpg';
$imagenes[5]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_6.jpg';
$imagenes[6]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_7.jpg';
$imagenes[7]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_8.jpg';
$imagenes[8]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_9.jpg';
$imagenes[9]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_10.jpg';
$imagenes[10]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_11.jpg';
$imagenes[11]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_12.jpg';
$imagenes[12]='http://www.clubcelica.es/templates/siteground-j15-84/images/logo_13.jpg';
$imagenes[0]='./Themes/MegaPolis/images/logo.png';
$imagenes[1]='./Themes/MegaPolis/images/logo_2.jpg';

/*Definir numero maximo*/
$i=rand(0,12);
$i=rand(0,1);

echo '<table cellpadding="0" cellspacing="0" width="100%" style="border-bottom: 1px solid #060000;">
<tr align="center">
Expand All @@ -45,7 +34,7 @@
<script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script>
<script type="text/javascript" src="http://www.google.com/cse/t13n?form=cse-search-box&t13n_langs=es"></script>

<br>Si deseas utilizar el antiguo motor de búsqueda pulsa <a href="http://foro.clubcelica.es/index.php?action=search">aquí</a></p>
<br>Si deseas utilizar el antiguo motor de búsqueda pulsa <a href="./index.php?action=search">aquí</a></p>

</body>

Expand Down

0 comments on commit 0fee3ec

Please sign in to comment.