Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: plugins.php 3870 2008-05-31 22:20:03Z Tikitiki $
| * $Id: plugins.php 4151 2008-08-26 04:39:31Z Tikitiki $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 39 | Zeile 39 |
---|
continue; } $plugininfo = $infofunc();
|
continue; } $plugininfo = $infofunc();
|
| $plugininfo['guid'] = trim($plugininfo['guid']);
|
|
|
if(trim($plugininfo['guid']) != "")
| if($plugininfo['guid'] != "")
|
{ $info[] = $plugininfo['guid']; $names[$plugininfo['guid']] = array('name' => $plugininfo['name'], 'version' => $plugininfo['version']);
| { $info[] = $plugininfo['guid']; $names[$plugininfo['guid']] = array('name' => $plugininfo['name'], 'version' => $plugininfo['version']);
|
Zeile 295 | Zeile 296 |
---|
if($plugins->is_compatible($codename) == false) { $compatibility_warning = "<span style=\"color: red;\">".$lang->sprintf($lang->plugin_incompatible, $mybb->version)."</span>";
|
if($plugins->is_compatible($codename) == false) { $compatibility_warning = "<span style=\"color: red;\">".$lang->sprintf($lang->plugin_incompatible, $mybb->version)."</span>";
|
| } else { $compatibility_warning = "";
|
}
$installed_func = "{$codename}_is_installed";
| }
$installed_func = "{$codename}_is_installed";
|
Zeile 366 | Zeile 371 |
---|
if($table->num_rows() == 0) {
|
if($table->num_rows() == 0) {
|
$table->contruct_cell($lang->no_plugins, array('colspan' => 2));
| $table->construct_cell($lang->no_plugins, array('colspan' => 3));
|
$table->construct_row(); } $table->output($lang->plugins);
| $table->construct_row(); } $table->output($lang->plugins);
|