Project

General

Profile

« Previous | Next » 

Revision 1478

Added by Dietmar over 13 years ago

fix mssing filename in intro.php
inactive user in dropwonlist are show with line-through

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.2 ------------------------------------
14
19 Jul-2011 Build 1477 Dietmar Woellbrink (Luisehahne)
14
22 Jul-2011 Build 1477 Dietmar Woellbrink (Luisehahne)
15
# fix mssing filename in intro.php
16
! inactive user in dropwonlist are show with line-through
17
21 Jul-2011 Build 1477 Dietmar Woellbrink (Luisehahne)
15 18
! update DA language (Tks to Achrist)
16 19
! update some languages variables (Tks to Rübenwurzel, Testör)
17 20
! move function url_encode from admin/pages to framework/functions.php 
branches/2.8.x/wb/admin/pages/intro.php
21 21
require_once(WB_PATH.'/framework/class.admin.php');
22 22
$admin = new admin('Pages', 'pages_intro');
23 23
$content = '';
24
$filename = WB_PATH.PAGES_DIRECTORY.'/intro'.PAGE_EXTENSION;
24 25
if(file_exists($filename) && filesize($filename) > 0) {
25 26
$content = file_get_contents( $filename ) ;
26 27
}
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.2.RC7');
55
if(!defined('REVISION')) define('REVISION', '1477');
55
if(!defined('REVISION')) define('REVISION', '1478');
branches/2.8.x/wb/admin/users/index.php
45 45
	$template->parse('list', 'list_block', true);
46 46
	// Loop through users
47 47
	while($user = $results->fetchRow()) {
48
		$template->set_var('VALUE',$admin->getIDKEY($user['user_id'])); 
48
		$template->set_var('VALUE',$admin->getIDKEY($user['user_id']));
49
		$template->set_var('STATUS', ($user['active']==false ? 'text-decoration:line-through' : 'text-decoration :none;') );
49 50
		$template->set_var('NAME', $user['display_name'].' ('.$user['username'].')');
50 51
		$template->parse('list', 'list_block', true);
51 52
	}
branches/2.8.x/wb/templates/wb_theme/templates/users.htt
21 21

  
22 22
<select name="user_id" style="width: 500px;">
23 23
<!-- BEGIN list_block -->
24
	<option value="{VALUE}">{NAME}</option>
24
	<option value="{VALUE}" style="{STATUS}">{NAME}</option>
25 25
<!-- END list_block -->
26 26
</select>
27 27

  
branches/2.8.x/wb/templates/argos_theme/templates/users.htt
17 17

  
18 18
<select name="user_id" style="width: 500px;">
19 19
<!-- BEGIN list_block -->
20
	<option value="{VALUE}">{NAME}</option>
20
	<option value="{VALUE}" style="{STATUS}">{NAME}</option>
21 21
<!-- END list_block -->
22 22
</select>
23 23

  

Also available in: Unified diff