2011-07-20 Tomas Palacios <tomas.palacios@artica.es>
* pandora_console/godmode: Fixed a bug regarding a bad placement of the page footer in some sections. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
3c5f9c903b
commit
eac6b12deb
|
@ -45,13 +45,34 @@ if ((isset($_GET["operacion"])) AND ($update_group == -1) ) {
|
||||||
// Initial checkings
|
// Initial checkings
|
||||||
|
|
||||||
// if selected more than 0 agents
|
// if selected more than 0 agents
|
||||||
$destino = $_POST["destino"];
|
|
||||||
if (count($destino) <= 0){
|
if (isset($_POST["destino"])) {
|
||||||
echo "<h3 class='error'>ERROR: ".__('No selected agents to copy')."</h3>";
|
$destino = $_POST["destino"];
|
||||||
echo "</table>";
|
if (count($destino) <= 0){
|
||||||
include ("general/footer.php");
|
echo "<h3 class='error'>ERROR: ".__('No selected agents to copy')."</h3>";
|
||||||
exit;
|
echo "</table>";
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div style="clear:both"> </div>';
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div id="foot">';
|
||||||
|
require ("general/footer.php");
|
||||||
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
echo "<h3 class='error'>ERROR: ".__('No source agent selected')."</h3>";
|
||||||
|
echo "</table>";
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div style="clear:both"> </div>';
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div id="foot">';
|
||||||
|
require ("general/footer.php");
|
||||||
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
// Source
|
// Source
|
||||||
$id_origen = get_parameter ("origen");
|
$id_origen = get_parameter ("origen");
|
||||||
|
|
|
@ -52,8 +52,14 @@ if ($id_group) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
echo "<h3 class='error'>".__('There was a problem loading group')."</h3>";
|
echo "<h3 class='error'>".__('There was a problem loading group')."</h3>";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
include ("general/footer.php");
|
echo '</div>';
|
||||||
|
echo '<div style="clear:both"> </div>';
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div id="foot">';
|
||||||
|
require ("general/footer.php");
|
||||||
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,13 @@ if ($id_group) {
|
||||||
} else {
|
} else {
|
||||||
echo "<h3 class='error'>".__('There was a problem loading group')."</h3>";
|
echo "<h3 class='error'>".__('There was a problem loading group')."</h3>";
|
||||||
echo "</table>";
|
echo "</table>";
|
||||||
include ("general/footer.php");
|
echo '</div>';
|
||||||
|
echo '<div style="clear:both"> </div>';
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div id="foot">';
|
||||||
|
require ("general/footer.php");
|
||||||
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -185,7 +185,13 @@ if ($id_profile || $new_profile) {
|
||||||
|
|
||||||
if ($profile === false) {
|
if ($profile === false) {
|
||||||
echo '<h3 class="error">'.__('There was a problem loading profile').'</h3></table>';
|
echo '<h3 class="error">'.__('There was a problem loading profile').'</h3></table>';
|
||||||
include ("general/footer.php");
|
echo '</div>';
|
||||||
|
echo '<div style="clear:both"> </div>';
|
||||||
|
echo '</div>';
|
||||||
|
echo '<div id="foot">';
|
||||||
|
require ("general/footer.php");
|
||||||
|
echo '</div>';
|
||||||
|
echo '</div>';
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue