photos_default.tpl.php in Album Photos 7.3
Same filename and directory in other branches
Formats default layout.
1 theme call to photos_default.tpl.php
- photos_page_default in inc/
photos.page.inc - Default page, list recent photos and galleries.
File
tpl/photos_default.tpl.phpView source
<?php
/**
* @file
* Formats default layout.
*/
?>
<div id="photos_default">
<?php
if (isset($content['user']['image'])) {
?>
<h2><?php
print t('My latest images');
?></h2>
<?php
print $content['user']['image'];
?>
<?php
}
?>
<?php
if (isset($content['user']['album'])) {
?>
<h2><?php
print t('My latest albums');
?></h2>
<?php
print $content['user']['album'];
?>
<?php
}
?>
<?php
if (isset($content['site']['image'])) {
?>
<h2><?php
print t('Latest images');
?></h2>
<?php
print $content['site']['image'];
?>
<?php
}
?>
<?php
if (isset($content['site']['album'])) {
?>
<h2><?php
print t('Latest albums');
?></h2>
<?php
print $content['site']['album'];
?>
<?php
}
?>
</div>