Revision 953
Added by Matthias over 15 years ago
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; ?>§ion_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; ?>§ion_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; ?>§ion_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; ?>§ion_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; ?>§ion_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; ?>§ion_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; ?>§ion_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; ?>§ion_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
fixed wrong path to images in news and form modul