Revision 686
Added by doc over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 | 
     | 
| 13 | 13 | 
    ------------------------------------- 2.7.0 -------------------------------------  | 
| 14 | 14 | 
    09-Feb-2008 Christian Sommer  | 
| 15 | 
    ! modified some colors and CSS definitions of pages, media and section interface  | 
|
| 15 | 16 | 
    # output_filter: fixed bug in regular expression (eats up characters in mailto links)  | 
| 16 | 17 | 
    # output_filter: removed word boundary from mailto regex part  | 
| 17 | 18 | 
    # fixed bug in menu_link module (IE 7 did not show the select boxes at all)  | 
| trunk/wb/admin/media/browse.html | ||
|---|---|---|
| 42 | 42 | 
    <body>  | 
| 43 | 43 | 
     | 
| 44 | 44 | 
    <table cellpadding="4" cellspacing="0" border="0" width="100%" style="border-bottom: 2px solid #35373a; width: 100%;">  | 
| 45 | 
    <tr style="background-color: #e6f0fc;">
   | 
|
| 45 | 
    <tr style="background-color: #ECF1F3;">
   | 
|
| 46 | 46 | 
    <td width="16" align="center" style="padding-left: 10px;">  | 
| 47 | 47 | 
    		<a href="{PARENT_DIR_LINK}">
   | 
| 48 | 48 | 
    			<img src="../images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" />
   | 
| ... | ... | |
| 71 | 71 | 
     | 
| 72 | 72 | 
    <table cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}">
   | 
| 73 | 73 | 
    <!-- BEGIN list_block -->  | 
| 74 | 
    <tr style="background-color: #{ROW_BG_COLOR};">
   | 
|
| 74 | 
    <tr style="background-color: #{ROW_BG_COLOR};" onmouseover="this.style.backgroundColor = '#FFFFE0'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'">
   | 
|
| 75 | 75 | 
    <td width="18" style="padding-left: 10px;">  | 
| 76 | 76 | 
    		<a href="{LINK}" target="{LINK_TARGET}">
   | 
| 77 | 77 | 
    			<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" />
   | 
| trunk/wb/admin/media/browse.php | ||
|---|---|---|
| 97 | 97 | 
    }  | 
| 98 | 98 | 
    // Now parse these values to the template  | 
| 99 | 99 | 
    $temp_id = 0;  | 
| 100 | 
    	$row_bg_color = 'BDD3EC';
   | 
|
| 100 | 
    	$row_bg_color = 'FFF';
   | 
|
| 101 | 101 | 
    	if(isset($DIR)) {
   | 
| 102 | 102 | 
    sort($DIR);  | 
| 103 | 103 | 
    		foreach($DIR AS $name) {
   | 
| ... | ... | |
| 115 | 115 | 
    );  | 
| 116 | 116 | 
    			$template->parse('list', 'list_block', true);
   | 
| 117 | 117 | 
    // Code to alternate row colors  | 
| 118 | 
    			if($row_bg_color == 'D2E1F2') {
   | 
|
| 119 | 
    				$row_bg_color = 'BDD3EC';
   | 
|
| 118 | 
    			if($row_bg_color == 'FFF') {
   | 
|
| 119 | 
    				$row_bg_color = 'ECF1F3';
   | 
|
| 120 | 120 | 
    			} else {
   | 
| 121 | 
    				$row_bg_color = 'D2E1F2';
   | 
|
| 121 | 
    				$row_bg_color = 'FFF';
   | 
|
| 122 | 122 | 
    }  | 
| 123 | 123 | 
    }  | 
| 124 | 124 | 
    }  | 
| ... | ... | |
| 138 | 138 | 
    );  | 
| 139 | 139 | 
    			$template->parse('list', 'list_block', true);
   | 
| 140 | 140 | 
    // Code to alternate row colors  | 
| 141 | 
    			if($row_bg_color == 'D2E1F2') {
   | 
|
| 142 | 
    				$row_bg_color = 'BDD3EC';
   | 
|
| 141 | 
    			if($row_bg_color == 'FFF') {
   | 
|
| 142 | 
    				$row_bg_color = 'ECF1F3';
   | 
|
| 143 | 143 | 
    			} else {
   | 
| 144 | 
    				$row_bg_color = 'D2E1F2';
   | 
|
| 144 | 
    				$row_bg_color = 'FFF';
   | 
|
| 145 | 145 | 
    }  | 
| 146 | 146 | 
    }  | 
| 147 | 147 | 
    }  | 
| trunk/wb/admin/pages/index.php | ||
|---|---|---|
| 163 | 163 | 
    ?>  | 
| 164 | 164 | 
     | 
| 165 | 165 | 
    <li id="p<?php echo $page['parent']; ?>" style="padding: 2px 0px 2px 0px;">  | 
| 166 | 
    			<table width="720" cellpadding="1" cellspacing="0" border="0" style="background-color: #edf5fc;">
   | 
|
| 167 | 
    <tr>  | 
|
| 166 | 
    			<table width="720" cellpadding="1" cellspacing="0" border="0" style="background-color: #ECF3F7;">
   | 
|
| 167 | 
    			<tr onmouseover="this.style.backgroundColor = '#FFFFE0'" onmouseout="this.style.backgroundColor = '#ECF3F7'">
   | 
|
| 168 | 168 | 
    <td width="20" style="padding-left: <?php echo $page['level']*20; ?>px;">  | 
| 169 | 169 | 
    <?php  | 
| 170 | 170 | 
    					if($display_plus == true) {
   | 
| trunk/wb/admin/pages/sections.php | ||
|---|---|---|
| 180 | 180 | 
    		$module_name=$database->get_one("SELECT name FROM ".TABLE_PREFIX."addons WHERE directory='".$section['module']."'");
   | 
| 181 | 181 | 
    		if(!is_numeric(array_search($section['module'], $module_permissions))) {
   | 
| 182 | 182 | 
    ?>  | 
| 183 | 
    <tr>  | 
|
| 183 | 
    			<tr onmouseover="this.style.backgroundColor = '#FFFFE0'" onmouseout="this.style.backgroundColor = '#FFF'">
   | 
|
| 184 | 184 | 
    <td style="width: <?php if(SECTION_BLOCKS) print "120"; else print "200"; ?>px;"><a href="<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page_id; ?>#<?php echo $section['section_id']; ?>"><?php echo $module_name; ?></a></td>  | 
| 185 | 185 | 
    				<?php if(SECTION_BLOCKS) { ?>
   | 
| 186 | 186 | 
    <td>  | 
| trunk/wb/admin/interface/stylesheet.css | ||
|---|---|---|
| 74 | 74 | 
    color: #fff;  | 
| 75 | 75 | 
    }  | 
| 76 | 76 | 
    .content {
   | 
| 77 | 
    background: #fff;  | 
|
| 78 | 77 | 
    background: #fff url(bgtitle.png) ;  | 
| 79 | 78 | 
    background-repeat:repeat-x;  | 
| 80 | 79 | 
    padding: 20px;  | 
| ... | ... | |
| 84 | 83 | 
    vertical-align: top;  | 
| 85 | 84 | 
    }  | 
| 86 | 85 | 
    .row_a {
   | 
| 87 | 
    	background-color: #BDE4F4;
   | 
|
| 86 | 
    	background-color: #ECF3F7;
   | 
|
| 88 | 87 | 
    }  | 
| 89 | 88 | 
    .row_b {
   | 
| 90 | 89 | 
    background-color: #EBF7FC;  | 
Also available in: Unified diff
modified some colors and CSS definitions of pages, media and section interface