[Prosilver] Mises à jour manuelles

Trouvez ici mes styles pour phpBB 3

Re: [Prosilver] Mises à jour manuelles

Messagepar Morgyanne » Jeu 5 Jan 2012 19:40

Modifications nécessaires pour rendre votre style à base prosilver compatible phpBB 3.0.9 jusqu'à la version 3.0.10

[02/01/12] Annonce officielle sur phpBB.com
~> 29 fichiers à modifier

prosilver/style.cfg
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    version = 3.0.9

    Remplacer par
    Code: Tout sélectionner
    version = 3.0.10


prosilver/imageset/imageset.cfg
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    version = 3.0.9

    Remplacer par
    Code: Tout sélectionner
    version = 3.0.10


prosilver/template/editor.js
Spoiler : 
  1. Chercher (L. 151-158)
    Code: Tout sélectionner
       }
       
       if (!isNaN(textarea.selectionStart))
       {

    Remplacer par
    Code: Tout sélectionner
       }

       // 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. Chercher
    Code: Tout sélectionner
       // Get text selection - not only the post content :(
       if (window.getSelection)

    Remplacer par
    Code: Tout sélectionner
       // Get text selection - not only the post content :(
       // IE9 must use the document.selection method but has the *.getSelection so we just force no IE
       if (window.getSelection && !is_ie)

  3. Chercher
    Code: Tout sélectionner
    else if (document.getSelection)

    Remplacer par
    Code: Tout sélectionner
    else if (document.getSelection && !is_ie)


prosilver/template/forum_fn.js
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    // Not IE

    Remplacer par
    Code: Tout sélectionner
    // Not IE and IE9+


prosilver/template/jumpbox.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    <form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}">

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


prosilver/template/mcp_approve.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    <!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF -->

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


prosilver/template/mcp_front.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
                      <a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> {unapproved.ATTACH_ICON_IMG}<br />
                      <!-- IF report.PAGINATION --><strong class="pagination"><span>{report.PAGINATION}</span></strong><!-- ENDIF -->
                      {L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} &raquo; {unapproved.POST_TIME}

    Remplacer par
    Code: Tout sélectionner
                      <a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> {unapproved.ATTACH_ICON_IMG}<br />
                      {L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} &raquo; {unapproved.POST_TIME}


prosilver/template/mcp_notes_user.html
Spoiler : 
  1. Chercher
    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 -->

    Remplacer 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 -->


prosilver/template/mcp_post.html
Spoiler : 
  1. Chercher
    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]" />

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


prosilver/template/memberlist_body.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
                <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>

    Remplacer par
    Code: Tout sélectionner
                <strong style="font-size: 0.95em;">
                <!-- BEGIN first_char -->
                   <a href="{first_char.U_SORT}">{first_char.DESC}</a>&nbsp;
                <!-- END first_char -->
                </strong>


prosilver/template/memberlist_view.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    <!-- IF AGE --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->

    Remplacer par
    Code: Tout sélectionner
    <!-- IF AGE !== '' --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->

  2. Chercher
    Code: Tout sélectionner
                <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>

    Remplacer par
    Code: Tout sélectionner
                <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>


prosilver/template/message_body.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    <!-- INCLUDE overall_header.html -->

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

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

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


prosilver/template/overall_header.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
             eval(onload_functions[i]);
          }
       }

    Remplacer par
    Code: Tout sélectionner
             eval(onload_functions[i]);
          }
       };

  2. Chercher
    Code: Tout sélectionner
             eval(onunload_functions[i]);
          }
       }

    Remplacer par
    Code: Tout sélectionner
             eval(onunload_functions[i]);
          }
       };


prosilver/template/posting_buttons.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    e: '{LA_BBCODE_E_HELP}',

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

  2. Chercher
    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}" />

    Remplacer 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}" />


prosilver/template/template.cfg
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    version = 3.0.9

    Remplacer par
    Code: Tout sélectionner
    version = 3.0.10


prosilver/template/ucp_groups_manage.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
       <!-- BEGINELSE -->
          <tr>
             <td class="bg1" colspan="5">{L_GROUPS_NO_MEMBERS}</td>

    Dans la ligne, chercher
    Code: Tout sélectionner
    <!-- BEGINELSE -->

    Ajouter après
    Code: Tout sélectionner
          <table class="table1" cellspacing="1">
          <thead>

    Dans la ligne, chercher
    Code: Tout sélectionner
             <td class="bg1" colspan="5">{L_GROUPS_NO_MEMBERS}</td>

    Remplacer par
    Code: Tout sélectionner
             <th class="name">{L_MEMBERS}</th>
          </tr>
          </thead>
          <tbody>
          <tr>
             <td class="bg1">{L_GROUPS_NO_MEMBERS}</td>


prosilver/template/ucp_pm_viewmessage_print.html
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    <title>{SITENAME} :: {PAGE_TITLE}</title>

    <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>

    Remplacer par
    Code: Tout sélectionner
    <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. Chercher
    Code: Tout sélectionner
    </head>

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

    Après supprimer
    Code: Tout sélectionner
    <body>

  3. Chercher
    Code: Tout sélectionner
    <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>

    Remplacer 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>


prosilver/template/viewtopic_body.html
Spoiler : 
  1. Chercher
    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>

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


prosilver/theme/bidi.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* proSilver RTL definitions

    Remplacer par
    Code: Tout sélectionner
    /* RTL definitions

  2. Chercher
    Code: Tout sélectionner
    * cp.css
    */
    /* proSilver Control Panel Styles

    Remplacer par
    Code: Tout sélectionner
    * cp.css
    */
    /* Control Panel Styles


prosilver/theme/buttons.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* proSilver Button Styles

    Remplacer par
    Code: Tout sélectionner
    /* Button Styles


prosilver/theme/common.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* General proSilver Markup Styles

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


prosilver/theme/content.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* proSilver Content Styles

    Remplacer par
    Code: Tout sélectionner
    /* Content Styles


prosilver/theme/cp.css
Spoiler : 
  1. /* proSilver Control Panel Styles[/code]
    Remplacer par
    Code: Tout sélectionner
    /* Control Panel Styles


prosilver/theme/forms.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* proSilver Form Styles

    Remplacer par
    Code: Tout sélectionner
    /* Form Styles

  2. Chercher
    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;
    }

    Dans la ligne, chercher
    Code: Tout sélectionner
       background-color: #FAFAFA;

    Après ajouter
    Code: Tout sélectionner
       font-size: 1em;


prosilver/theme/links.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* proSilver Link Styles

    Remplacer par
    Code: Tout sélectionner
    /* Link Styles


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

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

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


prosilver/theme/stylesheet.css
Spoiler : 
  1. Chercher
    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/ )

    Remplacer 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/ )


prosilver/theme/theme.cfg
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    version = 3.0.9

    Remplacer par
    Code: Tout sélectionner
    version = 3.0.10


prosilver/theme/tweaks.css
Spoiler : 
  1. Chercher
    Code: Tout sélectionner
    /* proSilver Style Sheet Tweaks

    Remplacer par
    Code: Tout sélectionner
    /* Style Sheet Tweaks
Avatar de l’utilisateur
Morgyanne
Administratrice
Administratrice
 
Messages: 182
Inscription: Ven 4 Jan 2008 18:51
Localisation: Lyon

Précédente

Retourner vers Styles

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité

cron