9607 Commits

Author SHA1 Message Date
Penny Leach
3cec7552ef portfolio MDL-21508 removed lots of debuging code (just commenting out because i still have work to do here) 2010-04-13 08:06:23 +00:00
Sam Hemelryk
c14c08dec3 admin MDL-22048 Reverted yesterdays change and implemented better solution in adminlib 2010-04-13 07:28:24 +00:00
David Mudrak
d19e47031c MDL-22015 Fixing get_string regression
The passed $a placeholder object can be some advanced object like $USER for example.
If such object contained other objects or arrays as properties, casting
to string in the loop throws error. This patch just skips all arrays and
objects when trying to find $a property value.
Thanks to Sam H. for spotting this.
2010-04-13 06:22:57 +00:00
Andrew Davis
80350ef6a0 rating MDL-22063 made the scale id column signed to allow for the +ve -ve scale id hack 2010-04-13 03:33:41 +00:00
David Mudrak
71d2465de9 MDL-15252 renaming the default implementation string_manager
We should not use the term 'amos' in Moodle core. core_string_manager
follows the naming style we already have in renderers.
2010-04-12 12:55:42 +00:00
Petr Skoda
370f10b7eb MDL-22061 converting auths to pluginname and deprecating old method for getting auth names
AMOS START
 MOV [auth_castitle,auth_cas],[pluginname,auth_cas]
 MOV [auth_dbtitle,auth_db],[pluginname,auth_db]
 MOV [auth_emailtitle,auth_email],[pluginname,auth_email]
 MOV [auth_fctitle,auth_fc],[pluginname,auth_fc]
 MOV [auth_imaptitle,auth_imap],[pluginname,auth_imap]
 MOV [auth_ldaptitle,auth_ldap],[pluginname,auth_ldap]
 MOV [auth_manualtitle,auth_manul],[pluginname,auth_manul]
 MOV [auth_mnettitle,auth_mnet],[pluginname,auth_mnet]
 MOV [auth_nntptitle,auth_nntp],[pluginname,auth_nntp]
 MOV [auth_nologintitle,auth_nologin],[pluginname,auth_nologin]
 MOV [auth_nonetitle,auth_none],[pluginname,auth_none]
 MOV [auth_pamtitle,auth_pam],[pluginname,auth_pam]
 MOV [auth_pop3title,auth_pop3],[pluginname,auth_pop3]
 MOV [auth_radiustitle,auth_radius],[pluginname,auth_radius]
 MOV [auth_shibbolethtitle,auth_shibboleth],[pluginname,auth_shibboleth]
 MOV [auth_webservicetitle,auth_webservice],[pluginname,auth_webservice]
AMOS END
2010-04-11 21:31:36 +00:00
Petr Skoda
f496ada583 MDL-22061 fixed recent regression 2010-04-11 21:13:45 +00:00
Petr Skoda
37f005b142 MDL-22061 removing unnecessary [[ tests 2010-04-11 20:50:37 +00:00
Petr Skoda
3518913cc8 MDL-21694 simplified tinymce string handling 2010-04-11 20:37:13 +00:00
Petr Skoda
c2ed166e6d MDL-22061 workaround for special handling of parentlanguage string 2010-04-11 20:30:58 +00:00
Petr Skoda
ef44fbedb6 MDL-22061 workaround for missing alttext of some emoticons 2010-04-11 20:22:07 +00:00
Petr Skoda
d8fa5a1377 MDL-22059 fixing install_string_manager to work with new installer language formats 2010-04-11 18:26:19 +00:00
Petr Skoda
9c496b5449 MDL-21694 using only titles from plugins 2010-04-11 17:57:39 +00:00
Petr Skoda
b65d2720b2 MDL-21695 disabling useless debugging 2010-04-11 14:57:59 +00:00
Petr Skoda
1453bf7767 MDL-21694 fixed regression caused by moving langs to tinymce editor plugin 2010-04-11 14:54:50 +00:00
Petr Skoda
df973cf57d MDL-21693 hiding legacy languages with _utf8 in our UI 2010-04-11 14:37:12 +00:00
Petr Skoda
ff67afbd95 MDL-22054 converting course formats to have own lang packs
AMOS START
 MOV [formatscorm,core],[pluginname,format_scorm]
 MOV [formatsocial,core],[pluginname,format_social]
 MOV [formattopics,core],[pluginname,format_topics]
 MOV [formatweeks,core],[pluginname,format_weeks]
AMOS END
2010-04-11 12:46:14 +00:00
Petr Skoda
15822fe21c MDL-22054 improving blocks management UI and removing debug message because the block manage page shows the correct info instead 2010-04-11 12:08:40 +00:00
Petr Skoda
150135ab08 MDL-22054 the last blockname removed 2010-04-11 11:57:46 +00:00
Petr Skoda
bac6e62eba MDL-22054 starting to switch blocks to pluginname 2010-04-11 10:09:59 +00:00
Petr Skoda
fe9d7318b5 MDL-22054 fixed missing strings and some really annoying redirects 2010-04-11 09:41:25 +00:00
Petr Skoda
5fd8ea0e9d MDL-22054 fixed string identifier typo 2010-04-11 09:29:07 +00:00
Petr Skoda
49503e5a41 MDL-22054 turning on detection of missing strings + hunting them down 2010-04-11 09:21:18 +00:00
Petr Skoda
fc61cecd6a MDL-22054 skip loading of missing modules 2010-04-11 08:59:27 +00:00
Petr Skoda
8c25522551 MDL-21998 switching to YUI3.1.0 lib - there do not seem to be any mojor regressions, if you need old version just edit your lib/setup.php 2010-04-11 08:50:08 +00:00
Petr Skoda
2b735ede6a MDL-21998 new YUI3.1.0 lib - metadata for PHPloader, obtained from repo at github 2010-04-11 08:31:44 +00:00
Petr Skoda
cac933348d MDL-21998 new YUI3.1.0 lib, - not yet intergated 2010-04-11 08:20:55 +00:00
David Mudrak
a264a47b4e MDL-15252 Fixing a typo in a function name and param type for array_merge() 2010-04-11 07:42:51 +00:00
Petr Skoda
ae58632885 MDL-22053 removing relative paths from get_plugin|component_directory() because we can be only sure that the absolute paths exists such as in case of $CFG->themedir outside of dirroot; commeting out some simpletes_ stuff which does not seem to be used any more 2010-04-10 23:21:18 +00:00
David Mudrak
0fddc031bb Default heading level in CLI and AJAX renderer 2010-04-10 22:23:46 +00:00
Petr Skoda
2357ab4921 MDL-15252 language list refactoring 2010-04-10 21:22:15 +00:00
Petr Skoda
4000129f7d MDL-15252 string manager improvements - fixed regression - lang from POST was accepted too, sorry 2010-04-10 20:41:26 +00:00
Petr Skoda
38c253f9aa MDL-15252 string manager improvements - it is possible to specify custom lang locations in config.php 2010-04-10 20:35:52 +00:00
Petr Skoda
b4cf79c861 MDL-21146 removing incorrect license defaults, setup.php is not the right place for this, sorry 2010-04-10 19:52:57 +00:00
Petr Skoda
cae07b1cdc MDL-22052 pruning pre-amos string related code 2010-04-10 19:28:34 +00:00
Petr Skoda
3554590cc8 MDL-22050 removing old langconfig automatic redirection + adding missing string debug (disabled for now) 2010-04-10 19:02:11 +00:00
Petr Skoda
a23f02ed50 fixed typo 2010-04-10 18:27:05 +00:00
Petr Skoda
e372f4c7c1 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [thisdirection,core],[thisdirection,core_langconfig]
AMOS END
2010-04-10 18:26:20 +00:00
Petr Skoda
9006ded3a7 MDL-22050 dear 'thischarset', we did not need you since 1.7, time to say good bye, RIP 2010-04-10 18:20:54 +00:00
Petr Skoda
6cf9b98a4a MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [strftimedate,core],[strftimedate,core_langconfig]
  MOV [strftimedatefullshort,core],[strftimedatefullshort,core_langconfig]
  MOV [strftimedateshort,core],[strftimedateshort,core_langconfig]
  MOV [strftimedatetime,core],[strftimedatetime,core_langconfig]
  MOV [strftimedatetimeshort,core],[strftimedatetimeshort,core_langconfig]
  MOV [strftimedaydate,core],[strftimedaydate,core_langconfig]
  MOV [strftimedaydatetime,core],[strftimedaydatetime,core_langconfig]
  MOV [strftimedayshort,core],[strftimedayshort,core_langconfig]
  MOV [strftimedaytime,core],[strftimedaytime,core_langconfig]
  MOV [strftimemonthyear,core],[strftimemonthyear,core_langconfig]
  MOV [strftimerecent,core],[strftimerecent,core_langconfig]
  MOV [strftimerecentfull,core],[strftimerecentfull,core_langconfig]
  MOV [strftimetime,core],[strftimetime,core_langconfig]
AMOS END
2010-04-10 18:15:30 +00:00
Petr Skoda
c9042db5c7 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [parentlanguage,core],[parentlanguage,core_langconfig]
AMOS END
2010-04-10 18:01:49 +00:00
Petr Skoda
bf69b06d1b MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [locale,core],[locale,core_langconfig]
  MOV [localewin,core],[localewin,core_langconfig]
  MOV [localewincharset,core],[localewincharset,core_langconfig]
  MOV [oldcharset,core],[oldcharset,core_langconfig]
AMOS END
2010-04-10 17:54:39 +00:00
Petr Skoda
0a933ae65d MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [firstdayofweek,core],[firstdayofweek,core_langconfig]
AMOS END
2010-04-10 17:44:05 +00:00
Petr Skoda
3c7e56c4b8 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [decsep,core],[decsep,core_langconfig]
  MOV [listsep,core],[listsep,core_langconfig]
  MOV [thousandsep,core],[thousandsep,core_langconfig]
AMOS END
2010-04-10 17:40:58 +00:00
Petr Skoda
61bb07c257 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [alphabet,core],[alphabet,core_langconfig]
AMOS END
2010-04-10 17:30:00 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
53a78cef28 MDL-21695 help files replaced by standard strings - basic infrastructure in place, no strings converted yet 2010-04-10 09:10:08 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Dongsheng Cai
ba74f517e6 MDL-21146, default license will be locked to prevent from disable, move site default license from frontpage to license config page 2010-04-09 19:40:23 +00:00
Petr Skoda
c7f4e3e246 MDL-21951 reverting changes in moodlelib.php, most probably forgotten debug stuff 2010-04-09 09:43:21 +00:00