From f85f42fa47d95ed2dcf023cec02bdf8c572e5291 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 8 Oct 2003 14:57:09 +0000 Subject: [PATCH] Suppressions du lien vers document --- htdocs/soc.php | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index 2f5b8ecccc6..41d2eafa643 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -1,7 +1,7 @@ - * Copyright (C) 2001-2003 Rodolphe Quiedeville - * +/* Copyright (C) 2001-2003 Rodolphe Quiedeville + * Copyright (C) 2003 Brian Fraval + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -198,12 +198,9 @@ elseif ($action == 'edit') /* * */ - - print '
'; - print ''; print ''; print ''; @@ -214,32 +211,6 @@ elseif ($action == 'edit') /* * */ - - clearstatcache(); - umask(0); - - $docdir = SOCIETE_OUTPUTDIR . "/$socid"; - $url = SOCIETE_OUTPUT_URL . "/$socid"; - - if (file_exists ($docdir)) - { - print 'Documents'; - } - else - { - - if (! @mkdir ($docdir, 0775)) - { - print "

Impossible de créer ".$docdir; - } - else - { - if (file_exists ($docdir)) - { - print 'Documents'; - } - } - } } $db->close();

[Editer]--