~ubuntu-branches/ubuntu/hardy/squirrelmail/hardy-updates

« back to all changes in this revision

Viewing changes to src/folders_rename_do.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2005-02-06 21:41:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050206214151-z4n1o8mnttgzuj0y
Tags: 2:1.4.4-3
* Move default_pref config file from /var to /etc, as per Debian policy
  (Closes: #293281)
* [JvW] (finally) override two lintian warnings about nonstandard
  permissions that are intentional (Closes: #293366)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/**
4
4
 * folders_rename_do.php
5
5
 *
6
 
 * Copyright (c) 1999-2003 The SquirrelMail Project Team
 
6
 * Copyright (c) 1999-2005 The SquirrelMail Project Team
7
7
 * Licensed under the GNU GPL. For full terms see the file COPYING.
8
8
 *
9
9
 * Does the actual renaming of files on the IMAP server.
10
10
 * Called from the folders.php
11
11
 *
12
 
 * $Id: folders_rename_do.php,v 1.50 2003/10/29 15:25:10 tassium Exp $
 
12
 * @version $Id: folders_rename_do.php,v 1.49.2.4 2004/12/27 15:04:00 kink Exp $
13
13
 * @package squirrelmail
14
14
 */
15
15
 
16
 
/** Path for SquirrelMail required files. */
 
16
/**
 
17
 * Path for SquirrelMail required files.
 
18
 * @ignore
 
19
 */
17
20
define('SM_PATH','../');
18
21
 
19
22
/* SquirrelMail required files. */
38
41
    substr_count($new_name, $delimiter) || ($new_name == '')) {
39
42
    displayPageHeader($color, 'None');
40
43
 
41
 
    plain_error_message(_("Illegal folder name.  Please select a different name.").
42
 
        '<BR><A HREF="../src/folders.php">'._("Click here to go back").'</A>.', $color);
 
44
    plain_error_message(_("Illegal folder name. Please select a different name.").
 
45
        '<br /><a href="../src/folders.php">'._("Click here to go back").'</a>.', $color);
43
46
 
44
47
    exit;
45
48
}
79
82
 
80
83
header ('Location: ' . get_location() . '/folders.php?success=rename');
81
84
 
82
 
?>
 
85
?>
 
 
b'\\ No newline at end of file'