Fix: W3C no form into table.
Fix: Css style overflowwithjm has been superseded by maxwidthonsmartphone Fix: Style button disabled was not visible with jmobile Fix: Rounding corner with jmobile
This commit is contained in:
parent
67220a15ca
commit
9a6f22a86e
@ -556,18 +556,17 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
$title = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("ContactsForCompany") : $langs->trans("ContactsAddressesForCompany"));
|
$title = (! empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("ContactsForCompany") : $langs->trans("ContactsAddressesForCompany"));
|
||||||
print_fiche_titre($title,$buttoncreate,'');
|
print_fiche_titre($title,$buttoncreate,'');
|
||||||
|
|
||||||
print "\n".'<table class="noborder" width="100%">'."\n";
|
|
||||||
|
|
||||||
|
|
||||||
$param="socid=".$object->id;
|
|
||||||
if ($search_status != '') $param.='&search_status='.$search_status;
|
|
||||||
if ($search_name != '') $param.='&search_name='.urlencode($search_name);
|
|
||||||
|
|
||||||
print '<form method="GET" action="'.$_SERVER["PHP_SELF"].'" name="formfilter">';
|
print '<form method="GET" action="'.$_SERVER["PHP_SELF"].'" name="formfilter">';
|
||||||
print '<input type="hidden" name="socid" value="'.$object->id.'">';
|
print '<input type="hidden" name="socid" value="'.$object->id.'">';
|
||||||
print '<input type="hidden" name="sortorder" value="'.$sortorder.'">';
|
print '<input type="hidden" name="sortorder" value="'.$sortorder.'">';
|
||||||
print '<input type="hidden" name="sortfield" value="'.$sortfield.'">';
|
print '<input type="hidden" name="sortfield" value="'.$sortfield.'">';
|
||||||
|
|
||||||
|
print "\n".'<table class="noborder" width="100%">'."\n";
|
||||||
|
|
||||||
|
$param="socid=".$object->id;
|
||||||
|
if ($search_status != '') $param.='&search_status='.$search_status;
|
||||||
|
if ($search_name != '') $param.='&search_name='.urlencode($search_name);
|
||||||
|
|
||||||
$colspan=8;
|
$colspan=8;
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print_liste_field_titre($langs->trans("Name"),$_SERVER["PHP_SELF"],"p.lastname","",$param,'',$sortfield,$sortorder);
|
print_liste_field_titre($langs->trans("Name"),$_SERVER["PHP_SELF"],"p.lastname","",$param,'',$sortfield,$sortorder);
|
||||||
@ -602,19 +601,20 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '<td> </td>';
|
|
||||||
|
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
|
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
|
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
|
|
||||||
|
print '<td> </td>';
|
||||||
if (! empty($conf->skype->enabled))
|
if (! empty($conf->skype->enabled))
|
||||||
{
|
{
|
||||||
$colspan++;
|
$colspan++;
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
}
|
}
|
||||||
print '<td class="liste_titre">';
|
// Status
|
||||||
|
print '<td class="liste_titre maxwidthonsmartphone">';
|
||||||
print $form->selectarray('search_status', array('0'=>$langs->trans('ActivityCeased'),'1'=>$langs->trans('InActivity')),$search_status);
|
print $form->selectarray('search_status', array('0'=>$langs->trans('ActivityCeased'),'1'=>$langs->trans('InActivity')),$search_status);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
@ -761,6 +761,8 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
}
|
}
|
||||||
print "\n</table>\n";
|
print "\n</table>\n";
|
||||||
|
|
||||||
|
print '</form>'."\n";
|
||||||
|
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
?>
|
?>
|
||||||
<div id="dialog" title="<?php echo dol_escape_htmltag($langs->trans('Address')); ?>" style="display: none;">
|
<div id="dialog" title="<?php echo dol_escape_htmltag($langs->trans('Address')); ?>" style="display: none;">
|
||||||
|
|||||||
@ -436,7 +436,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
if (! empty($conf->categorie->enabled))
|
if (! empty($conf->categorie->enabled))
|
||||||
{
|
{
|
||||||
print '<tr><td>'.$langs->trans("CategoryFilter").' </td>';
|
print '<tr><td>'.$langs->trans("CategoryFilter").' </td>';
|
||||||
print '<td class="overflowwithjm200">'.$form->select_all_categories(0, $parent).'</td></tr>';
|
print '<td class="maxwidthonsmartphone">'.$form->select_all_categories(0, $parent).'</td></tr>';
|
||||||
}
|
}
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|||||||
@ -4,7 +4,7 @@ define("NOCSRFCHECK",1); // We accept to go on this page from external web site.
|
|||||||
|
|
||||||
require '../../main.inc.php';
|
require '../../main.inc.php';
|
||||||
|
|
||||||
if (empty($conf->global->MAIN_FEATURES_LEVEL))
|
if (!empty($conf->global->MAIN_FEATURES_LEVEL))
|
||||||
{
|
{
|
||||||
print "Page available onto dev environment only";
|
print "Page available onto dev environment only";
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2012-2013 Philippe Berthet <berthet@systune.be>
|
/* Copyright (C) 2012-2013 Philippe Berthet <berthet@systune.be>
|
||||||
* Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* Version V1.1 Initial version of Philippe Berthet
|
* Version V1.1 Initial version of Philippe Berthet
|
||||||
* Version V2 Change to be compatible with 3.4 and enhanced to be more generic
|
* Version V2 Change to be compatible with 3.4 and enhanced to be more generic
|
||||||
@ -102,10 +102,6 @@ if (empty($socid))
|
|||||||
$head = societe_prepare_head($object);
|
$head = societe_prepare_head($object);
|
||||||
dol_fiche_head($head, 'consumption', $langs->trans("ThirdParty"),0,'company');
|
dol_fiche_head($head, 'consumption', $langs->trans("ThirdParty"),0,'company');
|
||||||
|
|
||||||
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
|
||||||
print '<input type="hidden" name="socid" value="'.$socid.'">';
|
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr><td width="25%">'.$langs->trans('ThirdPartyName').'</td>';
|
print '<tr><td width="25%">'.$langs->trans('ThirdPartyName').'</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
@ -158,6 +154,11 @@ dol_fiche_end();
|
|||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
|
||||||
|
print '<form method="POST" action="'.$_SERVER['PHP_SELF'].'">';
|
||||||
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
|
print '<input type="hidden" name="socid" value="'.$socid.'">'."\n";
|
||||||
|
|
||||||
|
|
||||||
$sql_select='';
|
$sql_select='';
|
||||||
if ($type_element == 'invoice')
|
if ($type_element == 'invoice')
|
||||||
{ // Customer : show products from invoices
|
{ // Customer : show products from invoices
|
||||||
|
|||||||
@ -1354,7 +1354,7 @@ div.tabs {
|
|||||||
/* margin: 0px 0px 2px 6px;
|
/* margin: 0px 0px 2px 6px;
|
||||||
padding: 0px 6px 3px 0px; */
|
padding: 0px 6px 3px 0px; */
|
||||||
text-align: <?php print $left; ?>;
|
text-align: <?php print $left; ?>;
|
||||||
|
margin-left: 4px !important;
|
||||||
clear:both;
|
clear:both;
|
||||||
height:100%;
|
height:100%;
|
||||||
}
|
}
|
||||||
@ -2758,7 +2758,7 @@ a.tab span.ui-btn-inner
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui-link {
|
.ui-link {
|
||||||
color: rgb(<?php print $colortext; ?>) !important;
|
color: rgb(<?php print $colortext; ?>);
|
||||||
}
|
}
|
||||||
.liste_titre .ui-link {
|
.liste_titre .ui-link {
|
||||||
color: #<?php print $colortexttitle; ?> !important;
|
color: #<?php print $colortexttitle; ?> !important;
|
||||||
@ -2840,10 +2840,21 @@ ul.ulmenu {
|
|||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
.ui-body-c .ui-link, .ui-body-c .ui-link:visited, .ui-body-c .ui-link:hover {
|
||||||
|
color: rgb(<?php print $colortext; ?>);
|
||||||
|
}
|
||||||
.ui-btn-up-c .vsmenudisabled {
|
.ui-btn-up-c .vsmenudisabled {
|
||||||
color: #<?php echo $colorshadowtitle; ?> !important;
|
color: #<?php echo $colorshadowtitle; ?> !important;
|
||||||
text-shadow: none !important;
|
text-shadow: none !important;
|
||||||
}
|
}
|
||||||
|
.ui-controlgroup-horizontal .ui-btn.ui-first-child {
|
||||||
|
-webkit-border-top-left-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
|
}
|
||||||
|
.ui-controlgroup-horizontal .ui-btn.ui-last-child {
|
||||||
|
-webkit-border-top-right-radius: 6px;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
}
|
||||||
.alilevel1 {
|
.alilevel1 {
|
||||||
color: #<?php echo $colortexttitle; ?> !important;
|
color: #<?php echo $colortexttitle; ?> !important;
|
||||||
text-shadow: 1px 0px 1px #<?php echo $colorshadowtitle; ?>;
|
text-shadow: 1px 0px 1px #<?php echo $colorshadowtitle; ?>;
|
||||||
@ -2856,14 +2867,6 @@ ul.ulmenu {
|
|||||||
background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important;
|
background-image: -o-linear-gradient( #ddd,#d1d1d1 ) !important;
|
||||||
background-image: linear-gradient( #ddd,#d1d1d1 ) !important;
|
background-image: linear-gradient( #ddd,#d1d1d1 ) !important;
|
||||||
}
|
}
|
||||||
<?php if ($dol_use_jmobile) { ?>
|
|
||||||
.overflowwithjm200
|
|
||||||
{
|
|
||||||
max-width: 200px;
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (is_object($db)) $db->close();
|
if (is_object($db)) $db->close();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user