|
@@ -180,33 +180,33 @@ if ($user->isAuthenticated()) {
|
180
|
180
|
switch ($_GET["new"]) {
|
181
|
181
|
case "post":
|
182
|
182
|
$form->set('editTitle',$title);
|
183
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_post.htm'));
|
|
183
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_post.htm'));
|
184
|
184
|
break;
|
185
|
185
|
case "photo":
|
186
|
186
|
$url = str_replace("../", $conf->urlGelato."/", $url);
|
187
|
187
|
$form->set('editUrl',$url);
|
188
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_photo.htm'));
|
|
188
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_photo.htm'));
|
189
|
189
|
break;
|
190
|
190
|
case "quote":
|
191
|
191
|
$form->set('editTitle',$title);
|
192
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_quote.htm'));
|
|
192
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_quote.htm'));
|
193
|
193
|
break;
|
194
|
194
|
case "url":
|
195
|
195
|
$form->set('editTitle',$title);
|
196
|
196
|
$form->set('editUrl',$url);
|
197
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_link.htm'));
|
|
197
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_link.htm'));
|
198
|
198
|
break;
|
199
|
199
|
case "conversation":
|
200
|
200
|
$form->set('editTitle',$title);
|
201
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_conversation.htm'));
|
|
201
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_conversation.htm'));
|
202
|
202
|
break;
|
203
|
203
|
case "video":
|
204
|
204
|
$form->set('editUrl',$url);
|
205
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_video.htm'));
|
|
205
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_video.htm'));
|
206
|
206
|
break;
|
207
|
207
|
case "mp3":
|
208
|
208
|
$form->set('editUrl',$url);
|
209
|
|
- $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/template_add_mp3.htm'));
|
|
209
|
+ $theme->set('form',$form->fetch(Absolute_Path.'admin/themes/admin/parts/template_add_mp3.htm'));
|
210
|
210
|
break;
|
211
|
211
|
}
|
212
|
212
|
|