From 0a8f06c10081f32f8c794eb75fb446c78bdf9eed Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 7 Jan 2014 14:08:16 +0000 Subject: [PATCH] --- inc/commons/class.common.tools.php | 42 +++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/inc/commons/class.common.tools.php b/inc/commons/class.common.tools.php index dfc8ed773..16f53d88b 100644 --- a/inc/commons/class.common.tools.php +++ b/inc/commons/class.common.tools.php @@ -152,11 +152,11 @@ class commonTools { $res .= commonPage::tMain(); $res .= commonPage::bh(); $res.=''; $res.=''; @@ -245,7 +245,7 @@ class commonTools { } /** - * + * * @param PHPExcel_Worksheet $s * @param type $e */ @@ -301,12 +301,12 @@ class commonTools { } /** - * + * * @param PHPExcel_Worksheet $s * @param type $e */ public static function exportClientsXLSUsers(&$s, $e) { - + } public static function favicon($args) { @@ -559,7 +559,7 @@ class commonTools { } public static function css() { - + } public static function phonegap() { @@ -797,14 +797,14 @@ class commonTools { } public static function syncftp() { - commonDroits::min(5); + commonDroits::min(2); global $core; $res = commonPage::barre(); $res .= commonPage::tMain(); $res .= commonPage::bh(); $res.=''; $res.='
'; - $res.=''; + $res.=''; $res.=''; $res.=''; $res.=''; @@ -891,6 +891,28 @@ class commonTools { } } + public static function devspace() { + commonDroits::min(2); + global $core; + $res = commonPage::barre(); + $res .= commonPage::tMain(); + $res .= commonPage::bh(); + $res.=''; + $res.='
' . __('Synchronisation FTP <-> Local') . '
' . __('Synchronisation FTP <-> Local') . '
Source (local)' . form::field('source', 40, 512) . '
Destination (distant)ftp://' . form::field('dest', 40, 512) . '
Mode' . form::combo('mode', array(__('Actif') => 'off', __('Passif') => 'on')) . '
'; + $res.=''; + $res.=''; + $res.=''; + $res.=''; + $res.=''; + $res.=''; + $res.='
' . __('Création d\'un espace de développement') . '
Sous-domaine' . form::field('domain', 20, 512) . '.dev.cubedesigners.com
SVNsvn+ssh://svn@svn.cubedesigners.com/projects/' . form::field('svn', 20, 512) . '
Utilisateur' . form::field('user', 20, 512) . ' (' . __('Si différent du sous-domaine') . ')
Password' . form::field('password', 20, 512, CubeIT_Crypt::generateRandomString(10)) . '
' . $core->typo->BoutonOK(__('Création')) . '
'; + $res.=''; + $res .= ''; + $res .= commonPage::bf(); + $res .= commonPage::bMain(); + return $res; + } + } ?> -- 2.39.5