Project

General

Profile

« Previous | Next » 

Revision 953

Added by Matthias over 15 years ago

fixed wrong path to images in news and form modul

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
25-Feb-2009 Matthias Gallas
15
#	fixed wrong path to images in news and form modul
15 16
#	fixed manage section is showed twice (ticket #694)
16 17
-	removed unneeded icons from wb_theme
17 18
-	removed unneeded stylesheet.css from account dir
trunk/wb/modules/form/modify.php
64 64
		<tr class="row_<?php echo $row; ?>" height="20">
65 65
			<td width="20" style="padding-left: 5px;">
66 66
				<a href="<?php echo WB_URL; ?>/modules/form/modify_field.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
67
					<img src="<?php echo ADMIN_URL; ?>/images/modify_16.png" border="0" alt="^" />
67
					<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="^" />
68 68
				</a>
69 69
			</td>		
70 70
			<td>
......
110 110
			<td width="20">
111 111
			<?php if($field['position'] != 1) { ?>
112 112
				<a href="<?php echo WB_URL; ?>/modules/form/move_up.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
113
					<img src="<?php echo ADMIN_URL; ?>/images/up_16.png" border="0" alt="^" />
113
					<img src="<?php echo THEME_URL; ?>/images/up_16.png" border="0" alt="^" />
114 114
				</a>
115 115
			<?php } ?>
116 116
			</td>
117 117
			<td width="20">
118 118
			<?php if($field['position'] != $num_fields) { ?>
119 119
				<a href="<?php echo WB_URL; ?>/modules/form/move_down.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
120
					<img src="<?php echo ADMIN_URL; ?>/images/down_16.png" border="0" alt="v" />
120
					<img src="<?php echo THEME_URL; ?>/images/down_16.png" border="0" alt="v" />
121 121
				</a>
122 122
			<?php } ?>
123 123
			</td>
124 124
			<td width="20">
125 125
				<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_field.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&field_id=<?php echo $field['field_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
126
					<img src="<?php echo ADMIN_URL; ?>/images/delete_16.png" border="0" alt="X" />
126
					<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" />
127 127
				</a>
128 128
			</td>
129 129
		</tr>
......
163 163
		<tr class="row_<?php echo $row; ?>" height="20">
164 164
			<td width="20" style="padding-left: 5px;">
165 165
				<a href="<?php echo WB_URL; ?>/modules/form/view_submission.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission['submission_id']; ?>" title="<?php echo $TEXT['OPEN']; ?>">
166
					<img src="<?php echo ADMIN_URL; ?>/images/folder_16.png" alt="<?php echo $TEXT['OPEN']; ?>" border="0" />
166
					<img src="<?php echo THEME_URL; ?>/images/folder_16.png" alt="<?php echo $TEXT['OPEN']; ?>" border="0" />
167 167
				</a>
168 168
			</td>
169 169
			<td width="237"><?php echo $TEXT['SUBMISSION_ID'].': '.$submission['submission_id']; ?></td>
170 170
			<td><?php echo $TEXT['SUBMITTED'].': '.gmdate(TIME_FORMAT.', '.DATE_FORMAT, $submission['submitted_when']+TIMEZONE); ?></td>
171 171
			<td width="20">
172 172
				<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/form/delete_submission.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&submission_id=<?php echo $submission['submission_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
173
					<img src="<?php echo ADMIN_URL; ?>/images/delete_16.png" border="0" alt="X" />
173
					<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" />
174 174
				</a>
175 175
			</td>
176 176
		</tr>
trunk/wb/modules/news/modify_post.php
116 116
	<td><?php echo $TEXT['PUBL_START_DATE']; ?>:</td>
117 117
	<td>
118 118
	<input type="text" id="publishdate" name="publishdate" value="<?php if($fetch_content['published_when']==0) print date($jscal_format, strtotime((date('Y-m-d H:i')))); else print date($jscal_format, $fetch_content['published_when']);?>" style="width: 120px;" />
119
	<img src="<?php echo ADMIN_URL ?>/images/clock_16.png" id="publishdate_trigger" style="cursor: pointer;" title="<?php echo $TEXT['CALENDAR']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" />
120
	<img src="<?php echo ADMIN_URL ?>/images/clock_del_16.png" style="cursor: pointer;" title="<?php echo $TEXT['DELETE_DATE']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" onclick="document.modify.publishdate.value=''" />
119
	<img src="<?php echo THEME_URL ?>/images/clock_16.png" id="publishdate_trigger" style="cursor: pointer;" title="<?php echo $TEXT['CALENDAR']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" />
120
	<img src="<?php echo THEME_URL ?>/images/clock_del_16.png" style="cursor: pointer;" title="<?php echo $TEXT['DELETE_DATE']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" onclick="document.modify.publishdate.value=''" />
121 121
	</td>
122 122
</tr>
123 123
<tr>
124 124
	<td><?php echo $TEXT['PUBL_END_DATE']; ?>:</td>
125 125
	<td>
126 126
	<input type="text" id="enddate" name="enddate" value="<?php if($fetch_content['published_until']==0) print ""; else print date($jscal_format, $fetch_content['published_until'])?>" style="width: 120px;" />
127
	<img src="<?php echo ADMIN_URL ?>/images/clock_16.png" id="enddate_trigger" style="cursor: pointer;" title="<?php echo $TEXT['CALENDAR']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" />
128
	<img src="<?php echo ADMIN_URL ?>/images/clock_del_16.png" style="cursor: pointer;" title="<?php echo $TEXT['DELETE_DATE']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" onclick="document.modify.enddate.value=''" />
127
	<img src="<?php echo THEME_URL ?>/images/clock_16.png" id="enddate_trigger" style="cursor: pointer;" title="<?php echo $TEXT['CALENDAR']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" />
128
	<img src="<?php echo THEME_URL ?>/images/clock_del_16.png" style="cursor: pointer;" title="<?php echo $TEXT['DELETE_DATE']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" onclick="document.modify.enddate.value=''" />
129 129
	</td>
130 130
</tr>
131 131
</table>
......
215 215
		<tr class="row_<?php echo $row; ?>" height="20">
216 216
			<td width="20" style="padding-left: 5px;">
217 217
				<a href="<?php echo WB_URL; ?>/modules/news/modify_comment.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&comment_id=<?php echo $comment['comment_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
218
					<img src="<?php echo ADMIN_URL; ?>/images/modify_16.png" border="0" alt="^" />
218
					<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="^" />
219 219
				</a>
220 220
			</td>	
221 221
			<td>
......
225 225
			</td>
226 226
			<td width="20">
227 227
				<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_comment.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post_id; ?>&comment_id=<?php echo $comment['comment_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
228
					<img src="<?php echo ADMIN_URL; ?>/images/delete_16.png" border="0" alt="X" />
228
					<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" />
229 229
				</a>
230 230
			</td>
231 231
		</tr>
trunk/wb/modules/news/modify.php
62 62
		<tr class="row_<?php echo $row; ?>" height="20">
63 63
			<td width="20" style="padding-left: 5px;">
64 64
				<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
65
					<img src="<?php echo ADMIN_URL; ?>/images/modify_16.png" border="0" alt="Modify - " />
65
					<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="Modify - " />
66 66
				</a>
67 67
			</td>
68 68
			<td>
......
99 99
			$t = time();
100 100
			$icon = '';
101 101
			if($start<=$t && $end==0)
102
				$icon=ADMIN_URL.'/images/noclock_16.png';
102
				$icon=THEME_URL.'/images/noclock_16.png';
103 103
			elseif(($start<=$t || $start==0) && $end>=$t)
104
				$icon=ADMIN_URL.'/images/clock_16.png';
104
				$icon=THEME_URL.'/images/clock_16.png';
105 105
			else
106
				$icon=ADMIN_URL.'/images/clock_red_16.png';
106
				$icon=THEME_URL.'/images/clock_red_16.png';
107 107
			?>
108 108
			<a href="<?php echo WB_URL; ?>/modules/news/modify_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
109 109
				<img src="<?php echo $icon; ?>" border="0" alt="" />
......
111 111
			<td width="20">
112 112
			<?php if($post['position'] != $num_posts) { ?>
113 113
				<a href="<?php echo WB_URL; ?>/modules/news/move_down.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
114
					<img src="<?php echo ADMIN_URL; ?>/images/up_16.png" border="0" alt="^" />
114
					<img src="<?php echo THEME_URL; ?>/images/up_16.png" border="0" alt="^" />
115 115
				</a>
116 116
			<?php } ?>
117 117
			</td>
118 118
			<td width="20">
119 119
			<?php if($post['position'] != 1) { ?>
120 120
				<a href="<?php echo WB_URL; ?>/modules/news/move_up.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
121
					<img src="<?php echo ADMIN_URL; ?>/images/down_16.png" border="0" alt="v" />
121
					<img src="<?php echo THEME_URL; ?>/images/down_16.png" border="0" alt="v" />
122 122
				</a>
123 123
			<?php } ?>
124 124
			</td>
125 125
			<td width="20">
126 126
				<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_post.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&post_id=<?php echo $post['post_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
127
					<img src="<?php echo ADMIN_URL; ?>/images/delete_16.png" border="0" alt="X" />
127
					<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" />
128 128
				</a>
129 129
			</td>
130 130
		</tr>
......
162 162
		<tr class="row_<?php echo $row; ?>" height="20">
163 163
			<td width="20" style="padding-left: 5px;">
164 164
				<a href="<?php echo WB_URL; ?>/modules/news/modify_group.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MODIFY']; ?>">
165
					<img src="<?php echo ADMIN_URL; ?>/images/modify_16.png" border="0" alt="Modify - " />
165
					<img src="<?php echo THEME_URL; ?>/images/modify_16.png" border="0" alt="Modify - " />
166 166
				</a>
167 167
			</td>		
168 168
			<td>
......
176 176
			<td width="20">
177 177
			<?php if($group['position'] != 1) { ?>
178 178
				<a href="<?php echo WB_URL; ?>/modules/news/move_up.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MOVE_UP']; ?>">
179
					<img src="<?php echo ADMIN_URL; ?>/images/up_16.png" border="0" alt="^" />
179
					<img src="<?php echo THEME_URL; ?>/images/up_16.png" border="0" alt="^" />
180 180
				</a>
181 181
			<?php } ?>
182 182
			</td>
183 183
			<td width="20">
184 184
			<?php if($group['position'] != $num_groups) { ?>
185 185
				<a href="<?php echo WB_URL; ?>/modules/news/move_down.php?page_id=<?php echo $page_id; ?>&section_id=<?php echo $section_id; ?>&group_id=<?php echo $group['group_id']; ?>" title="<?php echo $TEXT['MOVE_DOWN']; ?>">
186
					<img src="<?php echo ADMIN_URL; ?>/images/down_16.png" border="0" alt="v" />
186
					<img src="<?php echo THEME_URL; ?>/images/down_16.png" border="0" alt="v" />
187 187
				</a>
188 188
			<?php } ?>
189 189
			</td>
190 190
			<td width="20">
191 191
				<a href="javascript: confirm_link('<?php echo $TEXT['ARE_YOU_SURE']; ?>', '<?php echo WB_URL; ?>/modules/news/delete_group.php?page_id=<?php echo $page_id; ?>&group_id=<?php echo $group['group_id']; ?>');" title="<?php echo $TEXT['DELETE']; ?>">
192
					<img src="<?php echo ADMIN_URL; ?>/images/delete_16.png" border="0" alt="X" />
192
					<img src="<?php echo THEME_URL; ?>/images/delete_16.png" border="0" alt="X" />
193 193
				</a>
194 194
			</td>
195 195
		</tr>

Also available in: Unified diff