diff options
-rw-r--r-- | templates/photo_index.tpl | 2 | ||||
-rw-r--r-- | templates/single_photo.tpl | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl index cb079e2..9ac7458 100644 --- a/templates/photo_index.tpl +++ b/templates/photo_index.tpl @@ -48,7 +48,7 @@ <td class="thumb"> {if $images[row][col] } <div id="inner" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');"> - <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" name="image{$img_id[row][col]}" class="thumblink"> + <a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" name="image{$img_id[row][col]}" class="thumblink" onclick="click(this);"> <img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&width={$width}" alt="thumb_{$images[row][col]}" width="{$img_width[row][col]}" height="{$img_height[row][col]}" /> <br /> {$img_name[row][col]} diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl index b93803f..5ad2450 100644 --- a/templates/single_photo.tpl +++ b/templates/single_photo.tpl @@ -19,9 +19,9 @@ <tr> <td colspan="3"> { if $next_url == "" } - <a href="javascript:showPhotoIndex();"> + <a href="javascript:showPhotoIndex();" onclick="click(this);"> { else } - <a href="{$next_url}"> + <a href="{$next_url}" onclick="click(this);"> { /if } <img src="{$image_url}" width="{$width}" height="{$height}" alt="photo" /> </a> @@ -32,13 +32,13 @@ { if $previous_url == "" } <img src="resources/arrow_left_gray.png" alt="first photo reached" /> { else } - <a href="{$previous_url}"> + <a href="{$previous_url}" onclick="click(this);"> <img src="resources/arrow_left.png" alt="previous photo" /> </a> { /if } </td> <td style="text-align: center; width: 33%;"> - <a href="javascript:showPhotoIndex({$current});"> + <a href="javascript:showPhotoIndex({$current});" onclick="click(this);"> <img src="resources/arrow_up.png" alt="photo index" /> </a> </td> @@ -46,7 +46,7 @@ { if $next_url == "" } <img src="resources/arrow_right_gray.png" alt="last photo reached" /> { else } - <a href="{$next_url}"> + <a href="{$next_url}" onclick="click(this);"> <img src="resources/arrow_right.png" alt="next photo" /> </a> { /if} @@ -74,7 +74,7 @@ <br /> <u><img src="resources/small_available_tags.png" alt="available tags" /> Tagged with:</u><br /> { foreach from=$tags key=id item=name } - <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);">{$name}</a><br /> + <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br /> { /foreach } { /if } </div> |