Willkommen auf dem Portal für Mediengestalter
|
|
|
MGi Foren-Übersicht -> Programmierung -> w3blabor|cms - Das perfekte Mini CMS für jeden Einsatz und P
|
Seite: Zurück 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Weiter |
Autor |
Nachricht |
Nightuser
Threadersteller
Dabei seit: 03.09.2005
Ort: Kaiserslautern
Alter: -
Geschlecht:
|
Verfasst Mo 18.02.2008 23:29
Titel Version 2.0.1 - Jetzt mit WYSIWYG Editor! |
|
|
Version 2.0.1 - Jetzt mit WYSIWYG Editor!
Endlich hab ich es geschafft, einen passenden Editor zu finden, zu testen und erfolgreich einzubinden! Das aktuelle Update mit weiteren Fixes habe ich soeben das letzte mal getestet und auf der Seite veröffentlicht. Ab jetzt wird es also noch einfacher funktionieren eigene Seiten zu verwalten als bisher! Der neue TinyMCE Editor ermöglicht das kinderleichte Bearbeiten von eigenen Seiten!
Alles weitre wie gewohnt auf http://cms.w3blabor.de
Viel Spaß damit!
|
|
|
|
|
heav
Dabei seit: 10.02.2004
Ort: Heimat der Inspiration
Alter: 39
Geschlecht:
|
Verfasst Di 19.02.2008 00:08
Titel
|
|
|
Schönes Teil aber warum kann man die Standardseiten nicht löschen? Dann könnte man es auch für etwas anderes als für Portfolio-Seiten verwenden
|
|
|
|
|
Anzeige
|
|
|
Nightuser
Threadersteller
Dabei seit: 03.09.2005
Ort: Kaiserslautern
Alter: -
Geschlecht:
|
Verfasst Di 19.02.2008 01:02
Titel
|
|
|
Nee, Systemmodulseiten kann man nicht löschen, richtig!
Aber du kannst die Seite beliebig umbenennen oder einfach deaktivieren.
Kommt also doch auf's Selbe dabei raus?
|
|
|
|
|
texel
Dabei seit: 16.01.2008
Ort: BaWü
Alter: 46
Geschlecht: -
|
Verfasst Di 19.02.2008 09:44
Titel
|
|
|
kann man flash inhalte einfügen?
|
|
|
|
|
Nightuser
Threadersteller
Dabei seit: 03.09.2005
Ort: Kaiserslautern
Alter: -
Geschlecht:
|
Verfasst Do 21.02.2008 09:43
Titel
|
|
|
Naja man könnte die Flash Inhalte natürlich ins Template einbauen, oder aber ein Plugin für den TinyMCE laden.
Dann wäre es auch möglich, Flash Inhalte auf eigenen Seiten einzubinden!
|
|
|
|
|
texel
Dabei seit: 16.01.2008
Ort: BaWü
Alter: 46
Geschlecht: -
|
Verfasst Do 21.02.2008 14:45
Titel
|
|
|
ein Plugin für den TinyMCE wäre angebracht
wäre ein riesen plus
|
|
|
|
|
bacon
Dabei seit: 24.10.2007
Ort: -
Alter: -
Geschlecht: -
|
|
|
|
|
wehmeier
Dabei seit: 24.02.2005
Ort: Bad Oeynhausen
Alter: 44
Geschlecht:
|
Verfasst Fr 18.07.2008 13:22
Titel
|
|
|
Hier mal eine modifizierte, aber nicht aktuelle Version, von einem Freund, dass ich selber auf meinem System zum prüfen ein gesetzt habe. Meine Variante ist schon in XHTML und hat ein paar Abfragen mehr, aber die habe ich nicht hier. Diese sollte aber reichen, um mod_rewrite zu prüfen. Natürlich könnte man noch eine Hardcore-Variante erstellen, die dann eine .htaccess Datei erstellt und dann prüft, ob die auch greift, aber das muss ja nicht sein oder?[/code]
Code: |
<?php
define('TESTRESULT_OK', 1);
define('TESTRESULT_FAILED', 2);
define('TESTRESULT_UNKNOWN', 3);
define('TESTRESULT_OPTIONAL', 4);
define('TESTRESULT_NOT_IMPLEMENTED', 0);
class wiWMS_testsystem {
var $information = array(
'Test File' => 'infoTestFileName',
'Operating System' => 'infoOperatingSystem',
'PHP Version' => 'infoPHPVersion',
'Document Root' => 'infoDocumentRoot',
'MySQL Client' => 'infoMySQLVersion',
'MySQLi Client' => 'infoMySQLiVersion',
'SQlite Library' => 'infoSQLiteVersion',
'GD Version' => 'infoGDVersion',
'ext/xslt Backend' => 'infoXSLTBackendVersion',
'libXSLT Version' => 'infoLibXSLTVersion',
);
var $tests = array(
'mod_rewrite (Apache extension)' => 'testModRewrite',
'Database Extension' => 'testDatabase',
'XML Extension' => 'testXML',
'XSLT Extension' => 'testXSLT',
'GD Extension' => 'testGD',
'GD GIF read' => 'testGDGIFRead',
'GD GIF write' => 'testGDGIFWrite',
'GD JPEG read/write' => 'testGDJPEG',
'GD PNG read/write' => 'testGDPNG',
);
var $resultInfos = array();
var $resultTests = array();
function execute() {
foreach ($this->information as $title => $method) {
$this->resultInfos[$title] = $this->getInformation($method);
}
foreach ($this->tests as $title => $method) {
$this->resultTests[$title] = $this->runTest($method);
}
}
function getInformation($method) {
if (method_exists($this, $method)) {
return $this->$method();
} else {
return 'FAILED';
}
}
function runTest($method) {
if (method_exists($this, $method)) {
return $this->$method();
} else {
return TESTRESULT_NOT_IMPLEMENTED;
}
}
function infoTestFileName() {
return __FILE__;
}
function infoPHPVersion() {
return PHP_VERSION;
}
function infoOperatingSystem() {
return PHP_OS;
}
function infoDocumentRoot() {
if (isset($_SERVER) && is_array($_SERVER) && isset($_SERVER['DOCUMENT_ROOT'])) {
return $_SERVER['DOCUMENT_ROOT'];
}
return '';
}
function infoMySQLVersion() {
if (function_exists('mysql_get_client_info')) {
return mysql_get_client_info();
}
return 'None';
}
function infoMySQLiVersion() {
if (function_exists('mysqli_get_client_info')) {
return mysqli_get_client_info();
}
return 'None';
}
function infoSQLiteVersion() {
if (function_exists('sqlite_libversion')) {
$result = sqlite_libversion();
return $result['client'];
}
return 'None';
}
function infoGDVersion() {
if (function_exists('gd_info')) {
$gdInfo = gd_info();
return $gdInfo['GD Version'];
} elseif (function_exists('imagetypes')) {
return 'Unknown';
}
return 'None';
}
function infoXSLTBackendVersion() {
if (function_exists('xslt_backend_name') && function_exists('xslt_backend_version')) {
return xslt_backend_name().' '.xslt_backend_version();
}
return 'None';
}
function infoLibXSLTVersion() {
if (function_exists('domxml_xslt_version')) {
return domxml_xslt_version();
} elseif (defined('LIBXSLT_DOTTED_VERSION') && defined('LIBEXSLT_DOTTED_VERSION')) {
return LIBXSLT_DOTTED_VERSION.' (eXSLT '.LIBEXSLT_DOTTED_VERSION.')';
} elseif (defined('LIBXSLT_DOTTED_VERSION')) {
return LIBXSLT_DOTTED_VERSION;
}
return 'None';
}
function testDatabase() {
$extensions = array('mysql', 'mysqli', 'pgsql', 'sqlite');
foreach ($extensions as $ext) {
if (extension_loaded($ext)) {
return TESTRESULT_OK;
}
}
return TESTRESULT_FAILED;
}
function testXML() {
if (extension_loaded('xml')) {
return TESTRESULT_OK;
}
return TESTRESULT_FAILED;
}
function testXSLT() {
if (extension_loaded('xslt')) {
return TESTRESULT_OK;
}
if (extension_loaded('domxml') && function_exists('domxml_xslt_stylesheet_file')) {
return TESTRESULT_OK;
}
if (extension_loaded('xsl')) {
return TESTRESULT_OK;
}
return TESTRESULT_FAILED;
}
function testModRewrite() {
if (function_exists('apache_get_modules')) {
$extensions = apache_get_modules();
if (in_array('mod_rewrite', $extensions)) {
return TESTRESULT_OK;
} else {
return TESTRESULT_FAILED;
}
}
return TESTRESULT_UNKNOWN;
}
function testGD() {
if (extension_loaded('gd')) {
return TESTRESULT_OK;
}
return TESTRESULT_FAILED;
}
function testGDGIFRead() {
$result = FALSE;
if (function_exists('gd_info')) {
$gdInfo = gd_info();
$result = $gdInfo['GIF Read Support'];
} elseif (function_exists('imagetypes')) {
$imageTypes = imagetypes();
$result = (bool)($imageTypes & IMG_GIF);
}
if ($result) {
return TESTRESULT_OK;
}
return TESTRESULT_FAILED;
}
function testGDGIFWrite() {
$result = FALSE;
if (function_exists('gd_info')) {
$gdInfo = gd_info();
$result = $gdInfo['GIF Create Support'];
} elseif (function_exists('imagetypes')) {
$imageTypes = imagetypes();
$result = (bool)($imageTypes & IMG_GIF);
}
if ($result) {
return TESTRESULT_OK;
}
return TESTRESULT_OPTIONAL;
}
function testGDJPEG() {
$result = FALSE;
if (function_exists('gd_info')) {
$gdInfo = gd_info();
$result = $gdInfo['JPG Support'];
} elseif (function_exists('imagetypes')) {
$imageTypes = imagetypes();
$result = (bool)($imageTypes & IMG_JPG);
}
if ($result) {
return TESTRESULT_OK;
}
return TESTRESULT_FAILED;
}
function testGDPNG() {
$result = FALSE;
if (function_exists('gd_info')) {
$gdInfo = gd_info();
$result = $gdInfo['PNG Support'];
} elseif (function_exists('imagetypes')) {
$imageTypes = imagetypes();
$result = (bool)($imageTypes & IMG_PNG);
}
if ($result) {
return TESTRESULT_OK;
}
return TESTRESULT_FAILED;
}
}
$test = new wiWMS_testsystem();
$test->execute();
?>
<html>
<head>
<title>wiWMS CMS 5 System Test</title>
<style type="text/css">
body {
font-size: 0.8em;
font-family: sans-serif;
background-color: white;
color: black;
}
h1 {
font-size: 1.3em;
}
h2 {
font-size: 1.2em;
}
table {
font-size: 1em;
border: 1px solid black;
border-collapse: collapse;
width: 50em;
}
table th, table td {
text-align: left;
border: 1px solid black;
padding: 2px;
}
table.testResults td {
text-align: center;
font-weight: bold;
}
.testOK {
color: green;
}
.testFAILED {
color: red;
}
.testNOTIMPLEMENTED {
color: red;
}
.testUNKNOWN {
color: blue;
}
.testOPTIONAL {
color: black;
}
</style>
<head>
<body>
<h1>wiWMS System Test</h1>
<h2>Tests</h2>
<table class="legend">
<tr>
<th class="testOK">OK</th>
<td>Test passed</td>
</tr>
<tr>
<th class="testFAILED">FAILED</th>
<td>Test failed - Here is a problem</td>
</tr>
<tr>
<th class="testUNKNOWN">UNKNOWN</th>
<td>Test failed - Please check manually</td>
</tr>
<tr>
<th class="testOPTIONAL">OPTIONAL</th>
<td>Test failed - But this feature is optional</td>
</tr>
</table>
<br />
<table class="testResults">
<?php
foreach($test->resultTests AS $title => $testResult) {
echo '<tr>';
echo '<th>'.htmlspecialchars($title).'</th>';
switch ($testResult) {
case TESTRESULT_OK :
echo '<td class="testOK">OK</td>';
break;
case TESTRESULT_FAILED :
echo '<td class="testFAILED">FAILED</td>';
break;
case TESTRESULT_UNKNOWN :
echo '<td class="testUNKNOWN">UNKNOWN</td>';
break;
case TESTRESULT_OPTIONAL :
echo '<td class="testOPTIONAL">OPTIONAL</td>';
break;
default :
case TESTRESULT_NOT_IMPLEMENTED :
echo '<td class="testNOTIMPLEMENTED">NOT IMPLEMENTED</td>';
break;
}
echo '</tr>';
}
?>
</table>
<h2>Information</h2>
<table class="infos">
<?php
foreach($test->resultInfos AS $title => $info) {
echo '<tr>';
echo '<th>'.htmlspecialchars($title).'</th>';
echo '<td>'.htmlspecialchars($info).'</td>';
echo '</tr>';
}
?>
</table>
</body>
</html>
|
|
|
|
|
|
|
|
|
Ähnliche Themen |
(CSS) Perfekte Anordnung
Die perfekte Homepage
Perfekte Farben - aber wie?
[Javascript] Das perfekte (Bild-) Pop-Up
PHP - Beispiel für Einsatz von Klassen
perfekte einstellung für PDF-Portfolio gesucht!
|
|
|
Seite: Zurück 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Weiter |
MGi Foren-Übersicht -> Programmierung |
|
Du kannst keine Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum nicht antworten. Du kannst an Umfragen in diesem Forum nicht mitmachen.
|
|