function theme_avatar_selection_pager_link in Avatar Selection 7
Same name and namespace in other branches
- 5.2 avatar_selection.module \theme_avatar_selection_pager_link()
- 6 avatar_selection.module \theme_avatar_selection_pager_link()
Output themed pager navigation link.
Parameters
$text: Link (human-readable) text.
$path: Current page.
$page: Page number to display.
Return value
HTML formatted link for pager.
1 theme call to theme_avatar_selection_pager_link()
- theme_avatar_selection_pager in ./
avatar_selection.module - Output themed pager navigation.
File
- ./
avatar_selection.module, line 758 - The Avatar Selection module allows the user to pick an avatar image from a list already loaded by an administrative user, and to the administrator to disable uploading other avatar files by the user.
Code
function theme_avatar_selection_pager_link($variables) {
$text = $variables['text'];
$path = $variables['url'];
$page = $variables['page'];
$url = url($path);
$output = l($text, $path, array(
'query' => array(
'page' => $page,
),
));
return $output;
}