mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-05 00:13:05 +02:00
Minor bugs correction
git-svn-id: http://piwigo.org/svn/trunk@519 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -133,13 +133,15 @@ function style_select($default_style, $select_name = "style")
|
||||
{
|
||||
$templates = get_templates();
|
||||
|
||||
$style_selected = '<select name="' . $select_name . '" >';
|
||||
foreach ($templates as $template)
|
||||
{
|
||||
$selected = ( $template == $default_style ) ? ' selected="selected"' : '';
|
||||
$style_select.= '<option value="'.$template.'"'.$selected.'>';
|
||||
$style_select.= $template.'</option>';
|
||||
$style_selected.= '<option value="'.$template.'"'.$selected.'>';
|
||||
$style_selected.= $template.'</option>';
|
||||
}
|
||||
return $style_select;
|
||||
$style_selected .= '</select>';
|
||||
return $style_selected;
|
||||
}
|
||||
|
||||
// The function get_cat_display_name returns a string containing the list
|
||||
|
||||
Reference in New Issue
Block a user