Added feature to reset module settings;

Fixed bug causing undefined errors on portal ACP page;
This commit is contained in:
Marc Alexander
2011-02-02 10:35:42 +00:00
parent 057821cba1
commit a7ac48f337
9 changed files with 94 additions and 20 deletions

View File

@@ -55,6 +55,8 @@ $lang = array_merge($lang, array(
'B3P_FILE_NOT_FOUND' => 'Die angegebene Datei konnte nicht gefunden werden',
'UNABLE_TO_MOVE' => 'Es ist nicht möglich den Block in die gewählte Spalte zu verschieben.',
'DELETE_MODULE_CONFIRM' => 'Bist du sicher, dass du das Module "%1$s" löschen möchtest?',
'MODULE_RESET_SUCCESS' => 'Modul Einstellungen erfolgreich zurückgesetzt.',
'MODULE_RESET_CONFIRM' => 'Bist du sicher, dass du die Einstellungen des Moduls "%1$s" zurücksetzen willst?',
'MODULE_OPTIONS' => 'Modul Optionen',
'MODULE_NAME' => 'Modul Name',
@@ -63,7 +65,9 @@ $lang = array_merge($lang, array(
'MODULE_IMAGE_EXP' => 'Gebe den Dateinamen des Modul Bildes ein. Bilder müssen sich in styles/*yourstyle*/theme/images/portal/ befinden.',
'MODULE_PERMISSIONS' => 'Modul Berechtigungen',
'MODULE_PERMISSIONS_EXP' => 'Wähle die Gruppen aus, die berechtigt sein sollen, das Modul zu sehen. Sollen alle Benutzer das Modul sehen können, wähle nichts aus.<br />An- / abwählen mehrerer Gruppen indem man <samp>Strg</samp> gedrückt hält und klickt.',
'MODULE_RESET' => 'Modul Einstellungen zurücksetzen',
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!',
// general
'ACP_PORTAL' => 'Portal',
'ACP_PORTAL_GENERAL_INFO' => 'Allgemeine Einstellungen',

View File

@@ -54,6 +54,8 @@ $lang = array_merge($lang, array(
'B3P_FILE_NOT_FOUND' => 'The requested file could not be found',
'UNABLE_TO_MOVE' => 'It is not possible to move the block to the selected column.',
'DELETE_MODULE_CONFIRM' => 'Are you sure you wish to delete the module "%1$s"?',
'MODULE_RESET_SUCCESS' => 'Successfully reset the module settings.',
'MODULE_RESET_CONFIRM' => 'Are you sure you wish to reset the settings of the module "%1$s"?',
'MODULE_OPTIONS' => 'Module options',
'MODULE_NAME' => 'Module name',
@@ -66,6 +68,8 @@ $lang = array_merge($lang, array(
'MODULE_IMAGE_WIDTH_EXP' => 'Enter the width of the module image in pixels',
'MODULE_IMAGE_HEIGHT' => 'Module image height',
'MODULE_IMAGE_HEIGHT_EXP' => 'Enter the height of the module image in pixels',
'MODULE_RESET' => 'Reset module configuration',
'MODULE_RESET_EXP' => 'This will reset all settings to the default!',
// general
'ACP_PORTAL' => 'Portal',