mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix bad position of html tags
Conflicts: htdocs/opensurvey/card.php
This commit is contained in:
parent
f8e9a38e5c
commit
be033c1947
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
/* Copyright (C) 2013-2014 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
/* Copyright (C) 2013-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2014 Marcos García <marcosgdf@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
|
|
@ -157,12 +157,14 @@ if ($action == 'edit') {
|
|||
* View
|
||||
*/
|
||||
|
||||
if ($object->fk_user_creat) {
|
||||
$form=new Form($db);
|
||||
|
||||
if ($object->fk_user_creat)
|
||||
{
|
||||
$userstatic = new User($db);
|
||||
$userstatic->fetch($object->fk_user_creat);
|
||||
}
|
||||
|
||||
$form=new Form($db);
|
||||
|
||||
$arrayofjs=array();
|
||||
$arrayofcss=array('/opensurvey/css/style.css');
|
||||
|
|
@ -186,8 +188,8 @@ print '<input type="hidden" name="action" value="update">';
|
|||
|
||||
$head = opensurvey_prepare_head($object);
|
||||
|
||||
print dol_get_fiche_head($head,'general',$langs->trans("Survey"),0,dol_buildpath('/opensurvey/img/object_opensurvey.png',1),1);
|
||||
|
||||
dol_fiche_head($head,'general',$langs->trans("Survey"),0,dol_buildpath('/opensurvey/img/object_opensurvey.png',1),1);
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
|
|
@ -313,11 +315,12 @@ print $urllink;
|
|||
|
||||
print '</table>';
|
||||
|
||||
if ($action == 'edit') print '<center><br><input type="submit" class="button" name="save" value="'.dol_escape_htmltag($langs->trans("Save")).'"></center>';
|
||||
dol_fiche_end();
|
||||
|
||||
if ($action == 'edit') print '<div class="center"><input type="submit" class="button" name="save" value="'.dol_escape_htmltag($langs->trans("Save")).'"></div>';
|
||||
|
||||
print '</form>'."\n";
|
||||
|
||||
dol_fiche_end();
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user