Lines Matching refs:temp_dir
417 $temp_dir = $conf['tmpdir']; // version > 20070626
419 $temp_dir = $conf['savedir'].'/cache/tmp'; // version <= 20070626
421 $this->temp_dir = $temp_dir."/odp/".str_replace(':','-',$ID);
422 if (is_dir($this->temp_dir)) { $this->io_rm_rf($this->temp_dir); }
423 io_mkdir_p($this->temp_dir);
427 $this->ZIP->Extract($template_path, $this->temp_dir);
436 $old_content = io_readFile($this->temp_dir.'/content.xml');
439 $this->doc, $this->temp_dir.'/content.xml', true);
441 …ile('</office:presentation>', $this->doc.'</office:presentation>', $this->temp_dir.'/content.xml');
450 '', $this->temp_dir.'/content.xml', true);
455 …InFile('/<office:text([^>]*)>/U', '<office:text\1>'.$userfields, $this->temp_dir.'/content.xml', T…
457 …pReplaceInFile('</text:user-field-decls>', substr($userfields,23), $this->temp_dir.'/content.xml');
461 …placeInFile('</office:automatic-styles>', substr($autostyles, 25), $this->temp_dir.'/content.xml');
462 …eplaceInFile('</office:automatic-styles>', substr($autostyles, 25), $this->temp_dir.'/styles.xml');
463 …eplaceInFile('</office:styles>', $missingstyles.'</office:styles>', $this->temp_dir.'/styles.xml');
464 …ffice:font-face-decls>', $missingfonts.'</office:font-face-decls>', $this->temp_dir.'/styles.xml');
467 $this->ZIP->Compress(null, $this->temp_dir, null);
468 $this->io_rm_rf($this->temp_dir);
530 $existing_styles = io_readFile($this->temp_dir.'/styles.xml');
562 $existing_styles = io_readFile($this->temp_dir.'/styles.xml');