Bonjour à tous.
Voila j'ai fais une modif dans l'admin CP des templates en modifiant le footer.
Seulement, je me suis planté.
J'aimerais savoir ou se trouve le fichier footer.php, car je ne le trouve nulle part.
Je dis ça, afin que je puisse écraser ce fichier par mon ancien de sauvegarde.
Merci
D'où l'importance de
toujours faire une copie de ce que tu modifies !...
Les templates ne se trouvent pas dans des fichiers PHP.
Les templates par défaut sont dans :
/install/resources/mybb_theme.xml
Edite le fichier dans un éditeur de texte.
Recherche :
Code :
<template name="footer"
Le code du template est après le '![CDATA qui suit, c'est la partie comprise entre [' et ']'.
A titre d'exemple, pour MyBB 1.4.4, c'est :
Code PHP :
<br />
<div class="bottommenu">
<div class="float_right">{$lang_select}</div>
<div>
<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
</div>
</div>
</div>
<hr class="hidden" />
<div id="copyright">
<div id="debug"><debugstuff></div>
<!-- You may NOT remove, modify or hinder the visibility of the MyBB copyright at any time.
It must contain the links to the MyBB website and be formatted appropriately.
Failure to comply with the above will result in prosecution to the full extent of the law.
This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB{$mybbversion}</a>, © 2002-{$copy_year} <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.<br />
<!-- End copyright -->
<br />
<br class="clear" />
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>
</div>