Roxen.git
/
server
/
config_interface
/
sites
/
add_module.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/config_interface/sites/add_module.pike:277:
if( id->variables->reload_module_list ) roxen->clear_all_modules_cache(); array(ModuleInfo) mods; roxenloader.push_compile_error_handler( ec ); mods = roxen->all_modules(); roxenloader.pop_compile_error_handler(); foreach( mods, ModuleInfo m ) {
-
if (m->
deprecated
&& !show_deprecated(id)) {
+
if (
(
m->
type
&
(MODULE_DEPRECATED | MODULE_DEPRECATED_SOFT))
&
&
+
!show_deprecated(id))
+
{
mods -= ({ m }); } if( module_nomore( m->sname, m, conf ) ) { mods -= ({ m }); } } string res = ""; string doubles="", already=""; array w = map(mods, module_class, id);
Roxen.git/server/config_interface/sites/add_module.pike:451:
doc = "<p>" + ((string)LOCALE(1023, "Undocumented")) + "</p>"; } mapping ctx = ([ "name" : module->get_name(), "sname" : module->sname, "add_label" : LOCALE(251, "Add Module"), "doc" : doc, "load_path" : LOCALE(266, "Will be loaded from: ")+module->filename, "faster" : faster,
-
"deprecated" : module->
deprecated
+
"deprecated" :
(
module->
type & (MODULE_DEPRECATED | MODULE_DEPRECATED_SOFT))
]); return Roxen.render_mustache(tmpl, ctx); } return ""; }; } array(int|string) class_visible_normal(string c, string d, int size,
Roxen.git/server/config_interface/sites/add_module.pike:700:
}), mods); string res = ""; mixed r; License.Key license_key = conf->getvar("license")->get_key(); array(RoxenModule) locked_modules = ({}); array(string) mres = ({}); bool deprecated = show_deprecated(id); mods = filter(mods, lambda (ModuleInfo m) {
-
if (m->
deprecated
&& !deprecated) {
+
if (
(
m->
type
&
(MODULE_DEPRECATED | MODULE_DEPRECATED_SOFT))
&
&
+
!deprecated)
+
{
return 0; } if ((!m->get_description() || (m->get_description() == "Undocumented")) && m->type == 0) { return 0; }