Uniformize code, order of fiels in card and language files.

This commit is contained in:
Laurent Destailleur
2013-04-28 01:12:40 +02:00
parent 757473cf86
commit 2e81fa342e
20 changed files with 84 additions and 77 deletions

View File

@@ -391,11 +391,11 @@ class FormFile
<option value="" data-placeholder="true">Choose One...</option>
<option value="option1">Option #1</option>
<option value="option2">Option #2</option>
<option value="option3">Option #3 - This is a really really really really really long label.</option>
<option value="option3">Option #3 - This is a really f fsd f gdfgdgd gd gd gd fgd gd gd fgd fgfdreally really really really long label.</option>
</select>
</form>
';
*/
';*/
if (empty($noform)) $out.= '<form action="'.$urlsource.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc').'" name="'.$forname.'" id="'.$forname.'_form" method="post">';
$out.= '<input type="hidden" name="action" value="builddoc">';
$out.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';

View File

@@ -48,6 +48,8 @@ $left=($langs->trans("DIRECTION")=='rtl'?'right':'left');
// URL http://mydolibarr/core/get_menudiv.php?dol_use_jmobile=1 can be used for tests
$arrayofjs=array();
$arrayofcss=array();
$arrayofjs=array('/includes/jquery/plugins/jquerytreeview/jquery.treeview.js', '/includes/jquery/plugins/jquerytreeview/lib/jquery.cookie.js');
$arrayofcss=array('/includes/jquery/plugins/jquerytreeview/jquery.treeview.css');
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
print '<body>'."\n";

View File

@@ -1149,7 +1149,7 @@ function dol_print_email($email,$cid=0,$socid=0,$addlink=0,$max=64,$showinvalid=
if (! empty($addlink))
{
$newemail='<a href="';
$newemail='<a style="text-overflow: ellipsis;" href="';
if (! preg_match('/^mailto:/i',$email)) $newemail.='mailto:';
$newemail.=$email;
$newemail.='">';

View File

@@ -99,7 +99,7 @@ $reshook=$hookmanager->executeHooks('printSearchForm',$parameters);
if (empty($reshook)) $searchform.=$hookmanager->resPrint;
else $searchform=$hookmanager->resPrint;
print '<style>.menu_titre { padding-top: 10px; }</style>';
print '<style>.menu_titre { padding-top: 6px; }</style>';
print "\n";
print "<!-- Begin SearchForm -->\n";