/plugin/templateconfhelper/inc/ |
H A D | confutils.php | 16 * @param string $file the name of the wanted file 19 function getConfigPath($type, $file) { argument 28 if( file_exists( $path.$file ) && !in_array( $path.$file, get_included_files( ))) { 30 return $path.$file;
|
/plugin/templateconfhelper/action/ |
H A D | fetchaction.php | 48 if( !$file = getConfigPath( 'template_dir', $tpl.'/images/'.$MEDIA )) 49 $file = getConfigPath( 'template_dir', $conf['base_tpl'].'/images/'.$MEDIA ); 52 if(!@file_exists( $file )) { 56 $orig = $file; 61 $file = media_crop_image($file,$EXT,$WIDTH,$HEIGHT); 63 $file = media_resize_image($file,$EXT,$WIDTH,$HEIGHT); 70 $data['file'] = $file;
|
H A D | templateaction.php | 152 $file = DOKU_TPLINC.'../'.$tpl.'/conf/default.php'; 154 if (!@file_exists($file)) return false; 156 include($file);
|
/plugin/templateconfhelper/ |
H A D | README | 30 * $_GET[template /^[\w-]*$/ - template dir to search for the file 58 <file php main.php> 61 </file> 72 * getConfigPath( $type, $file ) - find file in cascade_config[$type] 75 …* tpl_include( $file, $t=false ) - use getConfigPath to include file from cascade_config['template…
|
/plugin/bliki/ |
H A D | syntax.php | 161 foreach ($list as $file) { 163 $file = str_replace('\\', '/', $file); 172 $str .= file_get_contents($file); 205 function getTimestampFromFile($file) { argument 213 $parts = explode('/', dirname($file)); 216 $filename = basename($file); 345 while ($file = @readdir($handle)) { 347 if ($file != '.' && $file != '..') { 349 $dirs[] = $file; 353 if (!preg_match($match, $file)) { [all …]
|
/plugin/tindexmenu/inc/ |
H A D | repo.class.php | 9 function send_theme ($file) { argument 13 $file=cleanID($file); 15 if(!$idxm->getConf('be_repo') || empty($file)) return false; 17 $zipfile=$repodir."/$file.zip"; 18 $localtheme=INDEXMENU_IMG_ABSDIR."/$file/";
|
/plugin/tindexmenu/ |
H A D | CREDITS | 28 Skip file option.
|
H A D | COPYING | 289 to attach them to the start of each source file to most effectively 290 convey the exclusion of warranty; and each file should have at least
|
H A D | ajax.php | 73 while (false !== ($file = readdir($handle))) { 74 if ( is_dir (INDEXMENU_IMG_ABSDIR.'/'.$file) 75 && $file != "." 76 && $file != ".." 77 && $file != "repository" 78 && $file != "tmp" 80 $data[]=$file;
|
/plugin/tindexmenu/syntax/ |
H A D | indexmenu.php | 24 function search_callback($func,&$data,$base,$file,$type,$lvl,$opts) { argument 486 function _search_index(&$data,$base,$file,$type,$lvl,$opts){ argument 494 $id = pathID($file); 544 if (substr($file,-4) != '.txt') return false; 585 'file' => $file, 652 while(($file = readdir($dh)) !== false){ 654 if(preg_match('/^[\._]/',$file)) continue; 655 if(is_dir($base.'/'.$dir.'/'.$file)){ 656 $dirs[] = $dir.'/'.$file; 659 $files[] = $dir.'/'.$file; [all …]
|
/plugin/projects/ |
H A D | license | 289 to attach them to the start of each source file to most effectively 290 convey the exclusion of warranty; and each file should have at least
|
H A D | changelog | 4 * Fixed the link on the target file page to download/display the content of the target file. 5 * The default rule for linking to a media file was broken in the previous version. Now fixed. 8 …les are uploaded to the media folder, so they can be retreated as a media file. File information a… 21 * A fix for broken media file links to generated files as caused by 2011-11-10 (Angua RC). 27 …* Feature: now it is possible to specify which syntax to use for highlighting a source file, or a … 28 … management page, the remake and delete buttons acted on the current page, not the file next to it. 31 …* Fixed a bug that caused fatal error when a page does not have a project-file tag but uses other … 33 …* More fix to metadata handling. This should solve the problem that the file and wiki page are out… 39 * Fixed a bug that prevent the display of file with missing dependencies. 48 * The project file pages are not cached. This fixes any caching issue it could have been there. [all …]
|
/plugin/projects/lib/ |
H A D | layout.php | 15 protected $file = NULL; variable in ProjectFileLayout 24 public function __construct($project, $ID, $file) { argument 28 $this->file = $file; 56 $deps = $this->file->dependency(); 87 $type = $this->file->type(); 142 public function __construct($project, $ID, $file) { argument 143 parent::__construct($project, $ID, $file); 145 $this->display = $file->attribute('display'); 189 public function __construct($project, $name, $file) { argument 190 parent::__construct($project, $name, $file); [all …]
|
H A D | maker.php | 128 foreach ($files as $name => $file) 129 $this->files[$name] = &$file; 134 if (!$file->makable()) { 140 $file = $default; 141 $this->files[$name] = $file; 216 $file = $this->files[$name]; 217 if ($file->is_target()) 240 $file = $this->files[$name]; 242 $deps = $file->dependency(); 256 if (!$file->is_target()) { [all …]
|
H A D | plugins.php | 11 protected function dependency($project, $file) { return $file->dependency(); } argument 16 public function handle($project, $file) { argument 17 $deps = $this->dependency($project, $file); 18 $recipe = $this->recipe($project, $file); 31 public function handle($project, $file) { return $file; } argument 48 while (($file = readdir($dh)) != false) { 49 if (!has_extension($file, '.php')) continue; 50 include_once($dir . $file); 51 $name = explode('.', $file); 61 public function handlers($project, $file) { argument [all …]
|
H A D | project.php | 196 $file = $this->handle($file); 200 $name = $file->name(); 252 if ($file) { 253 if ($file->is_target()) $file->delete($this->path()); 281 if ($file === '.' || $file === '..') continue; 293 $file = $this->file($file); 294 if ($file === NULL) { 301 if ($file->is_target()) $this->changed[] = $file->name(); 323 if ($file === '.' || $file === '..' || 360 if ($file->is_target() && $file->needs_update($this->path())) [all …]
|
H A D | project_file.php | 13 public function __construct($file) { argument 14 $this->name = $file->name(); 15 $this->deps = $file->dependency(); 35 $this->deps = $file->dependency(); 41 return $this->type() == $file->type() 47 return new $class($project, $file); 98 parent::__construct($file); 116 parent::copy($project_path, $file); 128 parent::__construct($file); 129 $this->recipe = $file->recipe(); [all …]
|
H A D | tools.php | 22 while (($file = readdir($dh)) !== false) { 23 if ($file === '.' || $file === '..') continue; 24 $file = $dir . $file; 25 if (is_dir($file)) 26 delete_dir($file . '/'); 28 unlink($file); 153 $mime = $finfo->file($path);
|
/plugin/projects/action/ |
H A D | page.php | 43 if ($project->file($name) == NULL) return;
|
/plugin/projects/pchart/pchart/ |
H A D | pcache.php | 51 while (false !== ($file = readdir($handle))) 53 if ( $file != "." && $file != ".." ) 54 unlink($this->CacheFolder.$file);
|
/plugin/projects/plugins/file/ |
H A D | plot_dependency.php | 14 public function can_handle($project, $file) { argument 15 if ($file->is_target()) return false; 16 return has_extension($file->name(), ".plot"); 19 public function handle($project, $file) { argument 20 $plot = new PlotDefinition($file->attributes()); 21 $plot->add_content($file->content());
|
/plugin/projects/plugins/target/ |
H A D | media.php | 15 public function can_handle($project, $file) { argument 16 return file_exists(mediaFN($project->name() . ':' . $file->name())); 22 protected function recipe($project, $file) { argument 23 $name = $file->name();
|
H A D | plot.php | 18 public function can_handle($project, $file) { argument 19 if (!has_extension($file->name(), '.png')) return false; 20 $plot = $this->replace_extension($file->name(), '.png', '.plot'); 21 return $project->file($plot) != NULL; 27 public function handle($project, $file) { argument 28 $plot = $this->replace_extension($file->name(), '.png', '.plot'); 32 $target = new PlotTarget($project, $file, $source); 40 public function __construct($project, $file, $source) { argument 41 $deps = $file->dependency(); 44 $this->name = $file->name(); [all …]
|
/plugin/projects/syntax/ |
H A D | content.php | 35 protected function add_content($file, $content) { argument 36 $file->add_content($content);
|
H A D | projectfile.php | 52 set_media_file_revision_limit($this->getConf('media file revision limit'));
|