Ignore:
Timestamp:
Feb 8, 2007, 2:31:05 AM (17 years ago)
Author:
rvelices
Message:
  • correct php warnings (section_init and mass_inserts)
  • flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter)
  • small html validation (double class attribute)
  • removed unnecessary class=""
  • changed 2 times hard coded index.php?recent_pics with make_index_url(...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_notification.inc.php

    • Property svn:eol-style set to native
    • Property svn:keywords set to Author Date Id Revision
    r1784 r1789  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    77// | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
    9 // | last update   : $Date: 2005-11-26 21:15:50 +0100 (sam., 26 nov. 2005) $
    10 // | last modifier : $Author: plg $
    11 // | revision      : $Revision: 958 $
     8// | file          : $Id$
     9// | last update   : $Date$
     10// | last modifier : $Author$
     11// | revision      : $Revision$
    1212// +-----------------------------------------------------------------------+
    1313// | This program is free software; you can redistribute it and/or modify  |
     
    409409    add_news_line( $news,
    410410      nb_new_elements($start, $end), '%d new element', '%d new elements',
    411       get_root_url().'index.php?/recent_pics', $add_url );
     411      make_index_url(array('section'=>'recent_pics')), $add_url );
    412412  }
    413413
     
    416416    add_news_line( $news,
    417417      nb_updated_categories($start, $end), '%d category updated', '%d categories updated',
    418       get_root_url().'/index.php?/recent_cats', $add_url );
     418      make_index_url(array('section'=>'recent_cats')), $add_url );
    419419  }
    420420
Note: See TracChangeset for help on using the changeset viewer.