mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
content: LARGE update, redesign 'personal manager and submit' area, general code improvements, redesign admin options interface etc.
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
global $PLUGINS_DIRECTORY;
|
||||
@include_once(e_PLUGIN.'content/languages/'.e_LANGUAGE.'/lan_content_admin.php');
|
||||
@include_once(e_PLUGIN.'content/languages/English/lan_content_admin.php');
|
||||
include_lan(e_PLUGIN."content/languages/".e_LANGUAGE."/lan_content_admin.php");
|
||||
|
||||
// Plugin info -------------------------------------------------------------------------------------------------------
|
||||
$eplug_name = "CONTENT_PLUGIN_LAN_1";
|
||||
@@ -107,4 +106,14 @@ $upgrade_alter_tables = array(
|
||||
);
|
||||
$eplug_upgrade_done = CONTENT_PLUGIN_LAN_6;
|
||||
|
||||
//uninstall function: remove core prefs
|
||||
if(!function_exists(content_uninstall)){
|
||||
function content_uninstall(){
|
||||
global $sql;
|
||||
if($sql->db_Select("core","*","e107_name='pcontent'")){
|
||||
$sql -> db_Delete("core", "e107_name='pcontent' ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user