Beispiel #1
0
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.main_cf.inc');
	$usersmenus=new usersMenus();
	if($usersmenus->AsArticaAdministrator==false){die();}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["cmdline"])){cmdline_perform();exit;}

js();


function js(){
	$page=CurrentPageName();
	$prefix=str_replace(".","_",$page);
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{commandline}');
	echo "YahooWinS(790,'$page?popup=yes','$title');";
}

function popup(){
	$page=CurrentPageName();
	$tpl=new templates();	
	$t=time();
	
	$html="
	
	<div style='font-size:14px' class=text-info>{commandline_explain}</div>
	<table style='width:99%' class=form>
	<tbody>
Beispiel #2
0
<?php

include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.main_cf.inc';
$usersmenus = new usersMenus();
if ($usersmenus->AsArticaAdministrator == false) {
    die;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_POST["cmdline"])) {
    cmdline_perform();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $prefix = str_replace(".", "_", $page);
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body('{commandline}');
    echo "YahooWinS(790,'{$page}?popup=yes','{$title}');";
}
function popup()
{
    $page = CurrentPageName();
    $tpl = new templates();