forum.coppermine-gallery.net

Support => Italian (Italiano) => Closed boards => Language Specific Support => cpg1.4.x Italian (Italiano) => Topic started by: mouse100 on August 21, 2007, 03:11:22 am

Title: Eliminare la scritta "Viste XX volte"
Post by: mouse100 on August 21, 2007, 03:11:22 am
Come da oggetto volevo eliminare la seguente scritta:

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.imagehosting.com%2Fout.php%2Fi1045702_Immagine.jpg&hash=f4e8cac6a2ceb79bae7ce2cbe4f90cd606bb6255)


o almeno se non è possibile eliminarla, almeno cercare di resettare le visite a 0.
Title: Re: Eliminare la scritta "Viste XX volte"
Post by: Davide Renda on August 21, 2007, 10:41:21 am
http://forum.coppermine-gallery.net/index.php?topic=44640.msg212193#msg212193

Pere azzerare le visite invece vai su AMMINISTRAZIONE >> RESETTA CONTATORE VISITE
Title: Re: Eliminare la scritta "Viste XX volte"
Post by: mouse100 on August 21, 2007, 03:10:30 pm
Grazie...
Title: Re: Eliminare la scritta "Viste XX volte"
Post by: mouse100 on August 21, 2007, 04:06:51 pm
Ho provato a seguire le istruzioni sul link che mi hai passato. Ho sia provato ad eliminare quella scritta che hai detto, che incollare il codice nuovo al posto di quello contenuto nel theme.php ma non succede niente. Le visite e le altre statistiche rimangono sempre.

Ti posto il contenuto del theme.php originale del mio tema:

Code: [Select]
<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2006 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.9
  $Source$
  $Revision: 3125 $
  $Author: gaugau $
  $Date: 2006-06-16 08:48:03 +0200 (Fr, 16 Jun 2006) $
**********************************************/

// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
// define('THEME_IS_XHTML10_TRANSITIONAL',1);

// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left" valign="middle"><img src="themes/dm_bluerapsody/images/folder.gif" border="0" width="25" height="25" alt="" align="left" />{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td valign="middle"><img src="themes/dm_bluerapsody/images/folder.gif" border="0" width="25" height="25" alt="" align="left" />{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;


?>