added links in status string

This commit is contained in:
Serghey Rodin 2012-12-18 18:29:13 +02:00
commit 949763b7dc
30 changed files with 64 additions and 55 deletions

View file

@ -3,7 +3,7 @@
if (empty($back)) {
$back = "location.href='/list/package/'";
} else {
$back = "javascript:history.back(1)";
$back = "location.href='".$back."'";
}
?>
@ -12,10 +12,10 @@
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Editing Package</b></a>
<?php
if (!empty($_SESSION['error_msg'])) {
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
echo "<span class=\"add-error\"> → ".$_SESSION['error_msg']."</span>";
} else {
if (!empty($_SESSION['ok_msg'])) {
echo "<a class=\"add-ok\"> → ".$_SESSION['ok_msg']."</a>";
echo "<span class=\"add-ok\"> → ".$_SESSION['ok_msg']."</span>";
}
}
?>