SF Feature #2997986 - DTD stuff
This commit is contained in:
parent
a2828b2cf0
commit
66e24fb86c
@ -212,7 +212,7 @@ abstract class DS {
|
|||||||
case 'cookie':
|
case 'cookie':
|
||||||
set_cookie($method.'-USER',blowfish_encrypt($user),NULL,'/');
|
set_cookie($method.'-USER',blowfish_encrypt($user),NULL,'/');
|
||||||
set_cookie($method.'-PASS',blowfish_encrypt($pass),NULL,'/');
|
set_cookie($method.'-PASS',blowfish_encrypt($pass),NULL,'/');
|
||||||
return TRUE;
|
return true;
|
||||||
|
|
||||||
case 'config':
|
case 'config':
|
||||||
return true;
|
return true;
|
||||||
@ -588,7 +588,6 @@ class Datastore {
|
|||||||
'untested'=>true,
|
'untested'=>true,
|
||||||
'default'=>null);
|
'default'=>null);
|
||||||
|
|
||||||
|
|
||||||
# Prefix for custom pages
|
# Prefix for custom pages
|
||||||
$this->default->custom['pages_prefix'] = array(
|
$this->default->custom['pages_prefix'] = array(
|
||||||
'desc'=>'Prefix name for custom pages',
|
'desc'=>'Prefix name for custom pages',
|
||||||
|
@ -79,8 +79,6 @@ class page {
|
|||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
# Initial Values
|
# Initial Values
|
||||||
#$this->_pageheader[] .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"';
|
|
||||||
#$this->_pageheader[] .= '"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">'."\n";
|
|
||||||
$this->_pageheader[] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
|
$this->_pageheader[] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
|
||||||
$this->_pageheader[] .= '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto">'."\n";
|
$this->_pageheader[] .= '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="auto">'."\n";
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!DOCTYPE template SYSTEM "query.dtd">
|
<!DOCTYPE query SYSTEM "query.dtd">
|
||||||
|
|
||||||
<query>
|
<query>
|
||||||
<title>Samba User List</title>
|
<title>Samba User List</title>
|
||||||
<bases>
|
<bases>
|
||||||
<base></base>
|
<base></base>
|
||||||
</bases>
|
</bases>
|
||||||
<filter><![CDATA[(&(|(objectClass=sambaAccount)(objectClass=sambaSamAccount))(objectClass=posixAccount)(!(uid=*$)))]]></filter>
|
<filter><![CDATA[(&(|(objectClass=sambaAccount)(objectClass=sambaSamAccount))(objectClass=posixAccount)(!(uid=*$)))]]></filter>
|
||||||
<description>Samba Users</description>
|
<description>Samba Users</description>
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!DOCTYPE template SYSTEM "query.dtd">
|
<!DOCTYPE query SYSTEM "query.dtd">
|
||||||
|
|
||||||
<query>
|
<query>
|
||||||
<title>User List</title>
|
<title>User List</title>
|
||||||
<bases>
|
<bases>
|
||||||
<base></base>
|
<base></base>
|
||||||
</bases>
|
</bases>
|
||||||
<filter><![CDATA[(&(objectClass=posixAccount)(uid=*))]]></filter>
|
<filter><![CDATA[(&(objectClass=posixAccount)(uid=*))]]></filter>
|
||||||
<description>User List</description>
|
<description>User List</description>
|
||||||
|
35
queries/query.dtd
Normal file
35
queries/query.dtd
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<!--
|
||||||
|
==========================================================================
|
||||||
|
This is the DTD for phpLDAPAdmin Queries.
|
||||||
|
|
||||||
|
Copyright (c) 2011
|
||||||
|
|
||||||
|
Temporary URI for the DTD: http://phpldapadmin.sf.net/release/templates/query.dtd
|
||||||
|
Validate your templates here: http://www.xmlvalidation.com
|
||||||
|
==========================================================================
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Query Definition -->
|
||||||
|
<!ELEMENT query (title,bases,filter,description,icon?,scope,visible?,attributes)>
|
||||||
|
|
||||||
|
<!-- Bases Definition -->
|
||||||
|
<!ELEMENT bases (base*)>
|
||||||
|
|
||||||
|
<!-- Attributes Definition -->
|
||||||
|
<!ELEMENT attributes (attribute*)>
|
||||||
|
<!ELEMENT attribute (display?,order?,ordersort?)?>
|
||||||
|
<!ATTLIST attribute id CDATA #REQUIRED>
|
||||||
|
|
||||||
|
<!-- Header Parameters -->
|
||||||
|
<!ELEMENT base (#PCDATA)>
|
||||||
|
<!ELEMENT title (#PCDATA)>
|
||||||
|
<!ELEMENT filter (#PCDATA)>
|
||||||
|
<!ELEMENT description (#PCDATA)>
|
||||||
|
<!ELEMENT icon (#PCDATA)>
|
||||||
|
<!ELEMENT scope (#PCDATA)>
|
||||||
|
<!ELEMENT visible (#PCDATA)>
|
||||||
|
|
||||||
|
<!-- Attribute Parameters -->
|
||||||
|
<!ELEMENT display (#PCDATA)>
|
||||||
|
<!ELEMENT order (#PCDATA)>
|
||||||
|
<!ELEMENT ordersort (#PCDATA)>
|
@ -1,6 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!DOCTYPE template SYSTEM "template.dtd">
|
<!DOCTYPE template SYSTEM "template.dtd">
|
||||||
<!--This template doesnt work needs modification to the Engine.-->
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<askcontainer>1</askcontainer>
|
<askcontainer>1</askcontainer>
|
||||||
|
Loading…
Reference in New Issue
Block a user