Project

General

Profile

« Previous | Next » 

Revision 584

Added by doc almost 17 years ago

Removed the manage section icon from the page admin (sections managed by publish by date function).

View differences:

trunk/CHANGELOG
13 13
------------------------------------- 2.7.0 -------------------------------------
14 14

  
15 15
21-Jan-2008 Christian Sommer
16
!	Removed the manage section icon from the page admin (sections managed by publish by date function) 
16 17
#	Fixed bug with the edit module CSS file implementation (IE7, Opera)
17 18
21-Jan-2008 Thomas Hornik
18 19
+	Unique session-identifier for each website baker installation. fixes #354
trunk/wb/admin/pages/index.php
213 213
					echo ($page['page_title']); ?>
214 214
				</td>
215 215
				<?php } ?>
216
				<td align="left" width="232">
216
				<td align="left" width="252">
217 217
					<font color="#999999"><?php echo ($page['menu_title']); ?></font>
218 218
				</td>
219 219
				<td width="20">
......
236 236
						</a>
237 237
					<?php } ?>
238 238
				</td>
239
				
240
				<!-- 'MANAGE SECTIONS' BUTTON -->
239
				<!-- MANAGE SECTIONS AND DATES BUTTONS -->
241 240
				<td width="20">
242
					<?php
243
					// Work-out if we should show the "manage sections" link
244
					$query_sections = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '" . $page['page_id'] . "' AND module = 'menu_link'");
245
					if(($query_sections->numRows() == 0) && (MANAGE_SECTIONS == 'enabled')) {
246
					?>
247
						<a href="<?php echo ADMIN_URL; ?>/pages/sections.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $HEADING['MANAGE_SECTIONS']; ?>">
248
						<img src="<?php echo ADMIN_URL; ?>/images/sections_16.png" border="0" alt="<?php echo $HEADING['MANAGE_SECTIONS']; ?>" />	
249
						</a>
250
					<?php } ?>
251
				</td>
252
				
253
				<!-- 'MANAGE DATES' BUTTON -->
254
				<td width="20">
255 241
				<?php
256 242
				// Work-out if we should show the "manage dates" link
257 243
				if(MANAGE_SECTIONS == 'enabled' && $admin->get_permission('pages_modify')==true && $can_modify==true) {
......
271 257
							<img src="<?php echo ADMIN_URL."/images/$file"; ?>" border="0" alt="<?php echo $HEADING['MANAGE_SECTIONS']; ?>" />	
272 258
							</a>
273 259
						<?php } else { ?>
274
							<img src="<?php echo ADMIN_URL; ?>/images/noclock_16.png" border="0" alt="<?php echo $HEADING['MANAGE_SECTIONS']; ?>" />	
260
							<a href="<?php echo ADMIN_URL; ?>/pages/sections.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $HEADING['MANAGE_SECTIONS']; ?>">
261
							<img src="<?php echo ADMIN_URL; ?>/images/noclock_16.png" border="0" alt="<?php echo $HEADING['MANAGE_SECTIONS']; ?>" /></a>	
275 262
						<?php } ?>
276 263
					<?php } ?>
277 264
				<?php } ?>
......
347 334
	</tr>
348 335
	</table>
349 336
	<div class="pages_list">
350
	<table cellpadding="1" cellspacing="0" width="720" border="0">
337
	<table cellpadding="0" cellspacing="0" width="720px" border="0">
351 338
	<tr>
352
		<td width="20">
339
		<td width="20px">
353 340
			&nbsp;
354 341
		</td>
355
		<td>
342
		<td width="314px">
356 343
			<?php echo $TEXT['VISIBILITY'] .' / ' .$TEXT['PAGE_TITLE']; ?>:
357 344
		</td>
358
		<td width="130" align="left">
345
		<td width="256px" align="left">
359 346
			<?php echo $TEXT['MENU_TITLE']; ?>:
360 347
		</td>
361
		<td width="255" align="center">
348
		<td width="130px" align="center">
362 349
			<?php echo $TEXT['ACTIONS']; ?>:
363 350
		</td>		
364 351
	</tr>

Also available in: Unified diff