$res .= commonPage::tMain();
$res .= commonPage::bh();
$res.='<style type="text/css">
- @media all and (orientation: portrait) {
+ @media all and (orientation: portrait) {
#ol{display:none;}
- }
-
- @media all and (orientation: landscape) {
+ }
+
+ @media all and (orientation: landscape) {
#op{display:none;}
} </style>';
$res.='<table class="liste">';
}
/**
- *
+ *
* @param PHPExcel_Worksheet $s
* @param type $e
*/
}
/**
- *
+ *
* @param PHPExcel_Worksheet $s
* @param type $e
*/
public static function exportClientsXLSUsers(&$s, $e) {
-
+
}
public static function favicon($args) {
}
public static function css() {
-
+
}
public static function phonegap() {
}
public static function syncftp() {
- commonDroits::min(5);
+ commonDroits::min(2);
global $core;
$res = commonPage::barre();
$res .= commonPage::tMain();
$res .= commonPage::bh();
$res.='<form action="syncftp" method="post">';
$res.='<table class="liste">';
- $res.='<tr><th><strong>' . __('Synchronisation FTP <-> Local') . '</strong></th></tr>';
+ $res.='<tr><th colspan="2"><strong>' . __('Synchronisation FTP <-> Local') . '</strong></th></tr>';
$res.='<tr><td>Source (local)</td><td>' . form::field('source', 40, 512) . '</td></tr>';
$res.='<tr><td>Destination (distant)</td><td>ftp://' . form::field('dest', 40, 512) . '</td></tr>';
$res.='<tr><td>Mode</td><td>' . form::combo('mode', array(__('Actif') => 'off', __('Passif') => 'on')) . '</td></tr>';
}
}
+ public static function devspace() {
+ commonDroits::min(2);
+ global $core;
+ $res = commonPage::barre();
+ $res .= commonPage::tMain();
+ $res .= commonPage::bh();
+ $res.='<form action="createDevSpace" method="post">';
+ $res.='<table class="liste">';
+ $res.='<tr><th colspan="2"><strong>' . __('Création d\'un espace de développement') . '</strong></th></tr>';
+ $res.='<tr><td>Sous-domaine</td><td>' . form::field('domain', 20, 512) . '.dev.cubedesigners.com</td></tr>';
+ $res.='<tr><td>SVN</td><td>svn+ssh://svn@svn.cubedesigners.com/projects/' . form::field('svn', 20, 512) . '</td></tr>';
+ $res.='<tr><td>Utilisateur</td><td>' . form::field('user', 20, 512) . ' (' . __('Si différent du sous-domaine') . ')</td></tr>';
+ $res.='<tr><td>Password</td><td>' . form::field('password', 20, 512, CubeIT_Crypt::generateRandomString(10)) . '</td></tr>';
+ $res.='<tr><td class="right" colspan="2"><a href="#" class="submit">' . $core->typo->BoutonOK(__('Création')) . '</a></td></td>';
+ $res.='</table>';
+ $res.='</form>';
+ $res .= '</div>';
+ $res .= commonPage::bf();
+ $res .= commonPage::bMain();
+ return $res;
+ }
+
}
?>