PhpBB2: Modifica ai templates per Piccoli annunci


PhpBB2: Modifica ai templates per Piccoli annunci

Messaggio Da Niko il Gio 6 Ott 2016 - 11:48


Piccoli annunci: Modifiche ai templates per PhpBB2.


Per una migliore esperienza, gli amministratori (fondatore) dei forum PhpBB2 che hanno modificato questi templates viewforum_body, index_box, profile_send_email prima del 28 settembre 2016 devono attualizzare queste modifiche

viewforum_body


Sostituire:" :
Codice:

    <tr>
    <td align="left" valign="middle" width="50">
    <!-- BEGIN switch_user_authpost -->
    <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
    <!-- END switch_user_authpost -->
    </td>
    <td class="nav" valign="middle" width="100%">
                <div class="nav">
                    <a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>{NAV_CAT_DESC}
                </div>
            </td>
    <td class="gensmall" align="right" valign="bottom" nowrap="nowrap">
    <span class="nav">
    <script type="text/javascript">//<![CDATA[
    var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
    var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
    var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
    var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
    var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
    insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
    //]]>
    </script>
    </span>
    </td>
    </tr>


Con questo::
Codice:
 <tr>
 <td align="left" valign="middle" width="50">
 <!-- BEGIN switch_user_authpost -->
 <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
 <!-- END switch_user_authpost -->
 </td>
 <td class="nav" valign="middle" width="100%">
            <div class="nav">
                <a class="nav" href="{U_INDEX}"><span>{L_INDEX}</span></a>{NAV_CAT_DESC}
            </div>
        </td>
        <!-- BEGIN show_plus_menu -->
 <td class="gensmall" align="right" valign="bottom" nowrap="nowrap">
 <span class="nav">
 <script type="text/javascript">//<![CDATA[
 var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
 var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
 var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
 var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
 var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
 insert_plus_menu('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
 //]]>
 </script>
 </span>
 </td>
        <!-- END show_plus_menu -->
 </tr>

profile_send_email


Sostituire::
Codice:
    <tr>
                <th class="thHead" colspan="2" height="25"><h1 class="pagetitle">{L_SEND_EMAIL_MSG}</h1></th>
            </tr>
            <tr>
                <td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
                <td class="row2" width="78%"><span class="gen"><b><input type="text" name="friendname" value="{USER&#8288;NAME}" class="post" /></b></span></td>
            </tr>
            <!-- BEGIN switch_tell_friend -->
            <tr>
                <td class="row1" width="22%"><span class="gen"><b>{L_TELL_FRIEND_RECIEVER_EMAIL}</b></span></td>
                <td class="row2" width="78%"><input type="text" size="30" name="friendemail" value="" class="post" /></td>
            </tr>
            <!-- END switch_tell_friend -->
            <tr>
                <td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
                <td class="row2" width="78%">
                    <span class="gen"><input class="post" style="width:450px" type="text" name="subject" value="{SUBJECT}" size="45" maxlength="100" tabindex="2" /></span>
                </td>
            </tr>



Con questo::
Codice:
  <tr>
            <th class="thHead" colspan="2" height="25"><h1 class="pagetitle">{L_SEND_EMAIL_MSG}</h1></th>
        </tr>
        <!-- BEGIN switch_profile_email -->
        <tr>
            <td class="row1" width="22%"><span class="gen"><b>{L_RECIPIENT}</b></span></td>
            <td class="row2" width="78%"><span class="gen"><b><input type="text" name="friendname" value="{USER&#8288;NAME}" class="post" /></b></span></td>
        </tr>
        <!-- END switch_profile_email -->
        <!-- BEGIN switch_ad_email -->
        <tr>
            <td class="row1" width="22%"><span class="gen"><b>{switch_ad_email.L_YOUR_EMAIL}</b></span></td>
            <td class="row2" width="78%"><span class="gen"><b><input type="text" name="email" value="{switch_ad_email.V_YOUR_EMAIL}" {switch_ad_email.DISABLE_YOUR_EMAIL} class="inputbox narrow" /></b></span></td>
        </tr>
        <tr>
            <td class="row1" width="22%"><span class="gen"><b>{switch_ad_email.L_YOUR_NAME}</b></span></td>
            <td class="row2" width="78%"><span class="gen"><b><input type="text" name="username" value="{switch_ad_email.V_YOUR_NAME}" {switch_ad_email.DISABLE_YOUR_NAME} class="inputbox narrow" /></b></span></td>
        </tr>
        <!-- END switch_ad_email -->
        <!-- BEGIN switch_tell_friend -->
        <tr>
            <td class="row1" width="22%"><span class="gen"><b>{L_TELL_FRIEND_RECIEVER_EMAIL}</b></span></td>
            <td class="row2" width="78%"><input type="text" size="30" name="friendemail" value="" class="post" /></td>
        </tr>
        <!-- END switch_tell_friend -->
        <tr>
            <td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
            <td class="row2" width="78%">
                <span class="gen"><input class="post" style="width:450px" type="text" name="subject" value="{SUBJECT}" {SUBJECT_READ_ONLY} size="45" maxlength="100" tabindex="2" /></span>
            </td>
        </tr>

index_box


Sostituisci questa parte::
Codice:
    <td class="row3 over" align="center" valign="middle" height="50">
                <!-- BEGIN avatar -->
                <div style="width: 200px;"></div>
                <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                <!-- END avatar -->

    <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
    </td>



Con questo::
Codice:
<td class="row3 over" align="center" valign="middle" height="50">
            <!-- BEGIN ads -->
                    <span class="AD_LastPA">
                                <span class="lastpost-avatar"><img src="{catrow.forumrow.ads.IMG}" alt="{catrow.forumrow.ads.TITLE}" /></span>
                                <span class="AD_LastInfos">
                                    <b><a href="{catrow.forumrow.ads.LINK}">{catrow.forumrow.ads.TITLE}</a></b><br />
                                    {catrow.forumrow.ads.DATE}<br />
                                    {catrow.forumrow.ads.LOCATION}
                                </span>
                    </span>
                    <!-- END ads -->
            <!-- BEGIN avatar -->
            <div style="width: 200px;"></div>
            <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
            <!-- END avatar -->

 <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
 </td>


Ultimo aggiornamento 29/09/2016
avatar
Niko
Veterano dello staff


Sesso : Maschile
Età : 20
Messaggi : 7679
Località : Provincia di Varese


Vedere il profilo dell'utente https://www.translationscloud.com
Niko è stato ringraziato dall'autore di questo topic.

Vedere l'argomento precedente Vedere l'argomento seguente Tornare in alto

- Argomenti simili

 
Permesso di questo forum:
Non puoi rispondere agli argomenti in questo forum