Revision 1329
Added by Luisehahne over 15 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.1 ------------------------------------- |
| 14 | 14 |
18-Apr-2010 Dietmar Woellbrink (Luisehahne) |
| 15 |
! Validation fix in preference |
|
| 16 |
18-Apr-2010 Dietmar Woellbrink (Luisehahne) |
|
| 15 | 17 |
# fixed directory_list |
| 16 | 18 |
17-Apr-2010 Dietmar Woellbrink (Luisehahne) |
| 17 | 19 |
! litte fix to show GMT value in default view |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.x');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1328');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1329');
|
|
| 56 | 56 |
|
| 57 | 57 |
?> |
| branches/2.8.x/wb/framework/functions.php | ||
|---|---|---|
| 57 | 57 |
} |
| 58 | 58 |
} |
| 59 | 59 |
|
| 60 |
// Function to open a directory and add to a dir list |
|
| 61 |
function directory_list($directory, $show_hidden = false) |
|
| 60 |
/* |
|
| 61 |
* returns a recursive list of all subdirectories from a given directory |
|
| 62 |
* @access public |
|
| 63 |
* @param string $directory: from this dir the recursion will start |
|
| 64 |
* @param bool $show_hidden: if set to TRUE also hidden dirs (.dir) will be shown |
|
| 65 |
* @return array |
|
| 66 |
* example: |
|
| 67 |
* /srv/www/httpdocs/wb/media/a/b/c/ |
|
| 68 |
* /srv/www/httpdocs/wb/media/a/b/d/ |
|
| 69 |
* directory_list('/srv/www/httpdocs/wb/media/') will return:
|
|
| 70 |
* /a |
|
| 71 |
* /a/b |
|
| 72 |
* /a/b/c |
|
| 73 |
* /a/b/d |
|
| 74 |
*/ |
|
| 75 |
function directory_list($directory, $show_hidden = false) |
|
| 62 | 76 |
{
|
| 63 | 77 |
$result_list = array(); |
| 64 | 78 |
if (is_dir($directory)) |
| branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt | ||
|---|---|---|
| 9 | 9 |
<label>{TEXT_USERNAME}:</label><br />
|
| 10 | 10 |
</div> |
| 11 | 11 |
<div class="c60l"> |
| 12 |
<div id="username" />{USERNAME}</div><br />
|
|
| 12 |
<div id="username">{USERNAME}</div><br />
|
|
| 13 | 13 |
</div> |
| 14 | 14 |
</div> |
| 15 | 15 |
<div class="subcolumns"> |
| branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt | ||
|---|---|---|
| 9 | 9 |
<label>{TEXT_USERNAME}:</label><br />
|
| 10 | 10 |
</div> |
| 11 | 11 |
<div class="c60l"> |
| 12 |
<div id="username" />{USERNAME}</div><br />
|
|
| 12 |
<div id="username">{USERNAME}</div><br />
|
|
| 13 | 13 |
</div> |
| 14 | 14 |
</div> |
| 15 | 15 |
<div class="subcolumns"> |
Also available in: Unified diff
Validation fix in preference