Project

General

Profile

« Previous | Next » 

Revision 1244

Added by Dietmar almost 15 years ago

Ticket #911 2. continue to fix CSS-errors in WB backend

View differences:

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

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14
14-Jan-2010 Dietmar Woellbrink (Luisehahne)
15
#	Ticket #911 2. continue to fix CSS-errors in WB backend
16
14-Jan-2010 Dietmar Woellbrink (Luisehahne)
17
#	Ticket #911 1. continue to fix CSS-errors in WB backend
14 18
13-Jan-2010 Dietmar Woellbrink (Luisehahne)
15
#	Ticket #911 continue to fix CSS-errors in WB backend
16
13-Jan-2010 Dietmar Woellbrink (Luisehahne)
17 19
#	Ticket #911 Beginning to fix More CSS-errors in WB backend
18 20
+	add SVN- Revision to backend theme
19 21
12-Jan-2010 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/pages/settings.php
142 142
// Work-out if we should show the "manage sections" link
143 143
$query_sections = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '$page_id' AND module = 'menu_link'");
144 144
if($query_sections->numRows() > 0) {
145
	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'none');
145
	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'display:none;');
146 146
} elseif(MANAGE_SECTIONS == 'enabled') {
147 147
	$template->set_var('TEXT_MANAGE_SECTIONS', $HEADING['MANAGE_SECTIONS']);
148 148
} else {
149
	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'none');
149
	$template->set_var('DISPLAY_MANAGE_SECTIONS', 'display:none;');
150 150
}
151 151

  
152 152
// Visibility
......
158 158
	$template->set_var('REGISTERED_SELECTED', ' selected="selected"');
159 159
} elseif($results_array['visibility'] == 'hidden') {
160 160
	$template->set_var('HIDDEN_SELECTED', ' selected="selected"');
161
} elseif($results_array['visibility'] == 'none') {
161
} elseif($results_array['visibility'] == 'display:none;') {
162 162
	$template->set_var('NO_VIS_SELECTED', ' selected="selected"');
163 163
}
164 164
// Group list 1 (admin_groups)
......
270 270
if($results_array['visibility'] == 'private' OR $results_array['visibility'] == 'registered') {
271 271
	$template->set_var('DISPLAY_VIEWERS', '');
272 272
} else {
273
	$template->set_var('DISPLAY_VIEWERS', 'none');
273
	$template->set_var('DISPLAY_VIEWERS', 'display:none;');
274 274
}
275 275

  
276 276
//-- insert page_code 20090904-->
......
405 405
											'TITLE' => ($title_prefix.$page['menu_title']),
406 406
											'MENU-TITLE' => ($title_prefix.$page['menu_title']),
407 407
											'PAGE-TITLE' => ($title_prefix.$page['page_title']),
408
											'FLAG_ICON' => 'none',
408
											'FLAG_ICON' => ' none ',
409 409
											));
410 410

  
411 411
			if($results_array['parent'] == $page['page_id']) {
......
468 468

  
469 469
// Menu list
470 470
if(MULTIPLE_MENUS == false) {
471
	$template->set_var('DISPLAY_MENU_LIST', 'none');
471
	$template->set_var('DISPLAY_MENU_LIST', 'display:none;');
472 472
}
473 473
// Include template info file (if it exists)
474 474
if($results_array['template'] != '') {
branches/2.8.x/wb/admin/interface/version.php
69 69
	exit(0);
70 70
}
71 71

  
72
$tmp_revision = '$Revision';
72 73
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
73 74
if(!defined('VERSION')) define('VERSION', '2.8.1');
74
if(!defined('REVISION')) define('REVISION', '1243');
75
if(!defined('REVISION')) define('REVISION', $tmp_revision);
75 76

  
76 77
?>
branches/2.8.x/wb/templates/classic_theme/templates/pages_settings.htt
13 13
		<b>{PAGE_TITLE}</b>
14 14
		-
15 15
		<a href="{ADMIN_URL}/pages/modify.php?page_id={PAGE_ID}">{TEXT_MODIFY_PAGE}</a>
16
		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
17
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
16
		<font style="{DISPLAY_MANAGE_SECTIONS}">-</font>
17
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="{DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
18 18
		<br />
19 19
		<font style="color: #999999;" class="{DISPLAY_MODIFIED}">
20 20
			{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
......
45 45
		</ul>
46 46
	</td>
47 47
	<td rowspan="10" valign="top" style="padding-left: 20px; padding-top: 8px;">
48
		<div id="allowed_viewers" style="display: {DISPLAY_VIEWERS};">
48
		<div id="allowed_viewers" style="{DISPLAY_VIEWERS};">
49 49
			{TEXT_ALLOWED_VIEWERS}:
50 50
			<ul style="list-style-type: none; margin: 0; padding: 0;">
51 51
				<!-- BEGIN group_list_block2 -->
......
122 122
		</select>
123 123
	</td>
124 124
</tr>
125
<tr style="display: {DISPLAY_MENU_LIST}">
125
<tr style="{DISPLAY_MENU_LIST}">
126 126
	<td width="100">{TEXT_MENU}:</td>
127 127
	<td width="240">
128 128
		<select name="menu" style="width: 240px;">
......
132 132
		</select>
133 133
	</td>
134 134
</tr>
135
<tr style="display: {DISPLAY_LANGUAGE_LIST}">
135
<tr style="{DISPLAY_LANGUAGE_LIST}">
136 136
	<td width="100">{TEXT_LANGUAGE}:</td>
137 137
	<td width="240">
138 138
		<select name="language" style="width: 240px;">
branches/2.8.x/wb/templates/wb_theme/templates/pages_settings.htt
13 13
		<b>{PAGE_TITLE}</b>
14 14
		-
15 15
		<a href="{ADMIN_URL}/pages/modify.php?page_id={PAGE_ID}">{TEXT_MODIFY_PAGE}</a>
16
		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
17
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
16
		<font style="{DISPLAY_MANAGE_SECTIONS}">-</font>
17
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="{DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
18 18
		<br />
19 19
		<font style="color: #999999;" class="{DISPLAY_MODIFIED}">
20 20
			{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
......
45 45
		</ul>
46 46
	</td>
47 47
	<td rowspan="10" valign="top" style="padding-left: 20px; padding-top: 8px;">
48
		<div id="allowed_viewers" style="display: {DISPLAY_VIEWERS};">
48
		<div id="allowed_viewers" style="{DISPLAY_VIEWERS};">
49 49
			{TEXT_ALLOWED_VIEWERS}:
50 50
			<ul style="list-style-type: none; margin: 0; padding: 0;">
51 51
				<!-- BEGIN group_list_block2 -->
......
122 122
		</select>
123 123
	</td>
124 124
</tr>
125
<tr style="display: {DISPLAY_MENU_LIST}">
125
<tr style="{DISPLAY_MENU_LIST}">
126 126
	<td width="100">{TEXT_MENU}:</td>
127 127
	<td width="240">
128 128
		<select name="menu" style="width: 240px;">
......
132 132
		</select>
133 133
	</td>
134 134
</tr>
135
<tr style="display: {DISPLAY_LANGUAGE_LIST}">
135
<tr style="{DISPLAY_LANGUAGE_LIST}">
136 136
	<td width="100">{TEXT_LANGUAGE}:</td>
137 137
	<td class="list_language">
138 138
		<select name="language" style="width: 240px;">
branches/2.8.x/wb/templates/argos_theme/templates/pages_settings.htt
11 11
		<b>{PAGE_TITLE}</b>
12 12
		-
13 13
		<a href="{ADMIN_URL}/pages/modify.php?page_id={PAGE_ID}">{TEXT_MODIFY_PAGE}</a>
14
		<font style="display: {DISPLAY_MANAGE_SECTIONS}">-</font>
15
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="display: {DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
14
		<font style="{DISPLAY_MANAGE_SECTIONS}">-</font>
15
		<a href="{ADMIN_URL}/pages/sections.php?page_id={PAGE_ID}" style="{DISPLAY_MANAGE_SECTIONS}">{TEXT_MANAGE_SECTIONS}</a>
16 16
		<br />
17 17
		<font style="color:#999;" class="{DISPLAY_MODIFIED}">
18 18
			{LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
......
120 120
		</select>
121 121
	</td>
122 122
</tr>
123
<tr style="display: {DISPLAY_MENU_LIST}">
123
<tr style="{DISPLAY_MENU_LIST}">
124 124
	<td width="100">{TEXT_MENU}:</td>
125 125
	<td width="240">
126 126
		<select name="menu" style="width: 240px;">
......
130 130
		</select>
131 131
	</td>
132 132
</tr>
133
<tr style="display: {DISPLAY_LANGUAGE_LIST}">
133
<tr style="{DISPLAY_LANGUAGE_LIST}">
134 134
	<td width="100">{TEXT_LANGUAGE}:</td>
135 135
	<td width="240">
136 136
		<select name="language" style="width: 240px;">

Also available in: Unified diff