styling raw stats +

This commit is contained in:
Benjamin Sonntag 2010-06-02 21:39:26 +00:00
parent 5e2b944a6c
commit fa67c7f53e
6 changed files with 17 additions and 8 deletions

View File

@ -59,7 +59,7 @@ if (!$r=$mysql->get_dblist()) {
<td><code><?php echo $mysql->server; ?></code></td>
</tr>
<tr>
<th><?php __("Database"); ?></th>
<th><?php __("Main database"); ?></th>
<td><code><?php echo $r[0]["db"]; ?></code></td>
</tr>
</table>

View File

@ -36,6 +36,8 @@ if (!$quota->cancreate("sta2")) {
include_once("head.php");
?>
<h3><?php __("New Raw Statistics (apache)"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";
@ -61,4 +63,4 @@ include_once("head.php");
<input type="submit" class="inb" name="submit" value="<?php __("Create those raw statistics"); ?>" />
</form>
<?php $mem->show_help("sta2_add"); ?>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -42,6 +42,8 @@ if (!$id) {
?>
<h3><?php __("Change the Raw Statistics"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";
@ -65,4 +67,4 @@ if (!$id) {
<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change those Raw Statistics."); ?>" /></td></tr>
</table>
</form>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -32,7 +32,9 @@ require_once("../class/config.php");
include_once("head.php");
?>
<h3><?php __("Statistics List"); ?></h3>
<h3><?php __("Raw Statistics List"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($quota->cancreate("sta2")) { ?>
<p>
@ -80,4 +82,4 @@ while (list($key,$val)=each($r))
<?php } ?>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -178,7 +178,7 @@ class m_dom {
* force ne devrait être utilisé que par le super-admin.
$ @return boolean Retourne FALSE si une erreur s'est produite, TRUE sinon.
*/
function add_domain($domain,$dns,$noerase=0,$force=0,$isslave,$slavedom) {
function add_domain($domain,$dns,$noerase=0,$force=0,$isslave=0,$slavedom="") {
global $db,$err,$quota,$classes,$L_MX,$L_FQDN,$tld,$cuid,$bro;
$err->log("dom","add_domain",$domain);
$mx="1";

View File

@ -2066,8 +2066,8 @@ msgid "Change those Raw Statistics."
msgstr "Modifier ce jeu de stats brutes."
#: ../admin/sta2_list.php:36 ../admin/sta2_list.php:35
msgid "Statistics List"
msgstr "Liste des jeux de statistiques"
msgid "Raw Statistics List"
msgstr "Liste des jeux de statistiques brutes"
#: ../admin/sta2_list.php:40 ../admin/sta2_list.php:39
msgid "Create new Raw Statistics (apache)"
@ -2877,3 +2877,6 @@ msgstr "Fonctionnalit
msgid "Please check which databases you want to delete"
msgstr "Vous devez cocher les bases de données que vous souhaitez effacer"
msgid "Main database"
msgstr "Base de données principale"