111 Commits

Author SHA1 Message Date
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
mudrd8mz
1dfc37b8fe Merged from MOODLE_19_STABLE. Do not produce PHP warnings in case string file does not define array $string[] 2007-12-04 21:52:16 +00:00
mudrd8mz
1b6cbebf27 MDL-8090 Merged from stable 2007-11-21 03:03:59 +00:00
mudrd8mz
a8d0a37a27 Fixed tabindex feature 2007-10-20 01:03:06 +00:00
mudrd8mz
cc8d91fa5f Added tabindex so you can jump to another missing string field by pressing a TAB key. 2007-10-20 00:45:51 +00:00
mudrd8mz
d456b18f7b Fixes MDL-11327. Error when trying to include a non existing file. 2007-09-19 17:58:03 +00:00
mudrd8mz
a98fe27240 Fixes notices produced by PHP when saving new strings into _local without corresponding master translation. 2007-08-21 23:10:18 +00:00
mudrd8mz
d9f4ba6f23 MDL-9361 lang.php is now able to edit language in third party modules and plugins. 2007-08-21 15:17:37 +00:00
nicolasconnault
66b079ae94 MDL-10870 Missed an instance of old nav in admin/lang.php 2007-08-17 05:19:20 +00:00
nicolasconnault
73c24ef80b MDL-10870 All files updated to new build_navigation() method. 2007-08-16 15:01:25 +00:00
nicolasconnault
98240e51a6 MDL-10797 Merged lang strings into lang/en_utf8/admin.php and error.php 2007-08-13 08:58:37 +00:00
stronk7
ac20257aae Now sybase quotes are properly handled by the lang editor. Part of MDL-9835
Merged from MOODLE_18_STABLE
2007-08-08 22:18:17 +00:00
mudrd8mz
16d86fda3d Introducing two new functions lang_standard_locations() and lang_extra_locations() as a part of solving MDL-9361.
TODO rewrite the code to work with array returned by these functions.
2007-07-23 22:48:06 +00:00
mudrd8mz
2327394d60 * MAJOR CHANGE: lang.php now uses two new core capabilities. With them, site admin may control who is able to edit master language packages (nobody by default) and who is able to customize local translation (legacy:admin by default). See MDL-10576 for details.
* More GUI improvements and code cleaning
2007-07-23 22:31:19 +00:00
mudrd8mz
326fc7baed Repeating the skodak's commit 1.95 (MDL-9647 simplify dealing with headers/footers in admin sections) - evidently too late for me tonight... doing more CVS mistakes :-( 2007-06-17 02:14:31 +00:00
mudrd8mz
db8c035f00 * To choose a file to edit, popup_form() is used now. It saves some space on the screen.
* Started to work on GUI improvements. Menu tabs introduced. Heading to fix MDL-8012
* "Number of missing strings" or "No missing strings" displayed in the missing mode. Fixes MDL-7029

This commit covers changes from 1.88.2.5 to 1.88.2.8 which were accidentally done on MOODLE_18_STABLE instead of HEAD.
2007-06-17 02:05:18 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
skodak
0a5ce9dd21 MDL-9561 Langimport does not ignore langlist when langcache used
MDL-9563 Improve refreshing of langcache, detect permission problems

merged from MOODLE_18_STABLE
2007-04-24 16:14:16 +00:00
mudrd8mz
b31303a6ed Implements MDL-8808
Now we can go to a missing docs/help files directly via a link. Thanks to Mitsuhiro Yoshida for the patch.
2007-04-07 19:06:06 +00:00
mudrd8mz
fc3d4000d5 Merged fixes from MOODLE_18_STABLE (from 1.88.2.3 to 1.88.2.4) 2007-04-07 18:38:04 +00:00
mudrd8mz
50c5218d2a Merged an fix from MOODLE_18_STABLE: Fixed and error in rendering different background color of the row in non-editable environment. 2007-04-07 16:21:15 +00:00
mudrd8mz
8442e01394 In the missing mode, substr() function introduced in MDL-8184 patch is now replaced by lang_xhtml_save_substr(). Fixes MDL-8852.
There was a problem with pure substr() which could possibly produce XHTML parsing error - see an example:
   substr('Marks & Spencer', 0, 9) -> 'Marks &am' ... is not XHTML compliance
The new function takes care of HTML entities during cutting the string.
2007-03-11 22:41:56 +00:00
toyomoyo
2ce10f2920 changing fieldset to div 2007-03-01 04:06:08 +00:00
mudrd8mz
dd43d37152 lang.php now keeps orphaned transaltions, i.e. string without English reference. Fixes MDL-8409. 2007-02-03 12:23:53 +00:00
mudrd8mz
5764893508 Produces better HTML/CSS output to fit into translators' screen.
There are only two columns in the translation table form now. Odd and even
rows' background alters.
See MDL-8334 and http://moodle.org/mod/forum/discuss.php?d=62800 for more info about this.
2007-02-02 14:42:15 +00:00
mudrd8mz
de4214a592 The script used to fwrite \?\> instead of ?>. Fixes MDL-8129.
This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical
syntax error.
2007-01-15 11:40:26 +00:00
mudrd8mz
f024bea279 The maximum length of the missing strings to display can be set now. Fixes MDL-8184.
Because the tags <pre>...</pre> are used when displaying original English
version of missing texts, the screen may get very wide. This patch displays
only first 60 characters followed by '...'. This produces better output.
2007-01-15 11:18:26 +00:00
moodler
819f239a81 Strict on editing long files too 2007-01-09 09:22:16 +00:00
moodler
5a34b76be0 Strrrrrrict when editing language files 2007-01-09 09:20:55 +00:00
moodler
99b112ee32 More cleaning up XHTML Strict 2007-01-09 09:11:50 +00:00
moodler
fc935b3095 Fix strings 2007-01-09 09:01:38 +00:00
moodler
5d6993b187 MOved some loose strings I found 2007-01-09 08:25:40 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
skodak
e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
toyomoyo
5fabce28e3 adding missing tag MDL-7861 2006-12-19 07:05:48 +00:00
toyomoyo
92a6d3f510 MDL-7861, adding third param to notice() function, so that the right footer is printed. Currently missing admin footer 2006-12-19 06:49:45 +00:00
skodak
344044b28e MDL-7434 all images that convey information should have alt text to convey that information - part 1 2006-11-24 20:16:37 +00:00
skodak
e3bc106621 remove use of get_String("thischarset") replace it with utf-8 MDL-7570 2006-11-15 20:39:26 +00:00
mudrd8mz
6ea1cd02cb Merged fix of MDL-7361 from MOODLE-17-STABLE 2006-11-07 13:35:12 +00:00
skodak
fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
mudrd8mz
45428e8614 * Fixed bug 5745 reported by Harry Smith so now can edit en_utf8_local pack
* More notification messages included
2006-06-09 08:48:45 +00:00
mudrd8mz
f20c155a3b * "go to first missing string" link can be displayed (see LANG_DISPLAY_MISSING_LINKS)
* "go to next/previous missing" links can be displayed (see LANG_DISPLAY_MISSING_LINKS)
* submit button may be repeated (see LANG_SUBMIT_REPEAT*)
* added (empty) "summary" attribute for the <table>'s
* added error_reporting(E_ALL ^ E_NOTICE); in "compare" mode (even in debug environment we know that missing keys are missing strings here, not bugs ;-)
* LANG_DEFAULT_FILE can be now set. moodle.php used to be opened automatically. As it was (and still is) one of the biggest files it usually took a long time to load the page even if you just want to choose the file to translate.
* added links from "missing" to "compare" mode page
* English strings are now key-sorted in "missing" mode
* list of files with missing strings is now displayed at the top of "missing" page
* A lot of changes to support translation of *_utf8_local langugage packs. Needs testing
* Merged with version by Mitsuhiro Yoshida - display icon links instead of text links (I have changed the position of arrow icons to not to be so close each other)
2006-05-30 16:47:59 +00:00
stronk7
5a606b3944 Prevent edition of langconfig.php from Moodle editor. Part of 4924.
(http://moodle.org/bugs/bug.php?op=show&bugid=4924)
2006-04-10 22:15:57 +00:00
vyshane
5723bc6f09 Fix for Bug #4910 - stringnames with - . and / don't show up in translation editor
Modified /admin/lang.php to allow us to still use periods in language string keys. The lang.php script just replaces the periods with ##46# for the form inputs and then puts the periods back in before saving to the language file.

This means that there is no need to update language files at all. They will just work even with periods in the string keys.
2006-04-05 04:07:16 +00:00
skodak
045e9e2484 parameter cleaup - round 2 2006-03-06 13:22:37 +00:00
toyomoyo
48dbefcd7d fix for 4735 2006-02-13 02:44:37 +00:00