diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-02-08 01:31:05 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-02-08 01:31:05 +0000 |
commit | b6fc0fa5eb94301d5611b5385371aeda821da0fe (patch) | |
tree | 6571c02ac29d5e99ab747f48d97c62b5cde4ec46 /include/functions_html.inc.php | |
parent | 5631a3fc545bd736cb4b82a93fa7d2b48814973c (diff) |
- 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
Diffstat (limited to 'include/functions_html.inc.php')
-rw-r--r-- | include/functions_html.inc.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php index 53690211b..490def9ed 100644 --- a/include/functions_html.inc.php +++ b/include/functions_html.inc.php @@ -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) |