mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
dummy example added
This commit is contained in:
36
e107_plugins/news/e_url.php
Normal file
36
e107_plugins/news/e_url.php
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
// Example only for now.
|
||||||
|
|
||||||
|
class news_url // must match the plugin's folder name. ie. [PLUGIN_FOLDER]_url
|
||||||
|
{
|
||||||
|
|
||||||
|
function config()
|
||||||
|
{
|
||||||
|
e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_newspost.php');
|
||||||
|
|
||||||
|
$config = array();
|
||||||
|
|
||||||
|
$config[] = array(
|
||||||
|
'name' => LAN_EURL_MODREWR_TITLE,
|
||||||
|
'description' => LAN_EURL_MODREWR_DESCR
|
||||||
|
);
|
||||||
|
|
||||||
|
return $config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function apache_create($parms)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function apache_parse($parms)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
Reference in New Issue
Block a user