Changeset 19 for trunk/admin
- Timestamp:
- 12/29/05 18:05:37 (3 years ago)
- Files:
-
- 1 modified
-
trunk/admin/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/index.php
r16 r19 163 163 function edit_post($id) { 164 164 global $db; 165 include("../fckeditor/fckeditor.php") ;166 165 if ($id==0) { 167 166 $post["id"] = 0; … … 223 222 <span class="log_contents"> 224 223 <? 225 /* fckeditor stuff */226 /*227 $sBasePath = $_SERVER["PHP_SELF"] ;228 $sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "admin" ) )."fckeditor/" ;229 230 $oFCKeditor = new FCKeditor("post[FCKeditor]") ;231 $oFCKeditor->BasePath = $sBasePath ;232 $oFCKeditor->Value = $post["body"];233 $oFCKeditor->Height = "400";234 $oFCKeditor->Config["CustomConfigurationsPath"] = substr($_SERVER["PHP_SELF"], 0, strpos($_SERVER["PHP_SELF"], "admin"))."common/fckeditor_conf.js";235 $oFCKeditor->ToolbarSet = "MvBlog";236 $oFCKeditor->Create();237 */238 239 224 /* xinha stuff */ 240 225 ?> … … 436 421 function edit_cat($id) { 437 422 global $db; 438 include("../fckeditor/fckeditor.php") ;439 423 if ($id==0) { 440 424 $cat["id"] = 0;
