mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
- 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:
parent
5631a3fc54
commit
b6fc0fa5eb
7 changed files with 158 additions and 177 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue