/[dolibarr]/dolibarr/htdocs/comm/action/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/comm/action/fiche.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.57 by eldy, Tue Sep 6 16:34:46 2005 UTC revision 1.58 by eldy, Tue Sep 6 22:37:37 2005 UTC
# Line 307  if ($_GET["action"] == 'create') Line 307  if ($_GET["action"] == 'create')
307                    
308        print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';        print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';
309        print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';        print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';
310        print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';          print '<tr><td colspan="2" align="center"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';  
311        print '</table>';        print '</table>';
312      }      }
313    
# Line 368  if ($_GET["action"] == 'create') Line 368  if ($_GET["action"] == 'create')
368          {          {
369            $societe = new Societe($db);            $societe = new Societe($db);
370            $societe->fetch($_GET["socid"]);            $societe->fetch($_GET["socid"]);
371            print $societe->nom_url;                print img_object($langs->trans("ShowCompany"),'company').' '.$societe->nom_url;
372            print '<input type="hidden" name="socid" value="'.$_GET["socid"].'">';            print '<input type="hidden" name="socid" value="'.$_GET["socid"].'">';
373          }          }
374        else        else
# Line 432  if ($_GET["action"] == 'create') Line 432  if ($_GET["action"] == 'create')
432        print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';        print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';
433        print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';        print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';
434    
435          print '<tr><td align="center" colspan="2"><input type="submit" class="button" value="'.$langs->trans("Add").'"</td></tr>';
436    
437        print '</table>';          print '</table>';  
438        print '<p align="center"><input type="submit" value="'.$langs->trans("Add").'"></p>';  
439    
440      }      }
441      print "</form>";      print "</form>";
# Line 513  if ($_GET["id"]) Line 515  if ($_GET["id"])
515            print '<tr><td valign="top">'.$langs->trans("Note").'</td><td colspan="3">';            print '<tr><td valign="top">'.$langs->trans("Note").'</td><td colspan="3">';
516        print '<textarea cols="60" rows="6" name="note">'.nl2br($act->note).'</textarea></td></tr>';        print '<textarea cols="60" rows="6" name="note">'.nl2br($act->note).'</textarea></td></tr>';
517    
518        print '<tr><td align="center" colspan="4"><input type="submit" value="'.$langs->trans("Save").'"</td></tr>';        print '<tr><td align="center" colspan="4"><input type="submit" class="button" value="'.$langs->trans("Save").'"</td></tr>';
519        print '</table></form>';        print '</table></form>';
520      }      }
521    else    else

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26