From: lkehresman Date: Tue, 8 Feb 2000 11:59:09 +0000 (+0000) Subject: Added refreshing of left folder list using META tags. Editeded HTML for X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=469eb37bf814b159beaea58bdf08d88c1439fda0;p=squirrelmail.git Added refreshing of left folder list using META tags. Editeded HTML for compose.php a little bit. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@195 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/po/squirrelmail.po b/po/squirrelmail.po index 60bc167f..5f2e7448 100644 --- a/po/squirrelmail.po +++ b/po/squirrelmail.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-01-13 22:35+0100\n" +"POT-Creation-Date: 2000-02-08 07:02-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -14,59 +14,56 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" -#: squirrelmail/src/compose.php:33 squirrelmail/src/compose.php:69 +#: squirrelmail/src/compose.php:48 squirrelmail/src/compose.php:84 msgid "No Message" msgstr "" -#: squirrelmail/src/compose.php:39 +#: squirrelmail/src/compose.php:54 msgid "-------- Original Message ---------\n" msgstr "" -#: squirrelmail/src/compose.php:132 squirrelmail/src/compose_send.php:27 -#: squirrelmail/src/read_body.php:155 +#: squirrelmail/src/compose.php:154 squirrelmail/src/read_body.php:155 msgid "To:" msgstr "" -#: squirrelmail/src/compose.php:161 squirrelmail/src/compose_send.php:45 -#: squirrelmail/src/read_body.php:125 -msgid "Subject:" +#: squirrelmail/src/compose.php:165 +msgid "CC" msgstr "" -#: squirrelmail/src/compose.php:184 squirrelmail/src/compose.php:198 -#: squirrelmail/src/compose_send.php:31 -msgid "Send" +#: squirrelmail/src/compose.php:186 squirrelmail/src/read_body.php:125 +msgid "Subject:" msgstr "" -#: squirrelmail/src/compose_send.php:15 -msgid "You have not entered a message body." +#: squirrelmail/src/compose.php:215 +msgid "Attach:" msgstr "" -#: squirrelmail/src/compose_send.php:20 -msgid "You have not filled in the \"To:\" field." +#: squirrelmail/src/compose.php:221 +msgid "Add" msgstr "" -#: squirrelmail/src/compose_send.php:39 -msgid "You have not entered a subject." +#: squirrelmail/src/compose.php:233 +msgid "Delete selected attachments" msgstr "" -#: squirrelmail/src/compose_send.php:47 -msgid "(no subject)" +#: squirrelmail/src/compose.php:247 +msgid "Send" msgstr "" -#: squirrelmail/src/compose_send.php:72 -msgid "Message Sent!" +#: squirrelmail/src/compose.php:264 +msgid "You have not entered a message body." msgstr "" -#: squirrelmail/src/compose_send.php:74 -msgid "You will be automatically forwarded." +#: squirrelmail/src/compose.php:268 +msgid "You have not filled in the \"To:\" field." msgstr "" -#: squirrelmail/src/compose_send.php:76 -msgid "If not," +#: squirrelmail/src/compose.php:271 +msgid "You have not entered a subject." msgstr "" -#: squirrelmail/src/compose_send.php:78 -msgid "click here" +#: squirrelmail/src/compose.php:292 +msgid "Could not move/copy file. File not attached" msgstr "" #: squirrelmail/src/download.php:18 @@ -77,22 +74,6 @@ msgstr "" msgid "Download this as a file" msgstr "" -#: squirrelmail/src/dupa.php:1 -msgid "Dupa:" -msgstr "" - -#: squirrelmail/src/folders_create.php:20 -msgid "" -"Illegal folder name. Please select a different name.
Click here to go back." -msgstr "" - -#: squirrelmail/src/folders_create.php:35 -#: squirrelmail/src/folders_delete.php:77 -#: squirrelmail/src/folders_rename_do.php:67 -msgid "Return" -msgstr "" - #: squirrelmail/functions/page_header.php:24 squirrelmail/src/folders.php:18 msgid "Folders" msgstr "" @@ -101,7 +82,7 @@ msgstr "" msgid "Delete Folder" msgstr "" -#: squirrelmail/functions/mailbox_display.php:214 +#: squirrelmail/functions/mailbox_display.php:218 #: squirrelmail/src/folders.php:52 squirrelmail/src/read_body.php:100 msgid "Delete" msgstr "" @@ -126,6 +107,18 @@ msgstr "" msgid "Rename" msgstr "" +#: squirrelmail/src/folders_create.php:20 +msgid "" +"Illegal folder name. Please select a different name.
Click here to go back." +msgstr "" + +#: squirrelmail/src/folders_create.php:35 +#: squirrelmail/src/folders_delete.php:77 +#: squirrelmail/src/folders_rename_do.php:67 +msgid "Return" +msgstr "" + #: squirrelmail/src/folders_rename_getname.php:26 msgid "Rename a folder" msgstr "" @@ -135,11 +128,11 @@ msgid "New name:" msgstr "" #: squirrelmail/src/folders_rename_getname.php:34 -#: squirrelmail/src/options.php:163 +#: squirrelmail/src/options.php:259 msgid "Submit" msgstr "" -#: squirrelmail/src/left_main.php:82 +#: squirrelmail/src/left_main.php:85 msgid "refresh folder list" msgstr "" @@ -155,19 +148,19 @@ msgstr "" msgid "Exiting abnormally" msgstr "" -#: squirrelmail/src/login.php:22 +#: squirrelmail/src/login.php:29 msgid "SquirrelMail version $version
By the SquirrelMail Development Team" msgstr "" -#: squirrelmail/src/login.php:35 +#: squirrelmail/src/login.php:42 msgid "Name:" msgstr "" -#: squirrelmail/src/login.php:43 +#: squirrelmail/src/login.php:50 msgid "Password:" msgstr "" -#: squirrelmail/src/login.php:53 +#: squirrelmail/src/login.php:60 msgid "Login" msgstr "" @@ -203,23 +196,27 @@ msgstr "" msgid " Size of editor window (in characters):" msgstr "" -#: squirrelmail/src/options.php:149 +#: squirrelmail/src/options.php:147 +msgid " Time between auto refresh of folder list:" +msgstr "" + +#: squirrelmail/src/options.php:245 msgid "Use a signature?" msgstr "" -#: squirrelmail/src/options_submit.php:28 +#: squirrelmail/src/options_submit.php:29 msgid "Options Saved!" msgstr "" -#: squirrelmail/src/options_submit.php:30 +#: squirrelmail/src/options_submit.php:31 msgid "Your options have been saved." msgstr "" -#: squirrelmail/src/options_submit.php:32 +#: squirrelmail/src/options_submit.php:33 msgid "Click here" msgstr "" -#: squirrelmail/src/options_submit.php:34 +#: squirrelmail/src/options_submit.php:35 msgid "to continue." msgstr "" @@ -271,7 +268,7 @@ msgstr "" msgid "You need a valid user and password to access this page!" msgstr "" -#: squirrelmail/src/signout.php:24 +#: squirrelmail/functions/page_header.php:15 squirrelmail/src/signout.php:24 msgid "Sign Out" msgstr "" @@ -326,70 +323,73 @@ msgid "The selected messages were moved successfully." msgstr "" #: squirrelmail/functions/display_messages.php:90 +#: squirrelmail/functions/display_messages.php:106 msgid "ERROR" msgstr "" -#: squirrelmail/functions/mailbox_display.php:158 +#: squirrelmail/functions/mailbox.php:52 +msgid "Error in message header fetching. Start message: " +msgstr "" + +#: squirrelmail/functions/mailbox.php:52 +msgid "End message: " +msgstr "" + +#: squirrelmail/functions/mailbox_display.php:162 msgid "Viewing messages " msgstr "" -#: squirrelmail/functions/mailbox_display.php:158 +#: squirrelmail/functions/mailbox_display.php:162 msgid " to " msgstr "" -#: squirrelmail/functions/mailbox_display.php:162 +#: squirrelmail/functions/mailbox_display.php:166 msgid "Viewing message " msgstr "" -#: squirrelmail/functions/mailbox_display.php:162 +#: squirrelmail/functions/mailbox_display.php:166 msgid "total" msgstr "" -#: squirrelmail/functions/mailbox_display.php:168 #: squirrelmail/functions/mailbox_display.php:172 -#: squirrelmail/functions/mailbox_display.php:271 +#: squirrelmail/functions/mailbox_display.php:176 #: squirrelmail/functions/mailbox_display.php:275 +#: squirrelmail/functions/mailbox_display.php:279 msgid "Previous" msgstr "" -#: squirrelmail/functions/mailbox_display.php:169 -#: squirrelmail/functions/mailbox_display.php:177 +#: squirrelmail/functions/mailbox_display.php:173 +#: squirrelmail/functions/mailbox_display.php:181 +#: squirrelmail/functions/mailbox_display.php:276 #: squirrelmail/functions/mailbox_display.php:280 +#: squirrelmail/functions/mailbox_display.php:284 msgid "Next" msgstr "" -#: squirrelmail/functions/mailbox_display.php:188 +#: squirrelmail/functions/mailbox_display.php:192 msgid "Move selected to:" msgstr "" -#: squirrelmail/functions/mailbox_display.php:210 +#: squirrelmail/functions/mailbox_display.php:214 msgid "Move" msgstr "" -#: squirrelmail/functions/mailbox_display.php:214 +#: squirrelmail/functions/mailbox_display.php:218 msgid "checked messages" msgstr "" -#: squirrelmail/functions/mailbox_display.php:226 +#: squirrelmail/functions/mailbox_display.php:230 msgid "From" msgstr "" -#: squirrelmail/functions/mailbox_display.php:234 +#: squirrelmail/functions/mailbox_display.php:238 msgid "Date" msgstr "" -#: squirrelmail/functions/mailbox_display.php:242 +#: squirrelmail/functions/mailbox_display.php:246 msgid "Subject" msgstr "" -#: squirrelmail/functions/mailbox.php:52 -msgid "Error in message header fetching. Start message: " -msgstr "" - -#: squirrelmail/functions/mailbox.php:52 -msgid "End message: " -msgstr "" - #: squirrelmail/functions/page_header.php:17 msgid "Current Folder: " msgstr "" diff --git a/src/compose.php b/src/compose.php index 07c85275..8f578972 100644 --- a/src/compose.php +++ b/src/compose.php @@ -210,34 +210,31 @@ // This code is for attachments echo " \n"; - echo " \n"; + echo " \n"; echo " "; - echo " "._("Attach:")."\n"; - echo " \n"; + echo "
"._("Attach:")."\n"; + echo " \n"; // echo " \n"; echo " \n"; - echo "   \n"; - echo "
"; + echo " \n"; + echo " \n"; + echo " \n"; if (isset($attachments) && count($attachments)>0) { + echo "\n"; + echo ""; while (list($localname, $remotename) = each($attachments)) { echo "\n"; echo "$remotename
\n"; } echo "\n"; - + echo ""; } - echo " \n"; - echo " \n"; - echo " \n"; // End of attachment code - echo " \n"; - echo " \n"; echo " \n"; if ($use_signature == true) diff --git a/src/left_main.php b/src/left_main.php index 6941b788..dfbbb7fc 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -70,6 +70,9 @@ /** If it was a successful login, lets load their preferences **/ include("../src/load_prefs.php"); + if (isset($left_refresh) && ($left_refresh != "None")) { + echo ""; + } echo ""; echo ""; diff --git a/src/load_prefs.php b/src/load_prefs.php index 8c692813..69c74dec 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -39,6 +39,10 @@ if ($use_signature == "") $use_signature = false; + $left_refresh = getPref($data_dir, $username, "left_refresh"); + if ($left_refresh == "") + $left_refresh = false; + /** Load up the Signature file **/ if ($use_signature == true) { $signature = getSig($data_dir, $username); diff --git a/src/options.php b/src/options.php index 399ca53b..8568973d 100644 --- a/src/options.php +++ b/src/options.php @@ -140,6 +140,102 @@ echo " "; echo ""; + // LEFT_REFRESH + echo " "; + echo " "; + echo " "; + echo _(" Time between auto refresh of folder list:"); + echo " "; + echo " "; + echo " "; + echo " "; + echo " "; + echo " "; + echo " "; + echo " "; + echo ""; + // SIGNATURE echo "
"; if ($use_signature == true) diff --git a/src/options_submit.php b/src/options_submit.php index b7c2f30d..f57848a0 100644 --- a/src/options_submit.php +++ b/src/options_submit.php @@ -20,6 +20,7 @@ setPref($data_dir, $username, "wrap_at", $wrapat); setPref($data_dir, $username, "editor_size", $editorsize); setPref($data_dir, $username, "use_signature", $usesignature); + setPref($data_dir, $username, "left_refresh", $leftrefresh); setSig($data_dir, $username, stripslashes($signature_edit));