- 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(...)

git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2007-02-08 01:31:05 +00:00
parent 5631a3fc54
commit b6fc0fa5eb
7 changed files with 158 additions and 177 deletions

View file

@ -286,8 +286,7 @@ function get_cat_display_name($cat_informations,
}
elseif ($url == '')
{
$output.= '<a class=""';
$output.= ' href="'
$output.= '<a href="'
.make_index_url(
array(
'category'=>$id,
@ -299,8 +298,7 @@ function get_cat_display_name($cat_informations,
}
else
{
$output.= '<a class=""';
$output.= ' href="'.PHPWG_ROOT_PATH.$url.$id.'">';
$output.= '<a href="'.PHPWG_ROOT_PATH.$url.$id.'">';
$output.= $name.'</a>';
}
}
@ -368,8 +366,7 @@ SELECT id,name
elseif ($url == '')
{
$output.= '
<a class=""
href="'
<a href="'
.make_index_url(
array(
'category'=>$category_id,
@ -381,8 +378,7 @@ SELECT id,name
else
{
$output.= '
<a class=""
href="'.PHPWG_ROOT_PATH.$url.$category_id.'">'.$name.'</a>';
<a href="'.PHPWG_ROOT_PATH.$url.$category_id.'">'.$name.'</a>';
}
}
if ($replace_space)