summaryrefslogtreecommitdiffstats
path: root/site/variables.template.php
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-22 11:34:14 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-22 11:34:14 (EST)
commit73c0500a045fb14aadcaa939a1620c168e8f118b (patch)
tree03b520349316a3811f89800576e5d0a0376f7f70 /site/variables.template.php
parente0beccbb7f0dff5247fdb8c63e1d0a3ed85353a5 (diff)
downloadlibreboot.org-73c0500a045fb14aadcaa939a1620c168e8f118b.zip
libreboot.org-73c0500a045fb14aadcaa939a1620c168e8f118b.tar.gz
libreboot.org-73c0500a045fb14aadcaa939a1620c168e8f118b.tar.bz2
move torrent/url list functions to functions.php
Diffstat (limited to 'site/variables.template.php')
-rw-r--r--site/variables.template.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/site/variables.template.php b/site/variables.template.php
index 760c104..dc4d7e9 100644
--- a/site/variables.template.php
+++ b/site/variables.template.php
@@ -20,35 +20,6 @@
<?php
/* Copy this to variables.php, and adapt for your needs */
- /*
- * ------FUNCTIONS:
- */
-
- /* Generic function for showing a list of URLs */
- function list_items($arrayMirrors,$strNotFoundMessage,$forIndexStart,$forIndexbelow) {
-?>
- <ul>
-<?php
- if (count($arrayMirrors)>0) {
- for ($server=$forIndexStart; $server<$forIndexbelow; $server++) {
-?>
- <li><a href="<?php echo $arrayMirrors[$server]; ?>"><?php echo $arrayMirrors[$server]; ?></a></li>
-<?php
- }
- } else {
-?>
- <li><?php echo $strNotFoundMessage; ?></li>
-<?php
- }
-?>
- </ul>
-<?php
- }
-
- /*
- * ------DATA:
- */
-
/* Project name
* NOTE: Not all parts of the site use this, because
* parts of the site talking about things that are very