Mettre à jour son forum phpBB3

Télécharger la dernière version de phpBB3, scripts de mise à jour automatique, ou changements manuels de code.

Modérateur: Equipe

Re: Mettre à jour son forum phpBB3

Messagepar Morgyanne » 04 Mar 2010 à 18:35

G » Modifications des styles de phpBB 3.0.6 à phpBB 3.0.7-PL1

1 » Détail des modifications Prosilver

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/captcha_recaptcha.html
  • template/editor.js
  • template/forum_fn.js
  • template/index_body.html
  • template/login_body.html
  • template/login_forum.html
  • template/mcp_post.html
  • template/overall_header.html
  • template/quickreply_editor.html
  • template/search_results.html
  • template/template.cfg
  • template/ucp_avatar_options.html
  • template/ucp_pm_viewmessage_print.html
  • template/ucp_register.html
  • template/viewforum_body.html
  • template/viewtopic_print.html
  • theme/bidi.css
  • theme/colours.css
  • theme/forms.css
  • theme/links.css
  • theme/theme.cfg


Vous pouvez reporter directement les fichiers sur lesquels vous n'avez effectué aucune modification. Ce sont pour la plupart des templates car si vous avez modifié votre style, il y a de fortes chances que vous ayez touché au moins à colours.css et common.css...
Pour les fichiers suivants, il faudra parfois adapter le code à vos précédentes modifications.
N.B. Si certaines modifications vous semblent identiques au code d'origine, c'est parce qu'elles ne concernent que des espaces en trop - en fin de ligne - qui ont été retirés ;).


style.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 17)
    Code: Tout sélectionner
    #

    # General Information about this style

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this style

  4. Cherchez (ligne 22)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

imageset/imageset.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2006 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2006 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 17)
    Code: Tout sélectionner
    #

    # General Information about this style

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this style

  4. Cherchez (ligne 22)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

  5. Cherchez (autour de la ligne 26)
    Code: Tout sélectionner
    img_poll_left =
    img_poll_center =
    img_poll_right =
    img_icon_friend =
    img_icon_foe =

    Remplacez par
    Code: Tout sélectionner
    img_poll_left =
    img_poll_center =
    img_poll_right =
    img_icon_friend =
    img_icon_foe =

  6. Cherchez (ligne 114)
    Code: Tout sélectionner
    img_icon_user_profile =

    Remplacez par
    Code: Tout sélectionner
    img_icon_user_profile =

template/captcha_recaptcha.html
  1. Cherchez (ligne 18)
    Code: Tout sélectionner
    lang : '{L_RECAPTCHA_LANG}',

    Remplacez par
    Code: Tout sélectionner
    lang : '{LA_RECAPTCHA_LANG}',

template/editor.js
  1. Cherchez (autour de la ligne 326)
    Code: Tout sélectionner
       txtarea.selectionStart = selEnd + open.length + close.length;
       txtarea.selectionEnd = txtarea.selectionStart;

    Remplacez par
    Code: Tout sélectionner
       txtarea.selectionStart = selStart + open.length;
       txtarea.selectionEnd = selEnd + open.length;

template/forum_fn.js
  1. Cherchez (ligne 401)
    Code: Tout sélectionner
    $('form input').live('keypress', function (e)

    Remplacez par
    Code: Tout sélectionner
    jQuery('form input[type=text], form input[type=password]').live('keypress', function (e)

  2. Cherchez (ligne 403)
    Code: Tout sélectionner
    var default_button = $(this).parents('form').find('input[type=submit].default-submit-action');

    Remplacez par
    Code: Tout sélectionner
    var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action');

  3. Cherchez (autour de la ligne 427)
    Code: Tout sélectionner
          if (element.type == 'hidden')
             continue;

          // onkeydown is possible too
          element.onkeypress = function (evt) { submit_default_button((evt || window.event), this, 'default-submit-action'); };

    Remplacez par
    Code: Tout sélectionner
          if (element.type == 'text' || element.type == 'password')
          {
             // onkeydown is possible too
             element.onkeypress = function (evt) { submit_default_button((evt || window.event), this, 'default-submit-action'); };
          }

template/index_body.html
  1. Cherchez (autour de la ligne 24)
    Code: Tout sélectionner
                | <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
             <!-- ENDIF -->
             <input type="submit" name="login" value="{L_LOGIN}" class="button2" />
          </fieldset>

    Dans la ligne, cherchez
    Code: Tout sélectionner
             <input type="submit" name="login" value="{L_LOGIN}" class="button2" />
          </fieldset>

    Remplacez par
    Code: Tout sélectionner
             <input type="submit" name="login" value="{L_LOGIN}" class="button2" />
             {S_LOGIN_REDIRECT}
          </fieldset>

template/login_body.html
  1. Cherchez (autour de la ligne 36)
    Code: Tout sélectionner
             <dt>&nbsp;</dt>
             <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
          </dl>

          </fieldset>

    Dans la ligne, cherchez
    Code: Tout sélectionner
          </dl>

          </fieldset>

    Remplacez par
    Code: Tout sélectionner
          </dl>
          {S_LOGIN_REDIRECT}
          </fieldset>

template/login_forum.html
  1. Cherchez (autour de la ligne 24)
    Code: Tout sélectionner
          <dt>&nbsp;</dt>
          <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" id="login" class="button1" value="{L_LOGIN}" tabindex="2" /></dd>
       </dl>
       </fieldset>

    Dans la ligne, cherchez
    Code: Tout sélectionner
       </dl>
       </fieldset>

    Remplacez par
    Code: Tout sélectionner
       </dl>
       {S_LOGIN_REDIRECT}
       </fieldset>

template/mcp_post.html
  1. Cherchez (ligne 106)
    Code: Tout sélectionner
    <div>{L_THIS_POST_IP}: <!-- IF U_WHOIS -->

    Remplacez par
    Code: Tout sélectionner
    <div><!-- IF S_PM -->{L_THIS_PM_IP}<!-- ELSE -->{L_THIS_POST_IP}<!-- ENDIF -->: <!-- IF U_WHOIS -->

template/overall_header.html
  1. Cherchez (autour de la ligne 18)
    Code: Tout sélectionner
    <!-- IF S_ENABLE_FEEDS -->
       <link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
       <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
    <!-- ENDIF -->

    Remplacez par
    Code: Tout sélectionner
    <!-- IF S_ENABLE_FEEDS -->
       <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
    <!-- ENDIF -->

template/quickreply_editor.html
  1. Cherchez (autour de la ligne 24)
    Code: Tout sélectionner
       <form method="post" action="{U_QR_ACTION}">
          <div class="panel" id="qr_ns_editor_div">
             <div class="inner"><span class="corners-top"><span></span></span>
                <div class="content">
                   <h2>{L_QUICKREPLY}</h2>

    Remplacez par
    Code: Tout sélectionner
       <form method="post" action="{U_QR_ACTION}">
          <div class="panel" id="qr_ns_editor_div">
             <div class="inner"><span class="corners-top"><span></span></span>
                   <h2>{L_QUICKREPLY}</h2>

  2. Cherchez (autour de la ligne 41)
    Code: Tout sélectionner
                      <input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />&nbsp;
                      <input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;
                   </fieldset>
                </div>
             <span class="corners-bottom"><span></span></span></div>

    Remplacez par
    Code: Tout sélectionner
                      <input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />&nbsp;
                      <input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;
                   </fieldset>
             <span class="corners-bottom"><span></span></span></div>

  3. Cherchez (autour de la ligne 49)
    Code: Tout sélectionner
    <form method="post" action="{U_QR_ACTION}">
       <div class="panel" style="display: none" id="qr_editor_div">
          <div class="inner"><span class="corners-top"><span></span></span>
             <div class="content">
                <h2>{L_QUICKREPLY}</h2>

    Remplacez par
    Code: Tout sélectionner
    <form method="post" action="{U_QR_ACTION}">
       <div class="panel" style="display: none" id="qr_editor_div">
          <div class="inner"><span class="corners-top"><span></span></span>
                <h2>{L_QUICKREPLY}</h2>

  4. Cherchez (autour de la ligne 67)
    Code: Tout sélectionner
                   <input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;
                </fieldset>
                <a href="" class="right-box up" onclick="hide_qr(false); return false;" title="{L_COLLAPSE_QR}">{L_COLLAPSE_QR}</a>
             </div>
          <span class="corners-bottom"><span></span></span></div>

    Remplacez par
    Code: Tout sélectionner
                   <input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;
                </fieldset>
                <a href="" class="right-box up" onclick="hide_qr(false); return false;" title="{L_COLLAPSE_QR}">{L_COLLAPSE_QR}</a>
          <span class="corners-bottom"><span></span></span></div>

template/search_results.html
  1. Cherchez (autour de la ligne 138)
    Code: Tout sélectionner
          <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
          <!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY -->
             <label><!-- IF S_SHOW_TOPICS -->{L_DISPLAY_POSTS}<!-- ELSE -->{L_SORT_BY}</label><label><!-- ENDIF --> {S_SELECT_SORT_DAYS}<!-- IF S_SELECT_SORT_KEY --></label> <label>{S_SELECT_SORT_KEY}</label>
             <label>{S_SELECT_SORT_DIR} <!-- ELSE --></label><!-- ENDIF --><input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
          <!-- ENDIF -->
       </fieldset>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <label>{S_SELECT_SORT_DIR} <!-- ELSE --></label><!-- ENDIF --><input type="submit" name="sort" value="{L_GO}" class="button2" /></label>

    Remplacez par
    Code: Tout sélectionner
    <label>{S_SELECT_SORT_DIR}<!-- ENDIF --> <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>

template/template.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2006 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2006 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 17)
    Code: Tout sélectionner
    #

    # General Information about this template

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this template

  4. Cherchez (ligne 22)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

template/ucp_avatar_options.html
  1. Cherchez (autour de la ligne 35)
    Code: Tout sélectionner
          <dl>
             <dt><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
             <dd>
                <label for="width"><input type="text" name="width" id="width" size="3" value="{AVATAR_WIDTH}" class="inputbox autowidth" /> px</label> &times;&nbsp;
                <label for="height"><input type="text" name="height" id="height" size="3" value="{AVATAR_HEIGHT}" class="inputbox autowidth" /> px</label>
             </dd>
          </dl>

    Dans la ligne, cherchez
    Code: Tout sélectionner
                <label for="width"><input type="text" name="width" id="width" size="3" value="{AVATAR_WIDTH}" class="inputbox autowidth" /> px</label> &times;&nbsp;
                <label for="height"><input type="text" name="height" id="height" size="3" value="{AVATAR_HEIGHT}" class="inputbox autowidth" /> px</label>

    Remplacez par
    Code: Tout sélectionner
                <label for="width"><input type="text" name="width" id="width" size="3" value="{AVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL}</label> &times;&nbsp;
                <label for="height"><input type="text" name="height" id="height" size="3" value="{AVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}</label>

template/ucp_pm_viewmessage_print.html
  1. Cherchez (autour de la ligne 83)
    Code: Tout sélectionner
          <td width="10%" nowrap="nowrap">{L_TO}:</td>
          <td>
          <!-- BEGIN to_recipient -->
             <!-- IF to_recipient.COLOUR --><span style="color:{to_recipient.COLOUR}"><!-- ELSE --><span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{to_recipient.NAME}</span>&nbsp;

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <!-- IF to_recipient.COLOUR --><span style="color:{to_recipient.COLOUR}"><!-- ELSE --><span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{to_recipient.NAME}</span>&nbsp;

    Remplacez par
    Code: Tout sélectionner
    <span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->>{to_recipient.NAME}</span>&nbsp;


template/ucp_register.html
  1. Cherchez (autour de la ligne 48)
    Code: Tout sélectionner
       </dl>
       <dl>
          <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label></dt>
          <dd><input type="password"  tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" /></dd>
       </dl>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <dd><input type="password"  tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" /></dd>

    Remplacez par
    Code: Tout sélectionner
    <dd><input type="password" tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" /></dd>

template/viewforum_body.html
  1. Cherchez (autour de la ligne 6)
    Code: Tout sélectionner
    <div>
       <!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
       <!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
       <!-- IF MODERATORS --><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}<!-- ENDIF -->
    </div>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <!-- IF MODERATORS --><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}<!-- ENDIF -->

    Remplacez par
    Code: Tout sélectionner
    <!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}</p><!-- ENDIF -->

  2. Cherchez (autour de la ligne 100)
    Code: Tout sélectionner
                   <dt>&nbsp;</dt>
                   <dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
                </dl>
                </fieldset>

    Dans la ligne, cherchez
    Code: Tout sélectionner
                </dl>
                </fieldset>

    Remplacez par
    Code: Tout sélectionner
                </dl>
                {S_LOGIN_REDIRECT}
                </fieldset>

template/viewtopic_print.html
  1. Cherchez (autour de la ligne 36)
    Code: Tout sélectionner
             <div class="post">
                <h3>{postrow.POST_SUBJECT}</h3>
                <div class="date">{postrow.MINI_POST_IMG}{L_POSTED}: <strong>{postrow.POST_DATE}</strong></div>
                <div class="author">{L_POST_BY_AUTHOR} <strong<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</strong></div>
                <div class="content">{postrow.MESSAGE}</div>
             </div>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <div class="author">{L_POST_BY_AUTHOR} <strong<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</strong></div>

    Remplacez par
    Code: Tout sélectionner
    <div class="author">{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR}</strong></div>

theme/bidi.css
  1. Cherchez
    Code: Tout sélectionner
    .rtl a.top {
       float: left;
    }

    Avant, ajoutez
    Code: Tout sélectionner
    /* Links adjustment to correctly display an order of rtl/ltr mixed content */
    .rtl a {
       direction: rtl;
       unicode-bidi: embed;
    }

  2. Cherchez
    Code: Tout sélectionner
    .rtl blockquote {
       margin: 0.5em 25px 0 1px;
       background-position: 99% 5px;
    }

    Dans la ligne, cherchez
    Code: Tout sélectionner
    background-position: 99% 5px;

    Remplacez par
    Code: Tout sélectionner
    background-position: 99% 8px;

theme/colours.css
  1. Cherchez
    Code: Tout sélectionner
    #navigation a:hover {
       background-color: #aabac6;
       color: #BC2A4D;
    }

    Dans la ligne, cherchez
    Code: Tout sélectionner
    background-color: #aabac6;

    Avant, ajoutez
    Code: Tout sélectionner
    background-image: none;

theme/forms.css
  1. Cherchez
    Code: Tout sélectionner
    a.button1, input.button1, input.button3, a.button2, input.button2 {
       width: auto !important;
       padding-top: 1px;
       padding-bottom: 1px;
       font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
       color: #000;
       background: #FAFAFA none repeat-x top;
    }

    Dans la ligne, cherchez
    Code: Tout sélectionner
    background: #FAFAFA none repeat-x top;

    Remplacez par
    Code: Tout sélectionner
    background: #FAFAFA none repeat-x top left;

theme/links.css
  1. Cherchez
    Code: Tout sélectionner
    /* proSilver Link Styles
    ---------------------------------------- */

    a:link   { color: #898989; text-decoration: none; }

    Remplacez par
    Code: Tout sélectionner
    /* proSilver Link Styles
    ---------------------------------------- */

    /* Links adjustment to correctly display an order of rtl/ltr mixed content */
    a {
       direction: ltr;
       unicode-bidi: embed;
    }

    a:link   { color: #898989; text-decoration: none; }

theme/theme.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2006 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2006 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 19)
    Code: Tout sélectionner
    #

    # General Information about this theme

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this theme

  4. Cherchez (ligne 24)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

  5. Cherchez (ligne 28)
    Code: Tout sélectionner
    # You have to turn this option on if you want to use the

    Remplacez par
    Code: Tout sélectionner
    # You have to turn this option on if you want to use the

Sauvegardez tous les fichiers, écrasez ceux présents sur votre ftp et n'oubliez pas de rafraichir le dossier "template" et "theme" de votre style dans l'onglet "styles" du panneau d'administration.
Avatar de l’utilisateur
Morgyanne
Administrateur
Administrateur
 
Messages: 31255
Inscription: 21 Mar 2005 à 12:28
Localisation: Juste derrière toi...

Re: Mettre à jour son forum phpBB3

Messagepar Morgyanne » 04 Mar 2010 à 18:36

G » Modifications des styles de phpBB 3.0.6 à phpBB 3.0.7

2 » Détail des modifications subsilver2

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/captcha_default.html
  • template/captcha_qa.html
  • template/captcha_recaptcha.html
  • template/editor.js
  • template/index_body.html
  • template/login_body.html
  • template/login_forum.html
  • template/mcp_ban.html
  • template/mcp_logs.html
  • template/mcp_notes_user.html
  • template/mcp_post.html
  • template/overall_header.html
  • template/template.cfg
  • template/ucp_pm_viewmessage_print.html
  • template/ucp_profile_avatar.html
  • template/viewforum_body.html
  • template/viewtopic_print.html
  • theme/stylesheet.css
  • theme/theme.cfg


Vous pouvez reporter directement les fichiers sur lesquels vous n'avez effectué aucune modification. Ce sont pour la plupart des templates car si vous avez modifié votre style, il y a de fortes chances que vous ayez touché à stylesheets.css.
N.B. Si certaines modifications vous semblent identiques au code d'origine, c'est parce qu'elles ne concernent que des espaces en trop - en fin de ligne - qui ont été retirés ;).


style.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 17)
    Code: Tout sélectionner
    #

    # General Information about this style

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this style

  4. Cherchez (ligne 22)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

imageset/imageset.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 22)
    Code: Tout sélectionner
    version = 3.0.6

    # Images

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

    # Images

  4. Cherchez (autour de la ligne 84)
    Code: Tout sélectionner
    img_subforum_read =
    img_subforum_unread =

    Remplacez par
    Code: Tout sélectionner
    img_subforum_read =
    img_subforum_unread =

template/captcha_default.html
  1. Cherchez (autour de la ligne 11)
    Code: Tout sélectionner
       <tr>
          <td class="row1"><b class="genmed">{L_CONFIRM_CODE}:</b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
          <td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" />
          <!-- IF S_CONFIRM_REFRESH --><input type="submit" name="refresh_vc" id="refresh_vc" class="button2" value="{L_VC_REFRESH}" /><!-- ENDIF --></td>
       </tr>

    Dans la ligne, cherhcez
    Code: Tout sélectionner
    <!-- IF S_CONFIRM_REFRESH --><input type="submit" name="refresh_vc" id="refresh_vc" class="button2" value="{L_VC_REFRESH}" /><!-- ENDIF --></td>

    Remplacez par
    Code: Tout sélectionner
    <!-- IF S_CONFIRM_REFRESH --><input type="submit" name="refresh_vc" id="refresh_vc" class="btnlite" value="{L_VC_REFRESH}" /><!-- ENDIF --></td>

template/captcha_qa.html
  1. Cherchez (ligne 2)
    Code: Tout sélectionner
    <th colspan="2" valign="middle">{QA_CONFIRM_QUESTION}</th>

    Remplacez par
    Code: Tout sélectionner
    <th colspan="2" valign="middle">{L_CONFIRM_QUESTION}</th>

  2. Cherchez (ligne 5)
    Code: Tout sélectionner
    <td class="row1"><b class="genmed">{QA_CONFIRM_QUESTION}:</b><br /></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row1"><b class="genmed">{QA_CONFIRM_QUESTION}:</b><br /><span class="gensmall">{L_CONFIRM_QUESTION_EXPLAIN}</span></td>

template/captcha_recaptcha.html
  1. Cherchez (autour de la ligne 8)
    Code: Tout sélectionner
          <script type="text/javascript">
          // <![CDATA[
          var RecaptchaOptions = {
             lang : '{L_RECAPTCHA_LANG}',
             tabindex : <!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->

    Dans la ligne, cherchez
    Code: Tout sélectionner
    lang : '{L_RECAPTCHA_LANG}',

    Remplacez par
    Code: Tout sélectionner
    lang : '{LA_RECAPTCHA_LANG}',

template/editor.js
  1. Cherchez (autour de la ligne 279)
    Code: Tout sélectionner
       txtarea.selectionStart = selEnd + open.length + close.length;
       txtarea.selectionEnd = txtarea.selectionStart;

    Remplacez par
    Code: Tout sélectionner
       txtarea.selectionStart = selStart + open.length;
       txtarea.selectionEnd = selEnd + open.length;

template/index_body.html
  1. Cherchez (autour de la ligne 80)
    Code: Tout sélectionner
          <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
       </tr>
       </table>
       {S_FORM_TOKEN}

    Dans la ligne, cherchez
    Code: Tout sélectionner
       </table>
       {S_FORM_TOKEN}

    Remplacez par
    Code: Tout sélectionner
       </table>
       {S_LOGIN_REDIRECT}
       {S_FORM_TOKEN}

template/login_body.html
  1. Cherchez (autour de la ligne 77)
    Code: Tout sélectionner
    </tr>
    </table>
    {S_FORM_TOKEN}

    </form>

    Remplacez par
    Code: Tout sélectionner
    </tr>
    </table>
    {S_FORM_TOKEN}
    {S_LOGIN_REDIRECT}
    </form>

template/login_forum.html
  1. Cherchez (autour de la ligne 32)
    Code: Tout sélectionner
       </tr>
       </table>
       {S_FORM_TOKEN}
       </form>

    Remplacez par
    Code: Tout sélectionner
       </tr>
       </table>
       {S_FORM_TOKEN}
       {S_LOGIN_REDIRECT}
       </form>

template/mcp_ban.html
  1. Cherchez (ligne 87)
    Code: Tout sélectionner
    <td class="row2"><input style="border: 0; width: 100%" type="text" name="unbanlength" disabled="disabled" /></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row2"><input style="border: 0; width: 100%" type="text" name="unbanlength" readonly="readonly" /></td>

  2. Cherchez (ligne 91)
    Code: Tout sélectionner
    <td class="row2"><textarea style="border: 0; width: 100%" name="unbanreason" disabled="disabled" rows="5" cols="80">&nbsp;</textarea></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row2"><textarea style="border: 0; width: 100%" name="unbanreason" readonly="readonly" rows="5" cols="80">&nbsp;</textarea></td>

  3. Cherchez (ligne 95)
    Code: Tout sélectionner
    <td class="row2"><textarea style="border: 0; width: 100%" name="unbangivereason" disabled="disabled" rows="5" cols="80">&nbsp;</textarea></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row2"><textarea style="border: 0; width: 100%" name="unbangivereason" readonly="readonly" rows="5" cols="80">&nbsp;</textarea></td>

template/mcp_logs.html
  1. Cherchez (autour de la ligne 22)
    Code: Tout sélectionner
          </tr>
       <!-- END log -->
       <tr align="center">
          <td class="row3" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->"><span class="gensmall">{L_SEARCH_KEYWORDS}:</span> <input type="text" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="button2" name="filter" value="{L_SEARCH}" /></td>
       </tr>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <td class="row3" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->"><span class="gensmall">{L_SEARCH_KEYWORDS}:</span> <input type="text" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="button2" name="filter" value="{L_SEARCH}" /></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row3" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->"><span class="gensmall">{L_SEARCH_KEYWORDS}:</span> <input type="text" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="btnlite" name="filter" value="{L_SEARCH}" /></td>

template/mcp_notes_user.html
  1. Cherchez (autour de la ligne 55)
    Code: Tout sélectionner
    <!-- IF S_USER_NOTES -->

       <tr align="center">
          <td colspan="5" class="row3"><span class="gensmall">{L_SEARCH_KEYWORDS}:</span> <input type="text" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="button2" name="filter" value="{L_SEARCH}" /></td>
       </tr>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <td colspan="5" class="row3"><span class="gensmall">{L_SEARCH_KEYWORDS}:</span> <input type="text" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="button2" name="filter" value="{L_SEARCH}" /></td>

    Remplacez par
    Code: Tout sélectionner
    <td colspan="5" class="row3"><span class="gensmall">{L_SEARCH_KEYWORDS}:</span> <input type="text" name="keywords" value="{S_KEYWORDS}" />&nbsp;<input type="submit" class="btnlite" name="filter" value="{L_SEARCH}" /></td>

template/mcp_post.html
  1. Cherchez (autour de la ligne 58)
    Code: Tout sélectionner
    </tr>
    <!-- IF S_CAN_VIEWIP -->
       <tr>
          <td class="row1"><b class="gen">{L_THIS_POST_IP}: </b></td>
          <td class="row2"><span class="gen">

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <td class="row1"><b class="gen">{L_THIS_POST_IP}: </b></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row1"><b class="gen"><!-- IF S_PM -->{L_THIS_PM_IP}<!-- ELSE -->{L_THIS_POST_IP}<!-- ENDIF -->: </b></td>

template/overall_header.html
  1. Cherchez (autour de la ligne 18)
    Code: Tout sélectionner
    <!-- IF S_ENABLE_FEEDS -->
       <link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" />
       <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_TOPICS}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
    <!-- ENDIF -->

    Remplacez par
    Code: Tout sélectionner
    <!-- IF S_ENABLE_FEEDS -->
       <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
       <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&amp;t={S_TOPIC_ID}" /><!-- ENDIF -->
    <!-- ENDIF -->

template/template.cfg
  1. Cherchez (autour de la ligne5)
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 17)
    Code: Tout sélectionner
    #

    # General Information about this template

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this template

  4. Cherchez (ligne 23)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

template/ucp_pm_viewmessage_print.html
  1. Cherchez (autour de la ligne 85)
    Code: Tout sélectionner
          <td width="10%" nowrap="nowrap">{L_TO}:</td>
          <td>
          <!-- BEGIN to_recipient -->
             <!-- IF to_recipient.COLOUR --><span style="color:{to_recipient.COLOUR}"><!-- ELSE --><span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{to_recipient.NAME}</span>&nbsp;

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <!-- IF to_recipient.COLOUR --><span style="color:{to_recipient.COLOUR}"><!-- ELSE --><span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{to_recipient.NAME}</span>&nbsp;

    Remplacez par
    Code: Tout sélectionner
    <span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->>{to_recipient.NAME}</span>&nbsp;

template/ucp_profile_avatar.html
  1. Cherchez (autour de la ligne 40)
    Code: Tout sélectionner
       </tr>
       <tr>
          <td class="row1" width="35%"><b class="genmed">{L_LINK_REMOTE_SIZE}: </b><br /><span class="gensmall">{L_LINK_REMOTE_SIZE_EXPLAIN}</span></td>
          <td class="row2"><input class="post" type="text" name="width" size="3" value="{AVATAR_WIDTH}" /> <span class="gen">px X </span> <input class="post" type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span class="gen">px</span></td>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <td class="row2"><input class="post" type="text" name="width" size="3" value="{AVATAR_WIDTH}" /> <span class="gen">px X </span> <input class="post" type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span class="gen">px</span></td>

    Remplacez par
    Code: Tout sélectionner
    <td class="row2"><input class="post" type="text" name="width" size="3" value="{AVATAR_WIDTH}" /> <span class="gen">{L_PIXEL} &times; </span> <input class="post" type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span class="gen">{L_PIXEL}</span></td>

template/viewforum_body.html
  1. Cherchez (autour de la ligne 125)
    Code: Tout sélectionner
             <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED -->&nbsp; <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
          </tr>
          </table>

          </form>

    Dans la ligne, cherchez
    Code: Tout sélectionner
          </table>

          </form>

    Remplacez par
    Code: Tout sélectionner
          </table>
          {S_LOGIN_REDIRECT}
          </form>

template/viewtopic_print.html
  1. Cherchez (autour de la ligne 91)
    Code: Tout sélectionner
       <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
       <tr>
          <td width="10%" nowrap="nowrap">{L_AUTHOR}:&nbsp;</td>
          <td><b<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b> [ {postrow.POST_DATE} ]</td>

    Dans la ligne, cherchez
    Code: Tout sélectionner
    <td><b<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b> [ {postrow.POST_DATE} ]</td>

    Remplacez par
    Code: Tout sélectionner
    <td><b>{postrow.POST_AUTHOR}</b> [ {postrow.POST_DATE} ]</td>

theme/stylesheet.css
  1. Cherchez
    Code: Tout sélectionner
    /* Links
     ------------ */
    a:link {
       color: #006597;
       text-decoration: none;
    }

    Dans la ligne, cherchez
    Code: Tout sélectionner
    a:link {

    Avant, ajoutez
    Code: Tout sélectionner
    /* Links adjustment to correctly display an order of rtl/ltr mixed content */
    .rtl a {
       direction: rtl;
       unicode-bidi: embed;
    }

theme/theme.cfg
  1. Cherchez (autour de la ligne 5)
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

    Remplacez par
    Code: Tout sélectionner
    # @copyright (c) 2005 phpBB Group
    # @license http://opensource.org/licenses/gpl-license.php GNU Public License

  2. Cherchez (ligne 14)
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

    Remplacez par
    Code: Tout sélectionner
    # the value, then enclose the value with single or double quotes.

  3. Cherchez (autour de la ligne 19)
    Code: Tout sélectionner
    #

    # General Information about this theme

    Remplacez par
    Code: Tout sélectionner
    #

    # General Information about this theme

  4. Cherchez (ligne 24)
    Code: Tout sélectionner
    version = 3.0.6

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.7

  5. Cherchez (ligne 29)
    Code: Tout sélectionner
    # You have to turn this option on if you want to use the

    Remplacez par
    Code: Tout sélectionner
    # You have to turn this option on if you want to use the

Sauvegardez tous les fichiers, écrasez ceux présents sur votre ftp et n'oubliez pas de rafraichir le dossier "template" et "theme" de votre style dans l'onglet "styles" du panneau d'administration.
Avatar de l’utilisateur
Morgyanne
Administrateur
Administrateur
 
Messages: 31255
Inscription: 21 Mar 2005 à 12:28
Localisation: Juste derrière toi...

Re: Mettre à jour son forum phpBB3

Messagepar Kewee » 21 Nov 2010 à 01:19

H » Modifications des styles de phpBB 3.0.7-PL1 à phpBB 3.0.8

1 » Détail des modifications Prosilver

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/captcha_recaptcha.html
  • template/editor.js
  • template/forum_fn.js
  • template/index_body.html
  • template/login_body.html
  • template/mcp_post.html
  • template/mcp_reports.html
  • template/overall_header.html
  • template/posting_buttons.html
  • template/posting_editor.html
  • template/posting_topic_review.html
  • template/quickreply_editor.html
  • template/search_body.html
  • template/template.cfg
  • template/ucp_pm_history.html
  • template/ucp_pm_viewfolder.html
  • template/ucp_profile_signature.html
  • template/viewforum_body.html
  • theme/bidi.css
  • theme/content.css
  • theme/forms.css
  • theme/print.css
  • theme/theme.cfg


Vous pouvez reporter directement les fichiers sur lesquels vous n'avez effectué aucune modification. Ce sont pour la plupart des templates car si vous avez modifié votre style, il y a de fortes chances que vous ayez touché au moins à colours.css et common.css...
Pour les fichiers suivants, il faudra parfois adapter le code à vos précédentes modifications.
N.B. Si certaines modifications vous semblent identiques au code d'origine, c'est parce qu'elles ne concernent que des espaces en trop - en fin de ligne - qui ont été retirés ;).


style.cfg
  1. Cherchez (dernière ligne)
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

imageset/imageset.cfg
  1. Cherchez (environs de la ligne 22)
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

template/captcha_recaptcha.html
  1. Cherchez (ligne 15)
    Code: Tout sélectionner
          <script type="text/javascript">
          // <![CDATA[
          var RecaptchaOptions = {
             lang : '{LA_RECAPTCHA_LANG}',

    juste après, ajoutez;
    Code: Tout sélectionner
             theme : 'clean',

template/editor.js
  1. Cherchez (ligne 160)
    Code: Tout sélectionner
          mozWrap(textarea, text, '')

    remplacez par ;
    Code: Tout sélectionner
          mozWrap(textarea, text, '');

  2. Cherchez (ligne 197)
    Code: Tout sélectionner
    function addquote(post_id, username)
    {
       var message_name = 'message_' + post_id;
       var theSelection = '';
       var divarea = false;

    remplacez par ;
    Code: Tout sélectionner
    function addquote(post_id, username, l_wrote)
    {
       var message_name = 'message_' + post_id;
       var theSelection = '';
       var divarea = false;

       if (l_wrote === undefined)
       {
          // Backwards compatibility
          l_wrote = 'wrote';
       }
  3. Cherchez (ligne 259)
    Code: Tout sélectionner
             var lines = split_lines(theSelection);
             for (i = 0; i < lines.length; i++)
             {
                insert_text('> ' + lines[i] + '\n')

    remplacez par ;
    Code: Tout sélectionner
             insert_text(username + ' ' + l_wrote + ':' + '\n');
             var lines = split_lines(theSelection);
             for (i = 0; i < lines.length; i++)
             {
                insert_text('> ' + lines[i] + '\n');

  4. Cherchez (ligne 292)
    Code: Tout sélectionner
                   j++
                }
                else
                {
                   splitLines[j] = line.substring(0, splitAt);
                   line = line.substring(splitAt);
                   j++;
                }
             }
             while(splitAt != -1)

    remplacez par ;
    Code: Tout sélectionner
                   j++;
                }
                else
                {
                   splitLines[j] = line.substring(0, splitAt);
                   line = line.substring(splitAt);
                   j++;
                }
             }
             while(splitAt != -1);

  5. Cherchez (ligne 322)
    Code: Tout sélectionner
       var s2 = (txtarea.value).substring(selStart, selEnd)

    remplacez par ;
    Code: Tout sélectionner
       var s2 = (txtarea.value).substring(selStart, selEnd);

template/forum_fn.js
  1. Cherchez (ligne 98)
    Code: Tout sélectionner
    /**
    * Set display of page element
    * s[-1,0,1] = hide,toggle display,show
    */
    function dE(n, s)
    {
       var e = document.getElementById(n);

       if (!s)
       {
          s = (e.style.display == '' || e.style.display == 'block') ? -1 : 1;
       }
       e.style.display = (s == 1) ? 'block' : 'none';
    }

    Remplacez par
    Code: Tout sélectionner
    /**
    * Set display of page element
    * s[-1,0,1] = hide,toggle display,show
    * type = string: inline, block, inline-block or other CSS "display" type
    */
    function dE(n, s, type)
    {
       if (!type)
       {
          type = 'block';
       }

       var e = document.getElementById(n);
       if (!s)
       {
          s = (e.style.display == '' || e.style.display == type) ? -1 : 1;
       }
       e.style.display = (s == 1) ? type : 'none';
    }

template/index_body.html
  1. Cherchez (ligne 9)
    Code: Tout sélectionner
          <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>

    Remplacez par
    Code: Tout sélectionner
          <li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_LOAD_UNREADS --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>

template/login_body.html
  1. Cherchez
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->   

    juste après, ajoutez
    Code: Tout sélectionner
    <script type="text/javascript">
    // <![CDATA[
       onload_functions.push('document.getElementById("{USERNAME_CREDENTIAL}").focus();');
    // ]]>
    </script>


  2. Cherchez (autour de la ligne 33)
    Code: Tout sélectionner
    <!-- ENDIF -->

          <dl>
             <dt>&nbsp;</dt>
             <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
          </dl>
          {S_LOGIN_REDIRECT}
       

    remplacez par
    Code: Tout sélectionner
          <!-- ENDIF -->

          {S_LOGIN_REDIRECT}
          <dl>
             <dt>&nbsp;</dt>
             <dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
          </dl>

template/mcp_post.html
  1. Cherchez ( ligne 57)
    Code: Tout sélectionner
          <h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3>

    Juste avant, ajoutez
    Code: Tout sélectionner
          <span class="right-box" id="expand"><a href="#post_details" onclick="viewableArea(getElementById('post_details'), true); var rev_text = getElementById('expand').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'}; return false;">{L_EXPAND_VIEW}</a></span>
  2. Cherchez ( ligne 87)
    Code: Tout sélectionner
                <div class="content">

    Remplacez par
    Code: Tout sélectionner
          <div class="content" id="post_details">

template/mcp_reports.html
  1. Cherchez (ligne 57)
    Code: Tout sélectionner
                      {L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a></span>

    Remplacez par
    Code: Tout sélectionner
                      <!-- IF postrow.U_VIEWFORUM -->{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF --></span>

template/overall_header.html
  1. Cherchez (autour de la ligne 14)
    Code: Tout sélectionner
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

    Remplacez par
    Code: Tout sélectionner
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />

template/posting_buttons.html
  1. Cherchez (ligne 82)
    Code: Tout sélectionner
       <input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />

    Remplacez par
    Code: Tout sélectionner
       <input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />

template/posting_editor.html
  1. Cherchez (lignes 190/191)
    Code: Tout sélectionner
             <!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
             <!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" class="button2" />&nbsp; <!-- ENDIF -->


    Remplacez par
    Code: Tout sélectionner
             <!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" />&nbsp; <!-- ENDIF -->
             <!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" />&nbsp; <!-- ENDIF -->


template/posting_topic_review.html
  1. Cherchez (ligne 27)
    Code: Tout sélectionner
                <li class="quote-icon"><a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}"><span>{L_QUOTE} {topic_review_row.POST_AUTHOR}</span></a></li>

    Remplacez par
    Code: Tout sélectionner
                <li class="quote-icon"><a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}');" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}"><span>{L_QUOTE} {topic_review_row.POST_AUTHOR}</span></a></li>

template/quickreply_editor.html
  1. Cherchez (ligne 64)
    Code: Tout sélectionner
                   <input type="submit" accesskey="f" tabindex="6" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;

    Remplacez par
    Code: Tout sélectionner
                   <input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />&nbsp;

template/search_body.html
  1. Cherchez
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->

    juste après, ajoutez
    Code: Tout sélectionner
    <script type="text/javascript">
    // <![CDATA[
       onload_functions.push('document.getElementById("keywords").focus();');
    // ]]>
    </script>

  2. Cherchez
    Code: Tout sélectionner
    <!-- INCLUDE overall_footer.html -->

    remplacez par
    Code: Tout sélectionner
    <!-- INCLUDE overall_footer.html -->


template/template.cfg
  1. Cherchez (ligne 22)
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

template/ucp_pm_history.html
  1. Cherchez (ligne 4)
    Code: Tout sélectionner
       {L_MESSAGE_HISTORY}: {HISTORY_TITLE}

    remplacez par
    Code: Tout sélectionner
       {L_MESSAGE_HISTORY}:
  2. Cherchez (ligne 7)
    Code: Tout sélectionner
    <div id="topicreview">

    juste après, ajoutez
    Code: Tout sélectionner
       <script type="text/javascript">
       // <![CDATA[
          bbcodeEnabled = {S_BBCODE_ALLOWED};
       // ]]>
       </script>
  3. Cherchez (ligne 15)
    Code: Tout sélectionner
                <li class="quote-icon"><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}"><span>{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span></a></li>


    remplacez par
    Code: Tout sélectionner
                <li class="quote-icon"><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}');"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}"><span>{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span></a></li>


template/ucp_pm_viewfolder.html
  1. Cherchez (ligne 74)
    Code: Tout sélectionner
                      <!-- IF messagerow.S_TOPIC_REPORTED --><a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> {messagerow.ATTACH_ICON_IMG}<br />

    Remplacez par
    Code: Tout sélectionner
                      <!-- IF messagerow.S_PM_REPORTED --><a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> {messagerow.ATTACH_ICON_IMG}<br />

template/ucp_profile_signature.html
  1. Cherchez (ligne 7)
    Code: Tout sélectionner
    <!-- IF SIGNATURE_PREVIEW -->

    Remplacez par
    Code: Tout sélectionner
    <!-- IF SIGNATURE_PREVIEW != '' -->

template/viewforum_body.html
  1. Cherchez (ligne 42)
    Code: Tout sélectionner
             <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>

    Remplacez par
    Code: Tout sélectionner
             <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
  2. Cherchez (ligne 125)
    Code: Tout sélectionner
          <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH --> announcement<!-- ENDIF -->">

    Remplacez par
    Code: Tout sélectionner
          <div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
  3. Cherchez (ligne 130)
    Code: Tout sélectionner
                   <dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and topicrow.S_TOPIC_TYPE gt 1 -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>

    Remplacez par
    Code: Tout sélectionner
                   <dt><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></dt>
  4. Cherchez (ligne 140)
    Code: Tout sélectionner
          <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">

    Remplacez par
    Code: Tout sélectionner
          <li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">

theme/bidi.css
  1. Cherchez (aux environs de la ligne 238)
    Code: Tout sélectionner
    .rtl a.top2 {
       padding-left: 0;
       padding-right: 15px;
    }

    remplacez par
    Code: Tout sélectionner
    .rtl a.top2 {
       background-position: 100% 50%;
       padding-left: 0;
       padding-right: 15px;
    }

theme/content.css
  1. Cherchez
    Code: Tout sélectionner
    .post-ignore .postbody {
       display: none;
    }

    Après, ajoutez
    Code: Tout sélectionner
    /* MCP Post details
    ----------------------------------------*/
    #post_details
    {
       /* This will only work in IE7+, plus the others */
       overflow: auto;
       max-height: 300px;
    }

    #expand
    {
       clear: both;
    }


theme/forms.css
  1. Cherchez
    Code: Tout sélectionner
    fieldset.fields1 div {
       margin-bottom: 3px;
    }

    Après, ajoutez
    Code: Tout sélectionner
    /* Set it back to 0px for the reCaptcha divs: PHPBB3-9587 */
    fieldset.fields1 #recaptcha_widget_div div {
       margin-bottom: 0;
    }


theme/print.css
  1. Cherchez
    Code: Tout sélectionner
    /* Accessibility tweaks: Mozilla.org */
    .skip_link { display: none; }

    Après, ajoutez
    Code: Tout sélectionner
    dl.codebox dt { display: none; }

theme/theme.cfg
  1. Cherchez
    Code: Tout sélectionner
    version = 3.0.7

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.8

Sauvegardez tous les fichiers, écrasez ceux présents sur votre ftp et n'oubliez pas de rafraichir le dossier "template" et "theme" de votre style dans l'onglet "styles" du panneau d'administration.
Avatar de l’utilisateur
Kewee
Resp. des graphistes
Resp. des graphistes
 
Messages: 9412
Inscription: 01 Déc 2005 à 17:17
Localisation: mais mais mais... et vous voulez pas mon numéro aussi?

Re: Mettre à jour son forum phpBB3

Messagepar micka76 » 21 Nov 2010 à 14:49

I » Modifications des styles de phpBB 3.0.7-PL1 à phpBB 3.0.8

2 » Détail des modifications subsilver2

Liste des fichiers à modifier :
  • imageset/imageset.cfg
  • style.cfg
  • template/attachment.html
  • template/captcha_default.html
  • template/captcha_recaptcha.html
  • template/editor.js
  • template/index_body.html
  • template/login_body.html
  • template/overall_header.html
  • template/posting_body.html
  • template/posting_buttons.html
  • template/posting_topic_review.html
  • template/search_body.html
  • template/template.cfg
  • template/ucp_pm_history.html
  • template/ucp_pm_message_footer.html
  • template/ucp_pm_viewfolder.html
  • template/ucp_profile_signature.html
  • template/viewforum_body.html
  • template/viewtopic_body.html
  • theme/theme.cfg



styles/subsilver2/imageset/imageset.cfg

[ TROUVER ]
Autour de la ligne 22
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


styles/subsilver2/style.cfg

[ TROUVER ]
Autour de la ligne 22
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


styles/subsilver2/template/attachment.html

[ TROUVER ]
Autour de la ligne 56
Code: Tout sélectionner
            <param name="movie" value="{_file.U_DOWNLOAD_LINK}" />
            <param name="play" value="true" />
            <param name="loop" value="true" />
            <param name="quality" value="high" />
            <param name="allowScriptAccess" value="never" />
            <param name="allowNetworking" value="internal" />
            <embed src="{_file.U_DOWNLOAD_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>


[ REMPLACER PAR ]
Code: Tout sélectionner
            <param name="movie" value="{_file.U_VIEW_LINK}" />
            <param name="play" value="true" />
            <param name="loop" value="true" />
            <param name="quality" value="high" />
            <param name="allowScriptAccess" value="never" />
            <param name="allowNetworking" value="internal" />
            <embed src="{_file.U_VIEW_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>


styles/subsilver2/template/captcha_default.html

[ TROUVER ]
Autour de la ligne 1
Code: Tout sélectionner
   <tr>
      <th colspan="2" valign="middle">{L_CONFIRM_CODE}</th>
   </tr>


[ Rajouter après ]
Code: Tout sélectionner
   <!-- IF S_TYPE == 1 -->


[ TROUVER ]
Autour de la ligne 1
Code: Tout sélectionner
   <tr>
      <td class="row3" colspan="2"><span class="gensmall">{L_CONFIRM_EXPLAIN}</span></td>
   </tr>


[ Rajouter après ]
Code: Tout sélectionner
<!-- ENDIF -->


styles/subsilver2/template/captcha_recaptcha.html

[ TROUVER ]
Autour de la ligne 7
Code: Tout sélectionner
      <td class="row2">
      <script type="text/javascript">
      // <![CDATA[
      var RecaptchaOptions = {
         lang : '{LA_RECAPTCHA_LANG}',


[ Rajouter après ]
Code: Tout sélectionner
theme : 'clean',


styles/subsilver2/template/editor.js

[ TROUVER ]
Autour de la ligne 4
Code: Tout sélectionner
*/

// Startup variables
var imageTag = false;
var theSelection = false;


[ Rajouter après ]
Code: Tout sélectionner
var bbcodeEnabled = true;



[ TROUVER ]
Autour de la ligne 160
Code: Tout sélectionner
mozWrap(textarea, text, '')


[ REMPLACER PAR ]
Code: Tout sélectionner
mozWrap(textarea, text, '');


[ TROUVER ]
Autour de la ligne 194
Code: Tout sélectionner
function addquote(post_id, username)
{
   var message_name = 'message_' + post_id;
   var theSelection = '';
   var divarea = false;


[ REMPLACER PAR ]
Code: Tout sélectionner
function addquote(post_id, username, l_wrote)
{
   var message_name = 'message_' + post_id;
   var theSelection = '';
   var divarea = false;

   if (l_wrote === undefined)
   {
      // Backwards compatibility
      l_wrote = 'wrote';
   }


[ TROUVER ]
Autour de la ligne 238
Code: Tout sélectionner
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
         theSelection = theSelection.replace(/<br\/>/ig, '\n');
         theSelection = theSelection.replace(/&lt\;/ig, '<');
         theSelection = theSelection.replace(/&gt\;/ig, '>');
         theSelection = theSelection.replace(/&amp\;/ig, '&');


[ Rajouter après ]
Code: Tout sélectionner
theSelection = theSelection.replace(/&nbsp\;/ig, ' ');


[ TROUVER ]
Autour de la ligne 256
Code: Tout sélectionner
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
   }

   return;


[ REMPLACER PAR ]
Code: Tout sélectionner
if (bbcodeEnabled)
      {
         insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
      }
      else
      {
         insert_text(username + ' ' + l_wrote + ':' + '\n');
         var lines = split_lines(theSelection);
         for (i = 0; i < lines.length; i++)
         {
            insert_text('> ' + lines[i] + '\n');
         }
      }
   }

   return;
}


function split_lines(text)
{
   var lines = text.split('\n');
   var splitLines = new Array();
   var j = 0;
   for(i = 0; i < lines.length; i++)
   {
      if (lines[i].length <= 80)
      {
         splitLines[j] = lines[i];
         j++;
      }
      else
      {
         var line = lines[i];
         do
         {
            var splitAt = line.indexOf(' ', 80);
            
            if (splitAt == -1)
            {
               splitLines[j] = line;
               j++;
            }
            else
            {
               splitLines[j] = line.substring(0, splitAt);
               line = line.substring(splitAt);
               j++;
            }
         }
         while(splitAt != -1);
      }
   }
   return splitLines;


[ TROUVER ]
Autour de la ligne 328
Code: Tout sélectionner
var s2 = (txtarea.value).substring(selStart, selEnd)


[ REMPLACER PAR ]
Code: Tout sélectionner
var s2 = (txtarea.value).substring(selStart, selEnd);


[ TROUVER ]
Autour de la ligne 386
Code: Tout sélectionner
document.write('<td bgcolor="#' + color + '">');
            document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');"  onmouseout="helpline(\'tip\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');


[ REMPLACER PAR ]
Code: Tout sélectionner
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
            document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');



styles/subsilver2/template/index_body.html

[ TROUVER ]
Autour de la ligne 87
Code: Tout sélectionner
<td width="20" align="center">{FORUM_NEW_IMG}</td>
   <td><span class="gensmall">{L_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center">{FORUM_IMG}</td>
   <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td width="20" align="center">{FORUM_UNREAD_IMG}</td>
   <td><span class="gensmall">{L_UNREAD_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center">{FORUM_IMG}</td>
   <td><span class="gensmall">{L_NO_UNREAD_POSTS}</span></td>


styles/subsilver2/template/login_body.html

[ TROUVER ]
Autour de la ligne 70
Code: Tout sélectionner
<table class="tablebg" width="100%" cellspacing="1">
      
   <!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->



[ Rajouter après ]
Code: Tout sélectionner
{S_LOGIN_REDIRECT}


[ TROUVER ]
Autour de la ligne 70
Code: Tout sélectionner
<tr>
   <td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
</tr>
</table>
{S_FORM_TOKEN}
{S_LOGIN_REDIRECT}


[ REMPLACER PAR ]
Code: Tout sélectionner
<tr>
   <td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
</tr>
</table>
{S_FORM_TOKEN}


[ TROUVER ]
Autour de la ligne 90

Code: Tout sélectionner
<!-- INCLUDE overall_footer.html -->

[ REMPLACER PAR ]

Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
   (function()
   {
      var elements = document.getElementsByName("{USERNAME_CREDENTIAL}");
      for (var i = 0; i < elements.length; ++i)
      {
         if (elements[i].tagName.toLowerCase() == 'input')
         {
            elements[i].focus();
            break;
         }
      }
   })();
// ]]>
</script>

<!-- INCLUDE overall_footer.html -->


styles/subsilver2/template/overall_header.html

[ TROUVER ]
Autour de la ligne 9
Code: Tout sélectionner
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />


[ REMPLACER PAR ]
Code: Tout sélectionner
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />


[ TROUVER ]
Autour de la ligne 199
Code: Tout sélectionner
<!-- IF S_USER_LOGGED_IN -->
      <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> | <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>


[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS -->
      <span style="float: {S_CONTENT_FLOW_END};"><!-- IF S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- IF S_USER_LOGGED_IN --> | <!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --></span>


styles/subsilver2/template/posting_body.html

[ TROUVER ]
Autour de la ligne 340
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" /><!-- ENDIF -->
         <!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD}" /><!-- ENDIF -->


[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" /><!-- ENDIF -->
         <!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" /><!-- ENDIF -->


[ TROUVER ]
Autour de la ligne 363
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE}" /><!-- ENDIF -->
         <!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD}" /><!-- ENDIF -->

[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE_DRAFT}" /><!-- ENDIF -->
         <!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD_DRAFT}" /><!-- ENDIF -->


styles/subsilver2/template/posting_buttons.html

[ TROUVER ]
Autour de la ligne 17
Code: Tout sélectionner
c: '{LA_BBCODE_C_HELP}',
         l: '{LA_BBCODE_L_HELP}',
         o: '{LA_BBCODE_O_HELP}',
         p: '{LA_BBCODE_P_HELP}',
         w: '{LA_BBCODE_W_HELP}',


[ Rajouter après ]
Code: Tout sélectionner
a: '{LA_BBCODE_A_HELP}',


[ TROUVER ]
Autour de la ligne 43
Code: Tout sélectionner
<input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />


[ REMPLACER PAR ]
Code: Tout sélectionner
<input type="button" class="btnbbcode" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />


styles/subsilver2/template/posting_topic_review.html

[ TROUVER ]
Autour de la ligne 1

Code: Tout sélectionner
<table class="tablebg" width="100%" cellspacing="1">
<tr>
   <th align="center">{L_TOPIC_REVIEW} - {TOPIC_TITLE}</th>
</tr>


[ Rajouter après ]
Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
   bbcodeEnabled = {S_BBCODE_ALLOWED};
// ]]>
</script>


[ TROUVER ]
Autour de la ligne 34
Code: Tout sélectionner
<td valign="top" nowrap="nowrap">&nbsp;<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td valign="top" nowrap="nowrap">&nbsp;<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td>


styles/subsilver2/template/search_body.html

[ TROUVER ]
Autour de la ligne 78
Code: Tout sélectionner
<!-- INCLUDE overall_footer.html -->


[ REMPLACER PAR ]
Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
   (function()
   {
      var elements = document.getElementsByName("keywords");
      for (var i = 0; i < elements.length; ++i)
      {
         if (elements[i].tagName.toLowerCase() == 'input')
         {
            elements[i].focus();
            break;
         }
      }
   })();
// ]]>
</script>

<!-- INCLUDE overall_footer.html -->


styles/subsilver2/template/template.cfg

[ TROUVER ]
Autour de la ligne 22
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


styles/subsilver2/template/ucp_pm_history.html

[ TROUVER ]
Autour de la ligne 1

Code: Tout sélectionner
<table class="tablebg" width="100%" cellspacing="1">
<tr>
   <th align="center">{L_MESSAGE_HISTORY} - {HISTORY_TITLE}</th>


[ REMPLACER PAR ]
Code: Tout sélectionner
<script type="text/javascript">
// <![CDATA[
   bbcodeEnabled = {S_BBCODE_ALLOWED};
// ]]>
</script>

<table class="tablebg" width="100%" cellspacing="1">
<tr>
   <th align="center">{L_MESSAGE_HISTORY}</th>


[ TROUVER ]
Autour de la ligne 57
Code: Tout sélectionner
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF -->&nbsp;</div></td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF -->&nbsp;</div></td>


styles/subsilver2/template/ucp_pm_message_footer.html

[ TROUVER ]
Autour de la ligne 12
Code: Tout sélectionner
<td align="{S_CONTENT_FLOW_BEGIN}"><!-- INCLUDE pagination.html -->
            <!-- IF S_VIEW_MESSAGE -->
               <span class="gensmall">
                  <!-- IF U_PRINT_PM --><a href="{U_PRINT_PM}" title="{L_PRINT_PM}">{L_PRINT_PM}</a><!-- IF U_FORWARD_PM --> | <!-- ENDIF --><!-- ENDIF -->
                  <!-- IF U_FORWARD_PM --><a href="{U_FORWARD_PM}" title="{L_FORWARD_PM}">{L_FORWARD_PM}</a><!-- ENDIF -->


[ Rajouter après ]
Code: Tout sélectionner
<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 --><!-- IF U_PRINT_PM or U_FORWARD_PM --> | <!-- ENDIF --><a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}">{L_REPLY_TO_ALL}</a><!-- ENDIF -->


styles/subsilver2/template/ucp_pm_viewfolder.html

[ TROUVER ]
Autour de la ligne 78
Code: Tout sélectionner
<!-- IF messagerow.S_PM_DELETED -->
               {L_MESSAGE_REMOVED_FROM_OUTBOX}<br />
               <a href="{messagerow.U_REMOVE_PM}" style="float: {S_CONTENT_FLOW_END};">{L_DELETE_MESSAGE}</a>
            <!-- ELSE -->
               <a href="{messagerow.U_VIEW_PM}">{messagerow.SUBJECT}</a>


[ Rajouter après ]
Code: Tout sélectionner
<!-- ENDIF -->
            <!-- IF messagerow.S_PM_REPORTED -->
               <a href="{messagerow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;


styles/subsilver2/template/ucp_profile_signature.html


[ TROUVER ]
Autour de la ligne 96
Code: Tout sélectionner
<!-- IF SIGNATURE_PREVIEW -->


[ REMPLACER PAR ]
Code: Tout sélectionner
<!-- IF SIGNATURE_PREVIEW != '' -->


styles/subsilver2/template/viewforum_body.html

[ TROUVER ]
Autour de la ligne 279
Code: Tout sélectionner
<td width="20" style="text-align: center;">{FOLDER_NEW_IMG}</td>
            <td class="gensmall">{L_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" style="text-align: center;">{FOLDER_IMG}</td>
            <td class="gensmall">{L_NO_NEW_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
            <td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td style="text-align: center;">{FOLDER_HOT_NEW_IMG}</td>
            <td class="gensmall">{L_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td style="text-align: center;">{FOLDER_HOT_IMG}</td>
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
            <td class="gensmall">{L_ICON_STICKY}</td>
         </tr>
         <tr>
            <td style="text-align: center;">{FOLDER_LOCKED_NEW_IMG}</td>
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>


[ REMPLACER PAR ]
Code: Tout sélectionner
<td width="20" style="text-align: center;">{FOLDER_UNREAD_IMG}</td>
            <td class="gensmall">{L_UNREAD_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" style="text-align: center;">{FOLDER_IMG}</td>
            <td class="gensmall">{L_NO_UNREAD_POSTS}</td>
            <td>&nbsp;&nbsp;</td>
            <td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
            <td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
         </tr>
         <tr>
            <td style="text-align: center;">{FOLDER_HOT_UNREAD_IMG}</td>
            <td class="gensmall">{L_UNREAD_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td style="text-align: center;">{FOLDER_HOT_IMG}</td>
            <td class="gensmall">{L_NO_UNREAD_POSTS_HOT}</td>
            <td>&nbsp;&nbsp;</td>
            <td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
            <td class="gensmall">{L_ICON_STICKY}</td>
         </tr>
         <tr>
            <td style="text-align: center;">{FOLDER_LOCKED_UNREAD_IMG}</td>
            <td class="gensmall">{L_UNREAD_POSTS_LOCKED}</td>
            <td>&nbsp;&nbsp;</td>
            <td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
            <td class="gensmall">{L_NO_UNREAD_POSTS_LOCKED}</td>


styles/subsilver2/template/viewtopic_body.html

[ TROUVER ]
Autour de la ligne 236
Code: Tout sélectionner
<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>


[ REMPLACER PAR ]
Code: Tout sélectionner
<div class="postbody"><br />_________________<br />{postrow.SIGNATURE}</div>


styles/subsilver2/theme/theme.cfg

[ TROUVER ]
Autour de la ligne 24
Code: Tout sélectionner
version = 3.0.7


[ REMPLACER PAR ]
Code: Tout sélectionner
version = 3.0.8


Sauvegardez tous les fichiers, écrasez ceux présents sur votre ftp et n'oubliez pas de rafraichir le dossier "template" et "theme" de votre style dans l'onglet "styles" du panneau d'administration.
Avatar de l’utilisateur
micka76
Graphiste
Graphiste
 
Messages: 7461
Inscription: 04 Oct 2007 à 11:14
Localisation: Bah regarde derrière toi

Re: Mettre à jour son forum phpBB3

Messagepar cabot » 11 Juil 2011 à 14:00

J » Modifications des styles de phpBB 3.0.8 à phpBB 3.0.9

1 » Détail des modifications Prosilver

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/attachment.html
  • template/login_body.html
  • template/mcp_post.html
  • template/mcp_topic.html
  • template/memberlist_im.html
  • template/memberlist_search.html
  • template/overall_footer.html
  • template/overall_header.html
  • template/posting_buttons.html
  • template/posting_smilies.html
  • template/simple_footer.html
  • template/simple_header.html
  • template/template.cfg
  • template/ucp_groups_manage.html
  • template/ucp_pm_viewmessage_print.html
  • template/viewforum_body.html
  • template/viewtopic_body.html
  • template/viewtopic_print.html
  • theme/colours.css
  • theme/cp.css
  • theme/forms.css
  • theme/links.css
  • theme/print.css
  • theme/theme.cfg
  • theme/tweaks.css



style.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.8

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.9

imageset/imageset.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.8

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.9

template/attachment.html
  1. Cherchez (vers ligne 73)
    Code: Tout sélectionner
             <object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="0" height="16">
                <param name="src" value="{_file.U_DOWNLOAD_LINK}" />
                <param name="controller" value="true" />
                <param name="autoplay" value="false" />
                <param name="type" value="video/quicktime" />
                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="0" height="16" type="video/quicktime" autoplay="false"></embed>

    remplacez par;
    Code: Tout sélectionner
             <object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="320" height="285">
                <param name="src" value="{_file.U_DOWNLOAD_LINK}" />
                <param name="controller" value="true" />
                <param name="autoplay" value="false" />
                <param name="type" value="video/quicktime" />
                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false"></embed>

template/login_body.html
  1. Cherchez (vers ligne 5)
    Code: Tout sélectionner
       onload_functions.push('document.getElementById("{USERNAME_CREDENTIAL}").focus();');

    remplacez par ;
    Code: Tout sélectionner
       onload_functions.push('document.getElementById("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->").focus();');

template/mcp_post.html
  1. Cherchez (vers ligne 75)
    Code: Tout sélectionner
                <input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" /> &nbsp;
                <input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />

    remplacez par ;
    Code: Tout sélectionner
                <input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> &nbsp;
                <input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />

template/mcp_topic.html
  1. Cherchez (vers ligne 34)
    Code: Tout sélectionner
             <a href="#minitabs" onclick="subPanels('merge-panel'); return false;"><span>{L_MERGE_TOPIC}</span></a>

    remplacez par ;
    Code: Tout sélectionner
             <a href="#minitabs" onclick="subPanels('merge-panel'); return false;"><span>{L_MERGE_POSTS}</span></a>

template/memberlist_im.html
  1. Cherchez (vers ligne 42)
    Code: Tout sélectionner
             <dd><a href="http://www.aim.com/download.adp">{L_IM_DOWNLOAD_APP}</a> | <a href="http://aimexpress.oscar.aol.com/aimexpress/launch.adp?Brand=AIM">{L_IM_AIM_EXPRESS}</a></dd>

    remplacez par ;
    Code: Tout sélectionner
             <dd><a href="http://www.aim.com">{L_IM_DOWNLOAD_APP}</a> | <a href="http://www.aim.com/products/express">{L_IM_AIM_EXPRESS}</a></dd>

template/memberlist_search.html
  1. Cherchez (vers ligne 40)
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

    remplacez par ;
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>

template/overall_footer.html
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->

       <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group

    remplacez par ;
    Code: Tout sélectionner
       <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Group

template/overall_header.html
  1. Cherchez (vers ligne 11), et supprimez
    Code: Tout sélectionner
    <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />

  2. Cherchez (vers ligne 14), et supprimez
    Code: Tout sélectionner
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />

  3. Cherchez (vers ligne 50),
    Code: Tout sélectionner
       <!-- IF S_USER_PM_POPUP -->
          if ({S_NEW_PM})
          {
             var url = '{UA_POPUP_PM}';
             window.open(url.replace(/&amp;/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
          }

    remplacez par ;
    Code: Tout sélectionner
       <!-- IF S_USER_PM_POPUP and S_NEW_PM -->
          var url = '{UA_POPUP_PM}';
          window.open(url.replace(/&amp;/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');

  4. Cherchez (vers ligne 85),
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

    remplacez par ;
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>

  5. Cherchez (vers ligne 118),
    Code: Tout sélectionner
                <form action="{U_SEARCH}" method="post" id="search">

    remplacez par ;
    Code: Tout sélectionner
                <form action="{U_SEARCH}" method="get" id="search">

template/posting_buttons.html
  1. Cherchez (vers ligne 41)
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>

    remplacez par ;
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>

template/posting_smilies.html
  1. Cherchez (vers ligne 9)
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>

    remplacez par;
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>

template/simple_footer.html
  1. Cherchez (vers ligne 2)
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->

       <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group

    remplacez par ;
    Code: Tout sélectionner
       <div class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Group

template/simple_header.html
  1. Cherchez (vers ligne 11) et supprimez,
    Code: Tout sélectionner
    <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />

  2. Cherchez (vers ligne 49),
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>

    remplacez par;
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>

template/template.cfg
  1. Cherchez (vers ligne 22),
    Code: Tout sélectionner
    version = 3.0.8

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.9

template/ucp_groups_manage.html
  1. Cherchez (vers ligne 121),
    Code: Tout sélectionner
             <!-- IF member.S_PENDING_SET -->

    remplacez par;
    Code: Tout sélectionner
             <!-- IF S_PENDING_SET -->

template/ucp_pm_viewmessage_print.html
  1. Cherchez (vers ligne 108) et supprimez,
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->

  2. Cherchez (vers ligne 115),
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB &copy; 2000, 2002, 2005, 2007 phpBB Group<br />http://www.phpbb.com/</span></td>

    remplacez par;
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</span></td>

template/viewforum_body.html
  1. Cherchez (vers ligne 31),
    Code: Tout sélectionner
       <li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li>

    remplacez par;
    Code: Tout sélectionner
       <li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_SUBFORUMS_READ}</a></li>

  2. Cherchez (vers ligne 48),
    Code: Tout sélectionner
             <form method="post" id="forum-search" action="{S_SEARCHBOX_ACTION}">
             <fieldset>
                <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" />
                <input class="button2" type="submit" value="{L_SEARCH}" />
                <input type="hidden" value="{FORUM_ID}" name="fid[]" />

    remplacez par;
    Code: Tout sélectionner
             <form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
             <fieldset>
                <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" />
                <input class="button2" type="submit" value="{L_SEARCH}" />
                {S_SEARCH_LOCAL_HIDDEN_FIELDS}


template/viewtopic_body.html
  1. Cherchez (vers ligne 41),
    Code: Tout sélectionner
             <form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}">
             <fieldset>
                <input class="inputbox search tiny"  type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
                <input class="button2" type="submit" value="{L_SEARCH}" />
                <input type="hidden" value="{TOPIC_ID}" name="t" />
                <input type="hidden" value="msgonly" name="sf" />

    remplacez par;
    Code: Tout sélectionner
             <form method="get" id="topic-search" action="{S_SEARCHBOX_ACTION}">
             <fieldset>
                <input class="inputbox search tiny"  type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
                <input class="button2" type="submit" value="{L_SEARCH}" />
                {S_SEARCH_LOCAL_HIDDEN_FIELDS}

template/viewtopic_print.html
  1. Cherchez (vers ligne 11) et supprimez,
    Code: Tout sélectionner
    <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />

  2. Cherchez (vers ligne 45),
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->
       <div id="page-footer">
          <div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
          <div class="copyright">Powered by phpBB &copy; 2000, 2002, 2005, 2007 phpBB Group<br />http://www.phpbb.com/</div>

    remplacez par;
    Code: Tout sélectionner
       <div id="page-footer">
          <div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
          <div class="copyright">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</div>


theme/colours.css
  1. Cherchez (vers ligne 174),
    Code: Tout sélectionner
    .pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active {

    remplacez par;
    Code: Tout sélectionner
    .pagination span a, .pagination span a:link, .pagination span a:visited {

  2. Cherchez (vers ligne 181),
    Code: Tout sélectionner
       border-color: #368AD2;
       background-color: #368AD2;
       color: #FFF;
    }

    ajoutez après;
    Code: Tout sélectionner
    .pagination span a:active {
       color: #5C758C;
       background-color: #ECEDEE;
       border-color: #B4BAC0;
    }

  3. Cherchez (vers ligne 299),
    Code: Tout sélectionner
    .postlink:visited {
       color: #5D8FBD;
       border-bottom-color: #666666;
    }

    Remplacez par;
    Code: Tout sélectionner
    .postlink:visited {
       color: #5D8FBD;
       border-bottom-color: #5D8FBD;
    }

  4. Cherchez (vers ligne 313),
    Code: Tout sélectionner
    .signature a, .signature a:visited, .signature a:active, .signature a:hover {
       background-color: transparent;
    }

    /* Profile links */
    .postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {
       color: #105289;
    }

    .postprofile a:hover, .postprofile dt.author a:hover {
       color: #D31141;
    }

    Remplacez par;
    Code: Tout sélectionner
    .signature a, .signature a:visited, .signature a:hover, .signature a:active {
       background-color: transparent;
    }

    /* Profile links */
    .postprofile a:link, .postprofile a:visited, .postprofile dt.author a {
       color: #105289;
    }

    .postprofile a:hover, .postprofile dt.author a:hover {
       color: #D31141;
    }

    .postprofile a:active {
       color: #105289;
    }

  5. Cherchez (vers ligne 655),
    Code: Tout sélectionner
       background-image: url("{T_IMAGESET_LANG_PATH}/icon_user_online.gif");

    Remplacez par;
    Code: Tout sélectionner
       background-image: url("{IMG_ICON_USER_ONLINE_SRC}");

theme/cp.css
  1. Cherchez (vers ligne 395),
    Code: Tout sélectionner
    .pmlist li.bg1 {
       border: solid 3px transparent;
       border-width: 0 3px;
    }

    .pmlist li.bg2 {
       border: solid 3px transparent;
       border-width: 0 3px;
    }

    remplacez par;
    Code: Tout sélectionner
    .pmlist li.bg1 {
       padding: 0 3px;
    }

    .pmlist li.bg2 {
       padding: 0 3px;
    }

  2. Cherchez (vers ligne 408),
    Code: Tout sélectionner
    .pmlist li.pm_marked_colour, .pm_marked_colour {
       border: solid 3px #ffffff;
       border-width: 0 3px;
    }

    .pmlist li.pm_replied_colour, .pm_replied_colour {
       border: solid 3px #c2c2c2;
       border-width: 0 3px;   
    }

    .pmlist li.pm_friend_colour, .pm_friend_colour {
       border: solid 3px #bdbdbd;
       border-width: 0 3px;
    }

    .pmlist li.pm_foe_colour, .pm_foe_colour {
       border: solid 3px #000000;
       border-width: 0 3px;
    }

    remplacez par;
    Code: Tout sélectionner
    .pmlist li.pm_marked_colour, .pm_marked_colour {
       padding: 0;
       border: solid 3px #ffffff;
       border-width: 0 3px;
    }

    .pmlist li.pm_replied_colour, .pm_replied_colour {
       padding: 0;
       border: solid 3px #c2c2c2;
       border-width: 0 3px;
    }

    .pmlist li.pm_friend_colour, .pm_friend_colour {
       padding: 0;
       border: solid 3px #bdbdbd;
       border-width: 0 3px;
    }

    .pmlist li.pm_foe_colour, .pm_foe_colour {
       padding: 0;
       border: solid 3px #000000;
       border-width: 0 3px;
    }

theme/forms.css
  1. Cherchez (vers ligne 263),
    Code: Tout sélectionner
    #message-box textarea {
       font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
       width: 100%;
       font-size: 1.2em;
       color: #333333;
    }

    remplacez par;
    Code: Tout sélectionner
    #message-box textarea {
       font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
       width: 450px;
       height: 270px;
       min-width: 100%;
       max-width: 100%;
       font-size: 1.2em;
       color: #333333;
    }

theme/links.css
  1. Cherchez (vers ligne 90),
    Code: Tout sélectionner
    .postlink:visited {
       color: #bdbdbd;
       border-bottom-style: dotted;
       border-bottom-color: #666666;
    }

    remplacez par;
    Code: Tout sélectionner
    /* .postlink:visited { color: #bdbdbd; } */

  2. Cherchez (vers ligne 102),
    Code: Tout sélectionner
    .signature a, .signature a:visited, .signature a:active, .signature a:hover {

    remplacez par;
    Code: Tout sélectionner
    .signature a, .signature a:visited, .signature a:hover, .signature a:active {

  3. Cherchez (vers ligne 109),
    Code: Tout sélectionner
    .postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {

    remplacez par;
    Code: Tout sélectionner
    .postprofile a:link, .postprofile a:visited, .postprofile dt.author a {

  4. Cherchez (vers ligne 115),
    Code: Tout sélectionner
    .postprofile a:hover, .postprofile dt.author a:hover {
       text-decoration: underline;
       color: #d3d3d3;
    }

    Ajoutez après;
    Code: Tout sélectionner
    /* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */
    /* See http://www.phpbb.com/bugs/phpbb3/59685 */
    .postprofile a:active {
       font-weight: bold;
       color: #898989;
       text-decoration: none;
    }

theme/print.css
  1. Cherchez (vers ligne 63),
    Code: Tout sélectionner
    .postbody a:link, .postbody a:visited, .postbody a:active, .postbody a:hover {

    remplacez par;
    Code: Tout sélectionner
    .postbody a:link, .postbody a:visited, .postbody a:hover, .postbody a:active {

theme/theme.cfg
  1. Cherchez (vers ligne 24),
    Code: Tout sélectionner
    version = 3.0.8

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.9

theme/tweaks.css
  1. Cherchez (vers ligne 90),
    Code: Tout sélectionner
    * html .forumbg table.table1 {
       margin: 0 -2px 0px -1px;
    }

    Ajoutez après;
    Code: Tout sélectionner
    /* Headerbar height fix for IE7 and below */
    * html #site-description p {
       margin-bottom: 1.0em;
    }

    *:first-child+html #site-description p {
       margin-bottom: 1.0em;
    }
Avatar de l’utilisateur
cabot
Graphiste
Graphiste
 
Messages: 4184
Inscription: 13 Fév 2011 à 19:42
Localisation:

Re: Mettre à jour son forum phpBB3

Messagepar cabot » 11 Juil 2011 à 18:37

K » Modifications des styles de phpBB 3.0.8 à phpBB 3.0.9

1 » Détail des modifications Subsilver2

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/attachment.html
  • template/login_body.html
  • template/mcp_topic.html
  • template/memberlist_im.html
  • template/overall_footer.html
  • template/overall_header.html
  • template/posting_body.html
  • template/posting_buttons.html
  • template/posting_smilies.html
  • template/quickreply_editor.html
  • template/searchbox.html
  • template/simple_footer.html
  • template/simple_header.html
  • template/template.cfg
  • template/ucp_pm_viewmessage_print.html
  • template/viewtopic_body.html
  • template/viewtopic_print.html
  • theme/stylesheet.css
  • theme/theme.cfg



style.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.8

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.9

imageset/imageset.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.8

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.9

template/attachment.html
  1. Cherchez (vers ligne 70)
    Code: Tout sélectionner
             <object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="0" height="16">
                <param name="src" value="{_file.U_DOWNLOAD_LINK}">
                <param name="controller" value="true">
                <param name="autoplay" value="false" />
                <param name="type" value="video/quicktime">
                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="0" height="16" type="video/quicktime" autoplay="false">

    remplacez par;
    Code: Tout sélectionner
             <object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="320" height="285">
                <param name="src" value="{_file.U_DOWNLOAD_LINK}">
                <param name="controller" value="true">
                <param name="autoplay" value="false" />
                <param name="type" value="video/quicktime">
                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false">

template/login_body.html
  1. Cherchez (vers ligne 95)
    Code: Tout sélectionner
          var elements = document.getElementsByName("{USERNAME_CREDENTIAL}");

    remplacez par ;
    Code: Tout sélectionner
          var elements = document.getElementsByName("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->");

template/mcp_topic.html
  1. Cherchez (vers ligne 38)
    Code: Tout sélectionner
          <th colspan="3" nowrap="nowrap">{L_MERGE_TOPIC}</th>

    remplacez par ;
    Code: Tout sélectionner
          <th colspan="3" nowrap="nowrap">{L_MERGE_POSTS}</th>

template/memberlist_im.html
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
             <td class="row1" colspan="2" align="center"><br /><a class="gen" href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a><br /><br /><a class="gensmall" href="http://www.aim.com/download.adp">{L_IM_DOWNLOAD_APP}</a> | <a class="gensmall" href="http://aimexpress.oscar.aol.com/aimexpress/launch.adp?Brand=AIM">{L_IM_AIM_EXPRESS}</a> </td>

    remplacez par ;
    Code: Tout sélectionner
             <td class="row1" colspan="2" align="center"><br /><a class="gen" href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a><br /><br /><a class="gensmall" href="http://www.aim.com">{L_IM_DOWNLOAD_APP}</a> | <a class="gensmall" href="http://www.aim.com/products/express">{L_IM_AIM_EXPRESS}</a> </td>

template/overall_footer.html
  1. Cherchez (vers ligne 4)
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->

    <div id="wrapfooter">
       <!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
       <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group

    remplacez par ;
    Code: Tout sélectionner
    <div id="wrapfooter">
       <!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF -->
       <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Group

template/overall_header.html
  1. Cherchez (vers ligne 11), et supprimez
    Code: Tout sélectionner
    <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />

  2. Cherchez (vers ligne 14), et supprimez
    Code: Tout sélectionner
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" />

  3. Cherchez (vers ligne 31),
    Code: Tout sélectionner
    <!-- IF S_USER_PM_POPUP -->
       if ({S_NEW_PM})
       {
          popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
       }

    remplacez par ;
    Code: Tout sélectionner
    <!-- IF S_USER_PM_POPUP and S_NEW_PM -->
       popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');

template/posting_body.html
  1. Cherchez (vers ligne 213)
    Code: Tout sélectionner
             <td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 98%;">{MESSAGE}</textarea></td>

    remplacez par ;
    Code: Tout sélectionner
             <td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" style="width: 700px; height: 270px; min-width: 98%; max-width: 98%;">{MESSAGE}</textarea></td>

template/posting_buttons.html
  1. Cherchez (vers ligne 36)
    Code: Tout sélectionner
          <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>

    remplacez par;
    Code: Tout sélectionner
          <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>

template/posting_smilies.html
  1. Cherchez (vers ligne 9)
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>

    remplacez par ;
    Code: Tout sélectionner
    <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>

template/quickreply_editor.html
  1. Cherchez (vers ligne 13)
    Code: Tout sélectionner
             <td class="row2" valign="top" align="left" width="78%"><textarea name="message" rows="7" cols="76" tabindex="3"  style="width: 98%;"></textarea> </td>

    remplacez par ;
    Code: Tout sélectionner
             <td class="row2" valign="top" align="left" width="78%"><textarea name="message" rows="7" cols="76" tabindex="3"  style="width: 700px; height: 130px; min-width: 98%; max-width: 98%;"></textarea> </td>

template/searchbox.html
  1. Cherchez (vers ligne 1)
    Code: Tout sélectionner
    <form method="post" name="search" action="{S_SEARCHBOX_ACTION}"><span class="gensmall">{L_SEARCH_FOR}:</span> <input class="post" type="text" name="keywords" size="20" /> <input class="btnlite" type="submit" value="{L_GO}" /></form>

    remplacez par ;
    Code: Tout sélectionner
    <form method="get" name="search" action="{S_SEARCHBOX_ACTION}"><span class="gensmall">{L_SEARCH_FOR}:</span> <input class="post" type="text" name="keywords" size="20" /> <input class="btnlite" type="submit" value="{L_GO}" />{S_SEARCH_LOCAL_HIDDEN_FIELDS}</form>

template/simple_footer.html
  1. Cherchez (vers ligne 4)
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
       "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
       forums may be affected.

       The phpBB Group : 2006
    //-->

    <div id="wrapfooter">
       <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group</span>

    remplacez par ;
    Code: Tout sélectionner
    <div id="wrapfooter">
       <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a>&reg; Forum Software &copy; phpBB Group</span>

template/simple_header.html
  1. Cherchez (vers ligne 11) et supprimez,
    Code: Tout sélectionner
    <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />

template/template.cfg
  1. Cherchez (vers ligne 22),
    Code: Tout sélectionner
    version = 3.0.8

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.9

template/ucp_pm_viewmessage_print.html
  1. Cherchez (vers ligne 110) et supprimez,
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line. If you
       refuse to include even this then support on our forums may be affected.

       The phpBB Group : 2006
    // -->

  2. Cherchez (vers ligne 117),
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB &copy; 2000, 2002, 2005, 2007 phpBB Group<br />http://www.phpbb.com/</span></td>

    remplacez par;
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</span></td>

template/viewtopic_body.html
  1. Cherchez (vers ligne 153),
    Code: Tout sélectionner
                   <td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE}&nbsp;</div></td>

    remplacez par;
    Code: Tout sélectionner
                   <td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<b>{L_POST_SUBJECT}:</b> <a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE}&nbsp;</div></td>

template/viewtopic_print.html
  1. Cherchez (vers ligne 124) et supprimez,
    Code: Tout sélectionner
    <!--
       We request you retain the full copyright notice below including the link to www.phpbb.com.
       This not only gives respect to the large amount of time given freely by the developers
       but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
       the full copyright we ask you at least leave in place the "Powered by phpBB" line. If you
       refuse to include even this then support on our forums may be affected.

       The phpBB Group : 2006
    // -->

  2. Cherchez (vers ligne 131),
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB &copy; 2000, 2002, 2005, 2007 phpBB Group<br />http://www.phpbb.com/</span></td>

    remplacez par;
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</span></td>


theme/stylesheet.css
  1. Cherchez (vers ligne 213),
    Code: Tout sélectionner
    .postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
       margin: 1px 0;
       color: red;
       font-weight:bold;
    }

    .postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {

    remplacez par;
    Code: Tout sélectionner
    .postreported, .postreported a:link, .postreported a:visited, .postreported a:hover, .postreported a:active {
       margin: 1px 0;
       color: red;
       font-weight:bold;
    }

    .postapprove, .postapprove a:link, .postapprove a:visited, .postapprove a:hover, .postapprove a:active {

  2. Cherchez (vers ligne 384),
    Code: Tout sélectionner
    .rtl a {
       direction: rtl;
       unicode-bidi: embed;
    }

    ajoutez après;
    Code: Tout sélectionner
    /* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */
    /* See http://www.phpbb.com/bugs/phpbb3/59685 */

  3. Cherchez (vers ligne 396),
    Code: Tout sélectionner
    a:active,
    a:visited {

    Remplacez par;
    Code: Tout sélectionner
    a:visited {

  4. Cherchez (vers ligne 401),
    Code: Tout sélectionner
    a:hover {
       color: #D46400;
       text-decoration: underline;
    }

    Ajoutez après;
    Code: Tout sélectionner
    a:active {
       color: #005784;
       text-decoration: none;
    }

theme/theme.cfg
  1. Cherchez (ligne 24),
    Code: Tout sélectionner
    version = 3.0.8

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.9
Avatar de l’utilisateur
cabot
Graphiste
Graphiste
 
Messages: 4184
Inscription: 13 Fév 2011 à 19:42
Localisation:

Re: Mettre à jour son forum phpBB3

Messagepar Kewee » 03 Jan 2012 à 14:18

L » Modifications des styles de phpBB 3.0.9 à phpBB 3.0.10

1 » Détail des modifications Prosilver

Liste des fichiers à modifier :
  • style.cfg
  • imageset/imageset.cfg
  • template/editor.js
  • template/forum_fn.js
  • template/jumpbox.html
  • template/mcp_approve.html
  • template/mcp_front.html
  • template/mcp_notes_user.html
  • template/mcp_post.html
  • template/memberlist_body.html
  • template/memberlist_view.html
  • template/message_body.html
  • template/overall_header.html
  • template/posting_buttons.html
  • template/template.cfg
  • template/ucp_groups_manage.html
  • template/ucp_pm_viewmessage_print.html
  • template/viewtopic_body.html
  • theme/bidi.css
  • theme/buttons.css
  • theme/common.css
  • theme/content.css
  • theme/cp.css
  • theme/forms.css
  • theme/links.css
  • theme/print.css
  • theme/stylesheet.css
  • theme/theme.cfg
  • theme/tweaks.css



style.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

imageset/imageset.cfg
  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

template/editor.js
  1. Cherchez (vers ligne 149)
    Code: Tout sélectionner
       if (spaces)
       {
          text = ' ' + text + ' ';
       }
       
       if (!isNaN(textarea.selectionStart))

    remplacez par
    Code: Tout sélectionner
       if (spaces)
       {
          text = ' ' + text + ' ';
       }
       
       // Since IE9, IE also has textarea.selectionStart, but it still needs to be treated the old way.
       // Therefore we simply add a !is_ie here until IE fixes the text-selection completely.
       if (!isNaN(textarea.selectionStart) && !is_ie)

  2. Cherchez (vers ligne 221)
    Code: Tout sélectionner
       if (window.getSelection)
       {
          theSelection = window.getSelection().toString();
       }
       else if (document.getSelection)

    remplacez par
    Code: Tout sélectionner
       // IE9 must use the document.selection method but has the *.getSelection so we just force no IE
       if (window.getSelection && !is_ie)
       {
          theSelection = window.getSelection().toString();
       }
       else if (document.getSelection && !is_ie)

template/forum_fn.js
  1. Cherchez (vers ligne 198)
    Code: Tout sélectionner
    function selectCode(a)
    {
       // Get ID of code block
       var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];

       // Not IE

    remplacez par
    Code: Tout sélectionner
    function selectCode(a)
    {
       // Get ID of code block
       var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];

       // Not IE and IE9+

template/jumpbox.html
  1. Cherchez (vers ligne 13)
    Code: Tout sélectionner
             <!-- IF S_DISPLAY_JUMPBOX -->
       <form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}">

    remplacez par;
    Code: Tout sélectionner
    <!-- IF S_DISPLAY_JUMPBOX -->
       <form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(this.f.value == -1){return false;}">

template/mcp_approve.html
  1. Cherchez (vers ligne 11)
    Code: Tout sélectionner
          <!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF -->

    remplacez par ;
    Code: Tout sélectionner
          <!-- IF ADDITIONAL_MSG --><p class="error">{ADDITIONAL_MSG}</p><!-- ENDIF -->

template/mcp_front.html
  1. Cherchez et supprimez(vers ligne 31)
    Code: Tout sélectionner
                         <!-- IF report.PAGINATION --><strong class="pagination"><span>{report.PAGINATION}</span></strong><!-- ENDIF -->

template/mcp_notes_user.html
  1. Cherchez (vers ligne 81)
    Code: Tout sélectionner
          <!-- IF S_CLEAR_ALLOWED --><td width="5%" align="center"><input type="checkbox" name="marknote[]" id="note-{usernotes.ID}" value="{usernotes.ID}" /></td><!-- ENDIF -->

    remplacez par ;
    Code: Tout sélectionner
          <!-- IF S_CLEAR_ALLOWED --><td style="width: 5%; text-align: center;"><input type="checkbox" name="marknote[]" id="note-{usernotes.ID}" value="{usernotes.ID}" /></td><!-- ENDIF -->

template/mcp_post.html
  1. Cherchez (vers ligne 74)
    Code: Tout sélectionner
             <p class="rules">
                <input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /> &nbsp;
                <input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />

    juste après, ajoutez ;
    Code: Tout sélectionner
                <!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->

template/memberlist_body.html
  1. Cherchez (vers ligne 36)
    Code: Tout sélectionner
                <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
                <strong style="font-size: 0.95em;"><a href="{S_MODE_ACTION}&amp;first_char=">{L_ALL}</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=a#memberlist">A</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=b#memberlist">B</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=c#memberlist">C</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=d#memberlist">D</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=e#memberlist">E</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=f#memberlist">F</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=g#memberlist">G</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=h#memberlist">H</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=i#memberlist">I</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=j#memberlist">J</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=k#memberlist">K</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=l#memberlist">L</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=m#memberlist">M</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=n#memberlist">N</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=o#memberlist">O</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=p#memberlist">P</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=q#memberlist">Q</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=r#memberlist">R</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=s#memberlist">S</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=t#memberlist">T</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=u#memberlist">U</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=v#memberlist">V</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=w#memberlist">W</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=x#memberlist">X</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=y#memberlist">Y</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=z#memberlist">Z</a>&nbsp;
                <a href="{S_MODE_ACTION}&amp;first_char=other">#</a></strong>

    remplacez par ;
    Code: Tout sélectionner
                <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a> &bull; <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a> &bull; <!-- ENDIF -->
                <strong style="font-size: 0.95em;">
                <!-- BEGIN first_char -->
                   <a href="{first_char.U_SORT}">{first_char.DESC}</a>&nbsp;
                <!-- END first_char -->
                </strong>

template/memberlist_view.html
  1. Cherchez (vers ligne 31)
    Code: Tout sélectionner
          <!-- IF AGE --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->

    remplacez par ;
    Code: Tout sélectionner
          <!-- IF AGE !== '' --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
  2. Cherchez (vers ligne 91)
    Code: Tout sélectionner
             <!-- IF S_SHOW_ACTIVITY and POSTS -->
                <dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
                <dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
             <!-- ENDIF -->


    remplacez par ;
    Code: Tout sélectionner
             <!-- IF S_SHOW_ACTIVITY and POSTS -->
                <dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM != '' --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
                <dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC != '' --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
             <!-- ENDIF -->

template/message_body.html
  1. Cherchez (ligne 1)
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->

    remplacez par ;
    Code: Tout sélectionner
    <!-- IF S_SIMPLE_MESSAGE -->
       <!-- INCLUDE simple_header.html -->
    <!-- ELSE -->
       <!-- INCLUDE overall_header.html -->
    <!-- ENDIF -->

  2. Cherchez (autour de la ligne 11)
    Code: Tout sélectionner
    <!-- INCLUDE overall_footer.html -->

    remplacez par ;
    Code: Tout sélectionner
    <!-- IF S_SIMPLE_MESSAGE -->
       <!-- INCLUDE simple_footer.html -->
    <!-- ELSE -->
       <!-- INCLUDE overall_footer.html -->
    <!-- ENDIF -->


template/overall_header.html

  1. Cherchez (vers ligne 71)
    Code: Tout sélectionner
       window.onload = function()
       {
          for (var i = 0; i < onload_functions.length; i++)
          {
             eval(onload_functions[i]);
          }
       }


    remplacez par ;
    Code: Tout sélectionner
       window.onload = function()
       {
          for (var i = 0; i < onload_functions.length; i++)
          {
             eval(onload_functions[i]);
          }
       };

  2. Cherchez (vers ligne 79),
    Code: Tout sélectionner
       window.onunload = function()
       {
          for (var i = 0; i < onunload_functions.length; i++)
          {
             eval(onunload_functions[i]);
          }
       }

    // ]]>
    </script>

    remplacez par ;
    Code: Tout sélectionner
       window.onunload = function()
       {
          for (var i = 0; i < onunload_functions.length; i++)
          {
             eval(onunload_functions[i]);
          }
       };

    // ]]>
    </script>

template/posting_buttons.html
  1. Cherchez (vers ligne 28)
    Code: Tout sélectionner
          e: '{LA_BBCODE_E_HELP}',

    remplacez par ;
    Code: Tout sélectionner
          y: '{LA_BBCODE_Y_HELP}',

  2. Cherchez (vers ligne 82),
    Code: Tout sélectionner
       <input type="button" class="button2" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
       <!-- IF S_BBCODE_IMG -->

    remplacez par;
    Code: Tout sélectionner
       <input type="button" class="button2" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
       <!-- IF S_BBCODE_IMG -->

template/template.cfg
  1. Cherchez (vers ligne 22),
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.10

template/ucp_groups_manage.html
  1. Cherchez (vers ligne 144),
    Code: Tout sélectionner
          <!-- ENDIF -->
       <!-- BEGINELSE -->
          <tr>
             <td class="bg1" colspan="5">{L_GROUPS_NO_MEMBERS}</td>
          </tr>
       <!-- END member -->

    remplacez par;
    Code: Tout sélectionner
          <!-- ENDIF -->
       <!-- BEGINELSE -->
          <table class="table1" cellspacing="1">
          <thead>
          <tr>
             <th class="name">{L_MEMBERS}</th>
          </tr>
          </thead>
          <tbody>
          <tr>
             <td class="bg1">{L_GROUPS_NO_MEMBERS}</td>
          </tr>
       <!-- END member -->

template/ucp_pm_viewmessage_print.html
N'hésitez pas à remplacer directement le fichier par la nouvelle version, le fichier a été modifié quasiment dans son intégralité
  1. Cherchez (vers ligne 1)
    Code: Tout sélectionner
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>
    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <title>{SITENAME} :: {PAGE_TITLE}</title>

    remplacez par;
    Code: Tout sélectionner
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>

    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="resource-type" content="document" />
    <meta name="distribution" content="global" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="robots" content="noindex" />
    {META}
    <title>{SITENAME} &bull; {PAGE_TITLE}</title>

  2. Cherchez (vers ligne 9),
    Code: Tout sélectionner
    <style type="text/css">
    /* <![CDATA[ */
    body {
       font-family: Verdana,serif;
       font-size: 10pt;
    }

    td {
       font-family: Verdana,serif;
       font-size: 10pt;
       line-height: 150%;
    }

    .code, .quote {
       font-size: smaller;
       border: black solid 1px;
    }

    .forum {
       font-family: Arial,Helvetica,sans-serif;
       font-weight: bold;
       font-size: 18pt;
    }

    .topic {
       font-family: Arial,Helvetica,sans-serif;
       font-size: 14pt;
       font-weight: bold;
    }

    .gensmall {
       font-size: 8pt;
    }

    hr {
       color: #888888;
       height: 3px;
       border-style: solid;
    }

    hr.sep   {
       color: #AAAAAA;
       height: 1px;
       border-style: dashed;
    }
    /* ]]> */
    </style>

    remplacez par;
    Code: Tout sélectionner
    <link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" />

  3. Cherchez (vers ligne 58),
    Code: Tout sélectionner
    <body>

    <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
    <tr>
       <td colspan="2" align="center"><span class="forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</a></span></td>
    </tr>
    <tr>
       <td colspan="2"><br /></td>
    </tr>
    <tr>
       <td><span class="topic">{SUBJECT}</span><br /></td>
       <td align="right" valign="bottom"><span class="gensmall">{PAGE_NUMBER}</span></td>
    </tr>
    </table>

    <hr width="85%" />

    <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
    <tr>
       <td width="10%" nowrap="nowrap">{L_PM_FROM}:&nbsp;</td>
       <td><strong>{MESSAGE_AUTHOR}</strong> [ {SENT_DATE} ]</td>
    </tr>

    <!-- IF S_TO_RECIPIENT -->
       <tr>
          <td width="10%" nowrap="nowrap">{L_TO}:</td>
          <td>
          <!-- BEGIN to_recipient -->
             <span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->>{to_recipient.NAME}</span>&nbsp;
          <!-- END to_recipient -->
          </td>
       </tr>
    <!-- ENDIF -->

    <!-- IF S_BCC_RECIPIENT -->
       <tr>
          <td width="10%" nowrap="nowrap">{L_BCC}:</td>
          <td>
          <!-- BEGIN bcc_recipient -->
             <!-- IF bcc_recipient.COLOUR --><span style="color:{bcc_recipient.COLOUR}"><!-- ELSE --><span<!-- IF bcc_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{bcc_recipient.NAME}</span>&nbsp;
          <!-- END bcc_recipient -->
          </td>
       </tr>
    <!-- ENDIF -->
    <tr>
       <td colspan="2"><hr class="sep" />{MESSAGE}</td>
    </tr>
    </table>

    <hr width="85%" />

    <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center">
    <tr>
       <td><span class="gensmall">{PAGE_NUMBER}</span></td>
       <td align="{S_CONTENT_FLOW_END}"><span class="gensmall">{S_TIMEZONE}</span></td>
    </tr>
    <tr>
       <td colspan="2" align="center"><span class="gensmall">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</span></td>
    </tr>
    </table>

    remplacez par;
    Code: Tout sélectionner
    <body id="phpbb">
    <div id="wrap">
       <a id="top" name="top" accesskey="t"></a>

       <div id="page-header">
          <h1>{SITENAME}</h1>
          <p>{SITE_DESCRIPTION}<br /><a href="{U_FORUM}">{U_FORUM}</a></p>

          <h2>{TOPIC_TITLE}</h2>
          <p><a href="{U_TOPIC}">{U_TOPIC}</a></p>
       </div>

       <div id="page-body">
          <div class="page-number">{PAGE_NUMBER}</div>
             <div class="post">
                <h3>{SUBJECT}</h3>
                <div class="date">{L_SENT_AT} <strong>{SENT_DATE}</strong></div>
                <div class="author">{L_PM_FROM} <strong>{MESSAGE_AUTHOR}</strong></div>
                <!-- IF S_TO_RECIPIENT -->
                   <div class="author">{L_TO} <strong><!-- BEGIN to_recipient -->{to_recipient.NAME}&nbsp;<!-- END to_recipient --></strong></div>
                <!-- ENDIF -->
                <!-- IF S_BCC_RECIPIENT -->
                   <div class="author">{L_BCC} <strong><!-- BEGIN bcc_recipient -->{bcc_recipient.NAME}&nbsp;<!-- END bcc_recipient --></strong></div>
                <!-- ENDIF -->
                <hr />
                <div class="content">{MESSAGE}</div>
             </div>
             <hr />
       </div>

       <div id="page-footer">
          <div class="page-number">{S_TIMEZONE}<br />{PAGE_NUMBER}</div>
          <div class="copyright">Powered by phpBB&reg; Forum Software &copy; phpBB Group<br />http://www.phpbb.com/</div>
       </div>
    </div>

template/viewtopic_body.html
  1. Cherchez (vers ligne 7),
    Code: Tout sélectionner
       <!-- IF MODERATORS or U_MCP -->
       <p>
          <!-- IF MODERATORS -->
             <strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
          <!-- ENDIF -->

       </p>

    remplacez par;
    Code: Tout sélectionner
    <!-- IF MODERATORS -->
    <p>
       <strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
    </p>

theme/bidi.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver RTL definitions

    remplacez par;
    Code: Tout sélectionner
    /* RTL definitions

  2. Cherchez (vers ligne 522),
    Code: Tout sélectionner
    /* proSilver Control Panel Styles

    remplacez par;
    Code: Tout sélectionner
    /* Control Panel Styles

theme/buttons.css
  1. Cherchez (vers ligne 1),
    Code: Tout sélectionner
    /* proSilver Button Styles

    remplacez par;
    Code: Tout sélectionner
    /* Button Styles

theme/common.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* General proSilver Markup Styles

    remplacez par;
    Code: Tout sélectionner
    /* General Markup Styles

theme/content.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Content Styles

    remplacez par;
    Code: Tout sélectionner
    /* Content Styles

theme/cp.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Control Panel Styles

    remplacez par;
    Code: Tout sélectionner
    /* Control Panel Styles

theme/forms.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Form Styles

    remplacez par;
    Code: Tout sélectionner
    /* Form Styles
  2. Cherchez (autour de la ligne 21),
    Code: Tout sélectionner
    select {
       font-family: Verdana, Helvetica, Arial, sans-serif;
       font-weight: normal;
       cursor: pointer;
       vertical-align: middle;
       border: 1px solid #666666;
       padding: 1px;
       background-color: #FAFAFA;

    juste après, ajoutez;
    Code: Tout sélectionner
       font-size: 1em;

theme/links.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Link Styles

    remplacez par;
    Code: Tout sélectionner
    /* Link Styles

theme/print.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Print Style Sheet
    -------------------------------------------------
       Author: subBlue  ( http://www.subBlue.com/ )
       Version: 25 August 2004

       Copyright 2004 phpBB Group
    -------------------------------------------------*/

    remplacez par;
    Code: Tout sélectionner
    /* Print Style Sheet
    ---------------------------------------- */

theme/stylesheet.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /*  phpBB 3.0 Style Sheet
        --------------------------------------------------------------
       Style name:      proSilver
       Based on style:   proSilver (this is the default phpBB 3 style)
       Original author:   subBlue ( http://www.subBlue.com/ )
       Modified by:      
       
       Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
        --------------------------------------------------------------

    remplacez par;
    Code: Tout sélectionner
    /*  phpBB3 Style Sheet
        --------------------------------------------------------------
       Style name:         prosilver (the default phpBB 3.0.x style)
       Based on style:      
       Original author:   Tom Beddard ( http://www.subblue.com/ )
       Modified by:      phpBB Group ( http://www.phpbb.com/ )
        --------------------------------------------------------------

theme/theme.cfg
  1. Cherchez (vers ligne 24),
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par;
    Code: Tout sélectionner
    version = 3.0.10

theme/tweaks.css
  1. Cherchez (ligne 1),
    Code: Tout sélectionner
    /* proSilver Style Sheet Tweaks

    Remplacez par ;
    Code: Tout sélectionner
    /* Style Sheet Tweaks
Dernière édition par anywhere91 le 13 Jan 2012 à 13:16, édité 6 fois.
Raison: Modification de la recherche dans overall_header.html
Avatar de l’utilisateur
Kewee
Resp. des graphistes
Resp. des graphistes
 
Messages: 9412
Inscription: 01 Déc 2005 à 17:17
Localisation: mais mais mais... et vous voulez pas mon numéro aussi?

Re: Mettre à jour son forum phpBB3

Messagepar cabot » 03 Jan 2012 à 14:39

M » Modifications des styles de phpBB 3.0.9 à phpBB 3.0.10

2 » Détail des modifications Subsilver2

Liste des fichiers à modifier :
  • styles/subsilver2/style.cfg
  • styles/subsilver2/imageset/imageset.cfg
  • styles/subsilver2/template/attachment.html
  • styles/subsilver2/template/editor.js
  • styles/subsilver2/template/memberlist_body.html
  • styles/subsilver2/template/memberlist_view.html
  • styles/subsilver2/template/posting_buttons.html
  • styles/subsilver2/template/template.cfg
  • styles/subsilver2/template/ucp_pm_viewmessage_print.html
  • styles/subsilver2/theme/stylesheet.css
  • styles/subsilver2/theme/theme.cfg


style.cfg

  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

imageset/imageset.cfg

  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    Remplacez par
    Code: Tout sélectionner
    version = 3.0.10

template/attachment.html

  1. Cherchez (vers ligne 75)
    Code: Tout sélectionner
                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false">

    remplacez par
    Code: Tout sélectionner
                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false"></embed>

template/editor.js

  1. Cherchez (vers ligne 150)
    Code: Tout sélectionner
       if (spaces)
       {
          text = ' ' + text + ' ';
       }
       
       if (!isNaN(textarea.selectionStart))

    remplacez par
    Code: Tout sélectionner
       if (spaces)
       {
          text = ' ' + text + ' ';
       }
       
       // Since IE9, IE also has textarea.selectionStart, but it still needs to be treated the old way.
       // Therefore we simply add a !is_ie here until IE fixes the text-selection completely.
       if (!isNaN(textarea.selectionStart) && !is_ie)

  2. Cherchez (vers ligne 223)
    Code: Tout sélectionner
       if (window.getSelection)
       {
          theSelection = window.getSelection().toString();
       }
       else if (document.getSelection)

    remplacez par
    Code: Tout sélectionner
       // IE9 must use the document.selection method but has the *.getSelection so we just force no IE
       if (window.getSelection && !is_ie)
       {
          theSelection = window.getSelection().toString();
       }
       else if (document.getSelection && !is_ie)

template/memberlist_body.html

  1. Cherchez (vers ligne 17)
    Code: Tout sélectionner
             <td align="{S_CONTENT_FLOW_BEGIN}"><span class="genmed">{L_USERNAME_BEGINS_WITH}: </span><select name="first_char" onchange="this.form.submit();">{S_CHAR_OPTIONS}</select>&nbsp;<input type="submit" name="char" value="{L_DISPLAY}" class="btnlite" /></td>

    remplacez par
    Code: Tout sélectionner
             <td align="{S_CONTENT_FLOW_BEGIN}"><span class="genmed">{L_USERNAME_BEGINS_WITH}: </span>
                <select name="first_char" onchange="this.form.submit();">
                   <!-- BEGIN first_char -->
                      <option value="{first_char.VALUE}"<!-- IF first_char.S_SELECTED --> selected="selected"<!-- ENDIF -->>{first_char.DESC}</option>
                   <!-- END first_char -->
                </select>&nbsp;<input type="submit" name="char" value="{L_DISPLAY}" class="btnlite" /></td>

template/memberlist_view.html

  1. Cherchez (vers ligne 92)
    Code: Tout sélectionner
                   <td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
                </tr>
                <tr>
                   <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
                   <td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>

    remplacez par
    Code: Tout sélectionner
                   <td><!-- IF ACTIVE_FORUM != '' --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>
                </tr>
                <tr>
                   <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td>
                   <td><!-- IF ACTIVE_TOPIC != '' --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td>

  2. Cherchez (vers ligne 151)
    Code: Tout sélectionner
             <!-- IF AGE -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td>
                <td><b class="genmed"><!-- IF AGE -->{AGE}<!-- ELSE --> - <!-- ENDIF --></b></td>

    remplacez par
    Code: Tout sélectionner
             <!-- IF AGE !== '' -->
             <tr>
                <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td>
                <td><b class="genmed">{AGE}</b></td>

template/posting_buttons.html

  1. Cherchez (vers ligne 25)
    Code: Tout sélectionner
             e: '{LA_BBCODE_E_HELP}',
             d: '{LA_BBCODE_D_HELP}',
             t: '{LA_BBCODE_T_HELP}',

    remplacez par
    Code: Tout sélectionner
             y: '{LA_BBCODE_Y_HELP}',
             d: '{LA_BBCODE_D_HELP}',

  2. Cherchez (vers ligne 47)
    Code: Tout sélectionner
          <input type="button" class="btnbbcode" accesskey="y" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />

    remplacez par
    Code: Tout sélectionner
          <input type="button" class="btnbbcode" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />

template/template.cfg

  1. Cherchez (vers ligne 22)
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par
    Code: Tout sélectionner
    version = 3.0.10

template/ucp_pm_viewmessage_print.html

  1. Cherchez (vers ligne 64)
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="Forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</a></span></td>

    remplacez par
    Code: Tout sélectionner
       <td colspan="2" align="center"><span class="Forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</span></td>

theme/stylesheet.css

  1. Cherchez (vers ligne 1)
    Code: Tout sélectionner
    /*  phpBB 3.0 Style Sheet
        --------------------------------------------------------------
       Style name:      subsilver2
       Based on style:   subSilver (the default phpBB 2 style)
       Original author:   subBlue ( http://www.subBlue.com/ )
       Modified by:      psoTFX and the phpBB team ( http://www.phpbb.com )
       
       This is an alternative style for phpBB3 for those wishing to stay with
       the familiar subSilver style of phpBB version 2.x
       
       Copyright 2006 phpBB Group ( http://www.phpbb.com/ )

    remplacez par
    Code: Tout sélectionner
    /*  phpBB3 Style Sheet
        --------------------------------------------------------------
       Style name:         subsilver2
       Based on style:      subSilver (the default phpBB 2.0.x style)
       Original author:   Tom Beddard ( http://www.subblue.com/ )
       Modified by:      phpBB Group ( http://www.phpbb.com/ )

theme/theme.cfg

  1. Cherchez (vers ligne 24)
    Code: Tout sélectionner
    version = 3.0.9

    remplacez par
    Code: Tout sélectionner
    version = 3.0.10
Après toute modification de style, ne pas oublier de Rafraîchir le style et vider le cache.

Un clic pour les restos du coeur, c'est utile et c'est gratuit.
Avatar de l’utilisateur
cabot
Graphiste
Graphiste
 
Messages: 4184
Inscription: 13 Fév 2011 à 19:42
Localisation:

Précédente

Retourner vers Téléchargements et mises à jour

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 2 invités

Partenaires : phpBBHacks.com • phpBB-Seo.com • EzCom-fr.com • phpBB3 Styles • phpBB podpora • phpBB Portugal    Liens : Net Avenir • PromoBenef • Ticket Gagnant