diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index cc4d2c6754f..7987c464a14 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -52,6 +52,7 @@ $action = (GETPOST('action') ? GETPOST('action') : 'view'); $confirm = GETPOST('confirm'); $socid = GETPOST('socid','int'); if ($user->societe_id) $socid=$user->societe_id; +if (empty($socid) && $action = 'view') $action='create'; $object = new Societe($db); $extrafields = new ExtraFields($db); @@ -736,9 +737,10 @@ else });'; print ''."\n"; - print "
\n"; print '
'; - print $langs->trans("ThirdPartyType").':   '; + print '
'; + print $langs->trans("ThirdPartyType").':     '; + print '
'; print ' '.$langs->trans("Company/Fundation"); print '     '; @@ -774,7 +776,7 @@ else print ''; } else - { + { print ''.$langs->trans('ThirdPartyName').'global->SOCIETE_USEPREFIX)?' colspan="3"':'').'>'; if (! empty($conf->global->SOCIETE_USEPREFIX)) // Old not used prefix field { @@ -793,7 +795,7 @@ else } // Prospect/Customer - print ''.$langs->trans('ProspectCustomer').''; $selected=isset($_POST['client'])?GETPOST('client'):$object->client; if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) print ''; if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print ''; @@ -857,7 +859,7 @@ else print ''; // Country - print ''.$langs->trans('Country').''; + print ''.$langs->trans('Country').''; print $form->select_country((GETPOST('country_id')!=''?GETPOST('country_id'):$object->country_id),'country_id'); if ($user->admin) print info_admin($langs->trans("YouCanChangeValuesForThisListFromDictionnarySetup"),1); print ''; @@ -865,7 +867,7 @@ else // State if (empty($conf->global->SOCIETE_DISABLE_STATE)) { - print ''.$langs->trans('State').''; + print ''.$langs->trans('State').''; if ($object->country_id) print $formcompany->select_state($object->state_id,$object->country_code,'state_id'); else print $countrynotdefined; print ''; @@ -956,7 +958,7 @@ else // Legal Form print ''.$langs->trans('JuridicalStatus').''; - print ''; + print ''; if ($object->country_id) { $formcompany->select_forme_juridique($object->forme_juridique_code,$object->country_code); @@ -1003,7 +1005,7 @@ else } if (! empty($conf->global->MAIN_MULTILANGS)) { - print ''.$langs->trans("DefaultLang").''."\n"; + print ''.$langs->trans("DefaultLang").''."\n"; print $formadmin->select_language(($object->default_lang?$object->default_lang:$conf->global->MAIN_LANG_DEFAULT),'default_lang',0,0,1); print ''; print ''; @@ -1014,7 +1016,7 @@ else // Assign a Name print ''; print ''.$langs->trans("AllocateCommercial").''; - print ''; + print ''; $form->select_users((! empty($object->commercial_id)?$object->commercial_id:$user->id),'commercial_id',1); // Add current user by default print ''; } diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 3fe179ad34f..83dcd34de2b 100644 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -361,6 +361,7 @@ center .error { padding:8px !important; padding-left:26px !important; padding-ri .hideonsmartphone { display: none; } .noenlargeonsmartphone { width : 50px !important; display: inline !important; } +.maxwidthonsmartphone { max-width: 100px; } .linkobject { cursor:pointer; } diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 9dcae0fd305..d07b3e314c1 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -243,6 +243,7 @@ div.inline-block .hideonsmartphone { display: none; } .noenlargeonsmartphone { width : 50px !important; display: inline !important; } +.maxwidthonsmartphone { max-width: 100px; } .linkobject { cursor: pointer; } diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 24ad3f941e7..a643f923454 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -267,6 +267,7 @@ div.inline-block .hideonsmartphone { display: none; } .noenlargeonsmartphone { width : 50px !important; display: inline !important; } +.maxwidthonsmartphone { max-width: 100px; } .linkobject { cursor: pointer; } diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index 23854bec688..f80c5636c98 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -242,6 +242,7 @@ div.inline-block .hideonsmartphone { display: none; } .noenlargeonsmartphone { width : 50px !important; display: inline !important; } +.maxwidthonsmartphone { max-width: 100px; } .linkobject { cursor: pointer; } diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index e5c3c2bb544..072fde58d20 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -222,7 +222,7 @@ if (! empty($conf->dol_optimize_smallscreen)) $fontsize=11; body { -dol_optimize_smallscreen)) { ?> + background-color: #FFFFFF; background: ; @@ -254,10 +254,8 @@ input, input.flat, textarea, textarea.flat, form.flat select, select.flat { font-family: ; background: #FDFDFD; border: 1px solid #C0C0C0; - /*padding: 1px 1px 1px 1px; */ margin: 0px 0px 0px 0px; - } input, textarea, select { @@ -265,7 +263,7 @@ input, textarea, select { border:solid 1px rgba(0,0,0,.3); border-top:solid 1px rgba(0,0,0,.3); border-bottom:solid 1px rgba(0,0,0,.2); - box-shadow: 1px 1px 2px rgba(0,0,0,.2) inset; + /* box-shadow: 1px 1px 1px rgba(0,0,0,.2) inset;*/ padding:2px; margin-left:1px; margin-bottom:1px; @@ -411,6 +409,7 @@ th .button { .hideonsmartphone { display: none; } .noenlargeonsmartphone { width : 50px !important; display: inline !important; } +.maxwidthonsmartphone { max-width: 100px; } .linkobject { cursor: pointer; } @@ -2060,6 +2059,7 @@ div.titre { color: rgb(); text-decoration: none; text-shadow: 1px 1px 2px #FFFFFF; + dol_optimize_smallscreen)?'':'margin-top: 4px;'); ?> } #dolpaymenttable { width: 600px; font-size: 13px; } @@ -2751,10 +2751,6 @@ a.tab span.ui-btn-inner padding: 0; } -.ui-body-c { - border: 1px solid #CCC; - text-shadow: none; -} .ui-link { color: rgb() !important; } @@ -2829,8 +2825,14 @@ ul.ulmenu { color: # !important; text-shadow: 1px 0px 1px #; } -.ui-body-c, .ui-btn-up-c, .ui-btn-hover-c { - border: none !important; + +.ui-body-c { + border: 1px solid #ccc; + text-shadow: none; +} +.ui-btn-up-c, .ui-btn-hover-c { + border: 1px solid #ccc; + text-shadow: none; } .ui-btn-up-c .vsmenudisabled { color: # !important;