- <?php
- if ($showdelete) {
- ?>
- <input type="submit" name="delete" value="<?php echo T_('Delete Bookmark'); ?>" />
- <?php
- }
- if ($popup) {
- ?>
- <input type="hidden" name="popup" value="1" />
- <?php
- } elseif ($referrer) {
- ?>
- <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" />
- <?php
- }
- ?>
+ <?php if (isset($showdelete) && $showdelete): ?>
+ <input type="submit" name="delete" value="<?php echo T_('Delete Bookmark'); ?>" />
+ <?php endif; ?>
+ <?php if ($popup): ?>
+ <input type="hidden" name="popup" value="1" />
+ <?php elseif (isset($referrer) && $referrer): ?>
+ <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" />
+ <?php endif; ?>