Fork me on GitHub

Rapport de message :*
 

Re: Pb transfert de thème sur V2.2

Titre du sujet : Re: Pb transfert de thème sur V2.2
par Kris sur 28/10/2005 01:11:55

remplace ton fichier theme.html (après sauvegarde ou renommage) par celui-ci :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="Microsoft FrontPage 4.0" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- 
RMVadded module header -->


</
head>
<
body>

<{
$xoops_module_header}>

<
script language="JavaScript">
<!--

function 
SymError()
{
  return 
true;
}

window.onerror SymError;

var 
SymRealWinOpen window.open;

function 
SymWinOpen(urlnameattributes)
{
  return (new 
Object());
}

window.open SymWinOpen;

//-->
</script>

<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>


<table align="center" cellpadding="0" cellspacing="0" class="head_top">
  <form action="<{$xoops_url}>/user.php" method="post">
    <tr>
    <td height="15">
      
      <span class="small" align="bottom"><{if $xoops_isuser}></span> <span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt=""  border="0" /></span><span class="left" align="bottom"> <a href="<{$xoops_url}>/user.php">Voir
      son compte </a><img src="<{$xoops_imageurl}>images/divider.gif" alt=""  border="0" /><a href="<{$xoops_url}>/notifications.php"> Notifications </a><img src="<{$xoops_imageurl}>images/divider.gif" alt=""  border="0" /><{php}>
GLOBAL $xoopsUser;
$pm_handler =& xoops_gethandler('privmessage');
$uid = $xoopsUser->getVar('uid');
$criteria = new CriteriaCompo(new Criteria('read_msg', 0));
$criteria->add(new Criteria('to_userid', $uid));
$msgcount = $pm_handler->getCount($criteria);
$GLOBALS['xoopsTpl']->assign('msgcount', $msgcount);
<{/php}>

<{if $msgcount > 0}> 
<a class="highlight" href="<{$xoops_url}>/viewpmsg.php">Messages (<span style="color:#ff0000; font-weight: bold;"><{$msgcount}></span>)</a>
<{else}> 
<a href="<{$xoops_url}>/viewpmsg.php">Messages</a>
<{/if}><img src="<{$xoops_imageurl}>images/divider.gif" alt=""  border="0" /><a href="<{$xoops_url}>/user.php@op=logout"> D&eacute;connexion </a><img src="<{$xoops_imageurl}>images/divider.gif" alt=""  border="0" /><{if
      $xoops_isadmin}> <a href="<{$xoops_url}>/admin.php">admin
menu</a> <a href="<{$xoops_url}>/notifications.php"> </a><img src="<{$xoops_imageurl}>images/divider.gif" alt=""  border="0" /><{/if}><{else}><a href="<{$xoops_url}>/user.php#lost">Mot
de passe perdu?</a> <img src="<{$xoops_imageurl}>images/spacer.gif" alt=""  border="0" /><a href="<{$xoops_url}>/register.php"> ENREGISTREZ
VOUS!</a><img src="<{$xoops_imageurl}>images/spacer.gif" alt=""  border="0" /> </span>
      nick:
        <input type="text" name="uname" size="12" value="<{$block.unamevalue}>" />
          password:     
          <input type="password" name="pass" size="12" />
         <input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
         <input type="hidden" name="op" value="login" />
      <input name="submit" type="submit" value="login" /><input type="checkbox" name="rememberme" value="On" class ="formButton" />
      Se souvenir de moi <{$block.lang_rememberme}><{/if}><span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/spacer.gif" alt=""  border="0" /></span>    </td>
  </tr>
  </form> 
</table>
    
<table align="center" cellpadding="0" cellspacing="0" class="head_table">
  <tr> 
    <td><a href="<{$xoops_url}>/default.htm">
    </a><img src="<{$xoops_imageurl}>images/logo.jpg" alt="" border="0" /></td>
  </tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" class="head_buttons">
  <form style="margin-top: 0px;" action="<{$xoops_url}>/search.php" method="post"><tr>
    <td width="550" class="buttons_menu"><span class="right"> </span>
      <table height="20" border="0" cellpadding="0" cellspacing="0" class="balk2">
        <tr>
          <td id="buttons_boven"><a href="<{$xoops_url}>">Accueil</a></td>
          <td id="buttons_boven"><a href="<{$xoops_url}>/modules/newbb/default.htm">forums</a></td>
            <td id="buttons_boven"><a href="<{$xoops_url}>/modules/icontent/index.php@page=2_2F">Articles</a></td>
          <td id="buttons_boven"><a href="../../../V2/modules/icontent/index.php@page=169">Bacs A à Z</a></td>
          <td id="buttons_boven"><a href="<{$xoops_url}>/modules/uploader/default.htm">Upload</a></td>
          <td id="buttons_boven"><a href="<{$xoops_url}>/modules/xoopsfaq/default.htm">Faq</a></td>
          <td id="buttons_boven"><a href="<{$xoops_url}>/modules/liaise/default.htm">Contact</a></td>
        </tr>
      </table></td>
    <td width="200" align="right" valign="top" class="buttons_menu"><div align="right">
    <input type="text" name="query" size="14" />
        <input type="hidden" name="action" value="results" />
        <input name="submit2" type="image" value="Zoeken" src="<{$xoops_imageurl}>/images/zoeken.gif" alt="zoeken" align="top" />
        <br />
      </div></td>
    <td align="right" class="buttons_menu">&nbsp;</td>
  </tr></form>
</table>
<table align="center" class="body_table">
  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
          <tr> <{if $xoops_lblocks}>
            <td rowspan="2" valign="top" id="leftcolumn"> 
              <!-- Start left blocks loop -->
            <{foreach item=block from=$xoops_lblocks}> <{include file="AS_01/theme_blockleft.html"}> 
            <{/foreach}> 
              <!-- End left blocks loop -->
            </td>
          <{/if}>
            <td height="17" valign="top" class="body_bar"><p><a href="<{$xoops_url}>/default.htm"> </a> <span class="right">
            </span><span class="left" align="bottom"> 
            <script type="text/javascript">
<!--   // Array ofmonth Names
var monthNames = new Array( "Janvier","Fevrier","Mars","Avril","Mai","Juin","Juillet","Aout","Septembre","Octobre","Novembre","Decembre");
var now = new Date();
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write( " " + now.getDate() + " " + monthNames[now.getMonth()] + ", " + thisYear);
// --></script>
-<{if $xoops_isuser}> Bienvenue<a href="<{$xoops_url}>/user.php"> <{$xoops_uname}></a> <img src="<{$xoops_imageurl}>images/divider.gif" alt="" border="0" /><{else}> <a href="<{$xoops_url}>/register.php">ENREGISTREZ
VOUS!</a> - <{/if}></span> <span class="right"> <{if
$xoops_isuser}> <a href="<{$xoops_url}>/user.php@op=logout">Deconnexion</a><{else}> <a href="<{$xoops_url}>/user.php">Connexion</a> <{/if}></span><span class="right"> </span></p>
            </td><!-- Start right blocks loop -->
              <{if $xoops_showrblock == 1}>
            <td rowspan="2" valign="top" id="rightcolumn"> <{foreach item=block from=$xoops_rblocks}> <{include file="AS_01/theme_blockright.html"}> 
            <{/foreach}> 
              <!-- End right blocks loop -->
            </td><{/if}></tr>
          <tr> 
            <td align="center">              <!-- Display center blocks if any -->
              <{if $xoops_showcblock == 1}>
              <table cellspacing="0">
                <tr valign="top"> 
                  <td colspan="2" id="centerCcolumn"> 
                    <!-- Start center-center blocks loop -->
                  <{foreach item=block from=$xoops_ccblocks}> <{include file="AS_01/theme_blockcenter_c.html"}> 
                  <{/foreach}> 
                    <!-- End center-center blocks loop -->
                  </td>
                </tr>
                <tr> 
                  <td valign="top" id="centerLcolumn"> 
                    <!-- Start center-left blocks loop -->
                  <{foreach item=block from=$xoops_clblocks}> <{include file="AS_01/theme_blockcenter_l.html"}> 
                  <{/foreach}> 
                    <!-- End center-left blocks loop -->
                  </td>
                  <td valign="top" id="centerRcolumn"> 
                    <!-- Start center-right blocks loop -->
                  <{foreach item=block from=$xoops_crblocks}> <{include file="AS_01/theme_blockcenter_r.html"}> 
                  <{/foreach}> 
                    <!-- End center-right blocks loop -->
                  </td>
                </tr>
              </table>
            <{/if}> 
            <!-- End display center blocks -->            <div id="content"> 
              <p><{$xoops_contents}></p>
              </div></td>
          
              
          </tr>
      </table></td></tr></table>

<div align="center"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td id="footerbar"><p><{$xoops_banner}> </p>
      <p>AquaSquale.com &copy; 2004 - Pascal Coulougnon - D&eacute;clar&eacute; aupr&egrave;s
      de la Cnil sous le n&deg;1028419</p></td>
  </tr>
</table>
</body>
</html>

<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>


A +
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

86 Personne(s) en ligne (75 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 86 | Plus ...