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,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* Project: astat - simple site engine
|
||||
* File: /admin/addgroup.apnl.php
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/addgroup.apnl.php
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -17,14 +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/addgroup.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: addgroup.apnl.php 41 2009-06-21 19:24:29Z genuineparts $
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php global $session;
|
||||
/**
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/addusers.apnl.php
|
||||
|
@ -24,7 +24,7 @@
|
|||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
@ -51,40 +51,39 @@ class adduser_panel extends admin_module{
|
|||
}
|
||||
|
||||
}else{
|
||||
|
||||
$panel->title=$lang->_('ADDUSER');
|
||||
$panel->content=$lang->_('ADDUSERTEXT');
|
||||
$panel->form(array("action"=>$config["path"]."/admin/index.php?panel=adduser"));
|
||||
$panel->content.="<h3>".$lang->_('USERNAME').":</h3>";
|
||||
$panel->field(array("name"=>"name","typ"=>"text","value"=>$data["name"]));
|
||||
$panel->content.="<h3>".$lang->_('REALNAME').":</h3>";
|
||||
$panel->field(array("name"=>"realname","typ"=>"text","value"=>$data["realname"]));
|
||||
$panel->content.="<h3>".$lang->_('MAIL').":</h3>";
|
||||
$panel->field(array("name"=>"email","value"=>$data["email"],"typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('PASSWORD').":</h3>";
|
||||
$panel->field(array("name"=>"password","value"=>$data["password"],"typ"=>"password"));
|
||||
$panel->content.="<h3>".$lang->_('LOCATION').":</h3>";
|
||||
$panel->field(array("name"=>"from","value"=>$data["from"],"typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('GENDER').":</h3>";
|
||||
$panel->select(array($lang->_('DIV')=>"u", $lang->_('FEMALE')=>"f",$lang->_('MALE')=>"m"),$data["gender"],"gender");
|
||||
$panel->content.="<h3>".$lang->_('HOMEPAGE').":</h3>";
|
||||
$panel->field(array("name"=>"homepage","value"=>$data["homepage"],"typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('BANREASON').":</h3>";
|
||||
$panel->textarea(array("name"=>"bio","value"=>$data["bio"],"typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('ROLE').":</h3>";
|
||||
$result=$db->query("SELECT `id`,`role_name` FROM `" . $config["prefix"] . "role`");
|
||||
while($rdata = $db->fetch_array($result)){
|
||||
$dd[$rdata["role_name"]]=$rdata["id"];
|
||||
}
|
||||
$panel->select($dd,$data["role"],"role");
|
||||
$panel->content.="<br />";
|
||||
$panel->content.="<h3>".$lang->_('STATUS').":</h3>";
|
||||
$panel->select(array($lang->_('ACTIVE')=>1,$lang->_('INACTIVE')=>0,$lang->_('BANNED')=>2),$data["active"],"active");
|
||||
$panel->field(array("name"=>"send","typ"=>"hidden","value"=>"1"));
|
||||
$panel->content.="<br />";
|
||||
$panel->content.="<br />";
|
||||
$panel->submit();
|
||||
$panel->formClose();
|
||||
$panel->title=$lang->_('ADDUSER');
|
||||
$panel->content=$lang->_('ADDUSERTEXT');
|
||||
$panel->form(array("action"=>$config["path"]."/admin/index.php?panel=adduser"));
|
||||
$panel->content.="<h3>".$lang->_('USERNAME').":</h3>";
|
||||
$panel->field(array("name"=>"name","typ"=>"text","value"=>""));
|
||||
$panel->content.="<h3>".$lang->_('REALNAME').":</h3>";
|
||||
$panel->field(array("name"=>"realname","typ"=>"text","value"=>""));
|
||||
$panel->content.="<h3>".$lang->_('MAIL').":</h3>";
|
||||
$panel->field(array("name"=>"email","value"=>"","typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('PASSWORD').":</h3>";
|
||||
$panel->field(array("name"=>"password","value"=>"","typ"=>"password"));
|
||||
$panel->content.="<h3>".$lang->_('LOCATION').":</h3>";
|
||||
$panel->field(array("name"=>"from","value"=>"","typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('GENDER').":</h3>";
|
||||
$panel->select(array($lang->_('DIV')=>"u", $lang->_('FEMALE')=>"f",$lang->_('MALE')=>"m"),"","gender");
|
||||
$panel->content.="<h3>".$lang->_('HOMEPAGE').":</h3>";
|
||||
$panel->field(array("name"=>"homepage","value"=>"","typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('BANREASON').":</h3>";
|
||||
$panel->textarea(array("name"=>"bio","value"=>"","typ"=>"text"));
|
||||
$panel->content.="<h3>".$lang->_('ROLE').":</h3>";
|
||||
$result=$db->query("SELECT `id`,`role_name` FROM `" . $config["prefix"] . "role`");
|
||||
while($rdata = $db->fetch_array($result)){
|
||||
$dd[$rdata["role_name"]]=$rdata["id"];
|
||||
}
|
||||
$panel->select($dd,"","role");
|
||||
$panel->content.="<br />";
|
||||
$panel->content.="<h3>".$lang->_('STATUS').":</h3>";
|
||||
$panel->select(array($lang->_('ACTIVE')=>1,$lang->_('INACTIVE')=>0,$lang->_('BANNED')=>2),"","active");
|
||||
$panel->field(array("name"=>"send","typ"=>"hidden","value"=>"1"));
|
||||
$panel->content.="<br />";
|
||||
$panel->content.="<br />";
|
||||
$panel->submit();
|
||||
$panel->formClose();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
|
|
@ -1,5 +1,30 @@
|
|||
<?php
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
/**
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/config.apnl.php
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* 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.becast.at
|
||||
* @copyright 2009-2025 becast.at
|
||||
* @author Bernhard Jaud <bernhard at becast dot at>
|
||||
* @package BcWe core
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
@ -24,7 +49,7 @@ class config_panel extends admin_module{
|
|||
$config[$row["name"]] = $row["value"];
|
||||
}
|
||||
}
|
||||
$result = $db->query("SELECT * FROM `" . $config["prefix"] . "config` v LEFT JOIN `" . $config["prefix"] . "config_categorys` c ON v.`category`=c.`cid`");
|
||||
$result = $db->query("SELECT * FROM `" . $config["prefix"] . "config` v LEFT JOIN `" . $config["prefix"] . "config_categories` c ON v.`category`=c.`cid`");
|
||||
while ($row = $db->fetch_array($result)){
|
||||
$data[$row["categoryname"]][]=$row;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php global $session;
|
||||
/**
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/editusers.apnl.php
|
||||
|
@ -24,7 +24,7 @@
|
|||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
@ -90,7 +90,7 @@ class editusers_panel extends admin_module{
|
|||
$panel->formClose();
|
||||
$panel->parse_page();
|
||||
}
|
||||
}elseif($_GET["action"]=="delete" && $_GET["user"]){
|
||||
}elseif(isset($_GET["action"]) && $_GET["action"]=="delete" && isset($_GET["user"])){
|
||||
$result=$db->query("SELECT * FROM `" . $config["prefix"] . "users` WHERE `uid`='".intval($_GET["user"])."'");
|
||||
$data = $db->fetch_array($result);
|
||||
$plugin->run_hook('admin_user_before_delete',array('data'=>$data));
|
||||
|
@ -111,12 +111,12 @@ class editusers_panel extends admin_module{
|
|||
$panel->content.="<table id=\"users\" width=\"90%\" cellspacing=\"2\">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align=\"center\">".$lang->_('ID')."</th>
|
||||
<th align=\"center\">".$lang->_('USERNAME')."</th>
|
||||
<th align=\"center\">".$lang->_('REALNAME')."</th>
|
||||
<th align=\"center\">".$lang->_('ROLE')."</th>
|
||||
<th align=\"center\">".$lang->_('STATUS')."</th>
|
||||
<th align=\"center\">".$lang->_('ACTION')."</th>
|
||||
<th style=\"text-align='center';\">".$lang->_('ID')."</th>
|
||||
<th style=\"text-align='center';\">".$lang->_('USERNAME')."</th>
|
||||
<th style=\"text-align='center';\">".$lang->_('REALNAME')."</th>
|
||||
<th style=\"text-align='center';\">".$lang->_('ROLE')."</th>
|
||||
<th style=\"text-align='center';\">".$lang->_('STATUS')."</th>
|
||||
<th style=\"text-align='center';\">".$lang->_('ACTION')."</th>
|
||||
</tr></thead><tbody>";
|
||||
if(!empty($user)){
|
||||
foreach($user as $u){
|
||||
|
@ -131,22 +131,22 @@ class editusers_panel extends admin_module{
|
|||
$u['activestyle']='style="font-style:italic;"';
|
||||
}
|
||||
$panel->content.="<tr ".$u['activestyle'].">
|
||||
<td align=\"center\">".$u["uid"]."</td>
|
||||
<td align=\"center\">".$u["username"]."</td>
|
||||
<td align=\"center\">".$u["realname"]."</td>
|
||||
<td align=\"center\">".$u["role_name"]."</td>
|
||||
<td align=\"center\">".$u['activetext']."</td>";
|
||||
<td style=\"text-align='center';\">".$u["uid"]."</td>
|
||||
<td style=\"text-align='center';\">".$u["username"]."</td>
|
||||
<td style=\"text-align='center';\">".$u["realname"]."</td>
|
||||
<td style=\"text-align='center';\">".$u["role_name"]."</td>
|
||||
<td style=\"text-align='center';\">".$u['activetext']."</td>";
|
||||
if($u["uid"]==$session->userdata["uid"]){
|
||||
$panel->content.="<td align=\"center\"><a onclick=\"return confirmLink(this,'".$lang->_('BADIDEA')."')\" href=\"".$config["path"]."/admin/index.php?panel=editusers&action=delete&user=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a> <a href=\"".$config["path"]."/admin/index.php?panel=editusers&edituser=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/wrench.png\" /></a></td>
|
||||
$panel->content.="<td style=\"text-align='center';\"><a onclick=\"return confirmLink(this,'".$lang->_('BADIDEA')."')\" href=\"".$config["path"]."/admin/index.php?panel=editusers&action=delete&user=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a> <a href=\"".$config["path"]."/admin/index.php?panel=editusers&edituser=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/wrench.png\" /></a></td>
|
||||
</tr>";
|
||||
}else{
|
||||
$panel->content.="<td align=\"center\"><a onclick=\"return confirmLink(this, '".sprintf($lang->_('DELETEUSER'),$u["username"])."')\" href=\"".$config["path"]."/admin/index.php?panel=editusers&action=delete&user=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a> <a href=\"".$config["path"]."/admin/index.php?panel=editusers&edituser=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/wrench.png\" /></a></td>
|
||||
$panel->content.="<td style=\"text-align='center';\"><a onclick=\"return confirmLink(this, '".sprintf($lang->_('DELETEUSER'),$u["username"])."')\" href=\"".$config["path"]."/admin/index.php?panel=editusers&action=delete&user=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/delete.png\" /></a> <a href=\"".$config["path"]."/admin/index.php?panel=editusers&edituser=".$u["uid"]."\"><img src=\"".$config["path"]."/admin/images/icons/wrench.png\" /></a></td>
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
}else{
|
||||
$panel->content.="<tr>
|
||||
<td align=\"center\" colspan=\"5\">".$lang->_('NOUSERS')."</td>
|
||||
<td style=\"text-align='center';\" colspan=\"5\">".$lang->_('NOUSERS')."</td>
|
||||
</tr>";
|
||||
}
|
||||
$panel->content.="</tbody></table><br />";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
<?php global $lang, $session, $db, $error;
|
||||
/**
|
||||
* Project: BeCast Webengine - simple site engine
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/index.php
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@ -18,18 +18,18 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
* @link http://www.BeCast.at
|
||||
* @copyright 2009 becast.at
|
||||
* @copyright 2009-2025 becast.at
|
||||
* @author Bernhard Jaud <bernhard at becast dot at>
|
||||
* @package BeCast Webengine core
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id: index.php 100 2010-02-20 14:42:30Z genuineparts $
|
||||
* @version $Id$
|
||||
*/
|
||||
ERROR_REPORTING(E_ALL ^E_NOTICE);
|
||||
$basepath="";
|
||||
$nav_include="../";
|
||||
require_once dirname(dirname(__FILE__)).'/core/init_core.inc.php';
|
||||
require_once dirname(__FILE__, 2) .'/core/init_core.inc.php';
|
||||
$session->page_begin("Admincenter", True);
|
||||
define("in_BL_ADMIN",TRUE);
|
||||
define("IN_BCWE_ADMIN",TRUE);
|
||||
|
||||
function size_format($num, $prec = 2)
|
||||
{
|
||||
|
@ -41,7 +41,6 @@ function size_format($num, $prec = 2)
|
|||
return $num . ' bytes';
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($session->userdata['uid']) && $session->userdata['uid']!=0 && ($session->userdata["admin_cp"] && $session->userdata["is_admin"])){
|
||||
require_once dirname(dirname(__FILE__)).'/inc/admin.class.php';
|
||||
require_once dirname(dirname(__FILE__)).'/inc/panel.class.php';
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Project: BeFramed - simple site engine
|
||||
* Project: BeCast WebEngine - simple site engine
|
||||
* File: /admin/versions.apnl.php
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@ -17,14 +17,14 @@
|
|||
* 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.jaud.be
|
||||
* @copyright 2025 becast.at
|
||||
* @link http://www.becast.at
|
||||
* @copyright 2009-2025 becast.at
|
||||
* @author Bernhard Jaud <bernhard at becast dot at>
|
||||
* @package BeFramed core
|
||||
* @package BcWe core
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
If (!defined("in_BL_ADMIN")) {
|
||||
*/
|
||||
If (!defined("IN_BCWE_ADMIN")) {
|
||||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$addnav["right"]=FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue