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_html.inc.php

    r1769 r1789  
    287287    elseif ($url == '')
    288288    {
    289       $output.= '<a class=""';
    290       $output.= ' href="'
     289      $output.= '<a href="'
    291290            .make_index_url(
    292291                array(
     
    300299    else
    301300    {
    302       $output.= '<a class=""';
    303       $output.= ' href="'.PHPWG_ROOT_PATH.$url.$id.'">';
     301      $output.= '<a href="'.PHPWG_ROOT_PATH.$url.$id.'">';
    304302      $output.= $name.'</a>';
    305303    }
     
    369367    {
    370368      $output.= '
    371 <a class=""
    372    href="'
     369<a href="'
    373370      .make_index_url(
    374371          array(
     
    382379    {
    383380      $output.= '
    384 <a class=""
    385    href="'.PHPWG_ROOT_PATH.$url.$category_id.'">'.$name.'</a>';
     381<a href="'.PHPWG_ROOT_PATH.$url.$category_id.'">'.$name.'</a>';
    386382    }
    387383  }
Note: See TracChangeset for help on using the changeset viewer.