diff --git a/build/debian/rules b/build/debian/rules
index 6b75c68b85d..5a1cfdc8ecb 100755
--- a/build/debian/rules
+++ b/build/debian/rules
@@ -104,7 +104,6 @@ clean:
rm -fr htdocs/includes/jquery/plugins/flot
rm -fr htdocs/includes/jquery/plugins/jstree
rm -fr htdocs/includes/jquery/plugins/lightbox
- rm -fr htdocs/includes/jquery/plugins/mobile
rm -fr htdocs/includes/jquery/plugins/multiselect
rm -fr htdocs/includes/phpexcel/PHPExcel/Shared/PDF
rm -fr htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip
diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php
index 20462fa80d5..6c6a6d8d036 100644
--- a/htdocs/core/boxes/box_actions.php
+++ b/htdocs/core/boxes/box_actions.php
@@ -101,7 +101,7 @@ class box_actions extends ModeleBoxes
'logo' => ("action"),
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
- $this->info_box_contents[$i][1] = array('td' => 'align="left" nowrap="1"',
+ $this->info_box_contents[$i][1] = array('td' => 'align="left"',
'text' => dol_trunc($label,32),
'text2'=> $late,
'url' => DOL_URL_ROOT."/comm/action/fiche.php?id=".$objp->id);
diff --git a/htdocs/core/getmenu_jmobile.php b/htdocs/core/getmenu_jmobile.php
index 78c46c60fbb..988dec4339a 100644
--- a/htdocs/core/getmenu_jmobile.php
+++ b/htdocs/core/getmenu_jmobile.php
@@ -50,7 +50,7 @@ $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
* View
*/
-// URL http://mydolibarr/core/getmenu_jmobime?mainmenu=mainmenu&leftmenu=leftmenu can be used for tests
+// URL http://mydolibarr/core/getmenu_jmobile?mainmenu=mainmenu&leftmenu=leftmenu can be used for tests
$arrayofjs=array('/includes/jquery/plugins/mobile/jquery.mobile-latest.min.js');
$arrayofcss=array('/includes/jquery/plugins/mobile/jquery.mobile-latest.min.css');
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 656841297ad..33b694f5ed5 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -1581,7 +1581,7 @@ function dol_print_graph($htmlid,$width,$height,$data,$showlegend=0,$type='pie',
* MAIN_DISABLE_TRUNC=1 can disable all truncings
*
* @param string $string String to truncate
- * @param int $size Max string size visible. 0 for no limit. finale string size can be 1 more (if size was max+1) or 3 more (if we added ...)
+ * @param int $size Max string size visible. 0 for no limit. Final string size can be 1 more (if size was max+1) or 3 more (if we added ...)
* @param string $trunc Where to trunc: right, left, middle (size must be a 2 power), wrap
* @param string $stringencoding Tell what is source string encoding
* @param int $nodot Truncation do not add ... after truncation. So it's an exact truncation.
diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php
index 93fc2dd3963..985121a4de8 100644
--- a/htdocs/fourn/class/fournisseur.facture.class.php
+++ b/htdocs/fourn/class/fournisseur.facture.class.php
@@ -41,7 +41,7 @@ class FactureFournisseur extends CommonInvoice
public $fk_element='fk_facture_fourn';
protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
- var $ref;
+ var $ref;
var $product_ref;
var $ref_supplier;
var $socid;
@@ -298,7 +298,7 @@ class FactureFournisseur extends CommonInvoice
$sql.= ' s.nom as socnom, s.rowid as socid';
$sql.= ' FROM '.MAIN_DB_PREFIX.'facture_fourn as t,'.MAIN_DB_PREFIX.'societe as s';
if ($id) $sql.= " WHERE t.rowid=".$id;
- if ($ref) $sql.= " WHERE t.ref='".$this->db->escape($ref)."'";
+ if ($ref) $sql.= " WHERE t.ref='".$this->db->escape($ref)."'";
$sql.= ' AND t.fk_soc = s.rowid';
dol_syslog(get_class($this)."::fetch sql=".$sql, LOG_DEBUG);
@@ -310,9 +310,9 @@ class FactureFournisseur extends CommonInvoice
$obj = $this->db->fetch_object($resql);
$this->id = $obj->rowid;
- $this->ref = $obj->ref;
+ $this->ref = $obj->ref?$obj->ref:$obj->rowid; // We take rowid if ref is empty for backward compatibility
- $this->ref_supplier = $obj->ref_supplier;
+ $this->ref_supplier = $obj->ref_supplier;
$this->entity = $obj->entity;
$this->type = empty($obj->type)?0:$obj->type;
$this->fk_soc = $obj->fk_soc;
@@ -663,7 +663,7 @@ class FactureFournisseur extends CommonInvoice
return -$error;
}
}
-
+
/**
* Tag invoice as a payed invoice
@@ -1316,8 +1316,11 @@ class FactureFournisseur extends CommonInvoice
$label=$langs->trans("ShowInvoice").': '.$this->ref;
if ($this->ref_supplier) $label.=' / '.$this->ref_supplier;
+ $ref=$this->ref;
+ if (empty($ref)) $ref=$this->id;
+
if ($withpicto) $result.=($lien.img_object($label,'bill').$lienfin.' ');
- $result.=$lien.($max?dol_trunc($this->ref,$max):$this->ref).$lienfin;
+ $result.=$lien.($max?dol_trunc($ref,$max):$ref).$lienfin;
return $result;
}
diff --git a/htdocs/index.php b/htdocs/index.php
index adb3c8e6f49..294443adff1 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -260,7 +260,7 @@ print '
'.$langs->trans("Number").' ';
print ''.$langs->trans("Late").' ';
print ' ';
print ' ';
-if ($showweather) print ' ';
+if ($showweather) print ' ';
print '';
@@ -483,7 +483,7 @@ foreach($dashboardlines as $key => $board)
print '';
if ($showweather)
{
- print '';
+ print ' ';
$text='';
if ($totallate > 0) $text=$langs->transnoentitiesnoconv("WarningYouHaveAtLeastOneTaskLate").' ('.$langs->transnoentitiesnoconv("NActionsLate",$totallate).')';
$options='height="64px"';
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index c254f4a74db..bae7f0de7f2 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -647,9 +647,6 @@ if (! defined('NOLOGIN'))
$conf->css = "/theme/".$conf->theme."/style.css.php";
}
- // If theme support option like flip-hide left menu and we use a smartphone, we force it
- if (! empty($conf->global->MAIN_SMARTPHONE_OPTIM) && $conf->browser->phone && $conf->theme == 'eldy') $conf->global->MAIN_MENU_USE_JQUERY_LAYOUT='forced';
-
// Set javascript option
if (! GETPOST('nojs')) // If javascript was not disabled on URL
{
@@ -949,6 +946,11 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
{
print ' '."\n";
}
+ // jQuery jMobile
+ if (! empty($conf->global->MAIN_USE_JQUERY_JMOBILE) || defined('REQUIRE_JQUERY_JMOBILE') || GETPOST('jmobile'))
+ {
+ print ' '."\n";
+ }
}
print ''."\n";
@@ -969,7 +971,9 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
}
$themeparam='?lang='.$langs->defaultlang.'&theme='.$conf->theme.(GETPOST('optioncss')?'&optioncss='.GETPOST('optioncss','alpha',1):'').'&userid='.$user->id.'&entity='.$conf->entity;
if (! empty($_SESSION['dol_resetcache'])) $themeparam.='&dol_resetcache='.$_SESSION['dol_resetcache'];
- //print 'themepath='.$themepath.' themeparam='.$themeparam;exit;
+ if (GETPOST('dol_hide_topmenu')) $themeparam.='&dol_hide_topmenu=1';
+ if (GETPOST('dol_hide_leftmenu')) $themeparam.='&dol_hide_leftmenu=1';
+ //print 'themepath='.$themepath.' themeparam='.$themeparam;exit;
print ' '."\n";
// CSS forced by modules (relative url starting with /)
@@ -1005,11 +1009,11 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) print ' '."\n";
if (empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) print ' '."\n";
- // Output standard javascript links
- if (! $disablejs && ! empty($conf->use_javascript_ajax))
- {
- $ext='.js';
+ $ext='.js';
+ // Output standard javascript links
+ if (! defined('DISABLE_JQUERY') && ! $disablejs && ! empty($conf->use_javascript_ajax))
+ {
// JQuery. Must be before other includes
print ''."\n";
if (constant('JS_JQUERY')) print ''."\n";
@@ -1101,6 +1105,21 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
{
print ''."\n";
}
+ // jQuery Timepicker
+ if (! empty($conf->global->MAIN_USE_JQUERY_TIMEPICKER) || defined('REQUIRE_JQUERY_TIMEPICKER'))
+ {
+ print ''."\n";
+ print ''."\n";
+ }
+ // jQuery jMobile
+ if (! empty($conf->global->MAIN_USE_JQUERY_JMOBILE) || defined('REQUIRE_JQUERY_JMOBILE') || GETPOST('jmobile'))
+ {
+ print ''."\n";
+ }
+ }
+
+ if (! $disablejs && ! empty($conf->use_javascript_ajax))
+ {
// CKEditor
if (! empty($conf->fckeditor->enabled) && (empty($conf->global->FCKEDITOR_EDITORNAME) || $conf->global->FCKEDITOR_EDITORNAME == 'ckeditor'))
{
@@ -1115,11 +1134,6 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
print ''."\n";
print ''."\n";
}
- // jQuery Timepicker
- if (! empty($conf->global->MAIN_USE_JQUERY_TIMEPICKER) || defined('REQUIRE_JQUERY_TIMEPICKER'))
- {
- print ''."\n";
- }
// Global js function
print ''."\n";
@@ -1128,12 +1142,6 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
// Add datepicker default options
print ''."\n";
- // add timepicker default options
- if (! empty($conf->global->MAIN_USE_JQUERY_TIMEPICKER) || defined('REQUIRE_JQUERY_TIMEPICKER'))
- {
- print ''."\n";
- }
-
// JS forced by modules (relative url starting with /)
if (! empty($conf->modules_parts['js'])) // $conf->modules_parts['js'] is array('module'=>array('file1','file2'))
{
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index bf87c6cb0e0..19398105406 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -356,7 +356,7 @@ td.showDragHandle {
/* ============================================================================== */
div.fiche {
- margin-: global->MAIN_MENU_USE_JQUERY_LAYOUT))?((empty($_SESSION['dol_hide_leftmenu']) && ! GETPOST('dol_hide_leftmenu')) ?'20':'4'):'24')); ?>px;
+ margin-: global->MAIN_MENU_USE_JQUERY_LAYOUT))?((empty($_SESSION['dol_hide_leftmenu']) && ! GETPOST('dol_hide_leftmenu'))?'20':'4'):'24')); ?>px;
margin-: browser->phone)?'12':'6')); ?>px;
}
diff --git a/htdocs/theme/phones/index.php b/htdocs/theme/phones/index.php
deleted file mode 100644
index 7db0dd9ebf9..00000000000
--- a/htdocs/theme/phones/index.php
+++ /dev/null
@@ -1 +0,0 @@
-Url not available
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/AUTHOR b/htdocs/theme/phones/smartphone/AUTHOR
deleted file mode 100644
index 03de906bb12..00000000000
--- a/htdocs/theme/phones/smartphone/AUTHOR
+++ /dev/null
@@ -1 +0,0 @@
-2009-2010 Regis Houssin
diff --git a/htdocs/theme/phones/smartphone/index.php b/htdocs/theme/phones/smartphone/index.php
deleted file mode 100644
index 7db0dd9ebf9..00000000000
--- a/htdocs/theme/phones/smartphone/index.php
+++ /dev/null
@@ -1 +0,0 @@
-Url not available
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/theme/default/default.css.php b/htdocs/theme/phones/smartphone/theme/default/default.css.php
deleted file mode 100644
index d13d69e7c20..00000000000
--- a/htdocs/theme/phones/smartphone/theme/default/default.css.php
+++ /dev/null
@@ -1,531 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-/**
- * \file htdocs/theme/phones/smartphone/theme/default/default.css.php
- * \brief Fichier de style CSS du theme Smartphone default
- */
-
-//if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); // Not disabled cause need to load personalized language
-//if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled to increase speed. Language code is found on url.
-if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
-//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Not disabled cause need to do translations
-if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK',1);
-if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL',1);
-if (! defined('NOLOGIN')) define('NOLOGIN',1);
-if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU',1);
-if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML',1);
-if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
-
-session_cache_limiter(FALSE);
-
-require_once '../../../../../main.inc.php';
-
-// Define css type
-header('Content-type: text/css');
-// Important: Avoid page request by browser and dynamic build at
-// each Dolibarr page access.
-if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate');
-else header('Cache-Control: no-cache');
-
-// On the fly GZIP compression for all pages (if browser support it). Must set the bit 3 of constant to 1.
-if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x04)) { ob_start("ob_gzhandler"); }
-
-if (GETPOST('lang')) $langs->setDefaultLang(GETPOST('lang')); // If language was forced on URL
-if (GETPOST('theme')) $conf->theme=GETPOST('theme'); // If theme was forced on URL
-$langs->load("main",0,1);
-$right=($langs->trans("DIRECTION")=='rtl'?'left':'right');
-$left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
-
-?>
-.ui-mobile-viewport {
-/*width:600px;
-height:600px;
-min-height: 200px;
-min-width: 600px;
-overflow:scroll; */
-}
-
-.landscape, .landscape .ui-page {
-}
-
-#dol-homeheader { height: 40px; font-size: 16px; }
-
-.ui-mobile-viewport {
- margin: 0;
-}
-
-.ui-header { height: 40px; font-size: 16px; }
-
-.ui-content {
-padding-top: 1px;
-padding-right: 0;
-padding-bottom: 0px;
-padding-left: 1px;
-}
-
-.ui-content .ui-listview {
- margin-top: 0px; /* Use here negative value of ui-content top padding */
- margin-right: 0px;
- margin-bottom: 0px;
- margin-left: 0px;
- /* overflow: scroll; */
-}
-
-.ui-mobile #dol-homeheader { padding: 10px 5px 0; text-align: center }
-.ui-mobile #dol-homeheader h1 { margin: 0 0 10px; }
-.ui-mobile #dol-homeheader p { margin: 0; }
-
-.ui-li-icon {
- left:5px;
- top:0.3em;
-}
-
-.ui-li .ui-btn-inner {
- padding: 0.4em 5px 0.4em 5px;
-}
-
-input.ui-input-text, textarea.ui-input-text {
- padding: 0.2em;
-}
-
-.ui-body-b {
- background: #FFFFFF;
-}
-
-.ui-body-c {
- background: #FFFFFF;
- text-shadow: none;
-}
-
-.loginform {
- margin-left: 10px;
- margin-right: 10px;
- padding: 5px;
-}
-
-
-
-
-/* ============================================================================== */
-/* Styles de positionnement des zones */
-/* ============================================================================== */
-
-div.fiche {
- margin-: browser->phone)?'10':'2'); ?>px;
- margin-: browser->phone)?'6':''); ?>px;
-}
-
-div.fichecenter {
- width: 100%;
- clear: both; /* This is to have div fichecenter that are true rectangles */
-}
-div.fichethirdleft {
- browser->phone)) { print "float: ".$left.";\n"; } ?>
- browser->phone)) { print "width: 35%;\n"; } ?>
-}
-div.fichetwothirdright {
- browser->phone)) { print "float: ".$left.";\n"; } ?>
- browser->phone)) { print "width: 65%;\n"; } ?>
-}
-div.fichehalfleft {
- browser->phone)) { print "float: ".$left.";\n"; } ?>
- browser->phone)) { print "width: 50%;\n"; } ?>
-}
-div.fichehalfright {
- browser->phone)) { print "float: ".$left.";\n"; } ?>
- browser->phone)) { print "width: 50%;\n"; } ?>
-}
-div.ficheaddleft {
- browser->phone)) { print "padding-left: 6px;\n"; } ?>
-}
-
-
-/* ============================================================================== */
-/* Boutons actions */
-/* ============================================================================== */
-
-.butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
- overflow: hidden;
- padding: 0.6em 25px;
- position: relative;
- white-space: nowrap;
-
- font-family: ;
- background: white;
- border: 1px solid #8CACBB;
- color: #436976;
- padding: 0em 0.7em;
- margin: 0em 0.5em;
- text-decoration: none;
- white-space: nowrap;
-}
-
-.butAction:hover {
- background: #dee7ec;
-}
-
-.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:active {
- border: 1px solid #997777;
-}
-
-.butActionDelete:hover {
- background: #FFe7ec;
-}
-
-.butActionRefused {
- font-family: !important;
- font-weight: bold !important;
- background: white !important;
- border: 1px solid #AAAAAA !important;
- color: #AAAAAA !important;
- padding: 0em 0.7em !important;
- margin: 0em 0.5em !important;
- text-decoration: none !important;
- white-space: nowrap !important;
- cursor: not-allowed;
-}
-
-span.butAction, span.butActionDelete {
- cursor: pointer;
-}
-
-
-/* ============================================================================== */
-/* Tables */
-/* ============================================================================== */
-
-/*
-#undertopmenu {
-background-image: url("");
-background-repeat: repeat-x;
-}
-*/
-
-
-.nocellnopadd {
-list-style-type:none;
-margin: 0px;
-padding: 0px;
-}
-
-.notopnoleft {
-border-collapse: collapse;
-border: 0px;
-padding-top: 0px;
-padding-: 0px;
-padding-: 4px;
-padding-bottom: 4px;
-margin: 0px 0px;
-}
-.notopnoleftnoright {
-border-collapse: collapse;
-border: 0px;
-padding-top: 0px;
-padding-left: 0px;
-padding-right: 0px;
-padding-bottom: 4px;
-margin: 0px 0px 0px 0px;
-}
-
-
-table.border {
-border: 1px solid #9CACBB;
-border-collapse: collapse;
-}
-
-table.border td {
-padding: 1px 2px;
-border: 1px solid #9CACBB;
-border-collapse: collapse;
-}
-
-td.border {
-border-top: 1px solid #000000;
-border-right: 1px solid #000000;
-border-bottom: 1px solid #000000;
-border-left: 1px solid #000000;
-}
-
-
-/* Main boxes */
-
-table.noborder {
-border-collapse: collapse;
-border-top-color: #FEFEFE;
-
-border-right-width: 1px;
-border-right-color: #BBBBBB;
-border-right-style: solid;
-
-border-left-width: 1px;
-border-left-color: #BBBBBB;
-border-left-style: solid;
-
-border-bottom-width: 1px;
-border-bottom-color: #BBBBBB;
-border-bottom-style: solid;
-
-margin: 0px 0px 2px 0px;
-}
-
-table.noborder tr {
-border-top-color: #FEFEFE;
-
-border-right-width: 1px;
-border-right-color: #BBBBBB;
-border-right-style: solid;
-
-border-left-width: 1px;
-border-left-color: #BBBBBB;
-border-left-style: solid;
-height: 16px;
-}
-
-table.noborder td {
-padding: 1px 2px 0px 1px; /* t r b l */
-}
-
-table.nobordernopadding {
-border-collapse: collapse;
-border: 0px;
-}
-table.nobordernopadding tr {
-border: 0px;
-padding: 0px 0px;
-}
-table.nobordernopadding td {
-border: 0px;
-padding: 0px 0px;
-}
-
-
-
-tr.liste_titre
-{
- height: 24px;
- background: -moz-linear-gradient(center top , #81A8CE, #5E87B0) repeat scroll 0 0 #5E87B0;
- border: 1px solid #456F9A;
- color: #FFFFFF;
- font-family: ;
- /* border-bottom: 1px solid #FDFFFF; */
- white-space: nowrap;
-}
-th.liste_titre, td.liste_titre
-{
- background: -moz-linear-gradient(center top , #81A8CE, #5E87B0) repeat scroll 0 0 #5E87B0;
- border: 1px solid #456F9A;
- color: #FFFFFF;
- font-family: ;
- font-weight: normal;
- /* border-bottom: 1px solid #FDFFFF; */
- white-space: nowrap;
- text-align: ;
-}
-th.liste_titre_sel, td.liste_titre_sel
-{
- background: -moz-linear-gradient(center top , #81A8CE, #5E87B0) repeat scroll 0 0 #5E87B0;
- color: #FFFFFF;
- font-family: ;
- font-weight: normal;
- /* text-decoration: underline; */
- /* border-bottom: 1px solid #FDFFFF; */
- white-space: nowrap;
- text-align: ;
-}
-input.liste_titre {
-background: transparent;
-background-repeat: repeat-x;
-border: 0px;
-}
-
-tr.liste_total td {
-border-top: 1px solid #DDDDDD;
-background: #F0F0F0;
-background-repeat: repeat-x;
-color: #332266;
-font-weight: normal;
-white-space: nowrap;
-}
-
-
-.impair {
-/* background: #d0d4d7; */
-background: #eaeaea;
-font-family: ;
-border: 0px;
-}
-/*
-.impair:hover {
-background: #c0c4c7;
-border: 0px;
-}
-*/
-
-.pair {
-/* background: #e6ebed; */
-background: #f4f4f4;
-font-family: ;
-border: 0px;
-}
-/*
-.pair:hover {
-background: #c0c4c7;
-border: 0px;
-}
-*/
-
-
-
-div.titre {
- padding-top: 10px;
- font-family: ;
- font-weight: normal;
- color: #336666;
- text-decoration: none;
-}
-
-
-
-/* ============================================================================== */
-/* Onglets */
-/* ============================================================================== */
-
-div.tabs {
- top: 20px;
- margin: 1px 0px 0px 0px;
- padding: 0px 6px 0px 0px;
- text-align: ;
-}
-
-div.tabBar {
- color: #234046;
- padding-top: 10px;
- padding-left: 8px;
- padding-right: 8px;
- padding-bottom: 8px;
- margin: 0px 0px 10px 0px;
- -moz-border-radius-topleft:6px;
- -moz-border-radius-topright:6px;
- -moz-border-radius-bottomleft:6px;
- -moz-border-radius-bottomright:6px;
- border-right: 1px solid #555555;
- border-bottom: 1px solid #555555;
- border-left: 1px solid #D0D0D0;
- border-top: 1px solid #D8D8D8;
- background: #dee7ec url() repeat-x;
-}
-
-div.tabsAction {
- margin: 20px 0em 1px 0em;
- padding: 0em 0em;
- text-align: right;
-}
-
-
-a.tabTitle {
- display: none;
-}
-
-a.tab:link {
- background: #dee7ec;
- color: #436976;
- font-family: ;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- white-space: nowrap;
- -moz-border-radius-topleft:6px;
- -moz-border-radius-topright:6px;
-
- border-: 1px solid #555555;
- border-: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
-}
-a.tab:visited {
- background: #dee7ec;
- color: #436976;
- font-family: ;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- white-space: nowrap;
- -moz-border-radius-topleft:6px;
- -moz-border-radius-topright:6px;
-
- border-: 1px solid #555555;
- border-: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
-}
-a.tab#active {
- background: white;
- border-bottom: #dee7ec 1px solid;
- font-family: ;
- color: #436976;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- -moz-border-radius-topleft:6px;
- -moz-border-radius-topright:6px;
-
- border-: 1px solid #555555;
- border-: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
- border-bottom: 1px solid white;
-}
-a.tab:hover {
- background: white;
- color: #436976;
- font-family: ;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- -moz-border-radius-topleft:6px;
- -moz-border-radius-topright:6px;
-
- border-: 1px solid #555555;
- border-: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
-}
-
-a.tabimage {
- color: #436976;
- font-family: ;
- text-decoration: none;
- white-space: nowrap;
-}
-
-td.tab {
- background: #dee7ec;
-}
-
-span.tabspan {
- background: #dee7ec;
- color: #436976;
- font-family: ;
- padding: 0px 6px;
- margin: 0em 0.2em;
- text-decoration: none;
- white-space: nowrap;
- -moz-border-radius-topleft:6px;
- -moz-border-radius-topright:6px;
-
- border-: 1px solid #555555;
- border-: 1px solid #D8D8D8;
- border-top: 1px solid #D8D8D8;
-}
-
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/accessibility.png b/htdocs/theme/phones/smartphone/theme/default/img/accessibility.png
deleted file mode 100644
index 6478c8b9a25..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/accessibility.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/appstore.png b/htdocs/theme/phones/smartphone/theme/default/img/appstore.png
deleted file mode 100755
index 4a1be06546d..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/appstore.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/basics.png b/htdocs/theme/phones/smartphone/theme/default/img/basics.png
deleted file mode 100755
index 5305ea3352e..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/basics.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/calculator.png b/htdocs/theme/phones/smartphone/theme/default/img/calculator.png
deleted file mode 100755
index 4d61678cb89..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/calculator.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/calendar.png b/htdocs/theme/phones/smartphone/theme/default/img/calendar.png
deleted file mode 100755
index e6e5591f141..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/calendar.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/calendar2.png b/htdocs/theme/phones/smartphone/theme/default/img/calendar2.png
deleted file mode 100755
index 9c554223503..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/calendar2.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/camera.png b/htdocs/theme/phones/smartphone/theme/default/img/camera.png
deleted file mode 100755
index 9b808a58605..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/camera.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/clock.png b/htdocs/theme/phones/smartphone/theme/default/img/clock.png
deleted file mode 100755
index 801c6cb9d83..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/clock.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/close.png b/htdocs/theme/phones/smartphone/theme/default/img/close.png
deleted file mode 100644
index aacac9fc423..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/close.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/compass.png b/htdocs/theme/phones/smartphone/theme/default/img/compass.png
deleted file mode 100644
index 66533d34144..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/compass.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/contacts.png b/htdocs/theme/phones/smartphone/theme/default/img/contacts.png
deleted file mode 100755
index 76ae042032c..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/contacts.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/dolibarr.png b/htdocs/theme/phones/smartphone/theme/default/img/dolibarr.png
deleted file mode 100644
index ad8a87ac0e1..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/dolibarr.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/favicon.ico b/htdocs/theme/phones/smartphone/theme/default/img/favicon.ico
deleted file mode 100644
index 7d41c54d5bb..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/favicon.ico and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/help.png b/htdocs/theme/phones/smartphone/theme/default/img/help.png
deleted file mode 100755
index 0f53e2788a0..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/help.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/homescreen.png b/htdocs/theme/phones/smartphone/theme/default/img/homescreen.png
deleted file mode 100644
index 8fedbf05d5b..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/homescreen.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/ipod.png b/htdocs/theme/phones/smartphone/theme/default/img/ipod.png
deleted file mode 100755
index f03c7b0de4c..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/ipod.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/itunes.png b/htdocs/theme/phones/smartphone/theme/default/img/itunes.png
deleted file mode 100755
index ab77534ab3b..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/itunes.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/mail.png b/htdocs/theme/phones/smartphone/theme/default/img/mail.png
deleted file mode 100755
index 42970057a78..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/mail.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/maps.png b/htdocs/theme/phones/smartphone/theme/default/img/maps.png
deleted file mode 100755
index 9f517e3b13f..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/maps.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/messages.png b/htdocs/theme/phones/smartphone/theme/default/img/messages.png
deleted file mode 100644
index 1a7879a2b5f..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/messages.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/music.png b/htdocs/theme/phones/smartphone/theme/default/img/music.png
deleted file mode 100755
index 83a21315531..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/music.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/nike+.png b/htdocs/theme/phones/smartphone/theme/default/img/nike+.png
deleted file mode 100644
index 673d59dc84e..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/nike+.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/notepad.png b/htdocs/theme/phones/smartphone/theme/default/img/notepad.png
deleted file mode 100755
index 3f38062986a..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/notepad.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/other.png b/htdocs/theme/phones/smartphone/theme/default/img/other.png
deleted file mode 100755
index b6849698f6f..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/other.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/otherapps.png b/htdocs/theme/phones/smartphone/theme/default/img/otherapps.png
deleted file mode 100755
index a8fbb146f23..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/otherapps.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/photos.png b/htdocs/theme/phones/smartphone/theme/default/img/photos.png
deleted file mode 100755
index 2c801e05df7..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/photos.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/plugin.png b/htdocs/theme/phones/smartphone/theme/default/img/plugin.png
deleted file mode 100755
index dc7c2c271c2..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/plugin.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/safari.png b/htdocs/theme/phones/smartphone/theme/default/img/safari.png
deleted file mode 100755
index e7ca494a7d6..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/safari.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/settings.png b/htdocs/theme/phones/smartphone/theme/default/img/settings.png
deleted file mode 100755
index 4b94e87113b..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/settings.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/sketches.png b/htdocs/theme/phones/smartphone/theme/default/img/sketches.png
deleted file mode 100755
index 8d7bd14e0df..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/sketches.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/sms.png b/htdocs/theme/phones/smartphone/theme/default/img/sms.png
deleted file mode 100755
index 3c8af6cc23f..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/sms.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/start.png b/htdocs/theme/phones/smartphone/theme/default/img/start.png
deleted file mode 100755
index b22e2450e62..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/start.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/stocks.png b/htdocs/theme/phones/smartphone/theme/default/img/stocks.png
deleted file mode 100755
index 041648b09bb..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/stocks.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/support.png b/htdocs/theme/phones/smartphone/theme/default/img/support.png
deleted file mode 100644
index 4622dc9ea3f..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/support.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/telephone.png b/htdocs/theme/phones/smartphone/theme/default/img/telephone.png
deleted file mode 100755
index 4b8e07a27f1..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/telephone.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/tools.png b/htdocs/theme/phones/smartphone/theme/default/img/tools.png
deleted file mode 100644
index acddd0ab44b..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/tools.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/video.png b/htdocs/theme/phones/smartphone/theme/default/img/video.png
deleted file mode 100755
index 0aa924894b6..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/video.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/voice.png b/htdocs/theme/phones/smartphone/theme/default/img/voice.png
deleted file mode 100644
index fd3a4493cc5..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/voice.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/weather.png b/htdocs/theme/phones/smartphone/theme/default/img/weather.png
deleted file mode 100755
index d22550b1e74..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/weather.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/wordpress.png b/htdocs/theme/phones/smartphone/theme/default/img/wordpress.png
deleted file mode 100755
index 28f0f7ed308..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/wordpress.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/img/youtube.png b/htdocs/theme/phones/smartphone/theme/default/img/youtube.png
deleted file mode 100755
index 347880c239a..00000000000
Binary files a/htdocs/theme/phones/smartphone/theme/default/img/youtube.png and /dev/null differ
diff --git a/htdocs/theme/phones/smartphone/theme/default/index.php b/htdocs/theme/phones/smartphone/theme/default/index.php
deleted file mode 100644
index 7db0dd9ebf9..00000000000
--- a/htdocs/theme/phones/smartphone/theme/default/index.php
+++ /dev/null
@@ -1 +0,0 @@
-Url not available
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/tpl/header.tpl.php b/htdocs/theme/phones/smartphone/tpl/header.tpl.php
deleted file mode 100644
index 23843681e08..00000000000
--- a/htdocs/theme/phones/smartphone/tpl/header.tpl.php
+++ /dev/null
@@ -1,28 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- *
- */
-?>
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/tpl/index.php b/htdocs/theme/phones/smartphone/tpl/index.php
deleted file mode 100644
index 7db0dd9ebf9..00000000000
--- a/htdocs/theme/phones/smartphone/tpl/index.php
+++ /dev/null
@@ -1 +0,0 @@
-Url not available
\ No newline at end of file
diff --git a/htdocs/theme/phones/smartphone/tpl/login.tpl.php b/htdocs/theme/phones/smartphone/tpl/login.tpl.php
deleted file mode 100644
index 2033fad209c..00000000000
--- a/htdocs/theme/phones/smartphone/tpl/login.tpl.php
+++ /dev/null
@@ -1,104 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- *
- */
-top_httphead();
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php
deleted file mode 100644
index d286345eada..00000000000
--- a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php
+++ /dev/null
@@ -1,80 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- */
-
-// Load the smartphone menu manager
-$result=@include_once DOL_DOCUMENT_ROOT ."/core/menus/smartphone/".$conf->smart_menu;
-if (! $result) // If failed to include, we try with standard
-{
- $conf->smart_menu='smartphone_menu.php';
- include_once DOL_DOCUMENT_ROOT ."/core/menus/smartphone/".$conf->smart_menu;
-}
-$menusmart = new MenuSmart($db, $user->societe_id?1:0);
-
-
-top_httphead();
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- showmenu(1); ?>
-
-
-
-
-
-
-
-
-
-
diff --git a/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php b/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
deleted file mode 100644
index ecec5f676b0..00000000000
--- a/htdocs/theme/phones/smartphone/tpl/passwordforgotten.tpl.php
+++ /dev/null
@@ -1,82 +0,0 @@
-
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
- *
- */
-top_httphead();
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- trans('SendNewPasswordDesc');
- }else{
- echo $langs->trans('AuthenticationDoesNotAllowSendNewPassword', $mode);
- } ?>
-
-
-
-
-
-
-
-
-
-
-