Updated to latest version of CMS
This commit is contained in:
parent
ccdf8fbb81
commit
edf41b1198
76 changed files with 465 additions and 1162 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
<?php global $session;
|
||||
/**
|
||||
* Project: astat - simple site engine
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/module.apnl.php
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -17,15 +17,15 @@
|
|||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* @link http://www.astat.org SVN: $URL: http://svn.astat.org/astat/trunk/admin/module.apnl.php $
|
||||
* @copyright 2009 becast.at
|
||||
* @link http://www.becast.at
|
||||
* @copyright 2009-2025 becast.at
|
||||
* @author Bernhard Jaud <bernhard at becast dot at>
|
||||
* @package astat core
|
||||
* @package BcWe core
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id: module.apnl.php 64 2009-07-24 22:07:55Z genuineparts $
|
||||
*/
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
|
||||
|
@ -67,17 +67,16 @@ class module_panel extends admin_module{
|
|||
$panel->content.="<h2>Installierte Module</h2><br />
|
||||
<table width=\"90%\" cellspacing=\"2\">
|
||||
<tr>
|
||||
<th align=\"center\">Modul</th>
|
||||
<th align=\"center\">Version</th>
|
||||
<th align=\"center\">Autor</th>
|
||||
<th align=\"center\">Homepage</th>
|
||||
<th align=\"center\">Aktion</th>
|
||||
<th style=\"text-align='center';\">Modul</th>
|
||||
<th style=\"text-align='center';\">Version</th>
|
||||
<th style=\"text-align='center';\">Autor</th>
|
||||
<th style=\"text-align='center';\">Homepage</th>
|
||||
<th style=\"text-align='center';\">Aktion</th>
|
||||
</tr>";
|
||||
if(!empty($core->mod_)){
|
||||
foreach($core->mod_ as $mod){
|
||||
If($mod["depends"]!=""){
|
||||
|
||||
$depends="";
|
||||
$depends="";
|
||||
if(isset($mod["depends"]) && $mod["depends"]!=""){
|
||||
$dependands=unserialize($mod["depends"]);
|
||||
foreach($dependands as $dep){
|
||||
if(!$deps){
|
||||
|
@ -89,11 +88,11 @@ class module_panel extends admin_module{
|
|||
$depends.='<br /><span style="font-size: xx-small;">hängt ab von: '.$deps;
|
||||
}
|
||||
$panel->content.="<tr>
|
||||
<td align=\"center\">".$mod["name"].$depends."</td>
|
||||
<td align=\"center\">".$mod["version"]."</td>
|
||||
<td align=\"center\">".$mod["author"]."</td>
|
||||
<td align=\"center\"><a href=\"".$mod["url"]."\">".$mod["url"]."</a></td>
|
||||
<td align=\"center\"><a onclick=\"return confirmLink(this, 'Willst du wirklich das Modul ".$mod["name"]." deinstallieren? Alle Daten diese Plugins werden gelöscht!')\" href=\"".$config["path"]."/admin/index.php?panel=module&action=uninstall&module=".$mod["file"]."\">Deinstallieren</a></td>
|
||||
<td style=\"text-align='center';\">".$mod["name"].$depends."</td>
|
||||
<td style=\"text-align='center';\">".$mod["version"]."</td>
|
||||
<td style=\"text-align='center';\">".$mod["author"]."</td>
|
||||
<td style=\"text-align='center';\"><a href=\"".$mod["url"]."\">".$mod["url"]."</a></td>
|
||||
<td style=\"text-align='center';\"><a onclick=\"return confirmLink(this, 'Willst du wirklich das Modul ".$mod["name"]." deinstallieren? Alle Daten diese Plugins werden gelöscht!')\" href=\"".$config["path"]."/admin/index.php?panel=module&action=uninstall&module=".$mod["file"]."\">Deinstallieren</a></td>
|
||||
</tr>";
|
||||
unset($deps);
|
||||
unset($depends);
|
||||
|
@ -109,19 +108,18 @@ class module_panel extends admin_module{
|
|||
$panel->content.="<h2>Nicht Installierte Module</h2><br />";
|
||||
$panel->content.="<table width=\"90%\" cellspacing=\"2\">
|
||||
<tr>
|
||||
<th align=\"center\">Modul</th>
|
||||
<th align=\"center\">Version</th>
|
||||
<th align=\"center\">Autor</th>
|
||||
<th align=\"center\">Homepage</th>
|
||||
<th align=\"center\">Aktion</th>
|
||||
<th style=\"text-align='center';\">Modul</th>
|
||||
<th style=\"text-align='center';\">Version</th>
|
||||
<th style=\"text-align='center';\">Autor</th>
|
||||
<th style=\"text-align='center';\">Homepage</th>
|
||||
<th style=\"text-align='center';\">Aktion</th>
|
||||
</tr>";
|
||||
|
||||
$modules=$this->avaiable_modules();
|
||||
if(is_array($modules)){
|
||||
foreach($modules as $mod){
|
||||
If($mod["depends"]!=""){
|
||||
|
||||
$depends="";
|
||||
$depends="";
|
||||
if(isset($mod["depends"]) && $mod["depends"]!=""){
|
||||
$dependands=explode(",",$mod["depends"]);
|
||||
foreach($dependands as $dep){
|
||||
if(!$deps){
|
||||
|
@ -133,11 +131,11 @@ class module_panel extends admin_module{
|
|||
$depends.='<br /><span style="font-size: xx-small;">hängt ab von: '.$deps;
|
||||
}
|
||||
$panel->content.="<tr>
|
||||
<td align=\"center\">".$mod["name"].$depends."</td>
|
||||
<td align=\"center\">".$mod["version"]."</td>
|
||||
<td align=\"center\">".$mod["author"]."</td>
|
||||
<td align=\"center\"><a href=\"".$mod["url"]."\">".$mod["url"]."</a></td>
|
||||
<td align=\"center\"><a href=\"".$config["path"]."/admin/index.php?panel=module&action=install&module=".$mod["file"]."\">Installieren</a></td>
|
||||
<td style=\"text-align='center';\">".$mod["name"].$depends."</td>
|
||||
<td style=\"text-align='center';\">".$mod["version"]."</td>
|
||||
<td style=\"text-align='center';\">".$mod["author"]."</td>
|
||||
<td style=\"text-align='center';\"><a href=\"".$mod["url"]."\">".$mod["url"]."</a></td>
|
||||
<td style=\"text-align='center';\"><a href=\"".$config["path"]."/admin/index.php?panel=module&action=install&module=".$mod["file"]."\">Installieren</a></td>
|
||||
</tr>";
|
||||
unset($deps);
|
||||
unset($depends);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue