- 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:
rvelices
2008-08-19 23:58:35 +00:00
parent 9a346cc237
commit dcbaefafdf
6 changed files with 49 additions and 41 deletions
+9 -7
View File
@@ -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();