1
0

Added new (clean) yii boilerplate

This commit is contained in:
2014-05-13 12:40:42 +02:00
parent 1d6d975a16
commit 99d29b432b
1983 changed files with 653465 additions and 17 deletions

View File

@@ -0,0 +1 @@
deny from all

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="ar"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>مدقق متطلبات Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>مدقق متطلبات Yii</h1>
</div><!-- header-->
<div id="content">
<h2>الوصف</h2>
<p>
يتحقق هذا السكربت ماإذا كانت إعدادات الخادم لديك تفي بمتطلبات تشغيل تطبيقات الويب لاطار العمل <a href="http://www.yiiframework.com/">Yii</a>.
يتحقق ايضا ما إذا كان الخادم يعمل على الإصدارة الصحيحة من PHP،
تحميل اللاحقات المناسبة، وأيضا ما إذا كانت إعدادات ملف php.ini صحيحة.
</p>
<h2>النتيجة</h2>
<p>
<?php if($result>0): ?>
تهانينا! إعدادات الخادم لديك مستوفية جميع متطلبات تشغيل Yii.
<?php elseif($result<0): ?>
إعدادات الخادم الخاص بك مستوفية للحد الادنى لمتطلبات تشغيل Yii. الرجاء ملاحظة قائمة التنبيهات أدناه وما إذا كان التطبيق الخاص بك يستخدم أحد هذه المزايا.
<?php else: ?>
لسوء الحظ إعدادات الخادم الخاص بك لا تلبي متطلبات تشغيل Yii.
<?php endif; ?>
</p>
<h2>التفاصيل</h2>
<table class="result">
<tr><th>الاسم</th><th>النتيجة</th><th>مطلوب من قبل</th><th>ملاحظات</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'نجح' : ($requirement[1] ? 'فشل' : 'تنبيه'); ?>">
<?php echo $requirement[2] ? 'نجح' : ($requirement[1] ? 'فشل' : 'تنبيه'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>نجح</td>
<td class="failed">&nbsp;</td><td>فشل</td>
<td class="warning">&nbsp;</td><td>تنبيه</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,81 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii Requirement Checker</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Проверка на изискванията на Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Описание</h2>
<p>
This script checks if your server configuration meets the requirements
for running <a href="http://www.yiiframework.com/">Yii</a> Web applications.
It checks if the server is running the right version of PHP,
if appropriate PHP extensions have been loaded, and if php.ini file settings are correct.
Този скрипт проверява дали конфигурацията на вавият сървър, отговаря на изискванията за
работа на <a href="http://www.yiiframework.com/">Yii</a> уеб приложенията.
Проверява дали на сървъра работи подходящата версия на PHP,
дали подходящите PHP добавки са заредени и дали настройките в php.ini са вярни
</p>
<h2>Заключение</h2>
<p>
<?php if($result>0): ?>
Congratulations! Your server configuration satisfies all requirements by Yii.
Поздравление! Вашият сървър отговаря на всики изисквания за работа на Yii.
<?php elseif($result<0): ?>
Вашият сървър удоблетворява минималните изисквания на Yii. Моля, обърнете внимание на списъка с грешки отдоло, ако вашето приложение ще използва тези функции.
<?php else: ?>
За жалост, вашият сървър, не отговаря на изискванията за работа на Yii.
<?php endif; ?>
</p>
<h2>Детайли</h2>
<table class="result">
<tr><th>Име</th><th>Резултат</th><th>Поискано от</th><th>Бележка</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Passed' : ($requirement[1] ? 'Failed' : 'Warning'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>преминат</td>
<td class="failed">&nbsp;</td><td>провален</td>
<td class="warning">&nbsp;</td><td>предупреждение</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="es"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Verificació de requerimients de Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Verificació de requerimients de Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Descripció</h2>
<p>
Aquest script verifica que la configuració del seu servidor compleix amb els requeriments necessàris per poder executar aplicacions Web <a href="http://www.yiiframework.com/">Yii</a>.
El mateix verifica que el servidor corre una versió adequada de PHP, que les extensions PHP necessàries han set carregades i que les configuracions de l'arxiu php.ini són correctes.
</p>
<h2>Conclusió</h2>
<p>
<?php if($result>0): ?>
Enhorabona! El vostre servidor compleix tots els requeriments de Yii.
<?php elseif($result<0): ?>
La configuració del vostre servidor compleix els requeriments mínims de Yii. Si us plau, prengui atenció a les advertències llistades a continuació si la seva aplicació utilitza alguna d'aquestes característiques.
<?php else: ?>
Desafortunadamente la configuración de su servidor no satisface los requerimientos de Yii.
Desafortunamadament, la configuració del vostre servidor no compleix els requeriments de Yii.
<?php endif; ?>
</p>
<h2>Detalles</h2>
<table class="result">
<tr><th>Nom</th><th>Resultat</th><th>Requerit per</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Correcte' : 'Error'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>correcte</td>
<td class="failed">&nbsp;</td><td>error</td>
<td class="warning">&nbsp;</td><td>advertència</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii Anforderungs-Tester</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii Anforderungs-Tester</h1>
</div><!-- header-->
<div id="content">
<h2>Beschreibung</h2>
<p>
Dieses Script ermittelt, ob Ihre Serverkonfiguration die Anforderungen zum
Ausführen von <a href="http://www.yiiframework.com/">Yii</a> Webanwendungen
erfüllt.
Es prüft auf die korrekte PHP Version, ob die benötigten Erweiterungen
geladen wurden und ob die Einstellungen in der php.ini korrekt sind
</p>
<h2>Zusammenfassung</h2>
<p>
<?php if($result>0): ?>
Gratulation! Ihr Server erfüllt alle Anforderungen von Yii.
<?php elseif($result<0): ?>
Ihr Server erfüllt die minimalen Anforderungen von Yii. Bitte beachten Sie die untenstehenden Warnungen, wenn Ihre Anwendungen einige dieser Features verwenden sollen.
<?php else: ?>
Unglücklicherweise erfüllt Ihr Server die Anforderungen von Yii nicht.
<?php endif; ?>
</p>
<h2>Details</h2>
<table class="result">
<tr><th>Name</th><th>Resultat</th><th>Benötigt von</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Bestanden' : ($requirement[1] ? 'Verfehlt' : 'Warnung'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>Bestanden</td>
<td class="failed">&nbsp;</td><td>Verfehlt</td>
<td class="warning">&nbsp;</td><td>Warnung</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii Anforderungs-Tester</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii Anforderungs-Tester</h1>
</div><!-- header-->
<div id="content">
<h2>Beschreibung</h2>
<p>
Dieses Script ermittelt, ob Ihre Serverkonfiguration die Anforderungen zum
Ausführen von <a href="http://www.yiiframework.com/">Yii</a> Webanwendungen
erfüllt.
Es prüft auf die korrekte PHP Version, ob die benötigten Erweiterungen
geladen wurden und ob die Einstellungen in der php.ini korrekt sind
</p>
<h2>Zusammenfassung</h2>
<p>
<?php if($result>0): ?>
Gratulation! Ihr Server erfüllt alle Anforderungen von Yii.
<?php elseif($result<0): ?>
Ihr Server erfüllt die minimalen Anforderungen von Yii. Bitte beachten Sie die untenstehenden Warnungen, wenn Ihre Anwendungen einige dieser Features verwenden sollen.
<?php else: ?>
Unglücklicherweise erfüllt Ihr Server die Anforderungen von Yii nicht.
<?php endif; ?>
</p>
<h2>Details</h2>
<table class="result">
<tr><th>Name</th><th>Resultat</th><th>Benötigt von</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Bestanden' : ($requirement[1] ? 'Verfehlt' : 'Warnung'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>Bestanden</td>
<td class="failed">&nbsp;</td><td>Verfehlt</td>
<td class="warning">&nbsp;</td><td>Warnung</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Ελεγκτής Απαιτήσεων Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Ελεγκτής Απαιτήσεων Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Περιγραφή</h2>
<p>
Αυτή η σελίδα ελέγχει αν η παραμετροποίηση του διακομιστή σας είναι σωστή
για την εκτέλεση των εφαρμογών ιστού του <a href="http://www.yiiframework.com/">Yii</a>.
Ελέγχει αν ο διακομιστής εκτελεί τη σωστή έκδοση PHP, αν έχουν φορτωθεί
οι κατάλληλες επεκτάσεις PHP και αν οι ρυθμίσεις του αρχείου php.ini είναι σωστές.
</p>
<h2>Συμπέρασμα</h2>
<p>
<?php if($result>0): ?>
Συγχαρητήρια! Η παραμετροποίηση του διακομιστή σας ικανοποιεί όλες τις απαιτήσεις του Yii.
<?php elseif($result<0): ?>
Η παραμετροποίηση του διακομιστή σας ικανοποιεί τις ελάχιστες απαιτήσεις του Yii. Παρακαλούμε δείτε με προσοχή τις παρακάτω προειδοποιήσεις εφόσον η εφαρμογή σας θα χρησιμοποιεί τα αντίστοιχα χαρακτηριστικά.
<?php else: ?>
Δυστυχώς, η παραμετροποίηση του διακομιστή σας δεν ικανοποιεί τις απαιτήσεις του Yii.
<?php endif; ?>
</p>
<h2>Λεπτομέρειες</h2>
<table class="result">
<tr><th>Όνομα</th><th>Αποτέλεσμα</th><th>Απαιτούμενο από</th><th>Σημειώσεις</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'πέρασε' : ($requirement[1] ? 'απέτυχε' : 'προειδοποίηση'); ?>">
<?php echo $requirement[2] ? 'Πέρασε' : ($requirement[1] ? 'Απέτυχε' : 'Προειδοποίηση'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>πέρασε</td>
<td class="failed">&nbsp;</td><td>απέτυχε</td>
<td class="warning">&nbsp;</td><td>προειδοποίηση</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="es"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Verificación de requerimientos de Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Verificación de requerimientos de Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Descripción</h2>
<p>
Este script verifica que la configuración de su servidor cumpla con los requerimientos
para poder ejecutar aplicaciones Web <a href="http://www.yiiframework.com/">Yii</a>.
El mismo verifica que el servidor este corriendo una versión adecuada de PHP,
que las extensiones PHP necesarias hayan sido cargadas y que las configuraciones del archivo php.ini sean correctas.
</p>
<h2>Conclusión</h2>
<p>
<?php if($result>0): ?>
Felicitaciones! Su servidor satisface todos los requerimientos de Yii.
<?php elseif($result<0): ?>
La configuración de su servidor satisface los requerimientos mínimos de Yii. Por favor preste atención a las advertencias listadas en el cuadro más abajo si su aplicación utiliza alguna de esas características.
<?php else: ?>
Desafortunadamente la configuración de su servidor no satisface los requerimientos de Yii.
<?php endif; ?>
</p>
<h2>Detalles</h2>
<table class="result">
<tr><th>Nombre</th><th>Resultado</th><th>Requerido por</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Paso' : 'Fallo'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>paso</td>
<td class="failed">&nbsp;</td><td>fallo</td>
<td class="warning">&nbsp;</td><td>advertencia</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Vérification de la configuration nécessaire pour Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Vérification de la configuration nécessaire pour Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Description</h2>
<p>
Ce script vérifie si la configuration de votre serveur satisfait toutes les dépendances nécessaires
pour exécuter les applications <a href="http://www.yiiframework.com/">Yii</a>.
Il vérifie si le serveur exécute la version correcte de PHP,
si toutes les extensions PHP nécessaires ont été chargées, et si les paramètres du fichier php.ini sont corrects
</p>
<h2>Conclusion</h2>
<p>
<?php if($result>0): ?>
Félicitations ! Votre configuration vérifie toutes les exigences de Yii.
<?php elseif($result<0): ?>
Votre configuration satisfait les exigences minimales de Yii. Notez les avertissements listés ci-dessous si votre application utilise les fonctionnalités correspondantes.
<?php else: ?>
Malheureusement, votre configuration ne satisfait pas les exigences de Yii.
<?php endif; ?>
</p>
<h2>Details</h2>
<table class="result">
<tr><th>Nom</th><th>Resultat</th><th>Requis Par</th><th>Info</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Ok' : 'Echec'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>Ok</td>
<td class="failed">&nbsp;</td><td>Echec</td>
<td class="warning">&nbsp;</td><td>Avertissement</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir='rtl' xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>בדיקת דרישות מינימום להרצת Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>בדיקת דרישות מינימום להרצת Yii</h1>
</div><!-- header-->
<div id="content">
<h2>תיאור</h2>
<p>
הסקריפט הבא בודק אם סביבת השרת שלך תוכל לעמוד בדרישות המינימום כדי להריץ את
<a href="http://www.yiiframework.com/">Yii</a> לפיתוח מערכות ווב מתקדמות.
הסקריפט בודק אם השרת מריץ גרסאת PHP עדכנית,
אם הרחבות מסויימת קיימות ב PHP ונטענו בהצלחה, ואם הגדרות ה php.ini מוגדרות כמו שצריך.
</p>
<h2>סיכום</h2>
<p>
<?php if($result>0): ?>
ברכותיינו! סביבת השרת שלך תומכת בכל הגדרישות של Yii.
<?php elseif($result<0): ?>
הגדרות סביבת השרת שלך מתאימות לדרישות המינימום של Yii.
אנא שים לב לאזהרות והערות הכתובות מטה במידה והאפליקציה שתכתוב תשתמש באחת מהאפשרויות הללו.
<?php else: ?>
לצערנו סביבת השרת שלך אינה תומכת בדרישות המינימום של Yii.
<?php endif; ?>
</p>
<h2>פרטים</h2>
<table class="result">
<tr><th>כותרת</th><th>תוצאה</th><th>נדרש על ידי</th><th>תזכורת</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'עבר' : 'נכשל'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>עבר</td>
<td class="failed">&nbsp;</td><td>נכשל</td>
<td class="warning">&nbsp;</td><td>אזהרה</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii Requirement Checker</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii Requirement Checker</h1>
</div><!-- header-->
<div id="content">
<h2>Description</h2>
<p>
This script checks if your server configuration meets the requirements
for running <a href="http://www.yiiframework.com/">Yii</a> Web applications.
It checks if the server is running the right version of PHP,
if appropriate PHP extensions have been loaded, and if php.ini file settings are correct.
</p>
<h2>Conclusion</h2>
<p>
<?php if($result>0): ?>
Congratulations! Your server configuration satisfies all requirements by Yii.
<?php elseif($result<0): ?>
Your server configuration satisfies the minimum requirements by Yii. Please pay attention to the warnings listed below if your application will use the corresponding features.
<?php else: ?>
Unfortunately your server configuration does not satisfy the requirements by Yii.
<?php endif; ?>
</p>
<h2>Details</h2>
<table class="result">
<tr><th>Name</th><th>Result</th><th>Required By</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Passed' : ($requirement[1] ? 'Failed' : 'Warning'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>passed</td>
<td class="failed">&nbsp;</td><td>failed</td>
<td class="warning">&nbsp;</td><td>warning</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Verifica soddisfazione requisiti di Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Verifica soddisfazione requisiti di Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Descrizione</h2>
<p>
Questo script verifica se la configurazione del tuo server soddisfa i requisiti
di esecuzione delle web application sviluppate con <a href="http://www.yiiframework.com/">Yii</a>.
Verifica se nel server è in esecuzione la corretta versione di PHP, se le
estensioni PHP necessarie sono state caricate e se le impostazioni di php.ini sono corrette.
</p>
<h2>Conclusioni</h2>
<p>
<?php if($result>0): ?>
Congratulazioni! La configurazione del tuo server soddisfa tutti i requisiti di Yii.
<?php elseif($result<0): ?>
La configurazione del tuo server soddisfa i requisiti minimi di Yii. Si prega di prestare attenzione agli avvisi qui sotto qualora l'applicazione utilizzi le corrispondenti funzionalità.
<?php else: ?>
Sfortunatamente La configurazione del tuo server non soddisfa i requisiti di Yii.
<?php endif; ?>
</p>
<h2>Dettagli</h2>
<table class="result">
<tr><th>Nome</th><th>Resultato</th><th>Richiesto da</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Superato' : 'Fallito'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>superato</td>
<td class="failed">&nbsp;</td><td>fallito</td>
<td class="warning">&nbsp;</td><td>avviso</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii 必要条件チェッカ</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii 必要条件チェッカ</h1>
</div><!-- header-->
<div id="content">
<h2>説明</h2>
<p>
このスクリプトは、あなたのサーバ構成が <a href="http://www.yiiframework.com/">Yii</a>
ウェブアプリケーションを実行する必要条件を満たしているかどうかを確認するものです。
すなわち、サーバが正しいバージョンの PHP を実行しているか、適切な PHP 拡張をロードしているか、php.ini ファイルの設定が正しいか、を確認します。</p>
<h2>判定結果</h2>
<p>
<?php if($result>0): ?>
おめでとうございます。あなたのサーバ構成は Yii の全ての必要条件を満しています。
<?php elseif($result<0): ?>
あなたのサーバ構成は Yii の最低限の必要条件を満しています。
「注意」が出ている項目について、あなたのアプリケーションが対応する機能を使用する予定が有るか無いかを確認してください。
<?php else: ?>
残念ですが、あなたのサーバ構成は Yii の必要条件を満していません。
<?php endif; ?>
</p>
<h2>詳細</h2>
<table class="result">
<tr><th style="width:160px">名称</th><th style="width:50px">結果</th><th>対応する機能</th><th>備考</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? '合格' : ($requirement[1] ? '不合格' : '注意'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed" style="width:20px">&nbsp;</td><td style="width:50px">合格</td>
<td class="failed" style="width:20px">&nbsp;</td><td style="width:50px">不合格</td>
<td class="warning" style="width:20px">&nbsp;</td><td style="width:50px">注意</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,77 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" lang="no">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii - Sjekk systemkrav</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii - Sjekk systemkrav</h1>
</div><!-- header-->
<div id="content">
<h2>Beskrivelse</h2>
<p>
Dette skriptet sjekker om serverkonfigurasjonen oppfyller kravene for å kjøre
<a href="http://www.yiiframework.com/">Yii</a>-applikasjoner.
Det sjekker om serveren kjører riktig versjon av PHP, om nødvendige extensions
er lastet og om PHP-innstillingene i php.ini er korrekt.
</p>
<h2>Konklusjon</h2>
<p>
<?php if($result>0): ?>
Gratulerer! Konfigurasjonen på serveren tilfredstiller alle krav for å kjøre Yii.
<?php elseif($result<0): ?>
Konfigurasjonen på serveren tilfredstiller minimumskravene til Yii. Vær oppmerksom
på advarslene listet nedenfor dersom applikasjonen din trenger noe av denne
funksjonaliteten.
<?php else: ?>
Desverre tilfredstiller ikke konfigurasjonen av serveren minimumskravene til Yii.
<?php endif; ?>
</p>
<h2>Detaljer</h2>
<table class="result">
<tr><th>Navn</th><th>Resultat</th><th>Kreves av</th><th>Notat</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'ok' : ($requirement[1] ? 'feil' : 'advarsel'); ?>">
<?php echo $requirement[2] ? 'Ok' : 'Feil'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>ok</td>
<td class="failed">&nbsp;</td><td>feil</td>
<td class="warning">&nbsp;</td><td>advarsel</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Sprawdzanie wymagań przez Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Sprawdzanie wymagań stawianych przez Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Opis</h2>
<p>
Skrypt ten sprawdza czy konfiguracja Twojego serwera spełnia wymagania
pozwalające uruchomić aplikację napisaną przy użyciu <a href="http://www.yiiframework.com/">Yii</a>.
Sprawdza on, czy serwer używa poprawnej wersji PHP,
czy zostały załadowane odpowiednie rozszerzenia PHP oraz czy ustawienia w pliku php.ini prawidłowe.
</p>
<h2>Rozstrzygnięcie</h2>
<p>
<?php if($result>0): ?>
Gratulacje! Konfiguracja Twojego serwera spełnia wszystkie wymagania stawiane przez Yii.
<?php elseif($result<0): ?>
Konfiguracja Twojego serwera spełnia minimalne wymagania stawiane przez Yii.
Zwróć uwagę na ostrzeżenia wyświetlone poniżej jeśli Twoja aplikacja będzie używała odpowiadających im funkcjonalności.
<?php else: ?>
Niestety konfiguracja Twojego serwera nie spełnia wymagań stawianych przez Yii.
<?php endif; ?>
</p>
<h2>Szczegóły</h2>
<table class="result">
<tr><th>Nazwa</th><th>Rezultat</th><th>Wymagana przez</th><th>Notka</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Passed' : 'Failed'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>powiódł się</td>
<td class="failed">&nbsp;</td><td>nie powiódł się</td>
<td class="warning">&nbsp;</td><td>ostrzeżenie</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Verificador de requisitos do Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Verificador de requisitos do Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Descrição</h2>
<p>
Este script verifica se as configurações do servidor satisfazem os requisitos
para executar aplicações Web que utilizem o <a href="http://www.yiiframework.com/"> Yii </a>.
É verificado se o servidor está executando a versão correta do PHP,
se as extensões apropriadas do PHP foram carregadas,
e se as definições do arquivo php.ini estão corretas.
</p>
<h2>Resultados</h2>
<p>
<?php if($result>0): ?>
Parabéns! As configurações do seu servidor satisfazem todos os requisitos do Yii.
<?php elseif($result<0): ?>
As configurações do seu servidor satisfazem os requisitos mínimos do Yii. Por favor, preste atenção às advertências listados abaixo caso sua aplicação irá utilizar os recursos correspondentes.
<?php else: ?>
Infelizmente o as configurações do seu servidor não satisfazem os requisitos do Yii.
<?php endif; ?>
</p>
<h2>Detalhes</h2>
<table class="result">
<tr><th>Nome</th><th>Resultado</th><th>Exigido por</th><th>Detalhe</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Passed' : 'Failed'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>OK</td>
<td class="failed">&nbsp;</td><td>Falhou</td>
<td class="warning">&nbsp;</td><td>Advertência</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Verificador de requisitos do Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Verificador de requisitos do Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Descrição</h2>
<p>
Este script verifica se as configurações do servidor satisfazem os requisitos
para executar aplicações Web que utilizem o <a href="http://www.yiiframework.com/"> Yii </a>.
É verificado se o servidor está executando a versão correta do PHP,
se as extensões apropriadas do PHP foram carregadas,
e se as definições do arquivo php.ini estão corretas.
</p>
<h2>Resultados</h2>
<p>
<?php if($result>0): ?>
Parabéns! As configurações do seu servidor satisfazem todos os requisitos do Yii.
<?php elseif($result<0): ?>
As configurações do seu servidor satisfazem os requisitos mínimos do Yii. Por favor, preste atenção às advertências listadas abaixo caso sua aplicação for utilizar os recursos correspondentes.
<?php else: ?>
Infelizmente as configurações do seu servidor não satisfazem os requisitos do Yii.
<?php endif; ?>
</p>
<h2>Detalhes</h2>
<table class="result">
<tr><th>Nome</th><th>Resultado</th><th>Exigido por</th><th>Detalhe</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'OK' : ($requirement[1] ? 'Falhou' : 'Advertência'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>OK</td>
<td class="failed">&nbsp;</td><td>Falhou</td>
<td class="warning">&nbsp;</td><td>Advertência</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,78 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Verificare cerinte Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Verificarea cerintelor Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Descriere</h2>
<p>
Acest script verifica daca configuratia serverului dvs indeplineste cerintele
pentru rularea aplicatiilor Web <a href="http://www.yiiframework.com/">Yii</a>.
Se fac urmatoarele verificari: daca serverul ruleaza versiunea corecta de PHP,
daca extensiile PHP corespunzatoare au fost incarcate si daca
setarile din fisierul php.ini sunt corecte.
</p>
<h2>Concluzie</h2>
<p>
<?php if($result>0): ?>
Felicitari! Configuratia serverului dvs indeplineste toate cerintele Yii.
<?php elseif($result<0): ?>
Configuratia serverului dvs indeplineste cerintele minime pentru Yii.
Va rugam sa cititi avertismentele afisate mai jos, in cazul in care aplicatia pe care o veti crea
va folosi respectivele feature-uri.
<?php else: ?>
Din pacate, configuratia serverului dvs nu indeplineste cerintele Yii.
<?php endif; ?>
</p>
<h2>Detalii</h2>
<table class="result">
<tr><th>Nume</th><th>Rezultat</th><th>Cerut de</th><th>Precizari</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Passed' : 'Failed'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>passed</td>
<td class="failed">&nbsp;</td><td>failed</td>
<td class="warning">&nbsp;</td><td>warning</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Проверка на соответствие требованиям Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Проверка на соответствие требованиям Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Описание</h2>
<p>
Данный скрипт проверяет соответствие конфигурации Вашего веб-сервера требованиям,
предъявляемым веб-приложениями <a href="http://www.yiiframework.com/">Yii</a>.
В частности, проверяются версия РНР и загруженные расширения РНР, а также
корректность настроек файла php.ini.
</p>
<h2>Заключение</h2>
<p>
<?php if($result>0): ?>
Поздравляем! Конфигурация Вашего веб-сервера полностью удовлетворяет требованиям Yii.
<?php elseif($result<0): ?>
Конфигурация Вашего веб-сервера удовлетворяет минимально необходимым требованиям Yii. Обратите внимание на предупреждения в таблице ниже, если предполагается использование соответствующего функционала.
<?php else: ?>
К сожалению, конфигурация Вашего веб-сервера не удовлетворяет требованиям Yii.
<?php endif; ?>
</p>
<h2>Результаты проверки</h2>
<table class="result">
<tr><th>Название</th><th>Итог</th><th>Требуется для</th><th>Пояснение</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Да' : ($requirement[1] ? 'Нет' : 'Предупреждение'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>Да</td>
<td class="failed">&nbsp;</td><td>Нет</td>
<td class="warning">&nbsp;</td><td>Предупреждение</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii - Test prostredia</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii - Test prostredia</h1>
</div><!-- header-->
<div id="content">
<h2>Popis</h2>
<p>
Tento skript preverí, či je konfigurácia vášho servera postačujúca
pre korektné fungovanie aplikácii vytvorených pre <a href="http://www.yiiframework.com/">Yii framework</a>.
Test preveruje správnu verziu PHP, prítomnosť potrebných PHP rozšírení a správne nastavenie
konfigurácie v php.ini.
</p>
<h2>Záver</h2>
<p>
<?php if($result>0): ?>
Gratulujem! Váš server spĺňa všetky požiadavky potrebné pre korektné fungovanie Yii.
<?php elseif($result<0): ?>
Váš server spĺňa minimálne požiadavky potrebné pre fungovanie Yii.
Venujte prosím pozornosť upozorneniam uvedeným nižšie v prípade, že vaša aplikácia bude využívať potrebné funkcie.
<?php else: ?>
Bohužiaľ, váš server nespĺňa požiadavky potrebné pre fungovanie Yii.
<?php endif; ?>
</p>
<h2>Detaily</h2>
<table class="result">
<tr><th>Názov</th><th>Výsledok</th><th>Požadované od</th><th>Pozn.</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'OK' : ($requirement[1] ? 'Chyba' : 'Upozornenie'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>OK</td>
<td class="failed">&nbsp;</td><td>chyba</td>
<td class="warning">&nbsp;</td><td>upozornenie</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,74 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii - Kontroll systemkrav</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii - Kontroll systemkrav</h1>
</div><!-- header-->
<div id="content">
<h2>Beskrivning</h2>
<p>
Det här skriptet kontrollerar om serverkonfigurationen uppfyller kraven för att köra <a href="http://www.yiiframework.com/">Yii</a> webbapplikationer.
Det kollar att servern kör rätt version av PHP,
att erforderliga PHP-tillägg är laddade, och att inställningar i filen php.ini är korrekta.
</p>
<h2>Slutsats</h2>
<p>
<?php if($result>0): ?>
Grattis! Serverkonfigurationen uppfyller alla krav som Yii ställer.
<?php elseif($result<0): ?>
Serverkonfigurationen uppfyller minimikraven som Yii ställer. Lägg märke till nedanstående varningar om applikationer behöver använda nämnda finesser.
<?php else: ?>
Tyvärr uppfyller inte serverkonfigurationen minimikraven Yii ställer.
<?php endif; ?>
</p>
<h2>Detaljer</h2>
<table class="result">
<tr><th>Namn</th><th>Resultat</th><th>Krävs för</th><th>Memo</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Stöds' : ($requirement[1] ? 'Stöd saknas' : 'Warning'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>passed</td>
<td class="failed">&nbsp;</td><td>failed</td>
<td class="warning">&nbsp;</td><td>warning</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Перевірка на відповідність до вимог Yii</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Перевірка на відповідність до вимог Yii</h1>
</div><!-- header-->
<div id="content">
<h2>Опис</h2>
<p>
Цей скрипт перевіряє чи відповідає конфігурація Вашого веб-сервера вимогам,
що висуваються до <a href="http://www.yiiframework.com/">Yii</a> веб-додатків.
Зокрема перевіряється версія PHP, чи завантажені необхідні розширення PHP,
а також коректність налаштувань у файлі php.ini.
</p>
<h2>Висновок</h2>
<p>
<?php if($result>0): ?>
Вітаємо! Конфігурація Вашого веб-сервера задовольняє всі вимоги Yii.
<?php elseif($result<0): ?>
Конфігурація Вашого веб-сервера задовольняє мінімально необхідні вимоги Yii. Зверніть увагу на попередження у табличці нижче, якщо передбачається використання відповідних функцій.
<?php else: ?>
На жаль, конфігурація Вашого веб-сервера не задовольняє вимоги Yii.
<?php endif; ?>
</p>
<h2>Результати перевірки</h2>
<table class="result">
<tr><th>Назва</th><th>Результат</th><th>Вимагається для</th><th>Пояснення</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? 'Так' : ($requirement[1] ? 'Ні' : 'Попередження'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>Так</td>
<td class="failed">&nbsp;</td><td>Ні</td>
<td class="warning">&nbsp;</td><td>Попередження</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii配置需求检查</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii配置需求检查</h1>
</div><!-- header-->
<div id="content">
<h2>检查内容</h2>
<p>
本网页用于确认您的服务器配置是否能满足运行<a href="http://www.yiiframework.com/">Yii</a> Web应用的要求。它将检查服务器所运行的PHP版本查看是否安装了合适的PHP扩展模块以及确认php.ini文件是否正确设置。
</p>
<h2>检查结果</h2>
<p>
<?php if($result>0): ?>
恭喜您的服务器配置完全符合Yii的要求。
<?php elseif($result<0): ?>
您的服务器配置符合Yii的最低要求。如果您需要使用特定的功能请关注如下警告。
<?php else: ?>
您的服务器配置未能满足Yii的要求。
<?php endif; ?>
</p>
<h2>具体结果</h2>
<table class="result">
<tr><th>项目名称</th><th>结果</th><th>使用者</th><th>备注</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? '通过' : ($requirement[1] ? '未通过' : 'Warning'); ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>通过</td>
<td class="failed">&nbsp;</td><td>未通过</td>
<td class="warning">&nbsp;</td><td>警告</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii配置需求检查</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii配置需求检查</h1>
</div><!-- header-->
<div id="content">
<h2>检查内容</h2>
<p>
本网页用于确认您的服务器配置是否能满足运行<a href="http://www.yiiframework.com/">Yii</a> Web应用的要求。它将检查服务器所运行的PHP版本查看是否安装了合适的PHP扩展模块以及确认php.ini文件是否正确设置。
</p>
<h2>检查结果</h2>
<p>
<?php if($result>0): ?>
恭喜您的服务器配置完全符合Yii的要求。
<?php elseif($result<0): ?>
您的服务器配置符合Yii的最低要求。如果您需要使用特定的功能请关注如下警告。
<?php else: ?>
您的服务器配置未能满足Yii的要求。
<?php endif; ?>
</p>
<h2>具体结果</h2>
<table class="result">
<tr><th>项目名称</th><th>结果</th><th>使用者</th><th>备注</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? '通过' : '未通过'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>通过</td>
<td class="failed">&nbsp;</td><td>未通过</td>
<td class="warning">&nbsp;</td><td>警告</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>

View File

@@ -0,0 +1,72 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="en"/>
<link rel="stylesheet" type="text/css" href="css/main.css" />
<title>Yii系統需求檢查</title>
</head>
<body>
<div id="page">
<div id="header">
<h1>Yii系統需求檢查</h1>
</div><!-- header-->
<div id="content">
<h2>檢查內容說明</h2>
<p>
本網頁用於確認您的伺服器組態設定是否能滿足執行<a href="http://www.yiiframework.com/">Yii</a> Web應用程式的要求. 它將檢查伺服器是否使用正確的PHP版本, 是否安裝了合適的PHP extension, 以及確認php.ini檔案是否正確設定.
</p>
<h2>檢查結果</h2>
<p>
<?php if($result>0): ?>
恭喜! 您的伺服器組態設定完全符合Yii的要求.
<?php elseif($result<0): ?>
您的伺服器組態設定符合Yii的最低要求. 請注意下列警告(如果您的應用程式會需要使用到相關功能).
<?php else: ?>
您的伺服器組態設定未能滿足Yii的要求.
<?php endif; ?>
</p>
<h2>詳細結果</h2>
<table class="result">
<tr><th>項目名稱</th><th>結果</th><th>使用者</th><th>備註</th></tr>
<?php foreach($requirements as $requirement): ?>
<tr>
<td>
<?php echo $requirement[0]; ?>
</td>
<td class="<?php echo $requirement[2] ? 'passed' : ($requirement[1] ? 'failed' : 'warning'); ?>">
<?php echo $requirement[2] ? '通過' : '未通過'; ?>
</td>
<td>
<?php echo $requirement[3]; ?>
</td>
<td>
<?php echo $requirement[4]; ?>
</td>
</tr>
<?php endforeach; ?>
</table>
<table>
<tr>
<td class="passed">&nbsp;</td><td>通過</td>
<td class="failed">&nbsp;</td><td>未通過</td>
<td class="warning">&nbsp;</td><td>警告</td>
</tr>
</table>
</div><!-- content -->
<div id="footer">
<?php echo $serverInfo; ?>
</div><!-- footer -->
</div><!-- page -->
</body>
</html>