function photos_theme in Album Photos 7.3
Same name and namespace in other branches
- 8.5 photos.module \photos_theme()
- 8.4 photos.module \photos_theme()
- 6.2 photos.module \photos_theme()
- 6.0.x photos.module \photos_theme()
Implememtns hook_theme().
File
- ./
photos.module, line 2025 - Implementation of photos.module.
Code
function photos_theme($existing, $type, $theme, $path) {
return array(
'photos_editlist_form' => array(
'render element' => 'form',
),
'photos_comment_count' => array(
'function' => 'photos_theme_photos_comment_count',
'variables' => array(
'comcount' => NULL,
'url' => NULL,
),
),
'photos_default' => array(
'template' => 'tpl/photos_default',
'variables' => array(
'content' => NULL,
),
),
'photos_down' => array(
'template' => 'tpl/photos_down',
'variables' => array(
'content' => NULL,
'type' => NULL,
),
),
'photos_slide' => array(
'template' => 'tpl/photos_slide',
'variables' => array(
'content' => NULL,
),
),
'photos_imageview' => array(
'template' => 'tpl/photos_imageview',
'variables' => array(
'image' => NULL,
'type' => NULL,
),
),
'photos_imageblock' => array(
'template' => 'tpl/photos_imageblock',
'variables' => array(
'image' => NULL,
),
),
'photos_block' => array(
'function' => 'photos_theme_photos_block',
'variables' => array(
'images' => NULL,
'type' => NULL,
),
),
'photos_albumview' => array(
'template' => 'tpl/photos_albumview',
'variables' => array(
'album' => NULL,
'node' => NULL,
),
),
'photos_albumlist' => array(
'template' => 'tpl/photos_albumlist',
'variables' => array(
'image' => NULL,
),
),
'photos_albumlinks' => array(
'template' => 'tpl/photos_albumlinks',
'variables' => array(
'links' => NULL,
),
),
'photos_imagehtml' => array(
'template' => 'tpl/photos_imagehtml',
'variables' => array(
'image' => NULL,
'style_name' => NULL,
),
),
'photos_exif' => array(
'template' => 'tpl/photos_exif',
'variables' => array(
'exif' => NULL,
'type' => NULL,
),
),
'photos_print' => array(
'template' => 'tpl/photos_print',
'variables' => array(
'content' => NULL,
'type' => NULL,
),
),
'photos_share' => array(
'template' => 'tpl/photos_share',
'variables' => array(
'images' => NULL,
'type' => NULL,
),
),
'photos_vote' => array(
'template' => 'tpl/photos_vote',
'variables' => array(
'fid' => NULL,
),
),
);
}