From b21a13b789ae17b22fc3ec7bb611282e6a7267e2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 28 Apr 2013 20:29:21 +0200 Subject: [PATCH] Fix: compatibility with jmobile --- htdocs/opensurvey/admin/index.php | 7 +++++-- htdocs/societe/soc.php | 5 +++-- htdocs/theme/amarok/style.css.php | 11 +++++++++++ htdocs/theme/auguria/style.css.php | 11 +++++++++++ htdocs/theme/bureau2crea/style.css.php | 11 +++++++++++ htdocs/theme/cameleo/style.css.php | 11 +++++++++++ htdocs/theme/eldy/style.css.php | 13 ++++++++++++- 7 files changed, 64 insertions(+), 5 deletions(-) diff --git a/htdocs/opensurvey/admin/index.php b/htdocs/opensurvey/admin/index.php index 9617a9c7ee6..6ab9c74dc24 100755 --- a/htdocs/opensurvey/admin/index.php +++ b/htdocs/opensurvey/admin/index.php @@ -29,7 +29,8 @@ require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php"); // Security check if (!$user->admin) accessforbidden(); - +$langs->load("admin"); +$langs->load("other"); /* @@ -40,7 +41,9 @@ $langs->load("opensurvey"); llxHeader(); -print_fiche_titre($langs->trans("OpenSurveyArea")); +$linkback=''.$langs->trans("BackToModuleList").''; +print_fiche_titre($langs->trans("OpenSurveyArea"),$linkback,'setup'); +print '
'; echo $langs->trans("OpenSurveyNothingToSetup").'

'."\n"; diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 4fc8caa37ee..043cd4ead71 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -1,7 +1,7 @@ * Copyright (C) 2003 Brian Fraval - * Copyright (C) 2004-2012 Laurent Destailleur + * Copyright (C) 2004-2013 Laurent Destailleur * Copyright (C) 2005 Eric Seigne * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2008 Patrick Raguin @@ -699,6 +699,7 @@ else print ''."\n"; print "
\n"; + print '
'; print $langs->trans("ThirdPartyType").':   '; print ' '.$langs->trans("Company/Fundation"); @@ -706,7 +707,7 @@ else print ' '.$langs->trans("Individual"); print ' ('.$langs->trans("ToCreateContactWithSameName").')'; - print "
\n"; + print '
'; print "
\n"; } diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 8383576e80d..5788b0f011f 100755 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -2095,6 +2095,17 @@ div.tabsElem a.ui-btn-corner-all { right: 8px; } +div.ui-radio +{ + display: inline-block; +} +.ui-radio input { + height: auto; + width: auto; + margin: 0; + position: static; +} + close(); ?> diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 6f4ebcb058d..f998fdc4e9c 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -2247,6 +2247,17 @@ div.tabsElem a.ui-btn-corner-all { right: 8px; } +div.ui-radio +{ + display: inline-block; +} +.ui-radio input { + height: auto; + width: auto; + margin: 0; + position: static; +} + close(); ?> diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 8d20ba1bec2..f87364fef9b 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -2475,6 +2475,17 @@ div.tabs a.tab#active span.ui-btn-inner, div.tabs a.tab#active span.ui-btn-text, right: 8px; } +div.ui-radio +{ + display: inline-block; +} +.ui-radio input { + height: auto; + width: auto; + margin: 0; + position: static; +} + close(); ?> diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index fb295e4b5e9..3203e556e82 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -2303,6 +2303,17 @@ div.tabs a.tab#active span.ui-btn-inner, div.tabs a.tab#active span.ui-btn-text, right: 8px; } +div.ui-radio +{ + display: inline-block; +} +.ui-radio input { + height: auto; + width: auto; + margin: 0; + position: static; +} + close(); ?> diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index b6711ab76eb..9b7020700e3 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -274,6 +274,7 @@ textarea:disabled { } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; } + .button { font-family: ; background-image: url(); @@ -2640,11 +2641,21 @@ a.ui-link { text-overflow: hidden; } -/* Warning: setting this make screen not beeing refreshed after a combo selection */ +/* Warning: setting this may make screen not beeing refreshed after a combo selection */ .ui-body-c { background: #fff; } +div.ui-radio +{ + display: inline-block; +} +.ui-radio input { + height: auto; + width: auto; + margin: 0; + position: static; +} close();