1
0
Fork 0
Dieser Commit ist enthalten in:
DSB 2012-11-25 15:41:51 +01:00
Ursprung 82085eda16
Commit b1a10a129d
39 geänderte Dateien mit 1154 neuen und 1128 gelöschten Zeilen

22
.gitattributes vendored Normale Datei
Datei anzeigen

@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

4
.gitignore vendored Normale Datei
Datei anzeigen

@ -0,0 +1,4 @@
/.idea
/application/configs/users.ini
/work/config/mysqldumper.ini

Datei anzeigen

@ -1,11 +1,11 @@
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: DSB (15), Hardlayers (2), mega_soft (216) * Maintained by: DSB (15), Hardlayers (2), mega_soft (216)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'حدث', 'L_ACTION' => 'حدث',
'L_ACTIVATED' => 'تفعيل', 'L_ACTIVATED' => 'تفعيل',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: batzidi (69) * Maintained by: batzidi (69)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Действие', 'L_ACTION' => 'Действие',
'L_ACTIVATED' => 'Активиран', 'L_ACTIVATED' => 'Активиран',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: caos30 (766), DSB (7) * Maintained by: caos30 (766), DSB (7)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Acció', 'L_ACTION' => 'Acció',
'L_ACTIVATED' => 'actiu', 'L_ACTIVATED' => 'actiu',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Només es permeten digits numerals.', 'L_ZEND_ID_NOT_DIGITS' => 'Només es permeten digits numerals.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Tipus no vàlid. S\'esperava String (cadena de texte), Integer (nombre sencer), Float (nombre amb coma flotant), Boolean (boleà) o Array (matriz).', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Tipus no vàlid. S\'esperava String (cadena de texte), Integer (nombre sencer), Float (nombre amb coma flotant), Boolean (boleà) o Array (matriz).',
'L_ZEND_ID_NOT_SAME' => 'Ambdós IDs no coincideixen.', 'L_ZEND_ID_NOT_SAME' => 'Ambdós IDs no coincideixen.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: * Maintained by:
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Akce', 'L_ACTION' => 'Akce',
'L_ACTIVATED' => 'aktivní', 'L_ACTIVATED' => 'aktivní',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: jsm (359) * Maintained by: jsm (359)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Aktion', 'L_ACTION' => 'Aktion',
'L_ACTIVATED' => 'aktiveret', 'L_ACTIVATED' => 'aktiveret',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Kun tal kan indtastes.', 'L_ZEND_ID_NOT_DIGITS' => 'Kun tal kan indtastes.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Typen af værdien er ugyldig. Streng, heltal, float, boolean eller array forventet.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Typen af værdien er ugyldig. Streng, heltal, float, boolean eller array forventet.',
'L_ZEND_ID_NOT_SAME' => 'De to givne tokens stemmer ikke overens.', 'L_ZEND_ID_NOT_SAME' => 'De to givne tokens stemmer ikke overens.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: DSB (286), JanRei (23), Kyoya (31), StvN (2) * Maintained by: DSB (286), JanRei (23), Kyoya (31), StvN (2)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Aktion', 'L_ACTION' => 'Aktion',
'L_ACTIVATED' => 'aktiviert', 'L_ACTIVATED' => 'aktiviert',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Es dürfen nur Zahlen eingegeben werden.', 'L_ZEND_ID_NOT_DIGITS' => 'Es dürfen nur Zahlen eingegeben werden.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Der Typ des Wertes ist ungültig. Es wird ein String, Integer, Float, Boolean oder Array erwartet.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Der Typ des Wertes ist ungültig. Es wird ein String, Integer, Float, Boolean oder Array erwartet.',
'L_ZEND_ID_NOT_SAME' => 'Die beiden angegebenen Merkmale stimmen nicht überein.', 'L_ZEND_ID_NOT_SAME' => 'Die beiden angegebenen Merkmale stimmen nicht überein.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: * Maintained by:
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Aktion', 'L_ACTION' => 'Aktion',
'L_ACTIVATED' => 'aktiviärt', 'L_ACTIVATED' => 'aktiviärt',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: * Maintained by:
*/ */
$lang=array( $lang=array(
'L_ACTION' => '', 'L_ACTION' => '',
'L_ACTIVATED' => 'aktivéiert', 'L_ACTIVATED' => 'aktivéiert',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: diastasi (244) * Maintained by: diastasi (244)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Ενέργεια', 'L_ACTION' => 'Ενέργεια',
'L_ACTIVATED' => 'ενεργό', 'L_ACTIVATED' => 'ενεργό',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Επιτρέπονται μόνο ψηφία', 'L_ZEND_ID_NOT_DIGITS' => 'Επιτρέπονται μόνο ψηφία',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Δόθηκε άκυρος τύπος. Αναμενόταν κείμενο, ακέραιος, float, boolean ή array.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Δόθηκε άκυρος τύπος. Αναμενόταν κείμενο, ακέραιος, float, boolean ή array.',
'L_ZEND_ID_NOT_SAME' => 'Τα δύο σύμβολα δεν ταιριάζουν', 'L_ZEND_ID_NOT_SAME' => 'Τα δύο σύμβολα δεν ταιριάζουν',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: DSB (257), JanRei (14), Kyoya (31), StvN (6), zuma (20) * Maintained by: DSB (257), JanRei (14), Kyoya (31), StvN (6), zuma (20)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Action', 'L_ACTION' => 'Action',
'L_ACTIVATED' => 'activated', 'L_ACTIVATED' => 'activated',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Only digits are allowed.', 'L_ZEND_ID_NOT_DIGITS' => 'Only digits are allowed.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Invalid type given. String, integer, float, boolean or array expected.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Invalid type given. String, integer, float, boolean or array expected.',
'L_ZEND_ID_NOT_SAME' => 'The two given tokens do not match.', 'L_ZEND_ID_NOT_SAME' => 'The two given tokens do not match.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: caos30 (349), mike (160), StvN (135) * Maintained by: caos30 (349), mike (160), StvN (135)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Acción', 'L_ACTION' => 'Acción',
'L_ACTIVATED' => 'activo', 'L_ACTIVATED' => 'activo',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Sólo se permite números.', 'L_ZEND_ID_NOT_DIGITS' => 'Sólo se permite números.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Tipo no válido. Se esperaba String (cadena de texto), Integer (número entero), Float (número con coma flotante), Boolean (boleano) o Array (matriz).', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Tipo no válido. Se esperaba String (cadena de texto), Integer (número entero), Float (número con coma flotante), Boolean (boleano) o Array (matriz).',
'L_ZEND_ID_NOT_SAME' => 'Ambos IDs no coinciden.', 'L_ZEND_ID_NOT_SAME' => 'Ambos IDs no coinciden.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: DSB (1), majidfire2003 (151) * Maintained by: DSB (1), majidfire2003 (151)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'عمليات', 'L_ACTION' => 'عمليات',
'L_ACTIVATED' => 'فعال', 'L_ACTIVATED' => 'فعال',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'فقط ارقام معتبر میباشند', 'L_ZEND_ID_NOT_DIGITS' => 'فقط ارقام معتبر میباشند',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'مقدار ناصحیح وارد شده است', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'مقدار ناصحیح وارد شده است',
'L_ZEND_ID_NOT_SAME' => 'رمز ها یکسان نیستند', 'L_ZEND_ID_NOT_SAME' => 'رمز ها یکسان نیستند',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: Diaboloz (48), mike (221) * Maintained by: Diaboloz (48), mike (221)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Action', 'L_ACTION' => 'Action',
'L_ACTIVATED' => 'activé', 'L_ACTIVATED' => 'activé',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => 'Les deux données ne correspondent pas !', 'L_ZEND_ID_NOT_SAME' => 'Les deux données ne correspondent pas !',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: meisterix (13) * Maintained by: meisterix (13)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Akcija', 'L_ACTION' => 'Akcija',
'L_ACTIVATED' => 'aktiviran', 'L_ACTIVATED' => 'aktiviran',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: Eleariel (434) * Maintained by: Eleariel (434)
*/ */
$lang=array( $lang=array(
'L_ACTION' => '', 'L_ACTION' => '',
'L_ACTIVATED' => 'aktiválva', 'L_ACTIVATED' => 'aktiválva',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Csak számok engedélyezettek.', 'L_ZEND_ID_NOT_DIGITS' => 'Csak számok engedélyezettek.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: eclissesolare (81), gattobenny (426) * Maintained by: eclissesolare (81), gattobenny (426)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Azione', 'L_ACTION' => 'Azione',
'L_ACTIVATED' => 'attivato', 'L_ACTIVATED' => 'attivato',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: DSB (1), JesseB (367), pavdeijk (60) * Maintained by: DSB (1), JesseB (367), pavdeijk (60)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Actie', 'L_ACTION' => 'Actie',
'L_ACTIVATED' => 'geactiveerd', 'L_ACTIVATED' => 'geactiveerd',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Er zijn alleen maar cijfers toegelaten.', 'L_ZEND_ID_NOT_DIGITS' => 'Er zijn alleen maar cijfers toegelaten.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Foute formaat: String, integer, float, boolean en array is verwacht.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Foute formaat: String, integer, float, boolean en array is verwacht.',
'L_ZEND_ID_NOT_SAME' => 'Beide aangegeven tokens komen niet uit.', 'L_ZEND_ID_NOT_SAME' => 'Beide aangegeven tokens komen niet uit.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: Marek.W (147), omen1975 (172) * Maintained by: Marek.W (147), omen1975 (172)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Akcja', 'L_ACTION' => 'Akcja',
'L_ACTIVATED' => 'aktywowany', 'L_ACTIVATED' => 'aktywowany',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Dopuszczalne są tylko cyfry.', 'L_ZEND_ID_NOT_DIGITS' => 'Dopuszczalne są tylko cyfry.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => 'Tokeny nie pasują do siebie.', 'L_ZEND_ID_NOT_SAME' => 'Tokeny nie pasują do siebie.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: * Maintained by:
*/ */
$lang=array( $lang=array(
'L_ACTION' => '', 'L_ACTION' => '',
'L_ACTIVATED' => 'ativado', 'L_ACTIVATED' => 'ativado',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: UX (306) * Maintained by: UX (306)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Actiunea', 'L_ACTION' => 'Actiunea',
'L_ACTIVATED' => 'aktivat', 'L_ACTIVATED' => 'aktivat',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: elena (90), KT (263) * Maintained by: elena (90), KT (263)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Действие', 'L_ACTION' => 'Действие',
'L_ACTIVATED' => 'активировано', 'L_ACTIVATED' => 'активировано',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: brahma9277 (139), Harry (460) * Maintained by: brahma9277 (139), Harry (460)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Akcia', 'L_ACTION' => 'Akcia',
'L_ACTIVATED' => 'Aktívne', 'L_ACTIVATED' => 'Aktívne',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Len číslice sú povolené.', 'L_ZEND_ID_NOT_DIGITS' => 'Len číslice sú povolené.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Typ hodnoty je neplatný. Očakáva sa, reťazec, celé číslo, float, boolean alebo pole.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Typ hodnoty je neplatný. Očakáva sa, reťazec, celé číslo, float, boolean alebo pole.',
'L_ZEND_ID_NOT_SAME' => 'Tieto dve uvedené charakteristiky nezodpovedajú.', 'L_ZEND_ID_NOT_SAME' => 'Tieto dve uvedené charakteristiky nezodpovedajú.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: gapa (759) * Maintained by: gapa (759)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Akcija', 'L_ACTION' => 'Akcija',
'L_ACTIVATED' => 'vključeno', 'L_ACTIVATED' => 'vključeno',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Samo številke so dovoljene.', 'L_ZEND_ID_NOT_DIGITS' => 'Samo številke so dovoljene.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Podan je napačen tip. Niz, celo število, decimalno število, logična vrednost ali polje je pričakovan tip.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Podan je napačen tip. Niz, celo število, decimalno število, logična vrednost ali polje je pričakovan tip.',
'L_ZEND_ID_NOT_SAME' => 'Ta dva žetona se ne ujemata.', 'L_ZEND_ID_NOT_SAME' => 'Ta dva žetona se ne ujemata.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: HolgerGremminger (628) * Maintained by: HolgerGremminger (628)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Aktion', 'L_ACTION' => 'Aktion',
'L_ACTIVATED' => 'aktiverat', 'L_ACTIVATED' => 'aktiverat',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Ange endast siffror.', 'L_ZEND_ID_NOT_DIGITS' => 'Ange endast siffror.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Värdets typ är ogiltig. String, Integer, Float, Boolean eller Array förväntas.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Värdets typ är ogiltig. String, Integer, Float, Boolean eller Array förväntas.',
'L_ZEND_ID_NOT_SAME' => 'De bägge kriterierna stämmer ej överens.', 'L_ZEND_ID_NOT_SAME' => 'De bägge kriterierna stämmer ej överens.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: katpatuka (23), Tango (39) * Maintained by: katpatuka (23), Tango (39)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'İşlem', 'L_ACTION' => 'İşlem',
'L_ACTIVATED' => 'etkin', 'L_ACTIVATED' => 'etkin',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: laze (255) * Maintained by: laze (255)
*/ */
$lang=array( $lang=array(
'L_ACTION' => 'Thực hiện', 'L_ACTION' => 'Thực hiện',
'L_ACTIVATED' => 'đã kích hoạt', 'L_ACTIVATED' => 'đã kích hoạt',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => 'Chỉ cho phép các chữ số.', 'L_ZEND_ID_NOT_DIGITS' => 'Chỉ cho phép các chữ số.',
'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Kiểu này không hợp lệ. Yêu cầu chuỗi, số nguyên, boolean float, hoặc một mảng.', 'L_ZEND_ID_NOT_EMPTY_INVALID' => 'Kiểu này không hợp lệ. Yêu cầu chuỗi, số nguyên, boolean float, hoặc một mảng.',
'L_ZEND_ID_NOT_SAME' => 'Hai chuỗi không khớp.', 'L_ZEND_ID_NOT_SAME' => 'Hai chuỗi không khớp.',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,14 +1,14 @@
<?php <?php
/** /**
* This file is part of MySQLDumper released under the GNU/GPL 2 license * This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net * http://www.mysqldumper.net
* *
* @package MySQLDumper * @package MySQLDumper
* @subpackage Languages * @subpackage Languages
* @version $Rev: 1227 $ * @version $Rev: 1227 $
* @author $Author: DSB $ * @author $Author: DSB $
* Maintained by: fmben (74) * Maintained by: fmben (74)
*/ */
$lang=array( $lang=array(
'L_ACTION' => '', 'L_ACTION' => '',
'L_ACTIVATED' => '激活', 'L_ACTIVATED' => '激活',
@ -765,5 +765,5 @@ $lang=array(
'L_ZEND_ID_NOT_DIGITS' => '', 'L_ZEND_ID_NOT_DIGITS' => '',
'L_ZEND_ID_NOT_EMPTY_INVALID' => '', 'L_ZEND_ID_NOT_EMPTY_INVALID' => '',
'L_ZEND_ID_NOT_SAME' => '', 'L_ZEND_ID_NOT_SAME' => '',
); );
return $lang; return $lang;

Datei anzeigen

@ -1,163 +1,163 @@
<?php <?php
$t = Msd_Language::getInstance()->getTranslator(); $t = Msd_Language::getInstance()->getTranslator();
?> ?>
<div data-role="page" id="config_menu"> <div data-role="page" id="config_menu">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_CONFIG', 'title' => 'L_CONFIG',
'lastPage' => array( 'lastPage' => array(
'title' => 'L_HOME', 'title' => 'L_HOME',
'url' => $this->absoluteUrl(array( 'url' => $this->absoluteUrl(array(
'controller' => 'index', 'controller' => 'index',
'action' => 'index' 'action' => 'index'
)), )),
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<form id="config_form" action="<?php echo $this->absoluteUrl(array( <form id="config_form" action="<?php echo $this->absoluteUrl(array(
'controller' => 'config', 'controller' => 'config',
'action' => 'index' 'action' => 'index'
));?>"> ));?>">
<button type="submit"><?php echo $t->_('L_SAVE'); ?></button> <button type="submit"><?php echo $t->_('L_SAVE'); ?></button>
<br /> <br />
<ul id="config_menu_list" data-role="listview"> <ul id="config_menu_list" data-role="listview">
<li> <li>
<a href="#config_general"> <a href="#config_general">
<?php echo $this->lang->L_GENERAL;?> <?php echo $this->lang->L_GENERAL;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_dbuser"> <a href="#config_dbuser">
<?php echo $this->lang->L_DBS;?> <?php echo $this->lang->L_DBS;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_interface"> <a href="#config_interface">
<?php echo $this->lang->L_CONFIG_INTERFACE;?> <?php echo $this->lang->L_CONFIG_INTERFACE;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_autodelete"> <a href="#config_autodelete">
<?php echo $this->lang->L_CONFIG_AUTODELETE;?> <?php echo $this->lang->L_CONFIG_AUTODELETE;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_email"> <a href="#config_email">
<?php echo $this->lang->L_EMAIL;?> <?php echo $this->lang->L_EMAIL;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_ftp"> <a href="#config_ftp">
<?php echo $this->lang->L_FTP;?> <?php echo $this->lang->L_FTP;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_cronscript"> <a href="#config_cronscript">
<?php echo $this->lang->L_CRONSCRIPT;?> <?php echo $this->lang->L_CRONSCRIPT;?>
</a> </a>
</li> </li>
<li> <li>
<a href="#config_configfiles"> <a href="#config_configfiles">
<?php echo $this->lang->L_CONFIGFILES;?> <?php echo $this->lang->L_CONFIGFILES;?>
</a> </a>
</li> </li>
</ul> </ul>
<br /> <br />
<button type="submit"><?php echo $t->_('L_SAVE'); ?></button> <button type="submit"><?php echo $t->_('L_SAVE'); ?></button>
</form> </form>
</div> </div>
</div> </div>
<div id="config_general" data-role="page"> <div id="config_general" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_GENERAL', 'title' => 'L_GENERAL',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('general'); ?> <?php echo $this->form->getSubForm('general'); ?>
</div> </div>
</div> </div>
<div id="config_dbuser" data-role="page"> <div id="config_dbuser" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_DBS', 'title' => 'L_DBS',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('dbuser'); ?> <?php echo $this->form->getSubForm('dbuser'); ?>
</div> </div>
</div> </div>
<div id="config_interface" data-role="page"> <div id="config_interface" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_CONFIG_INTERFACE', 'title' => 'L_CONFIG_INTERFACE',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
)));?> )));?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('interface'); ?> <?php echo $this->form->getSubForm('interface'); ?>
</div> </div>
</div> </div>
<div id="config_autodelete" data-role="page"> <div id="config_autodelete" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_CONFIG_AUTODELETE', 'title' => 'L_CONFIG_AUTODELETE',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
)));?> )));?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('autodelete'); ?> <?php echo $this->form->getSubForm('autodelete'); ?>
</div> </div>
</div> </div>
<div id="config_email" data-role="page"> <div id="config_email" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_EMAIL', 'title' => 'L_EMAIL',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('email'); ?> <?php echo $this->form->getSubForm('email'); ?>
</div> </div>
</div> </div>
<div id="config_ftp" data-role="page"> <div id="config_ftp" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_FTP', 'title' => 'L_FTP',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('ftp'); ?> <?php echo $this->form->getSubForm('ftp'); ?>
</div> </div>
</div> </div>
<div id="config_cronscript" data-role="page"> <div id="config_cronscript" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_CRONSCRIPT', 'title' => 'L_CRONSCRIPT',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('cronscript'); ?> <?php echo $this->form->getSubForm('cronscript'); ?>
</div> </div>
</div> </div>
<div id="config_configfiles" data-role="page"> <div id="config_configfiles" data-role="page">
<?php echo $this->partial('/partials/header.phtml', array( <?php echo $this->partial('/partials/header.phtml', array(
'title' => 'L_CONFIGFILES', 'title' => 'L_CONFIGFILES',
'lastPage' => array( 'lastPage' => array(
'url' => 'back', 'url' => 'back',
'title' => 'L_CONFIG' 'title' => 'L_CONFIG'
))); ?> ))); ?>
<div data-role="content"> <div data-role="content">
<?php echo $this->form->getSubForm('configfiles'); ?> <?php echo $this->form->getSubForm('configfiles'); ?>
</div> </div>
</div> </div>

Datei anzeigen

@ -1,19 +1,19 @@
<?php <?php
$t = Msd_Language::getInstance()->getTranslator(); $t = Msd_Language::getInstance()->getTranslator();
?> ?>
<div data-role="header" data-position="inline"> <div data-role="header" data-position="inline">
<?php if(isset($this->lastPage)): ?> <?php if(isset($this->lastPage)): ?>
<?php $lastPage = $this->lastPage;?> <?php $lastPage = $this->lastPage;?>
<?php if($lastPage['url'] != 'back'): ?> <?php if($lastPage['url'] != 'back'): ?>
<a href="<?php echo $lastPage['url'];?>" data-ajax="false" data-icon="back"> <a href="<?php echo $lastPage['url'];?>" data-ajax="false" data-icon="back">
<?php else: ?> <?php else: ?>
<a href="#" data-rel="back" data-icon="back"> <a href="#" data-rel="back" data-icon="back">
<?php endif; ?> <?php endif; ?>
<?php echo $t->_($lastPage['title']);?></a> <?php echo $t->_($lastPage['title']);?></a>
<?php endif; ?> <?php endif; ?>
<h1><?php echo $t->_($this->title); ?></h1> <h1><?php echo $t->_($this->title); ?></h1>
<a href="<?php echo $this->absoluteUrl(array( <a href="<?php echo $this->absoluteUrl(array(
'controller' => 'index', 'controller' => 'index',
'action' => 'index' 'action' => 'index'
)); ?>" data-ajax="false" data-icon="home"><?php echo $t->_('L_HOME'); ?></a> )); ?>" data-ajax="false" data-icon="home"><?php echo $t->_('L_HOME'); ?></a>
</div> </div>

Datei anzeigen

@ -1,89 +1,89 @@
<?php <?php
$formUrl = $this->url(array('controller'=>'sql','action'=>'create.database')); $formUrl = $this->url(array('controller'=>'sql','action'=>'create.database'));
?> ?>
<div id="content"> <div id="content">
<h2><?php echo $this->lang->L_CREATE_DATABASE;?></h2> <h2><?php echo $this->lang->L_CREATE_DATABASE;?></h2>
<?php echo $this->sqlHeadNavi(); ?> <?php echo $this->sqlHeadNavi(); ?>
<h4><?php echo $this->lang->L_CREATE_DATABASE;?>:</h4> <h4><?php echo $this->lang->L_CREATE_DATABASE;?>:</h4>
<form method="post" action="<?php echo $formUrl;?>"> <form method="post" action="<?php echo $formUrl;?>">
<table class="bdr" summary="create new database"> <table class="bdr" summary="create new database">
<tr class="row-odd"> <tr class="row-odd">
<td><?php echo $this->lang->L_DB_NAME; ?>:</td> <td><?php echo $this->lang->L_DB_NAME; ?>:</td>
<td><input type="text" class="text" id="dbName" name="newDbInfo[dbName]" value="<?php echo (isset($this->dbCreated) && !$this->dbCreated) ? $this->out($this->newDbInfo['dbName']) : ''; ?>"/></td> <td><input type="text" class="text" id="dbName" name="newDbInfo[dbName]" value="<?php echo (isset($this->dbCreated) && !$this->dbCreated) ? $this->out($this->newDbInfo['dbName']) : ''; ?>"/></td>
</tr> </tr>
<tr class="row-even"> <tr class="row-even">
<td><?php echo $this->lang->L_DEFAULT_CHARSET;?>:</td> <td><?php echo $this->lang->L_DEFAULT_CHARSET;?>:</td>
<td><select class="select" id="dbCharset" name="newDbInfo[dbCharset]"><?php foreach ($this->charsets as $charset) { ?> <td><select class="select" id="dbCharset" name="newDbInfo[dbCharset]"><?php foreach ($this->charsets as $charset) { ?>
<option value="<?php echo $this->out($charset); ?>"<?php echo ($charset == $this->newDbInfo['dbCharset']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($charset); ?></option> <option value="<?php echo $this->out($charset); ?>"<?php echo ($charset == $this->newDbInfo['dbCharset']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($charset); ?></option>
<?php } ?></select></td> <?php } ?></select></td>
</tr> </tr>
<tr class="row-odd"> <tr class="row-odd">
<td><?php echo $this->lang->L_DEFAULT_COLLATION_NAME;?>:</td> <td><?php echo $this->lang->L_DEFAULT_COLLATION_NAME;?>:</td>
<td><select class="select" id="dbCollation" name="newDbInfo[dbCollation]"><?php foreach ($this->collations[$this->newDbInfo['dbCharset']] as $collation) { ?> <td><select class="select" id="dbCollation" name="newDbInfo[dbCollation]"><?php foreach ($this->collations[$this->newDbInfo['dbCharset']] as $collation) { ?>
<option value="<?php echo $this->out($collation); ?>"<?php echo ($collation == $this->newDbInfo['dbCollation']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($collation); ?></option> <option value="<?php echo $this->out($collation); ?>"<?php echo ($collation == $this->newDbInfo['dbCollation']) ? ' selected="selected"' : ''; ?>><?php echo $this->out($collation); ?></option>
<?php } ?></select></td> <?php } ?></select></td>
</tr> </tr>
<tr class="row-even"> <tr class="row-even">
<td>&nbsp;</td> <td>&nbsp;</td>
<td class="buttonBar"> <td class="buttonBar">
<button type="submit" class="Formbutton"><?php echo $this->getIcon('Database', '', 16); echo $this->lang->L_CREATE_DATABASE; ?></button> <button type="submit" class="Formbutton"><?php echo $this->getIcon('Database', '', 16); echo $this->lang->L_CREATE_DATABASE; ?></button>
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>
</div> </div>
<?php $this->jQuery()->onLoadCaptureStart(); ?> <?php $this->jQuery()->onLoadCaptureStart(); ?>
var dbCollations = <?php echo json_encode($this->collations); ?>; var dbCollations = <?php echo json_encode($this->collations); ?>;
var dbDefaultCollations = <?php echo json_encode($this->defaultCollations); ?>; var dbDefaultCollations = <?php echo json_encode($this->defaultCollations); ?>;
$('#dbCharset').bind('change', function() { $('#dbCharset').bind('change', function() {
var newOpts = ''; var newOpts = '';
var curCharset = $(this).val(); var curCharset = $(this).val();
$(dbCollations[curCharset]).each(function(id, v) { $(dbCollations[curCharset]).each(function(id, v) {
var selected = ''; var selected = '';
if (v == dbDefaultCollations[curCharset]) { if (v == dbDefaultCollations[curCharset]) {
selected = ' selected="selected"'; selected = ' selected="selected"';
} }
newOpts += '<option value="' + v +'"' + selected + '>' + v + '</option>'; newOpts += '<option value="' + v +'"' + selected + '>' + v + '</option>';
$('#dbCollation').html(newOpts); $('#dbCollation').html(newOpts);
}); });
}); });
$(document).ready(function() { $(document).ready(function() {
$('#dbName').focus(); $('#dbName').focus();
}); });
<?php <?php
$this->jQuery()->onLoadCaptureEnd(); $this->jQuery()->onLoadCaptureEnd();
if (isset($this->dbCreated)) { if (isset($this->dbCreated)) {
if ($this->dbCreated) { if ($this->dbCreated) {
$this->popUpMessage()->addMessage( $this->popUpMessage()->addMessage(
'dialogDbCreation', 'dialogDbCreation',
'L_CREATE_DATABASE', 'L_CREATE_DATABASE',
array('L_DATABASE_CREATED_SUCCESS', $this->newDbInfo['dbName']), array('L_DATABASE_CREATED_SUCCESS', $this->newDbInfo['dbName']),
array( array(
'modal' => 'true', 'modal' => 'true',
'autoOpen' => 'true', 'autoOpen' => 'true',
'buttons' => array( 'buttons' => array(
'L_OK' => 'function(){$(this).dialog("close"); }', 'L_OK' => 'function(){$(this).dialog("close"); }',
) )
) )
); );
} else { } else {
$this->popUpMessage()->addMessage( $this->popUpMessage()->addMessage(
'dialogDbCreation', 'dialogDbCreation',
'L_CREATE_DATABASE', 'L_CREATE_DATABASE',
array( array(
'L_DATABASE_CREATED_FAILED', 'L_DATABASE_CREATED_FAILED',
'<span class="error">(' . $this->errorInfo['code'] . ') ' '<span class="error">(' . $this->errorInfo['code'] . ') '
. $this->errorInfo['message'] .'</span>' . $this->errorInfo['message'] .'</span>'
), ),
array( array(
'modal' => 'true', 'modal' => 'true',
'autoOpen' => 'true', 'autoOpen' => 'true',
'buttons' => array( 'buttons' => array(
'L_OK' => 'function(){$(this).dialog("close"); }', 'L_OK' => 'function(){$(this).dialog("close"); }',
) )
) )
); );
} }
} }
?> ?>

Datei anzeigen

@ -1,133 +1,133 @@
<?php $this->jQuery()->onLoadCaptureStart(); ?> <?php $this->jQuery()->onLoadCaptureStart(); ?>
$('#sqltextarea').bind('keyup', function(e){ $('#sqltextarea').bind('keyup', function(e){
if (e.which == 13 && e.ctrlKey) { if (e.which == 13 && e.ctrlKey) {
$('#execsql').trigger('click'); $('#execsql').trigger('click');
} }
}); });
<?php $this->jQuery()->onLoadCaptureEnd(); ?> <?php $this->jQuery()->onLoadCaptureEnd(); ?>
<div id="content"> <div id="content">
<h2><?php echo $this->lang->L_SQLBOX;?></h2> <h2><?php echo $this->lang->L_SQLBOX;?></h2>
<?php echo $this->sqlHeadNavi(); ?> <?php echo $this->sqlHeadNavi(); ?>
<div id="mysqlbox"> <div id="mysqlbox">
<form action="<?php echo $this->url(array('controller'=>'sql','action'=>'sqlbox'));?>" method="post" id="myForm"> <form action="<?php echo $this->url(array('controller'=>'sql','action'=>'sqlbox'));?>" method="post" id="myForm">
<div id="sqlheaderbox" style="height:28px;"> <div id="sqlheaderbox" style="height:28px;">
<div style="padding:2px 8px 0 4px; float:left;"> <div style="padding:2px 8px 0 4px; float:left;">
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-0'}, 300);return false;"><?php echo $this->getIcon('ArrowUp', '', 16);?></a> <a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-0'}, 300);return false;"><?php echo $this->getIcon('ArrowUp', '', 16);?></a>
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '+=60'}, 300);return false;"><?php echo $this->getIcon('plus');?></a> <a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '+=60'}, 300);return false;"><?php echo $this->getIcon('plus');?></a>
<a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-=60'}, 300);return false;"><?php echo $this->getIcon('minus');?></a> <a href="sqlbox.phtml#" onclick="$('#sqltextarea').animate({ height: '-=60'}, 300);return false;"><?php echo $this->getIcon('minus');?></a>
</div> </div>
<span style="float:left;"> <span style="float:left;">
<?php echo $this->lang->L_TABLE;?>: <select id="selectTable" class="text" onchange="setShowTableQuery();"><?php echo $this->tableSelectBox;?></select> <?php echo $this->lang->L_TABLE;?>: <select id="selectTable" class="text" onchange="setShowTableQuery();"><?php echo $this->tableSelectBox;?></select>
<input class="Formbutton" type="submit" name="execsql" id="execsql" value="<?php echo $this->lang->L_SQL_EXEC;?>" /> <input class="Formbutton" type="submit" name="execsql" id="execsql" value="<?php echo $this->lang->L_SQL_EXEC;?>" />
<input class="Formbutton" type="button" value="<?php echo $this->lang->L_RESET;?>" onclick="$('#sqltextarea').val('');"/> <input class="Formbutton" type="button" value="<?php echo $this->lang->L_RESET;?>" onclick="$('#sqltextarea').val('');"/>
</span> </span>
<br class="clear" /> <br class="clear" />
</div> </div>
<div> <div>
<textarea style="height:<?php echo $this->config->getParam('interface.sqlboxHeight');?>px;" name="sqltextarea" id="sqltextarea" rows="4" cols="10"><?php echo $this->boxcontent;?></textarea> <textarea style="height:<?php echo $this->config->getParam('interface.sqlboxHeight');?>px;" name="sqltextarea" id="sqltextarea" rows="4" cols="10"><?php echo $this->boxcontent;?></textarea>
<div class="sqlbox-warning small center"><?php echo $this->lang->L_SQL_WARNING;?></div> <div class="sqlbox-warning small center"><?php echo $this->lang->L_SQL_WARNING;?></div>
</div> </div>
</form> </form>
</div> </div>
<br /> <br />
<?php <?php
$this->jQuery()->javascriptCaptureStart(); $this->jQuery()->javascriptCaptureStart();
if (isset($this->errorMessage)) { if (isset($this->errorMessage)) {
$this->popUpMessage()->addMessage( $this->popUpMessage()->addMessage(
'SqlError', 'SqlError',
$this->lang->L_ERROR, $this->lang->L_ERROR,
$this->errorMessage, $this->errorMessage,
array( array(
'modal' => true, 'modal' => true,
'height' => 220, 'height' => 220,
'width' => 400, 'width' => 400,
'dialogClass' => 'error' 'dialogClass' => 'error'
) )
); );
} }
?> ?>
function setShowTableQuery() function setShowTableQuery()
{ {
query = $('#selectTable').attr('value'); query = $('#selectTable').attr('value');
query = 'SELECT * FROM `' + query + '`;'; query = 'SELECT * FROM `' + query + '`;';
$('#sqltextarea').val(query); $('#sqltextarea').val(query);
$('#myForm').submit(); $('#myForm').submit();
} }
<?php <?php
$this->jQuery()->javascriptCaptureEnd(); $this->jQuery()->javascriptCaptureEnd();
if (isset($this->resultset) && is_array($this->resultset)) { if (isset($this->resultset) && is_array($this->resultset)) {
$res = $this->resultset; $res = $this->resultset;
if (count($res)>0) { if (count($res)>0) {
$fieldNames = array_keys($res[0]); $fieldNames = array_keys($res[0]);
$i = 1; $i = 1;
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd')); $cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
?> ?>
<table class="bdr" summary="Table lists result sets"> <table class="bdr" summary="Table lists result sets">
<tr class="thead"> <tr class="thead">
<th class="right">#</th> <th class="right">#</th>
<?php <?php
foreach ($fieldNames as $field) { foreach ($fieldNames as $field) {
echo '<th>' . $field .'</th>'; echo '<th>' . $field .'</th>';
} }
?> ?>
</tr> </tr>
<?php <?php
foreach ($res as $row) { foreach ($res as $row) {
?> ?>
<tr class="<?php echo $cycleHelper->next()?>"> <tr class="<?php echo $cycleHelper->next()?>">
<td class="small right"><?php echo $this->numberFormat($i);?>.</td> <td class="small right"><?php echo $this->numberFormat($i);?>.</td>
<?php <?php
foreach ($row as $data) { foreach ($row as $data) {
if (is_numeric($data)) { if (is_numeric($data)) {
echo '<td class="small right">' . $data . '</td>'; echo '<td class="small right">' . $data . '</td>';
} else { } else {
echo '<td class="small">' . $this->out($data) . '</td>'; echo '<td class="small">' . $this->out($data) . '</td>';
} }
} }
echo '</tr>'; echo '</tr>';
$i++; $i++;
} }
?> ?>
</table> </table>
<?php <?php
} else { } else {
echo '<p>' . $this->lang->L_NO_ENTRIES . '</p>'; echo '<p>' . $this->lang->L_NO_ENTRIES . '</p>';
} }
} }
if (isset($this->resultSummary)) { if (isset($this->resultSummary)) {
$i = 1; $i = 1;
$totalQueries = 0; $totalQueries = 0;
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd')); $cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
?> ?>
<table class="bdr" summary="Table lists result sets"> <table class="bdr" summary="Table lists result sets">
<tr class="thead"> <tr class="thead">
<th colspan="3"><?php echo $this->lang->L_RESULT;?>:</th> <th colspan="3"><?php echo $this->lang->L_RESULT;?>:</th>
</tr> </tr>
<tr class="thead"> <tr class="thead">
<th class="right">#</th> <th class="right">#</th>
<th><?php echo $this->lang->L_QUERY_TYPE;?></th> <th><?php echo $this->lang->L_QUERY_TYPE;?></th>
<th><?php echo $this->lang->L_NR_OF_QUERIES;?></th> <th><?php echo $this->lang->L_NR_OF_QUERIES;?></th>
</tr> </tr>
<?php <?php
foreach ($this->resultSummary as $type => $count) { foreach ($this->resultSummary as $type => $count) {
$totalQueries += $count; $totalQueries += $count;
?> ?>
<tr class="<?php echo $cycleHelper->next();?>"> <tr class="<?php echo $cycleHelper->next();?>">
<td class="small right"><?php echo $this->numberFormat($i);?>.</td> <td class="small right"><?php echo $this->numberFormat($i);?>.</td>
<td class="small"><?php echo ucfirst($type);?></td> <td class="small"><?php echo ucfirst($type);?></td>
<td class="small right"><?php echo $this->numberFormat($count);?></td> <td class="small right"><?php echo $this->numberFormat($count);?></td>
</tr> </tr>
<?php $i++; <?php $i++;
} ?> } ?>
<tr class="<?php echo $cycleHelper->next();?>"> <tr class="<?php echo $cycleHelper->next();?>">
<td class="small sum">&nbsp;</td> <td class="small sum">&nbsp;</td>
<td class="small sum"><?php echo $this->lang->L_SUM_TOTAL;;?></td> <td class="small sum"><?php echo $this->lang->L_SUM_TOTAL;;?></td>
<td class="small right sum"><?php echo $this->numberFormat($totalQueries);?></td> <td class="small right sum"><?php echo $this->numberFormat($totalQueries);?></td>
</tr> </tr>
</table> </table>
<?php <?php
} ?> } ?>
</div> </div>

Datei anzeigen

@ -1,85 +1,85 @@
<?php <?php
$prefix = null; $prefix = null;
$optimizeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'optimize.tables')); $optimizeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'optimize.tables'));
$analyzeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'analyze.tables')); $analyzeTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'analyze.tables'));
$checkTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'check.tables')); $checkTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'check.tables'));
$repairTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'repair.tables')); $repairTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'repair.tables'));
$emptyTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'empty.tables')); $emptyTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'empty.tables'));
$deleteTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'delete.tables')); $deleteTablesUrl = $this->url(array('controller' => 'sql', 'action' => 'delete.tables'));
$createTableUrl = $this->url(array('controller' => 'sql', 'action' => 'create.table')); $createTableUrl = $this->url(array('controller' => 'sql', 'action' => 'create.table'));
?> ?>
<tr class="thead"> <tr class="thead">
<th colspan="15"> <th colspan="15">
<div class="buttonBar"> <div class="buttonBar">
<ul class="Formbutton"> <ul class="Formbutton">
<li> <li>
<button class="Formbutton" <button class="Formbutton"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $createTableUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $createTableUrl; ?>');">
<?php <?php
echo $this->getIcon('Tabledata', '' ,16); echo $this->getIcon('Tabledata', '' ,16);
echo $this->lang->L_NEWTABLE; echo $this->lang->L_NEWTABLE;
?> ?>
</button> </button>
</li> </li>
<li> <li>
<button class="Formbutton" disabled="disabled" <button class="Formbutton" disabled="disabled"
id="buttonOptimize" id="buttonOptimize"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $optimizeTablesUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $optimizeTablesUrl; ?>');">
<?php echo$this->getIcon('Ok', '', 16);?> <?php echo$this->getIcon('Ok', '', 16);?>
<?php echo $this->lang->L_OPTIMIZE;?> <?php echo $this->lang->L_OPTIMIZE;?>
</button> </button>
</li> </li>
<li> <li>
<button class="Formbutton" disabled="disabled" <button class="Formbutton" disabled="disabled"
id="buttonAnalyze" id="buttonAnalyze"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $analyzeTablesUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $analyzeTablesUrl; ?>');">
<?php echo$this->getIcon('Ok', '', 16);?> <?php echo$this->getIcon('Ok', '', 16);?>
<?php echo $this->lang->L_ANALYZE;?> <?php echo $this->lang->L_ANALYZE;?>
</button> </button>
</li> </li>
<li> <li>
<button class="Formbutton" disabled="disabled" <button class="Formbutton" disabled="disabled"
id="buttonCheck" id="buttonCheck"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $checkTablesUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $checkTablesUrl; ?>');">
<?php echo$this->getIcon('Ok', '', 16);?> <?php echo$this->getIcon('Ok', '', 16);?>
<?php echo $this->lang->L_CHECK;?> <?php echo $this->lang->L_CHECK;?>
</button> </button>
</li> </li>
<li> <li>
<button class="Formbutton" disabled="disabled" <button class="Formbutton" disabled="disabled"
id="buttonRepair" id="buttonRepair"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $repairTablesUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $repairTablesUrl; ?>');">
<?php echo$this->getIcon('Ok', '', 16);?> <?php echo$this->getIcon('Ok', '', 16);?>
<?php echo $this->lang->L_REPAIR;?> <?php echo $this->lang->L_REPAIR;?>
</button> </button>
</li> </li>
<li> <li>
<button class="Formbutton" disabled="disabled" <button class="Formbutton" disabled="disabled"
id="buttonTruncate" id="buttonTruncate"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $emptyTablesUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $emptyTablesUrl; ?>');">
<?php echo$this->getIcon('delete', '');?> <?php echo$this->getIcon('delete', '');?>
<?php echo $this->lang->L_EMPTY;?> <?php echo $this->lang->L_EMPTY;?>
</button> </button>
</li> </li>
<li> <li>
<button class="Formbutton" disabled="disabled" <button class="Formbutton" disabled="disabled"
id="buttonDelete" id="buttonDelete"
type="submit" type="submit"
onclick="changeFormAction('.tablesForm', '<?php echo $deleteTablesUrl; ?>');"> onclick="changeFormAction('.tablesForm', '<?php echo $deleteTablesUrl; ?>');">
<?php echo$this->getIcon('delete', '');?> <?php echo$this->getIcon('delete', '');?>
<?php echo $this->lang->L_DELETE;?> <?php echo $this->lang->L_DELETE;?>
</button> </button>
</li> </li>
</ul> </ul>
</div> </div>
</th> </th>
</tr> </tr>

Datei anzeigen

@ -1,8 +1,8 @@
<div id="content"> <div id="content">
<h2><?php echo $this->lang->L_SQL_CREATETABLE;?></h2> <h2><?php echo $this->lang->L_SQL_CREATETABLE;?></h2>
<br /><br /> <br /><br />
Hello (MySQLDumper-) World! Hello (MySQLDumper-) World!
</div> </div>

Datei anzeigen

@ -1,10 +1,10 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<configuration <configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://pdepend.org/schema/configuration" xmlns="http://pdepend.org/schema/configuration"
xsi:schemaLocation="http://pdepend.org/schema/configuration http://pdepend.org/schema/1.0/configuration.xsd"> xsi:schemaLocation="http://pdepend.org/schema/configuration http://pdepend.org/schema/1.0/configuration.xsd">
<cache> <cache>
<driver>file</driver> <driver>file</driver>
<location>/tmp/pdepend</location> <location>/tmp/pdepend</location>
</cache> </cache>
</configuration> </configuration>

Datei anzeigen

@ -1,61 +1,61 @@
/*! /*!
* Autogrow Textarea Plugin Version v2.0 * Autogrow Textarea Plugin Version v2.0
* http://www.technoreply.com/autogrow-textarea-plugin-version-2-0 * http://www.technoreply.com/autogrow-textarea-plugin-version-2-0
* *
* Copyright 2011, Jevin O. Sewaruth * Copyright 2011, Jevin O. Sewaruth
* *
* Date: March 13, 2011 * Date: March 13, 2011
*/ */
jQuery.fn.autoGrow = function(){ jQuery.fn.autoGrow = function(){
return this.each(function(){ return this.each(function(){
// Variables // Variables
var colsDefault = this.cols; var colsDefault = this.cols;
var rowsDefault = this.rows; var rowsDefault = this.rows;
//Functions //Functions
var grow = function() { var grow = function() {
growByRef(this); growByRef(this);
} }
var growByRef = function(obj) { var growByRef = function(obj) {
var linesCount = 0; var linesCount = 0;
var lines = obj.value.split('\n'); var lines = obj.value.split('\n');
for (var i=lines.length-1; i>=0; --i) for (var i=lines.length-1; i>=0; --i)
{ {
linesCount += Math.floor((lines[i].length / colsDefault) + 1); linesCount += Math.floor((lines[i].length / colsDefault) + 1);
} }
if (linesCount >= rowsDefault) if (linesCount >= rowsDefault)
obj.rows = linesCount + 1; obj.rows = linesCount + 1;
else else
obj.rows = rowsDefault; obj.rows = rowsDefault;
} }
var characterWidth = function (obj){ var characterWidth = function (obj){
var characterWidth = 0; var characterWidth = 0;
var temp1 = 0; var temp1 = 0;
var temp2 = 0; var temp2 = 0;
var tempCols = obj.cols; var tempCols = obj.cols;
obj.cols = 1; obj.cols = 1;
temp1 = obj.offsetWidth; temp1 = obj.offsetWidth;
obj.cols = 2; obj.cols = 2;
temp2 = obj.offsetWidth; temp2 = obj.offsetWidth;
characterWidth = temp2 - temp1; characterWidth = temp2 - temp1;
obj.cols = tempCols; obj.cols = tempCols;
return characterWidth; return characterWidth;
} }
// Manipulations // Manipulations
this.style.width = "auto"; this.style.width = "auto";
this.style.height = "auto"; this.style.height = "auto";
this.style.overflow = "hidden"; this.style.overflow = "hidden";
this.style.width = ((characterWidth(this) * this.cols) + 6) + "px"; this.style.width = ((characterWidth(this) * this.cols) + 6) + "px";
//this.onkeyup = grow; //this.onkeyup = grow;
//this.onfocus = grow; //this.onfocus = grow;
//this.onblur = grow; //this.onblur = grow;
growByRef(this); growByRef(this);
}); });
}; };

Datei anzeigen

@ -1,231 +1,231 @@
/* /*
** Created by: Jeff Todnem (http://www.todnem.com/) ** Created by: Jeff Todnem (http://www.todnem.com/)
** Created on: 2007-08-14 ** Created on: 2007-08-14
** Last modified: 2010-05-03 ** Last modified: 2010-05-03
** **
** License Information: ** License Information:
** ------------------------------------------------------------------------- ** -------------------------------------------------------------------------
** Copyright (C) 2007 Jeff Todnem ** Copyright (C) 2007 Jeff Todnem
** **
** This program is free software; you can redistribute it and/or modify it ** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the ** under the terms of the GNU General Public License as published by the
** Free Software Foundation; either version 2 of the License, or (at your ** Free Software Foundation; either version 2 of the License, or (at your
** option) any later version. ** option) any later version.
** **
** This program is distributed in the hope that it will be useful, but ** This program is distributed in the hope that it will be useful, but
** WITHOUT ANY WARRANTY; without even the implied warranty of ** WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details. ** General Public License for more details.
** **
** You should have received a copy of the GNU General Public License along ** You should have received a copy of the GNU General Public License along
** with this program; if not, write to the Free Software Foundation, Inc., ** with this program; if not, write to the Free Software Foundation, Inc.,
** 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ** 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
** **
*/ */
String.prototype.strReverse = function() { String.prototype.strReverse = function() {
var newstring = ""; var newstring = "";
for (var s=0; s < this.length; s++) { for (var s=0; s < this.length; s++) {
newstring = this.charAt(s) + newstring; newstring = this.charAt(s) + newstring;
} }
return newstring; return newstring;
}; };
function chkPass(pwd) { function chkPass(pwd) {
// Simultaneous variable declaration and value assignment aren't supported in IE apparently // Simultaneous variable declaration and value assignment aren't supported in IE apparently
// so I'm forced to assign the same value individually per var to support a crappy browser *sigh* // so I'm forced to assign the same value individually per var to support a crappy browser *sigh*
var nScore=0, nLength=0, nAlphaUC=0, nAlphaLC=0, nNumber=0, nSymbol=0, nMidChar=0, nRequirements=0, nAlphasOnly=0, nNumbersOnly=0, nUnqChar=0, nRepChar=0, nRepInc=0, nConsecAlphaUC=0, nConsecAlphaLC=0, nConsecNumber=0, nConsecSymbol=0, nConsecCharType=0, nSeqAlpha=0, nSeqNumber=0, nSeqSymbol=0, nSeqChar=0, nReqChar=0, nMultConsecCharType=0; var nScore=0, nLength=0, nAlphaUC=0, nAlphaLC=0, nNumber=0, nSymbol=0, nMidChar=0, nRequirements=0, nAlphasOnly=0, nNumbersOnly=0, nUnqChar=0, nRepChar=0, nRepInc=0, nConsecAlphaUC=0, nConsecAlphaLC=0, nConsecNumber=0, nConsecSymbol=0, nConsecCharType=0, nSeqAlpha=0, nSeqNumber=0, nSeqSymbol=0, nSeqChar=0, nReqChar=0, nMultConsecCharType=0;
var nMultRepChar=1, nMultConsecSymbol=1; var nMultRepChar=1, nMultConsecSymbol=1;
var nMultMidChar=2, nMultRequirements=2, nMultConsecAlphaUC=2, nMultConsecAlphaLC=2, nMultConsecNumber=2; var nMultMidChar=2, nMultRequirements=2, nMultConsecAlphaUC=2, nMultConsecAlphaLC=2, nMultConsecNumber=2;
var nReqCharType=3, nMultAlphaUC=3, nMultAlphaLC=3, nMultSeqAlpha=3, nMultSeqNumber=3, nMultSeqSymbol=3; var nReqCharType=3, nMultAlphaUC=3, nMultAlphaLC=3, nMultSeqAlpha=3, nMultSeqNumber=3, nMultSeqSymbol=3;
var nMultLength=4, nMultNumber=4; var nMultLength=4, nMultNumber=4;
var nMultSymbol=6; var nMultSymbol=6;
var nTmpAlphaUC="", nTmpAlphaLC="", nTmpNumber="", nTmpSymbol=""; var nTmpAlphaUC="", nTmpAlphaLC="", nTmpNumber="", nTmpSymbol="";
var sAlphaUC="0", sAlphaLC="0", sNumber="0", sSymbol="0", sMidChar="0", sRequirements="0", sAlphasOnly="0", sNumbersOnly="0", sRepChar="0", sConsecAlphaUC="0", sConsecAlphaLC="0", sConsecNumber="0", sSeqAlpha="0", sSeqNumber="0", sSeqSymbol="0"; var sAlphaUC="0", sAlphaLC="0", sNumber="0", sSymbol="0", sMidChar="0", sRequirements="0", sAlphasOnly="0", sNumbersOnly="0", sRepChar="0", sConsecAlphaUC="0", sConsecAlphaLC="0", sConsecNumber="0", sSeqAlpha="0", sSeqNumber="0", sSeqSymbol="0";
var sAlphas = "abcdefghijklmnopqrstuvwxyz"; var sAlphas = "abcdefghijklmnopqrstuvwxyz";
var sNumerics = "01234567890"; var sNumerics = "01234567890";
var sSymbols = ")!@#$%^&*()"; var sSymbols = ")!@#$%^&*()";
var nMinPwdLen = 8; var nMinPwdLen = 8;
if (document.all) { var nd = 0; } else { var nd = 1; } if (document.all) { var nd = 0; } else { var nd = 1; }
if (pwd) { if (pwd) {
nScore = parseInt(pwd.length * nMultLength); nScore = parseInt(pwd.length * nMultLength);
nLength = pwd.length; nLength = pwd.length;
var arrPwd = pwd.replace(/\s+/g,"").split(/\s*/); var arrPwd = pwd.replace(/\s+/g,"").split(/\s*/);
var arrPwdLen = arrPwd.length; var arrPwdLen = arrPwd.length;
/* Loop through password to check for Symbol, Numeric, Lowercase and Uppercase pattern matches */ /* Loop through password to check for Symbol, Numeric, Lowercase and Uppercase pattern matches */
for (var a=0; a < arrPwdLen; a++) { for (var a=0; a < arrPwdLen; a++) {
if (arrPwd[a].match(/[A-Z]/g)) { if (arrPwd[a].match(/[A-Z]/g)) {
if (nTmpAlphaUC !== "") { if ((nTmpAlphaUC + 1) == a) { nConsecAlphaUC++; nConsecCharType++; } } if (nTmpAlphaUC !== "") { if ((nTmpAlphaUC + 1) == a) { nConsecAlphaUC++; nConsecCharType++; } }
nTmpAlphaUC = a; nTmpAlphaUC = a;
nAlphaUC++; nAlphaUC++;
} }
else if (arrPwd[a].match(/[a-z]/g)) { else if (arrPwd[a].match(/[a-z]/g)) {
if (nTmpAlphaLC !== "") { if ((nTmpAlphaLC + 1) == a) { nConsecAlphaLC++; nConsecCharType++; } } if (nTmpAlphaLC !== "") { if ((nTmpAlphaLC + 1) == a) { nConsecAlphaLC++; nConsecCharType++; } }
nTmpAlphaLC = a; nTmpAlphaLC = a;
nAlphaLC++; nAlphaLC++;
} }
else if (arrPwd[a].match(/[0-9]/g)) { else if (arrPwd[a].match(/[0-9]/g)) {
if (a > 0 && a < (arrPwdLen - 1)) { nMidChar++; } if (a > 0 && a < (arrPwdLen - 1)) { nMidChar++; }
if (nTmpNumber !== "") { if ((nTmpNumber + 1) == a) { nConsecNumber++; nConsecCharType++; } } if (nTmpNumber !== "") { if ((nTmpNumber + 1) == a) { nConsecNumber++; nConsecCharType++; } }
nTmpNumber = a; nTmpNumber = a;
nNumber++; nNumber++;
} }
else if (arrPwd[a].match(/[^a-zA-Z0-9_]/g)) { else if (arrPwd[a].match(/[^a-zA-Z0-9_]/g)) {
if (a > 0 && a < (arrPwdLen - 1)) { nMidChar++; } if (a > 0 && a < (arrPwdLen - 1)) { nMidChar++; }
if (nTmpSymbol !== "") { if ((nTmpSymbol + 1) == a) { nConsecSymbol++; nConsecCharType++; } } if (nTmpSymbol !== "") { if ((nTmpSymbol + 1) == a) { nConsecSymbol++; nConsecCharType++; } }
nTmpSymbol = a; nTmpSymbol = a;
nSymbol++; nSymbol++;
} }
/* Internal loop through password to check for repeat characters */ /* Internal loop through password to check for repeat characters */
var bCharExists = false; var bCharExists = false;
for (var b=0; b < arrPwdLen; b++) { for (var b=0; b < arrPwdLen; b++) {
if (arrPwd[a] == arrPwd[b] && a != b) { /* repeat character exists */ if (arrPwd[a] == arrPwd[b] && a != b) { /* repeat character exists */
bCharExists = true; bCharExists = true;
/* /*
Calculate icrement deduction based on proximity to identical characters Calculate icrement deduction based on proximity to identical characters
Deduction is incremented each time a new match is discovered Deduction is incremented each time a new match is discovered
Deduction amount is based on total password length divided by the Deduction amount is based on total password length divided by the
difference of distance between currently selected match difference of distance between currently selected match
*/ */
nRepInc += Math.abs(arrPwdLen/(b-a)); nRepInc += Math.abs(arrPwdLen/(b-a));
} }
} }
if (bCharExists) { if (bCharExists) {
nRepChar++; nRepChar++;
nUnqChar = arrPwdLen-nRepChar; nUnqChar = arrPwdLen-nRepChar;
nRepInc = (nUnqChar) ? Math.ceil(nRepInc/nUnqChar) : Math.ceil(nRepInc); nRepInc = (nUnqChar) ? Math.ceil(nRepInc/nUnqChar) : Math.ceil(nRepInc);
} }
} }
/* Check for sequential alpha string patterns (forward and reverse) */ /* Check for sequential alpha string patterns (forward and reverse) */
for (var s=0; s < 23; s++) { for (var s=0; s < 23; s++) {
var sFwd = sAlphas.substring(s,parseInt(s+3)); var sFwd = sAlphas.substring(s,parseInt(s+3));
var sRev = sFwd.strReverse(); var sRev = sFwd.strReverse();
if (pwd.toLowerCase().indexOf(sFwd) != -1 || pwd.toLowerCase().indexOf(sRev) != -1) { nSeqAlpha++; nSeqChar++;} if (pwd.toLowerCase().indexOf(sFwd) != -1 || pwd.toLowerCase().indexOf(sRev) != -1) { nSeqAlpha++; nSeqChar++;}
} }
/* Check for sequential numeric string patterns (forward and reverse) */ /* Check for sequential numeric string patterns (forward and reverse) */
for (var s=0; s < 8; s++) { for (var s=0; s < 8; s++) {
var sFwd = sNumerics.substring(s,parseInt(s+3)); var sFwd = sNumerics.substring(s,parseInt(s+3));
var sRev = sFwd.strReverse(); var sRev = sFwd.strReverse();
if (pwd.toLowerCase().indexOf(sFwd) != -1 || pwd.toLowerCase().indexOf(sRev) != -1) { nSeqNumber++; nSeqChar++;} if (pwd.toLowerCase().indexOf(sFwd) != -1 || pwd.toLowerCase().indexOf(sRev) != -1) { nSeqNumber++; nSeqChar++;}
} }
/* Check for sequential symbol string patterns (forward and reverse) */ /* Check for sequential symbol string patterns (forward and reverse) */
for (var s=0; s < 8; s++) { for (var s=0; s < 8; s++) {
var sFwd = sSymbols.substring(s,parseInt(s+3)); var sFwd = sSymbols.substring(s,parseInt(s+3));
var sRev = sFwd.strReverse(); var sRev = sFwd.strReverse();
if (pwd.toLowerCase().indexOf(sFwd) != -1 || pwd.toLowerCase().indexOf(sRev) != -1) { nSeqSymbol++; nSeqChar++;} if (pwd.toLowerCase().indexOf(sFwd) != -1 || pwd.toLowerCase().indexOf(sRev) != -1) { nSeqSymbol++; nSeqChar++;}
} }
/* Modify overall score value based on usage vs requirements */ /* Modify overall score value based on usage vs requirements */
/* General point assignment */ /* General point assignment */
if (nAlphaUC > 0 && nAlphaUC < nLength) { if (nAlphaUC > 0 && nAlphaUC < nLength) {
nScore = parseInt(nScore + ((nLength - nAlphaUC) * 2)); nScore = parseInt(nScore + ((nLength - nAlphaUC) * 2));
sAlphaUC = "+ " + parseInt((nLength - nAlphaUC) * 2); sAlphaUC = "+ " + parseInt((nLength - nAlphaUC) * 2);
} }
if (nAlphaLC > 0 && nAlphaLC < nLength) { if (nAlphaLC > 0 && nAlphaLC < nLength) {
nScore = parseInt(nScore + ((nLength - nAlphaLC) * 2)); nScore = parseInt(nScore + ((nLength - nAlphaLC) * 2));
sAlphaLC = "+ " + parseInt((nLength - nAlphaLC) * 2); sAlphaLC = "+ " + parseInt((nLength - nAlphaLC) * 2);
} }
if (nNumber > 0 && nNumber < nLength) { if (nNumber > 0 && nNumber < nLength) {
nScore = parseInt(nScore + (nNumber * nMultNumber)); nScore = parseInt(nScore + (nNumber * nMultNumber));
sNumber = "+ " + parseInt(nNumber * nMultNumber); sNumber = "+ " + parseInt(nNumber * nMultNumber);
} }
if (nSymbol > 0) { if (nSymbol > 0) {
nScore = parseInt(nScore + (nSymbol * nMultSymbol)); nScore = parseInt(nScore + (nSymbol * nMultSymbol));
sSymbol = "+ " + parseInt(nSymbol * nMultSymbol); sSymbol = "+ " + parseInt(nSymbol * nMultSymbol);
} }
if (nMidChar > 0) { if (nMidChar > 0) {
nScore = parseInt(nScore + (nMidChar * nMultMidChar)); nScore = parseInt(nScore + (nMidChar * nMultMidChar));
sMidChar = "+ " + parseInt(nMidChar * nMultMidChar); sMidChar = "+ " + parseInt(nMidChar * nMultMidChar);
} }
/* Point deductions for poor practices */ /* Point deductions for poor practices */
if ((nAlphaLC > 0 || nAlphaUC > 0) && nSymbol === 0 && nNumber === 0) { // Only Letters if ((nAlphaLC > 0 || nAlphaUC > 0) && nSymbol === 0 && nNumber === 0) { // Only Letters
nScore = parseInt(nScore - nLength); nScore = parseInt(nScore - nLength);
nAlphasOnly = nLength; nAlphasOnly = nLength;
sAlphasOnly = "- " + nLength; sAlphasOnly = "- " + nLength;
} }
if (nAlphaLC === 0 && nAlphaUC === 0 && nSymbol === 0 && nNumber > 0) { // Only Numbers if (nAlphaLC === 0 && nAlphaUC === 0 && nSymbol === 0 && nNumber > 0) { // Only Numbers
nScore = parseInt(nScore - nLength); nScore = parseInt(nScore - nLength);
nNumbersOnly = nLength; nNumbersOnly = nLength;
sNumbersOnly = "- " + nLength; sNumbersOnly = "- " + nLength;
} }
if (nRepChar > 0) { // Same character exists more than once if (nRepChar > 0) { // Same character exists more than once
nScore = parseInt(nScore - nRepInc); nScore = parseInt(nScore - nRepInc);
sRepChar = "- " + nRepInc; sRepChar = "- " + nRepInc;
} }
if (nConsecAlphaUC > 0) { // Consecutive Uppercase Letters exist if (nConsecAlphaUC > 0) { // Consecutive Uppercase Letters exist
nScore = parseInt(nScore - (nConsecAlphaUC * nMultConsecAlphaUC)); nScore = parseInt(nScore - (nConsecAlphaUC * nMultConsecAlphaUC));
sConsecAlphaUC = "- " + parseInt(nConsecAlphaUC * nMultConsecAlphaUC); sConsecAlphaUC = "- " + parseInt(nConsecAlphaUC * nMultConsecAlphaUC);
} }
if (nConsecAlphaLC > 0) { // Consecutive Lowercase Letters exist if (nConsecAlphaLC > 0) { // Consecutive Lowercase Letters exist
nScore = parseInt(nScore - (nConsecAlphaLC * nMultConsecAlphaLC)); nScore = parseInt(nScore - (nConsecAlphaLC * nMultConsecAlphaLC));
sConsecAlphaLC = "- " + parseInt(nConsecAlphaLC * nMultConsecAlphaLC); sConsecAlphaLC = "- " + parseInt(nConsecAlphaLC * nMultConsecAlphaLC);
} }
if (nConsecNumber > 0) { // Consecutive Numbers exist if (nConsecNumber > 0) { // Consecutive Numbers exist
nScore = parseInt(nScore - (nConsecNumber * nMultConsecNumber)); nScore = parseInt(nScore - (nConsecNumber * nMultConsecNumber));
sConsecNumber = "- " + parseInt(nConsecNumber * nMultConsecNumber); sConsecNumber = "- " + parseInt(nConsecNumber * nMultConsecNumber);
} }
if (nSeqAlpha > 0) { // Sequential alpha strings exist (3 characters or more) if (nSeqAlpha > 0) { // Sequential alpha strings exist (3 characters or more)
nScore = parseInt(nScore - (nSeqAlpha * nMultSeqAlpha)); nScore = parseInt(nScore - (nSeqAlpha * nMultSeqAlpha));
sSeqAlpha = "- " + parseInt(nSeqAlpha * nMultSeqAlpha); sSeqAlpha = "- " + parseInt(nSeqAlpha * nMultSeqAlpha);
} }
if (nSeqNumber > 0) { // Sequential numeric strings exist (3 characters or more) if (nSeqNumber > 0) { // Sequential numeric strings exist (3 characters or more)
nScore = parseInt(nScore - (nSeqNumber * nMultSeqNumber)); nScore = parseInt(nScore - (nSeqNumber * nMultSeqNumber));
sSeqNumber = "- " + parseInt(nSeqNumber * nMultSeqNumber); sSeqNumber = "- " + parseInt(nSeqNumber * nMultSeqNumber);
} }
if (nSeqSymbol > 0) { // Sequential symbol strings exist (3 characters or more) if (nSeqSymbol > 0) { // Sequential symbol strings exist (3 characters or more)
nScore = parseInt(nScore - (nSeqSymbol * nMultSeqSymbol)); nScore = parseInt(nScore - (nSeqSymbol * nMultSeqSymbol));
sSeqSymbol = "- " + parseInt(nSeqSymbol * nMultSeqSymbol); sSeqSymbol = "- " + parseInt(nSeqSymbol * nMultSeqSymbol);
} }
/* Determine if mandatory requirements have been met and set image indicators accordingly */ /* Determine if mandatory requirements have been met and set image indicators accordingly */
var arrChars = [nLength,nAlphaUC,nAlphaLC,nNumber,nSymbol]; var arrChars = [nLength,nAlphaUC,nAlphaLC,nNumber,nSymbol];
var arrCharsIds = ["nLength","nAlphaUC","nAlphaLC","nNumber","nSymbol"]; var arrCharsIds = ["nLength","nAlphaUC","nAlphaLC","nNumber","nSymbol"];
var arrCharsLen = arrChars.length; var arrCharsLen = arrChars.length;
for (var c=0; c < arrCharsLen; c++) { for (var c=0; c < arrCharsLen; c++) {
if (arrCharsIds[c] == "nLength") { var minVal = parseInt(nMinPwdLen - 1); } else { var minVal = 0; } if (arrCharsIds[c] == "nLength") { var minVal = parseInt(nMinPwdLen - 1); } else { var minVal = 0; }
if (arrChars[c] == parseInt(minVal + 1)) { nReqChar++ } if (arrChars[c] == parseInt(minVal + 1)) { nReqChar++ }
else if (arrChars[c] > parseInt(minVal + 1)) { nReqChar++; } else if (arrChars[c] > parseInt(minVal + 1)) { nReqChar++; }
} }
nRequirements = nReqChar; nRequirements = nReqChar;
if (pwd.length >= nMinPwdLen) { var nMinReqChars = 3; } else { var nMinReqChars = 4; } if (pwd.length >= nMinPwdLen) { var nMinReqChars = 3; } else { var nMinReqChars = 4; }
if (nRequirements > nMinReqChars) { // One or more required characters exist if (nRequirements > nMinReqChars) { // One or more required characters exist
nScore = parseInt(nScore + (nRequirements * 2)); nScore = parseInt(nScore + (nRequirements * 2));
sRequirements = "+ " + parseInt(nRequirements * 2); sRequirements = "+ " + parseInt(nRequirements * 2);
} }
/* Display updated score criteria to client */ /* Display updated score criteria to client */
if (nScore > 100) { nScore = 100; } else if (nScore < 0) { nScore = 0; } if (nScore > 100) { nScore = 100; } else if (nScore < 0) { nScore = 0; }
$("#scorebar").css("width", parseInt(nScore) + "px"); $("#scorebar").css("width", parseInt(nScore) + "px");
if (nScore > 0) { if (nScore > 0) {
$("#scorebar").css("display", ""); $("#scorebar").css("display", "");
} else { } else {
$("#scorebar").css("display", "none"); $("#scorebar").css("display", "none");
} }
} }
else { else {
/* Display default score criteria to client */ /* Display default score criteria to client */
initPwdChk(); initPwdChk();
} }
} }
function initPwdChk() { function initPwdChk() {
/* Reset all form values to their default */ /* Reset all form values to their default */
$("#scorebar").css("width", "0px"); $("#scorebar").css("width", "0px");
$("#scorebar").css("display", "none"); $("#scorebar").css("display", "none");
} }
$(document).ready(function() { $(document).ready(function() {
/* Init the password checking */ /* Init the password checking */
$("#pass").keyup(function() { $("#pass").keyup(function() {
chkPass(this.value); chkPass(this.value);
}); });
$("#scorebar").wrap('<div id="scorebardiv" />'); $("#scorebar").wrap('<div id="scorebardiv" />');
initPwdChk(); initPwdChk();
}); });