Skip to content

Commit

Permalink
Fixed bug #1182: Can´t save startpage.pstpl in Template Editor
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/stable_plus@3252 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Aug 25, 2007
1 parent 771e438 commit ed2f8d6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
3 changes: 1 addition & 2 deletions admin/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
$files[]=array("name"=>"register.pstpl");
$files[]=array("name"=>"load.pstpl");
$files[]=array("name"=>"save.pstpl");
$files[]=array("name"=>"startpage.pstpl");
$files[]=array("name"=>"assessment.pstpl");

// Set this so common.php doesn't throw notices about undefined variables
Expand Down Expand Up @@ -66,7 +65,7 @@
$_POST['changes']=str_replace("\r\n", "\n", $_POST['changes']);
if ($editfile) {
// Check if someone tries to submit a file other than one of the allowed filenames
if (multiarray_search($files,'name',$editfile)==false) {die('Invalid template filename');} // Die you sneaky bastard!
if (multiarray_search($files,'name',$editfile)===false) {die('Invalid template filename');} // Die you sneaky bastard!
$savefilename=$publicdir."/templates/".$_POST['templatename']."/".$editfile;
if (is_writable($savefilename)) {
if (!$handle = fopen($savefilename, 'w')) {
Expand Down
Binary file modified locale/de/LC_MESSAGES/de.mo
Binary file not shown.
26 changes: 18 additions & 8 deletions locale/de/LC_MESSAGES/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ msgid ""
msgstr ""
"Project-Id-Version: LimeSurvey German language file\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2007-08-18 09:56+0100\n"
"PO-Revision-Date: 2007-08-25 10:49+0100\n"
"Last-Translator: Carsten Schmitz <c_schmitz@users.sourceforge.net>\n"
"Language-Team: LimeSurvey <c_schmitz@users.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Basepath: C:\\Dokumente und Einstellungen\\Prandstetter Josef\\Desktop\\LimeSurvey 1.6\\source\\\n"
"X-Poedit-Basepath: D:\\web\\xampp\\htdocs\\stable_plus\n"
"X-Poedit-Country: german\n"
"X-Poedit-SourceCharset: utf-8\n"
"X-Poedit-KeywordsList: gT\n"
"X-Poedit-SearchPath-0: D:\\web\\xampp\\htdocs\\limesurvey\n"
"X-Poedit-SearchPath-1: D:\\nusphere\\phped\\Projects\\LimeSurvey\n"
"X-Poedit-SearchPath-2: limesurvey\n"
"X-Poedit-SearchPath-0: D:\\web\\xampp\\htdocs\\stable_plus\n"

# D:\web\xampp\htdocs\stable_plus/common.php:226
msgid "Warning: You are still using the default password ('password'). Please change your password and re-login again."
msgstr "Warnung: Sie benutzen immer noch das Standard-Passwort ('password'). Bitte ändern Sie das Passwort und melden Sie sich ab und wieder an. "

msgid "Administration"
msgstr "Administration"
Expand Down Expand Up @@ -2451,8 +2453,9 @@ msgstr "Visualisierung:"
msgid "Select the field number you would like to use for your answers:"
msgstr "Wählen Sie die Feldnummer aus, die sie für Ihre Antworten nutzen möchten:"

msgid "An error occurred uploading your file. This may be caused by incorrect permissions in your /admin/tmp folder folder."
msgstr "Beim Hochladen der Datei ist ein Fehler aufgetreten. Grund dafür könnten fehlerhafte Einstellungen der Berechtigungen des /admin/tmp Ordners sein."
#, php-format
msgid "An error occurred uploading your file. This may be caused by incorrect permissions in your %s folder."
msgstr "Beim Hochladen der Datei ist ein Fehler aufgetreten. Grund dafür könnten fehlerhafte Rechteeinstellungen des Ordners %s sein."

msgid "File upload succeeded."
msgstr "Datei erfolgreich hochgeladen."
Expand Down Expand Up @@ -2792,7 +2795,7 @@ msgid "Please number each box in order of preference from 1 to"
msgstr "Bitte nummerieren Sie jede Box in der Reihenfolge Ihrer Präferenz, beginnen mit 1 bis"

msgid "Please choose *all* that apply:"
msgstr "Bitte alle wählen Sie alle Punke aus, die zutreffen:"
msgstr "Bitte wählen Sie alle zutreffenden Punkte aus:"

msgid "Please choose *at most* "
msgstr "Bitte wählen Sie *maximal*"
Expand Down Expand Up @@ -2821,6 +2824,9 @@ msgstr "Vielen Dank für die Beantwortung des Fragebogens."
msgid "Please fax your completed survey to:"
msgstr "Bitte faxen Sie den ausgefüllten Fragebogen an"

msgid "Please submit by"
msgstr "Bitte übermitteln bis"

msgid "Add Question"
msgstr "Frage hinzufügen"

Expand Down Expand Up @@ -3937,6 +3943,10 @@ msgstr "Möchten Sie in der Datenbank nun die notwendigen Tabellen anlegen?"
msgid "Database has been successfully upgraded to version "
msgstr "Datenbank wurde erfolgreich aktualisiert auf Version"

# D:\web\xampp\htdocs\stable_plus/classes/core/surveytranslator.php:60
msgid "Basque"
msgstr "Baskisch"

# D:\web\xampp\htdocs\limesurvey/classes/core/surveytranslator.php:66
msgid "Bulgarian"
msgstr "Bulgarisch"
Expand Down

0 comments on commit ed2f8d6

Please sign in to comment.