aboutsummaryrefslogtreecommitdiff
path: root/share/templater/ikiwiki/files/www/ikiwiki/pagespec/attachment/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'share/templater/ikiwiki/files/www/ikiwiki/pagespec/attachment/index.html')
-rw-r--r--share/templater/ikiwiki/files/www/ikiwiki/pagespec/attachment/index.html154
1 files changed, 0 insertions, 154 deletions
diff --git a/share/templater/ikiwiki/files/www/ikiwiki/pagespec/attachment/index.html b/share/templater/ikiwiki/files/www/ikiwiki/pagespec/attachment/index.html
deleted file mode 100644
index 982de1c..0000000
--- a/share/templater/ikiwiki/files/www/ikiwiki/pagespec/attachment/index.html
+++ /dev/null
@@ -1,154 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-
-<head>
-<meta name="viewport" content="width=device-width, initial-scale=1.0" />
-
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>attachment</title>
-
-<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" />
-<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" />
-
-<link rel="stylesheet" href="../../../local.css" type="text/css" />
-
-
-
-
-<meta name="robots" content="noindex, follow" />
-<style type="text/css">
-@media (max-width: 979px) {
- .navbar-fixed-top {
- position: fixed;
- margin-left: 0px;
- margin-right: 0px;
- }
-}
-</style>
-</head>
-<body>
-
-<div class="container">
-
- <div class="row-fluid">
- <div class="span12">
- <h1></h1>
-
- <ul class="breadcrumb">
-
- <li><a href="../../../">Templates</a> <span class="divider">/</span> </li>
-
- <li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li>
-
- <li><a href="../">pagespec</a> <span class="divider">/</span> </li>
-
- <li>attachment</li>
- <li><span class="divider">|</span> <a href="/timeline">Timeline</a></li>
- <li><span class="divider">|</span> <a href="/timeline">Sitemap</a></li>
- <li><span class="divider">|</span> <a href="https://git.fluxo.info/templates/log/ikiwiki/pagespec/attachment.mdwn">History</a></li>
- <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
- </ul>
- </div>
- </div>
-
- <div class="page row-fluid">
-
- <div>
- <div class="pageheader">
- <div class="header">
- <h1>
- attachment
-
- </h1>
-
- </div>
-
- </div>
-
- <div id="pagebody">
-
- <div id="content">
- <p class="pagedate">
- <strong>Posted <span class="date">Qua 11 Jan 2017 16:18:52 -02</span></strong>
- </p>
- <p>This wiki has attachments <strong>disabled</strong>.</p>
-
-<p>If attachments are enabled, the wiki admin can control what types of
-attachments will be accepted, via the <code>allowed_attachments</code>
-configuration setting.</p>
-
-<p>For example, to limit most users to uploading small images, and nothing else,
-while allowing larger mp3 files to be uploaded by joey into a specific
-directory, and check all attachments for viruses, something like this could be
-used:</p>
-
-<pre><code>virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or ((mimetype(image/jpeg) or mimetype(image/png)) and maxsize(50kb)))
-</code></pre>
-
-<p>The regular <a href="../">PageSpec</a> syntax is expanded with the following
-additional tests:</p>
-
-<ul>
-<li><p>"<code>maxsize(size)</code>" - tests whether the attachment is no larger than the
-specified size. The size defaults to being in bytes, but "kb", "mb", "gb"
-etc can be used to specify the units.</p></li>
-<li><p>"<code>minsize(size)</code>" - tests whether the attachment is no smaller than the
-specified size.</p></li>
-<li><p>"<code>ispage()</code>" - tests whether the attachment will be treated by ikiwiki as a
-wiki page. (Ie, if it has an extension of ".mdwn", or of any other enabled
-page format).</p>
-
-<p>So, if you don't want to allow wiki pages to be uploaded as attachments,
-use <code>!ispage()</code> ; if you only want to allow wiki pages to be uploaded
-as attachments, use <code>ispage()</code>.</p></li>
-<li><p>"<code>mimetype(foo/bar)</code>" - checks the MIME type of the attachment. You can
-include a glob in the type, for example <code>mimetype(image/*)</code>.</p></li>
-<li><p>"<code>virusfree()</code>" - checks the attachment with an antiviral program.</p></li>
-</ul>
-
-
- </div>
-
- <hr />
-
-
-
-
-
- </div>
-
- <div id="footer" class="pagefooter">
-
- <div id="pageinfo">
-
-
-
-
-
-
-
-
-
- <!--<div class="pagedate">
- Last edited <span class="date">Qua 11 Jan 2017 16:18:52 -02</span>
- </div> -->
-
- </div>
-
-
- <!-- from Templates -->
- </div>
-
- </div>
-
- <div class="span4">
-
-
-
- </div>
-
- </div>
-</div>
-
-</body>
-</html>