Преглед изворни кода

Merge pull request #4 from Zorrototo/patch-2

fix for server selector
OwN-3m-All пре 9 година
родитељ
комит
90670908af
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5 5
      modules/cron/user_cron.php

+ 5 - 5
modules/cron/user_cron.php

@@ -242,10 +242,10 @@ function exec_ogp_module()
 	$homeid_ip_port = isset($_POST['homeid_ip_port']) ? $_POST['homeid_ip_port'] : key($server_homes);
 	$r_server_id = $server_homes[$homeid_ip_port]['remote_server_id'];
 	$curtime = $refresh->add( "home.php?m=cron&p=thetime&r_server_id=$r_server_id&type=cleared" );
-	echo "<pre class='log' ><form action='' method='POST' ><label for='r_server' >" . now . 
-		 "&nbsp;</label>" . get_server_selector($server_homes, $homeid_ip_port, TRUE) .
-		 "</form> <b style='font-size:1.4em;'>" . $refresh->getdiv($curtime) . "</b></pre>";
-?>
+	echo "<pre class='log' ><table><tr><td>" . now . 
+		"&nbsp;</td><td><form action='' method='POST' >" . get_server_selector($server_homes, $homeid_ip_port, TRUE) . 
+		"</form></td></tr></table> <b style='font-size:1.4em;'>" . $refresh->getdiv($curtime) . "</b></pre>";
+ ?>
 <form method="POST" >	
 <table class="center">
 	<tr>
@@ -388,4 +388,4 @@ $(document).ready(function()
 </script>
 <?php
 }
-?>
+?>