summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-09-19 00:54:03 +0200
committerneoraider <devnull@localhost>2006-09-19 00:54:03 +0200
commit5c6d9191bd739854088a012acbad5ce5fe5eb58d (patch)
tree17813316e824661ab54c7ae6041fb358b1cdc5b5
parent0201d0d0373c514f273ca6f1a7503eef2dbeb87c (diff)
downloadbbcode-5c6d9191bd739854088a012acbad5ce5fe5eb58d.tar
bbcode-5c6d9191bd739854088a012acbad5ce5fe5eb58d.zip
BBCode-Modul an die neue Modulverwaltung angepasst.
-rw-r--r--pages/editor/bbcode.xml2
-rw-r--r--templates/bbcode.inc.php5
2 files changed, 2 insertions, 5 deletions
diff --git a/pages/editor/bbcode.xml b/pages/editor/bbcode.xml
index 198d433..4b65361 100644
--- a/pages/editor/bbcode.xml
+++ b/pages/editor/bbcode.xml
@@ -10,7 +10,7 @@
<code>
<![CDATA[
<?PHP
- require_once('code/links.inc.php');
+ Uses('links');
$title = 'Edit \'' . $data['_data']['_page'] . '\'';
diff --git a/templates/bbcode.inc.php b/templates/bbcode.inc.php
index 8a41d46..e5de9ce 100644
--- a/templates/bbcode.inc.php
+++ b/templates/bbcode.inc.php
@@ -1,8 +1,5 @@
<?PHP
- require_once('code/message.inc.php');
- require_once('code/modules.inc.php');
-
- require_mod('code/bbcode.inc.php');
+ Uses('message', 'bbcode');
class bbcode_template {
function Get($data) {