Project

General

Profile

« Previous | Next » 

Revision 1035

Added by Matthias over 15 years ago

- Added new functions to admin dir (Thanks Argos and Ruud)

- Updated install and upgrade-script

- Adapted wb_theme and classic_theme to changed admin dir files

View differences:

index.php
104 104
					?>
105 105
				</td>
106 106
				<?php if($admin->get_permission('pages_modify') == true AND $can_modify == true) { ?>
107
				<td>
107
				<td class="list_page_title">
108 108
					<a href="<?php echo ADMIN_URL; ?>/pages/modify.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
109 109
						<?php if($page['visibility'] == 'public') { ?>
110 110
							<img src="<?php echo THEME_URL; ?>/images/visible_16.png" alt="<?php echo $TEXT['VISIBILITY']; ?>: <?php echo $TEXT['PUBLIC']; ?>" class="page_list_rights" />
......
123 123
					</a>
124 124
				</td>
125 125
				<?php } else { ?>
126
				<td>
126
				<td class="list_page_title">
127 127
					<?php if($page['visibility'] == 'public') { ?>
128 128
						<img src="<?php echo THEME_URL; ?>/images/visible_16.png" alt="<?php echo $TEXT['VISIBILITY']; ?>: <?php echo $TEXT['PUBLIC']; ?>" class="page_list_rights" />
129 129
					<?php } elseif($page['visibility'] == 'private') { ?>
......
140 140
					echo ($page['page_title']); ?>
141 141
				</td>
142 142
				<?php } ?>
143
				<td align="left" width="252">
143
				<td class="list_menu_title">
144 144
					<font color="#999999"><?php echo ($page['menu_title']); ?></font>
145 145
				</td>
146
				<td width="20">
146
				<td class="list_actions">
147 147
					<?php if($page['visibility'] != 'deleted' AND $page['visibility'] != 'none') { ?>
148 148
					<a href="<?php echo $admin->page_link($page['link']); ?>" target="_blank" title="<?php echo $TEXT['VIEW']; ?>">
149 149
						<img src="<?php echo THEME_URL; ?>/images/view_16.png" border="0" alt="<?php echo $TEXT['VIEW']; ?>" />
150 150
					</a>
151 151
					<?php } ?>
152 152
				</td>
153
				<td width="20">
153
				<td class="list_actions">
154 154
					<?php if($page['visibility'] != 'deleted') { ?>
155 155
						<?php if($admin->get_permission('pages_settings') == true AND $can_modify == true) { ?>
156 156
						<a href="<?php echo ADMIN_URL; ?>/pages/settings.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $TEXT['SETTINGS']; ?>">
......
164 164
					<?php } ?>
165 165
				</td>
166 166
				<!-- MANAGE SECTIONS AND DATES BUTTONS -->
167
				<td width="20">
167
				<td class="list_actions">
168 168
				<?php
169 169
				// Work-out if we should show the "manage dates" link
170 170
				if(MANAGE_SECTIONS == 'enabled' && $admin->get_permission('pages_modify')==true && $can_modify==true) {
......
190 190
					<?php } ?>
191 191
				<?php } ?>
192 192
				</td>
193
				<td width="20">
193
				<td class="list_actions">
194 194
				<?php if($page['position'] != 1) { ?>
195 195
					<?php if($page['visibility'] != 'deleted') { ?>
196 196
						<?php if($admin->get_permission('pages_settings') == true AND $can_modify == true) { ?>
......
201 201
					<?php } ?>
202 202
				<?php } ?>
203 203
				</td>
204
				<td width="20">
204
				<td class="list_actions">
205 205
				<?php if($page['position'] != $num_pages) { ?>
206 206
					<?php if($page['visibility'] != 'deleted') { ?>
207 207
						<?php if($admin->get_permission('pages_settings') == true AND $can_modify == true) { ?>
......
212 212
					<?php } ?>
213 213
				<?php } ?>
214 214
				</td>
215
				<td width="20">
215
				<td class="list_actions">
216 216
					<?php if($admin->get_permission('pages_delete') == true AND $can_modify == true) { ?>
217 217
					<a href="javascript: confirm_link('<?php echo $MESSAGE['PAGES']['DELETE_CONFIRM']; ?>?', '<?php echo ADMIN_URL; ?>/pages/delete.php?page_id=<?php echo $page['page_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
218 218
						<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" />
......
268 268
		<td width="20px">
269 269
			&nbsp;
270 270
		</td>
271
		<td width="314px">
272
			<?php echo $TEXT['VISIBILITY'] .' / ' .$TEXT['PAGE_TITLE']; ?>:
271
		<td class="header_list_page_title">
272
			<?php echo $TEXT['PAGE_TITLE']; ?>:
273 273
		</td>
274
		<td width="256px" align="left">
274
		<td class="header_list_menu_title">
275 275
			<?php echo $TEXT['MENU_TITLE']; ?>:
276 276
		</td>
277
		<td width="130px" align="center">
277
		<td class="header_list_actions">
278 278
			<?php echo $TEXT['ACTIONS']; ?>:
279
		</td>		
279
		</td>
280 280
	</tr>
281 281
	</table>
282 282
	<?php

Also available in: Unified diff