File: commentboxbottom.inc

package info (click to toggle)
gallery 1.5-1sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 21,172 kB
  • ctags: 4,516
  • sloc: php: 26,456; sh: 427; perl: 188; makefile: 58; xml: 48
file content (24 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php /* $Id: commentboxbottom.inc,v 1.15 2004/10/02 20:58:39 jenst Exp $ */ ?>
<?php global $embeddedAlbum, $id, $index ;
if(!$embeddedAlbum == 1)
{
        $url = "add_comment.php?set_albumName={$gallery->album->fields['name']}&id=$id";
?>
                </td>
        </tr>
        </table>

	<input type="button" onClick="javascript:<?php echo popup($url) ?>" value="<?php echo _("add comment") ?>">
	<?php
	if ($gallery->user->canWriteToAlbum($gallery->album)) {
	echo '<input type="submit" value="'. _("Delete marked comments") .'">';
	}
	?>
	</form>
<br>
	</td>
	<td width="20">&nbsp;</td>
<?php } ?>
</tr>
</table>
<br>