REFERENCE: all the template variables in album.tpl.php with notes

List and short notes of all the template variables in album.tpl.php (with all formatting, tables, and other junk removed for clarity). I really needed this when I started modifying, and it was a pain in the butt not to have it. Hopefully this helps the next person.

Admin: consider adding this to the meager documentation please.

---- Header Variables
<? print $site_name;?>
<?print ($stylesheet_link);?> (<LINK REL="stylesheet" HREF="<?print ($stylesheet_link);?>" TYPE="text/css">)
<?print $logo;?>

---- Search Box:
<? if($show_search_box) { ?>
<form method="GET" action="">
<input class="login" type="text" size="20" name="keyword" value="<?=$search_text?>"/></td>
<input class="login_btn" type="submit" value="<?p("ID_SEARCH");?>"/>
<input type="hidden" name="cmd" value="albumnew"/>
</form>
<? } ?>

---- Link back to "Return Home URL" in main setup
<? if ( $return_home_url != "") { ?>
      <a href="http://<? print $return_home_url;?>"><?p("ID_HOME");?></a>
<? } ?>

---- Name of Current Album:
<? p('ID_ALBUM_NAME');?>

---- Breadcrumb:
<? foreach( $dir_path as $num => $dir ) {?>
<a  href="<? print $dir['link']; ?>"><? print $dir['name']; ?></a>/
<? } ?>

---- Links to change image sizes:
<? foreach( $quality_links as $link){ ?>
<? if ( $link['actual']) {?>
<font class="te"><b><? print $link['name']; ?></b></font>&nbsp;&nbsp;
<? } else { ?>
<a href="<? print $link['link']; ?>"><? print $link['name']; ?></a>&nbsp;&nbsp;
<? } ?>
<? } ?>

---- Login Link (or "Setup" link)
<?if($login_enabled && !$logged_in){?>
<a href="<?print $login_logout_link;?>"><?print $login_logout_text?></a>
<?}?>
<?if($logged_in){?>
<a href="main.php?cmd=setup"><?p("ID_SETUP");?></a>
<?}?>

---- Login box that appears if "Login" is clicked
<?if($login_clicked){ print "<tr><td colspan=\"2\" width=\"100%\" align=\"right\">".$login_dialog."</td></tr>"; }?>

---- Directory Description
<? if($dir_long_desc){ ?>
<? print $dir_long_desc; ?>
<? } ?>

---- Directories (if the directory you are in has subdirectories, this displays them)
<? print $directories; ?>  (parses dir.tpl.php and dumps it here)

---- Previous/Next Page
<? if ( $previous_page_link || $next_page_link ) { ?>
<? if($previous_page_link){?>
    <a href="<? print $previous_page_link; ?>"><? p("ID_PREV_PAGE");?></a>
<? }else{?>
    <? print p("ID_PREV_PAGE");?>
<?}?>
<? if($next_page_link){?>
    <a href="<? print $next_page_link; ?>"><? p("ID_NEXT_PAGE");?></a>
<? }else{?>
    <?p("ID_NEXT_PAGE");?>
<?}?>
<? } ?>

---- Thumbnails (of any images that are in the current directory)
<? print $thumbnails; ?> (parses thmb.tpl.php and dumps it here)

---- Previous/Next Page (meant to appear at the bottom of the page)
<? if($disable_bottom_nextprev=="false"){?>
<? if ( $previous_page_link || $next_page_link ) { ?>
<? if($previous_page_link){?>
    <a href="<? print $previous_page_link; ?>"><? p("ID_PREV_PAGE");?></a>
<? }else{?>
    <? print p("ID_PREV_PAGE");?>
<?}?>
<? if($next_page_link){?>
    <a href="<? print $next_page_link; ?>"><? p("ID_NEXT_PAGE");?></a>
<? }else{?>
    <?p("ID_NEXT_PAGE");?>
<?}?>
<? } ?>

---- Footer Message
<? if( $footer_message ) { ?>
<? print $footer_message; ?>
<? } ?>

--- Tracking Code (as defined in admin setup)
<? if($tracking_code) { print $tracking_code; } ?>