Fix: compatibility with jmobile
This commit is contained in:
parent
670d01e14e
commit
b21a13b789
@ -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='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
|
||||
print_fiche_titre($langs->trans("OpenSurveyArea"),$linkback,'setup');
|
||||
print '<br>';
|
||||
|
||||
echo $langs->trans("OpenSurveyNothingToSetup").'<br><br>'."\n";
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Brian Fraval <brian@fraval.org>
|
||||
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
|
||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2008 Patrick Raguin <patrick.raguin@auguria.net>
|
||||
@ -699,6 +699,7 @@ else
|
||||
print '</script>'."\n";
|
||||
|
||||
print "<br>\n";
|
||||
print '<div id="selectthirdpartytype">';
|
||||
print $langs->trans("ThirdPartyType").': ';
|
||||
print '<input type="radio" id="radiocompany" class="flat" name="private" value="0"'.($private?'':' checked="checked"');
|
||||
print '> '.$langs->trans("Company/Fundation");
|
||||
@ -706,7 +707,7 @@ else
|
||||
print '<input type="radio" id="radioprivate" class="flat" name="private" value="1"'.($private?' checked="checked"':'');
|
||||
print '> '.$langs->trans("Individual");
|
||||
print ' ('.$langs->trans("ToCreateContactWithSameName").')';
|
||||
print "<br>\n";
|
||||
print '</div>';
|
||||
print "<br>\n";
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
?>
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
?>
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
?>
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
?>
|
||||
|
||||
@ -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: <?php print $fontlist ?>;
|
||||
background-image: url(<?php echo $img_button ?>);
|
||||
@ -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;
|
||||
}
|
||||
|
||||
<?php
|
||||
if (is_object($db)) $db->close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user