aboutsummaryrefslogtreecommitdiff
path: root/admin/pages
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-21 23:12:44 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-21 23:12:44 -0500
commitb06638761f326c7f53f157137b119008c2ff7b35 (patch)
tree89e3487179ff24cd55debdb0819ef1bee1c058f9 /admin/pages
parent75dddd70a7f004601e0ad4aff214d94be793cd4b (diff)
downloadbayonetcms-b06638761f326c7f53f157137b119008c2ff7b35.tar.gz
(OC) newsreel admin is working smoothly now
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@391 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/pages')
-rw-r--r--admin/pages/functions.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/admin/pages/functions.php b/admin/pages/functions.php
index 9d39618..3f8f59f 100644
--- a/admin/pages/functions.php
+++ b/admin/pages/functions.php
@@ -231,8 +231,7 @@ function ListPages($pid = NULL)
</tr>
<?php
- }
-
+ }
?>
<!--
<tr style="vertical-align:bottom; background-color:green; text-overflow:ellipsis; overflow:hidden;">
@@ -240,17 +239,19 @@ function ListPages($pid = NULL)
<table class="panelitems">
<tr><td>
<?php echo LinkInternal('<img src="images/add.png" />&nbsp;Create New Page','?op=pages&create=true'); ?> <br />
- <?php echo LinkInternal('<img src="images/view.gif" />&nbsp;View this Page','../index.php?load=page&id='.$page_id); ?> <br />
+ <?php echo LinkInternal('<img src="images/view.png" />&nbsp;View this Page','../index.php?load=page&id='.$page_id); ?> <br />
<?php echo LinkInternal('<img src="images/cancel.png" />&nbsp;Delete this Page','?op=pages&delete='.$page_id); ?> <br />
</td></tr>
</table>
<td>
</tr> -->
-
+<?php
+ if(isset($_GET['edit'])){
+ ?>
<tr>
<td style="text-align:center; text-overflow:ellipsis; overflow:hidden;">
- <?php echo LinkInternal('<img src="images/view.gif" />&nbsp;View this Page','../index.php?load=page&id='.$pid); ?>
+ <?php echo LinkInternal('<img src="images/view.png" />&nbsp;View this Page','../index.php?load=page&id='.$pid.'" target=\"blank'); ?>
</td>
</tr>
<tr>
@@ -259,7 +260,7 @@ function ListPages($pid = NULL)
</td>
</tr>
<?php
-
+ }
echo "</table>";
}