Home
last modified time | relevance | path

Searched full:zip (Results 1 – 25 of 577) sorted by relevance

12345678910>>...24

/plugin/siteexport/inc/
Dfilewriter.php31 * This also puts the file into the zip package
33 public function __moveDataToZip($DATA, $FILENAME = 'toc.xml', $ZIP = null, $JUSTWRITE = false) { argument
43 // Add to zip
45 $status = $this->__writeFileToZip($tmpFile, $FILENAME, $ZIP);
47 $status = $this->__addFileToZip($tmpFile, $FILENAME, $ZIP);
58 * Adds a file to the zip file
59 * @param $FILE String file-name of the zip
61 * @param $ZIP String name of the zip file to which we add
63 public function __addFileToZip($FILE, $NAME, $ZIP = null) { argument
66 …$this->functions->debug->message("Weird, the NAME for the ZIP started with a '/'. This may result …
[all …]
/plugin/latexport/helpers/
Darchive_helper_zip.php4 /** The temporary file name of the Zip archive. */
7 /** Holds the Zip archive builder. */
8 private $zip; variable in ArchiveHelperZip
10 /** Name of the file currently being appended into the ZIP archive. */
13 /** Content of the file currently being appended into the ZIP archive. */
20 return "application/zip";
24 * Initializes the temporary ZIP archive.
27 $this->temporaryZipFilename = tempnam(sys_get_temp_dir(), "zip");
28 $this->zip = new ZipArchive();
29 $this->zip->open($this->temporaryZipFilename, ZipArchive::OVERWRITE);
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dmodule.archive.zip.php11 // module.archive.zip.php //
29 $info['fileformat'] = 'zip';
30 $info['zip']['encoding'] = 'ISO-8859-1';
31 $info['zip']['files'] = array();
33 $info['zip']['compressed_size'] = 0;
34 $info['zip']['uncompressed_size'] = 0;
35 $info['zip']['entries_count'] = 0;
52 $info['zip']['end_central_directory'] = $this->ZIPparseEndOfCentralDirectory();
54 $this->fseek($info['zip']['end_central_directory']['directory_offset']);
55 $info['zip']['entries_count'] = 0;
[all …]
/plugin/openid/
DMakefile2 # - all: export the files from Git, produce a ZIP and a TAR archive.
4 # - zip: produce a ZIP archive.
10 ZIP = zip macro
19 ZIP_NAME = $(ARCHIVE_NAME)-$(VERSION).zip
22 all: export zip tar
36 zip: target
37 @echo "Creating the ZIP archive..."
38 @(cd $(BUILD) && $(ZIP) -rq $(ZIP_NAME) $(NAME))
39 @echo "ZIP archive done."
/plugin/gtime/
Drenderer.php46 * This function exports page and timestamp and makes it available as ZIP download.
76 $filename = "GuardTime_Timestamp_Attic_{$filerev}.zip";
79 $zip = new ZipArchive();
81 $result = $zip->open($filetemp, ZipArchive::CREATE);
84 die("Unable to create zip file: {$filetemp}, error code: {$result}");
87 $zip->addFile($pagefile,$filerev);
88 $zip->addFile($pagefile.".gtts",$filerev.".gtts");
89 $zip->addfromString("README.txt",$GT_README);
90 $zip->close();
95 die("Unable to open ZIP file: {$filetemp}");
[all …]
/plugin/distribute/
Daction.php42 $zip = new ZipLib;
44 elseif(file_exists(DOKU_PLUGIN.'plugin/inc/zip.lib.php')){//older dokuwiki version
45 require_once DOKU_PLUGIN.'plugin/inc/zip.lib.php';
46 $zip = new zip;
49 …ure the dependency Plugin Manager plugin is installed, and that plugin/inc/zip.lib.php or ZipLib.c…
56 $cachefile = "$conf[cachedir]/distribute/$p.zip";
58 $zip->add_dir($p);
60 $zip->add_file(file_get_contents(DOKU_PLUGIN.$p.'/'.$f),"$p/$f");
62 echo($zip->get_file());
64 file_put_contents($cachefile, $zip->get_file());
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
Ddemo.zip.php8 // /demo/demo.zip.php - part of getID3() //
9 // Sample script how to use getID3() to decompress zip files //
20 } elseif (include_once('module.archive.zip.php')) {
28 if (($getid3->info['fileformat'] == 'zip') && !empty($getid3->info['zip']['files'])) {
29 if (!empty($getid3->info['zip']['central_directory'])) {
30 $ZipDirectoryToWalk = $getid3->info['zip']['central_directory'];
31 } elseif (!empty($getid3->info['zip']['entries'])) {
32 $ZipDirectoryToWalk = $getid3->info['zip']['entries'];
34 $errors[] = 'failed to parse ZIP attachment "'.$filename.'" (no central directory)<br>';
76 …$errors[] = 'unsupported ZIP compression method ('.$LocalFileHeader['raw']['compression_method'].'…
[all …]
/plugin/odp/
DZipLib.class.php20 $zip = @fopen($zip_name, 'rb');
21 if(!$zip) return(0);
22 $centd = $this->ReadCentralDir($zip,$zip_name);
24 @rewind($zip);
25 @fseek($zip, $centd['offset']);
29 $header = $this->ReadCentralFileHeaders($zip);
81 * Returns the Zip file
172 * Extract a zip file $zn to the $to directory
177 $ok = 0; $zip = @fopen($zn,'rb');
178 if(!$zip) return(-1);
[all …]
/plugin/odtplus2dw/
DMakefile5 zip: target
6 cd .. ; zip -r /tmp/monextension.zip $(DIR) --exclude $(DIR)/.git/\*
7 @echo ZIP dans /tmp/monextension.zip
/plugin/tindexmenu/inc/
Drepo.class.php17 $zipfile=$repodir."/$file.zip";
23 //no cached zip or older than 1 day
25 //create the zip
28 $zip=new PclZip($zipfile);
29 $status=$zip->add($localtheme,PCLZIP_OPT_REMOVE_ALL_PATH);
39 header('Content-Type: application/zip');
42 //send zip
/plugin/tuxquote/
DREADME21 … enter "https://github.com/eldougo/dokuwiki_plugin_tuxquote/archive/master.zip" in the plugin URL …
25 - Download the zip file from https://github.com/eldougo/dokuwiki_plugin_tuxquote/archive/master.zip
28 $ wget https://github.com/eldougo/dokuwiki_plugin_tuxquote/archive/master.zip
29 $ sudo mv master.zip <wiki_root>/lib/plugins/
30 $ sudo unzip master.zip
32 $ sudo rm master.zip
/plugin/archivegenerator/
Dadmin.php3 use splitbrain\PHPArchive\Zip; alias
102 $persistentArchiveFN = $conf['tmpdir'] . '/archivegenerator/archive.zip';
104 $persistentArchiveFN = $conf['tmpdir'] . '/archivegenerator/archive-update.zip';
106 header('Content-Type: application/zip');
107 header('Content-Disposition: attachment; filename="archive.zip"');
122 $tmpArchiveFN = $conf['tmpdir'] . '/archivegenerator/archive_new.zip';
150 $persistentArchiveFN = $conf['tmpdir'] . '/archivegenerator/archive.zip';
170 $tmpArchiveFN = $conf['tmpdir'] . '/archivegenerator/archive-update_new.zip';
196 $persistentArchiveFN = $conf['tmpdir'] . '/archivegenerator/archive-update.zip';
255 * @param Zip $archive
[all …]
/plugin/indexmenu/inc/
Drepo.class.php22 $zipfile = $repodir . "/$file.zip";
28 //no cached zip or older than 1 day
30 //create the zip
33 $zip = new PclZip($zipfile);
34 $status = $zip->add($localtheme, PCLZIP_OPT_REMOVE_ALL_PATH);
44 header('Content-Type: application/zip');
47 //send zip
/plugin/dev/www/
DPluginWizard.php8 use splitbrain\PHPArchive\Zip; alias
48 $zip = new Zip();
49 $zip->setCompression(9);
50 $zip->create();
52 $zip->addData($base . '/' . $file, $content);
55 return $zip->getArchive();
/plugin/zwidoku/
H A DgetEncyc.php151 $zip = new ZipArchive; variable
152 $isZipOpen=$zip->open($filename, ZipArchive::CREATE);
156 // Add files to the zip file
157 //$zip->addFile('test.txt');
158 //$zip->addFile('test.pdf');
159 // Add random.txt file to zip and rename it to newfile.txt
160 //$zip->addFile('random.txt', 'newfile.txt');
161 // Add a file new.txt file to zip using the text specified
162 $zip->addFromString('article.dokuwiki', $articleWiki);
174 $zip->addFile($xfile, $destination);
[all …]
/plugin/advanced/admin/
Dimport.php107 $Zip = new \splitbrain\PHPArchive\Zip;
108 $Zip->open($archive_file);
110 if (!$Zip->extract($extract_dir)) {
180 …="file" name="file" required="required" accept=".zip,application/zip,application/x-zip,application…
218 $Zip = new \splitbrain\PHPArchive\Zip;
219 $Zip->open($file_path);
231 foreach ($Zip->contents() as $fileinfo) {
/plugin/zip/
Dadmin.php9 define('CUSTOM_PEAR', DOKU_PLUGIN.'zip/pear/');
12 define('TMP_DIR', DOKU_PLUGIN.'zip/tmp/');
45 'name' => 'admin plugin zip',
46 …'desc' => 'A plugin to create a zip archive of wiki data and to restore the wiki from a previous b…
57 $this->msg = "It Appears You Have Not Installed the PEAR Libraries Needed For doku-zip";
76 $zip_name = "{$conf['title']}-$stamp.zip";
90 # This prevents the problem with double sending zip
99 if (preg_match("@.zip$@", $file) && $zip_name != $file) {
120 # This prevents the problem with double sending zip
141 if (preg_match("@.zip$@", $file) && $zip_name != $file) {
[all …]
/plugin/dokutexit/
DMakefile26 all : tgz zip
28 zip: clean $(FILES) $(DIRS) target
29 @echo "Building zip file..."
32 @zip -rq $(NAME).zip --exclude \*~ -- $(NAME)
41 @rm -rf $(NAME).tgz $(NAME).zip $(NAME)
/plugin/tline/
DREADME.txt20 1. Unzip either timeline_source.zip or timeline_libraries.zip into
23 timeline_source.zip includes complete source and example files. Use your
27 timeline_libraries.zip is the minimum install of the bundled js libraries,
31 Jetty (use the timeline_source.zip file)
33 b) unzip timeline_source.zip to an install directory
/plugin/pagecss/.github/workflows/
H A Dmain.yml1 name: Create DokuWiki Plugin ZIP and Changelog on Tag
30 - name: Create plugin zip
33 zip -r build/pagecss.zip \
49 build/pagecss.zip
/plugin/pgn4web/pgn4web/
Drelease-pgn4web.sh14 pgn4webFilename="pgn4web-full-$pgn4webVer.zip"
16 pgn4webFilename="pgn4web-$pgn4webVer.zip"
33 zip -9r "$pgn4webFilename" "$pgn4webDirectory" -x *.svn/* -x "$pgn4webDirectory"/jsl.conf -x "$pgn4…
36zip -9r "$pgn4webFilename" "$pgn4webDirectory"/live-games-app* "$pgn4webDirectory"/live/* -x *.svn…
38zip -9r "$pgn4webFilename" "$pgn4webDirectory"/live/*.html "$pgn4webDirectory"/live/*.pgn "$pgn4we…
/plugin/toolbox/
Dextension.php59 // create zip file
61 $filename = __DIR__ . '/extension.zip';
62 $zip = new ZipArchive(); variable
63 if($zip->open($filename, ZipArchive::CREATE) !== true) {
69 $zip->addFile($file, basename($file));
72 $zip->close();
/plugin/epub/scripts/
Depub_utils.php293 static $zip;
295 if($path && !$zip) {
296 $zip = new ZipArchive;
297 $zip->open($path);
300 return $zip;
304 static $zip;
307 if(!$zip) {
308 $zip = epub_zip_handle();
309 if($zip) $oebps = epub_get_oebps();
311 if($zip) {
[all …]
/plugin/mediathumbnails/
H A Ddokuwiki_plugin_page.wiki15 downloadurl: https://github.com/ternite/dokuwiki-plugin-mediathumbnails/archive/v0.94.zip
38 * [[https://www.php.net/manual/de/book.zip.php|zip]] PHP extension
39 * libzip-dev (needed by zip) - your installation might already have this installed, or not.
49 …php.net/downloads/pecl/deps/ImageMagick-7.1.0-18-vc15-x64.zip|ImageMagick-7.1.0-18-vc15-x64.zip]])…
50 * Extract the ZIP's content to ''C:\Program Files\ImageMagick-7.1.0-18-vc15-x64''.
53 …eleases/imagick/3.7.0/php_imagick-3.7.0-7.4-ts-vc15-x64.zip|php_imagick-3.7.0-7.4-ts-vc15-x64.zip]…
54 …* Extract all ''CORE_RL_*'', ''FILTER_*'' and ''IM_MOD_RL_*'' from the ZIP's content to ''C:\Progr…
71 && pecl install zip \
72 && docker-php-ext-enable zip
122 … files (ODT, DOCX, etc.), the plugin essentially assumes these files to be ZIP files containing a …
[all …]
/plugin/combo/vendor/php-webdriver/webdriver/lib/Firefox/
H A DFirefoxProfile.php151 …// Intentionally do not use `tempnam()`, as it creates empty file which zip extension may not hand…
154 $zip = new ZipArchive();
155 $zip->open($temp_zip, ZipArchive::CREATE);
172 $zip->addFile($name, $path);
174 $zip->close();
277 $zip = new ZipArchive();
279 if ($zip->open($xpi)) {
280 $zip->extractTo($target_dir);
281 $zip->close();

12345678910>>...24