Jeremy D commited on 2011-12-30 15:38:02
Showing 2 changed files, with 31 additions and 23 deletions.
... | ... |
@@ -0,0 +1,31 @@ |
1 |
+<?php |
|
2 |
+/* |
|
3 |
+ * SMF Package Manager Generator |
|
4 |
+ * Author: SleePy (JeremyD) |
|
5 |
+ * Repository: https://github.com/jdarwood007/smf_package_maker |
|
6 |
+ * License: BSD 3 Clause; See license.txt |
|
7 |
+*/ |
|
8 |
+if (!defined('PacManGen')) { exit('[' . basename(__FILE__) . '] Direct access restricted');} |
|
9 |
+ |
|
10 |
+/* |
|
11 |
+ * The index section |
|
12 |
+*/ |
|
13 |
+function index_section() |
|
14 |
+{ |
|
15 |
+ global $text; |
|
16 |
+ |
|
17 |
+ echo ' |
|
18 |
+ <br clear="all" /> |
|
19 |
+ <p id="welcome">', $text['index_welcome'], '.</p> |
|
20 |
+ <ol id="steps"> |
|
21 |
+ <li><a href="index.php?action=mod">', $text['index_mod'], '</a></li> |
|
22 |
+ <li><a href="index.php?action=info">', $text['index_info'], '</a></li> |
|
23 |
+ <li>', $text['index_compress'], '</li> |
|
24 |
+ </ol>'; |
|
25 |
+} |
|
26 |
+ |
|
27 |
+/* |
|
28 |
+ * The index template |
|
29 |
+ * Just a voodoo function. |
|
30 |
+*/ |
|
31 |
+function index_templates() {} |
... | ... |
@@ -77,26 +77,3 @@ $function(); |
77 | 77 |
echo ' |
78 | 78 |
</body> |
79 | 79 |
</html>'; |
80 |
- |
|
81 |
-/* |
|
82 |
- * The index section |
|
83 |
-*/ |
|
84 |
-function index_section() |
|
85 |
-{ |
|
86 |
- global $text; |
|
87 |
- |
|
88 |
- echo ' |
|
89 |
- <br clear="all" /> |
|
90 |
- <p id="welcome">', $text['index_welcome'], '.</p> |
|
91 |
- <ol id="steps"> |
|
92 |
- <li><a href="index.php?action=mod">', $text['index_mod'], '</a></li> |
|
93 |
- <li><a href="index.php?action=info">', $text['index_info'], '</a></li> |
|
94 |
- <li>', $text['index_compress'], '</li> |
|
95 |
- </ol>'; |
|
96 |
-} |
|
97 |
- |
|
98 |
-/* |
|
99 |
- * The index template |
|
100 |
- * Just a voodoo function. |
|
101 |
-*/ |
|
102 |
-function index_templates() {} |
|
103 | 80 |