From 06d72f1c2819f4a7f14682077a1b6fe48ec63004 Mon Sep 17 00:00:00 2001
From: LaKing <LaKing@ispconfig3>
Date: Mon, 02 May 2011 13:36:14 -0400
Subject: [PATCH] Update on Sites, adding the logs tab to see error logs.
---
interface/web/sites/form/web_domain.tform.php | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/interface/web/sites/form/web_domain.tform.php b/interface/web/sites/form/web_domain.tform.php
index 5f69079..1436967 100644
--- a/interface/web/sites/form/web_domain.tform.php
+++ b/interface/web/sites/form/web_domain.tform.php
@@ -395,6 +395,33 @@
)
);
+
+//* Logs
+$form["tabs"]['logs'] = array (
+ 'title' => "logs",
+ 'width' => 100,
+ 'template' => "templates/web_domain_logs.htm",
+ 'readonly' => true,
+ 'fields' => array (
+ ##################################
+ # Begin Datatable fields
+ ##################################
+ 'logs' => array (
+ 'datatype' => 'TEXT',
+ 'formtype' => 'TEXTAREA',
+ 'default' => 'DEFAULT',
+ 'value' => 'VALUE',
+ 'cols' => '30',
+ 'rows' => '10'
+ )
+ ##################################
+ # ENDE Datatable fields
+ ##################################
+ )
+);
+
+
+
if($_SESSION["s"]["user"]["typ"] == 'admin') {
//* Backup
--
Gitblit v1.9.1