aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Wiki/climb.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Wiki/climb.php')
-rw-r--r--h-source/Application/Views/Wiki/climb.php44
1 files changed, 23 insertions, 21 deletions
diff --git a/h-source/Application/Views/Wiki/climb.php b/h-source/Application/Views/Wiki/climb.php
index bd502d1..c648e7f 100644
--- a/h-source/Application/Views/Wiki/climb.php
+++ b/h-source/Application/Views/Wiki/climb.php
@@ -21,30 +21,32 @@
?>
<div id="left">
- <div class="position_tree_box">
- <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo $tree;?>
- </div>
-
- <div class="notebook_view_title">
- <?php echo gtext('Make this revision the current revision of the page'); ?> <b><?php echo $tree_name;?></b>
- </div>
-
- <div class="notebook_insert_link">
- <a title="Back to the history of the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/".$id_wiki.$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
- </div>
+ <?php if (!$isDeleted) { ?>
- <div class="wiki_external_box">
+ <div class="position_tree_box">
+ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo $tree;?>
+ </div>
- <?php echo $notice;?>
+ <div class="notebook_view_title">
+ <?php echo gtext('Make this revision the current revision of the page'); ?> <b><?php echo $tree_name;?></b>
+ </div>
- <div class="climb_form_ext_box">
+ <div class="notebook_insert_link">
+ <a title="Back to the history of the page <?php echo $tree_name;?>" href="<?php echo $this->baseUrl."/".$this->controller."/history/$lang/".$id_wiki.$this->viewStatus;?>"><img class="top_left_images" src="<?php echo $this->baseUrl;?>/Public/Img/back-60.png"></a>
+ </div>
- <?php if (strcmp($isDeleted,'no') === 0 ) { ?>
- <form action="<?php echo $this->currPage."/$lang/$id_rev"; ?>" method="POST">
- <?php echo gtext('I want to make this revision the current revision');?>: <input type="submit" name="confirmAction" value="<?php echo gtext('Confirm');?>">
- </form>
- <?php } ?>
+ <div class="wiki_external_box">
- </div>
+ <?php echo $notice;?>
- </div> \ No newline at end of file
+ <div class="climb_form_ext_box">
+
+ <form action="<?php echo $this->currPage."/$lang/$id_rev"; ?>" method="POST">
+ <?php echo gtext('I want to make this revision the current revision');?>: <input type="submit" name="confirmAction" value="<?php echo gtext('Confirm');?>">
+ </form>
+
+ </div>
+
+ </div>
+
+ <?php } ?> \ No newline at end of file