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
|
||||
|
||||
// if selected more than 0 agents
|
||||
$destino = $_POST["destino"];
|
||||
if (count($destino) <= 0){
|
||||
echo "<h3 class='error'>ERROR: ".__('No selected agents to copy')."</h3>";
|
||||
echo "</table>";
|
||||
include ("general/footer.php");
|
||||
exit;
|
||||
|
||||
if (isset($_POST["destino"])) {
|
||||
$destino = $_POST["destino"];
|
||||
if (count($destino) <= 0){
|
||||
echo "<h3 class='error'>ERROR: ".__('No selected agents to copy')."</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;
|
||||
}
|
||||
}
|
||||
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
|
||||
$id_origen = get_parameter ("origen");
|
||||
|
|
|
@ -52,8 +52,14 @@ if ($id_group) {
|
|||
}
|
||||
else {
|
||||
echo "<h3 class='error'>".__('There was a problem loading group')."</h3>";
|
||||
echo "</table>";
|
||||
include ("general/footer.php");
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,13 @@ if ($id_group) {
|
|||
} else {
|
||||
echo "<h3 class='error'>".__('There was a problem loading group')."</h3>";
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -185,7 +185,13 @@ if ($id_profile || $new_profile) {
|
|||
|
||||
if ($profile === false) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue