Current time: 11-26-2024, 12:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<Locations> hinzufuegen?!
Author Message
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #13
RE: <Locations> hinzufuegen?!
Quote:<?php

require_once( "util.php" );
require_once( "settings.php" );

function pluginsSort($a, $b)
{
$lvl1 = (float) $a["info"]["runlevel"];
$lvl2 = (float) $b["info"]["runlevel"];
if($lvl1>$lvl2)
return(1);
if($lvl1<$lvl2)
return(-1);
return( 0 );
}

function getFlag($permissions,$pname,$fname)
{
$ret = true;
if(array_key_exists($pname,$permissions) &&
array_key_exists($fname,$permissions[$pname]))
$ret = $permissions[$pname][$fname];
else
if(array_key_exists("default",$permissions) &&
array_key_exists($fname,$permissions["default"]))
$ret = $permissions["default"][$fname];
return($ret);
}

function getPluginInfo( $name, $permissions )
{
$info = array();
$fname = "../plugins/".$name."/plugin.info";
if(is_readable($fname))
08-06-2010 05:37 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
<Locations> hinzufuegen?! - u53r - 07-29-2010, 05:14 AM
RE: <Locations> hinzufuegen?! - joximu - 07-29-2010, 09:16 PM
RE: <Locations> hinzufuegen?! - u53r - 07-30-2010, 03:36 AM
RE: <Locations> hinzufuegen?! - Knut - 07-29-2010, 11:43 PM
RE: <Locations> hinzufuegen?! - joximu - 07-30-2010, 06:46 PM
RE: <Locations> hinzufuegen?! - grisu - 07-30-2010, 08:41 PM
RE: <Locations> hinzufuegen?! - joximu - 07-30-2010, 10:51 PM
RE: <Locations> hinzufuegen?! - u53r - 08-01-2010, 06:14 AM
RE: <Locations> hinzufuegen?! - u53r - 08-04-2010, 01:45 AM
RE: <Locations> hinzufuegen?! - joximu - 08-04-2010, 08:58 PM
RE: <Locations> hinzufuegen?! - u53r - 08-06-2010, 01:43 AM
RE: <Locations> hinzufuegen?! - joximu - 08-06-2010, 02:34 AM
RE: <Locations> hinzufuegen?! - u53r - 08-06-2010 05:37 AM
RE: <Locations> hinzufuegen?! - joximu - 08-06-2010, 06:36 AM
RE: <Locations> hinzufuegen?! - u53r - 08-18-2010, 12:43 AM
RE: <Locations> hinzufuegen?! - joximu - 08-18-2010, 01:44 AM
RE: <Locations> hinzufuegen?! - u53r - 09-05-2010, 06:34 PM
RE: <Locations> hinzufuegen?! - joximu - 09-06-2010, 09:01 AM
RE: <Locations> hinzufuegen?! - Knut - 09-05-2010, 06:59 PM
RE: <Locations> hinzufuegen?! - grisu - 09-05-2010, 09:46 PM

Forum Jump:


User(s) browsing this thread: 6 Guest(s)