} // resetTags()
+ public function showPhotoIndex()
+ {
+
+ foreach($this->avail_photos as $photo)
+ {
+ print "<img src=\"phpfspot_img.php?idx=". $photo ."&width=". $this->cfg->thumb_width ."\" /><br />\n";
+ }
+
+ } // showPhotoIndex()
+
}
?>
content = document.getElementById("selected_tags");
content.innerHTML = HTML_AJAX.grab('rpc.php?action=show_selected_tags');
}
+
+function showPhotoIndex()
+{
+ content = document.getElementById("content");
+ content.innerHTML = HTML_AJAX.grab('rpc.php?action=show_photo_index');
+}
$fspot->resetTags();
break;
+ case 'show_photo_index':
+
+ $fspot->showPhotoIndex();
+ break;
+
}
} // process_ajax_request();
{include file="tags.tpl"}
</div>
<div id="content">
- {include file="body.tpl"}
+ {include file="welcome.tpl"}
</div>
</body>
{include file="footer.tpl"}
The following tags have been selected: <br />
<div id='selected_tags'>
</div>
+<br />
+<a href="javascript:showPhotoIndex();">Photo Index</a>