mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
- ws can include php file before invoking web call method
- remove "Pierrick ..." from some languages - tags - small change to avoid increasing number of urls - added a missing closedir - remove some unnecessary class names and inexisting rel attributes git-svn-id: http://piwigo.org/svn/trunk@2478 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -67,13 +67,15 @@ if (isset($_GET['display_mode']))
|
||||
}
|
||||
}
|
||||
|
||||
$template->assign(
|
||||
array(
|
||||
'U_CLOUD' => get_root_url().'tags.php?display_mode=cloud',
|
||||
'U_LETTERS' => get_root_url().'tags.php?display_mode=letters',
|
||||
'display_mode' => $page['display_mode'],
|
||||
)
|
||||
);
|
||||
foreach (array('cloud', 'letters') as $mode)
|
||||
{
|
||||
$template->assign(
|
||||
'U_'.strtoupper($mode),
|
||||
get_root_url().'tags.php'. ($conf['tags_default_display_mode']==$mode ? '' : '?display_mode='.$mode)
|
||||
);
|
||||
}
|
||||
|
||||
$template->assign( 'display_mode', $page['display_mode'] );
|
||||
|
||||
// find all tags available for the current user
|
||||
$tags = get_available_tags();
|
||||
|
||||
Reference in New Issue
Block a user