- '/home/extranet/fonts/:/fonts/'\r
- '/home/extranet/www/:/application/'\r
- '/home/extranet/share:/application/share'\r
- - '/mnt/sshfs/godzilla/data/fluidbook/docs/:/application/fluidbook/docs/'\r
- '/mnt/sshfs/kingkong/:/application/usstorage/'\r
- '/home/toolbox/www/resources/fluidbookpublication/player:/application/fluidbook/compile/player'\r
- '/data/extranet/www/fluidbook/books/audiodescription:/application/fluidbook/books/audiodescription'\r
- '/home/wesco:/home/wesco'\r
# Config\r
- '/home/extranet/.docker/config/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf'\r
+ # External\r
+ - 'docs:/application/fluidbook/docs'\r
ports:\r
- '54198:80'\r
environment:\r
- '/home/extranet/fonts/:/fonts/'\r
- '/home/extranet/www/:/application/'\r
- '/home/extranet/share:/application/share'\r
- - '/mnt/sshfs/godzilla/data/fluidbook/docs/:/application/fluidbook/docs/'\r
- '/mnt/sshfs/kingkong/:/application/usstorage/'\r
- '/home/toolbox/www/resources/fluidbookpublication/player:/application/fluidbook/compile/player'\r
- '/data/extranet/www/fluidbook/books/audiodescription:/application/fluidbook/books/audiodescription'\r
- '/home/wesco:/home/wesco'\r
# Config\r
- '/home/extranet/.docker/config/httpd/httpd-nb.conf:/usr/local/apache2/conf/httpd.conf'\r
+ # External\r
+ - 'docs:/application/fluidbook/docs'\r
ports:\r
- '54842:80'\r
environment:\r
- '/home/extranet/fonts/:/fonts/'\r
- '/home/extranet/www/:/application/'\r
- '/home/extranet/share:/application/share'\r
- - '/mnt/sshfs/godzilla/data/fluidbook/docs/:/application/fluidbook/docs/'\r
- '/mnt/sshfs/kingkong/:/application/usstorage/'\r
- '/home/toolbox/www/resources/fluidbookpublication/player:/application/fluidbook/compile/player'\r
- '/data/extranet/www/fluidbook/books/audiodescription:/application/fluidbook/books/audiodescription'\r
- '/home/toolbox/www:/home/toolbox/www'\r
- '/data/toolbox/:/data/toolbox/'\r
- '/home/wesco:/home/wesco'\r
+ # External\r
+ - 'docs:/application/fluidbook/docs'\r
tmpfs:\r
#- '/tmp:mode=777,uid=1002,gid=33'\r
- '/var/log/extranet:uid=1002,gid=33'\r
external:\r
name: fluidbook-processfarm\r
\r
+volumes:\r
+ docs:\r
+ driver: ucphhpc/sshfs:latest\r
+ driver_opts:\r
+ sshcmd: "fluidbook@dracula.cubedesigners.com:/data/fluidbook/docs"\r
+ allow_other: ""\r
+ password: "Qu2E9uq48bBzsqGiZA"\r
#!/bin/sh
cd /docker/extranet
+docker plugin install ucphhpc/sshfs --grant-all-permissions
chown root:root /home/extranet/.docker/config/cron/host;ln -sf /home/extranet/.docker/config/cron/host /etc/cron.d/extranet
docker network create extranet
./build
docker compose down
+docker volume rm extranet_docs
docker compose up -d
/home/extranet/www/bin/fixrights
\ No newline at end of file
public static function copyWsAssets()
{
- commonDroits::min(5);
- global $core;
- $res = commonPage::barre();
- $res .= commonPage::tMain();
- $res .= commonPage::bh();
- $res .= '<form id="copywsassets" action="copywsassets" method="post">';
- $res .= '<table class="liste">';
- $res .= '<tr><th><strong>' . __("Copie de fichiers entre deux fluidbook") . '</strong></th></tr>';
- $res .= '<tr><td>Fluidbook source</td><td>' . form::field('source', 5, 6) . '</td></tr>';
- $res .= '<tr><td>Fluidbook destination</td><td>' . form::field('dest', 5, 6) . '</td></tr>';
- $res .= '<tr><td>Fichiers à transférer</td><td id="f">Entrez le numéro du fluidbook source pour sélectionner les fichiers à transférer</td></tr>';
- $res .= '<tr><td class="right" colspan="2"><a href="#" class="submit">' . $core->typo->BoutonOK(__('Copier')) . '</a></td></td>';
- $res .= '</table>';
- $res .= '</form>';
- $res .= '</div>';
- $res .= commonPage::bf();
- $res .= commonPage::bMain();
- return $res;
+ header('Location: https://toolbox.fluidbook.com/tools/fluidbookcopylinks');
+// commonDroits::min(5);
+// global $core;
+// $res = commonPage::barre();
+// $res .= commonPage::tMain();
+// $res .= commonPage::bh();
+// $res .= '<form id="copywsassets" action="copywsassets" method="post">';
+// $res .= '<table class="liste">';
+// $res .= '<tr><th><strong>' . __("Copie de fichiers entre deux fluidbook") . '</strong></th></tr>';
+// $res .= '<tr><td>Fluidbook source</td><td>' . form::field('source', 5, 6) . '</td></tr>';
+// $res .= '<tr><td>Fluidbook destination</td><td>' . form::field('dest', 5, 6) . '</td></tr>';
+// $res .= '<tr><td>Fichiers à transférer</td><td id="f">Entrez le numéro du fluidbook source pour sélectionner les fichiers à transférer</td></tr>';
+// $res .= '<tr><td class="right" colspan="2"><a href="#" class="submit">' . $core->typo->BoutonOK(__('Copier')) . '</a></td></td>';
+// $res .= '</table>';
+// $res .= '</form>';
+// $res .= '</div>';
+// $res .= commonPage::bf();
+// $res .= commonPage::bMain();
+// return $res;
}
}
$this->config->audiodescription[$page] = $fname;
- if(!file_exists($file)){
- die('Error making audiodescription file for page '.$page. '('.$engine.')');
+ if (!file_exists($file)) {
+ die('Error making audiodescription file for page ' . $page . '(' . $engine . ')');
}
$this->vdir->copy($file, 'data/audiodescription/' . $fname);
}
$lessContents = '';
+ $this->lessVariables['aftersearch-width'] = $this->lessVariables['aftersearch-height'] = 'auto';
+
$this->lessVariables['font'] = $this->_font($this->theme->parametres->interfaceFont);
$this->lessVariables['text-transform'] = $this->_themeBoolean($this->theme->parametres->interfaceFontUppercase) ? 'uppercase' : 'inherit';