Commit Graph

40 Commits

Author SHA1 Message Date
Ralf Becker
59c683c359 removed ancient "mark untranslated strings with *" site configuration, as it is unnecessary and breaks links-stream-wrapper and WebDAV 2013-07-25 12:18:08 +00:00
Ralf Becker
792f1b26cc replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document 2013-07-17 12:47:21 +00:00
Ralf Becker
da32eb81fb using egw.LAB.wait for jscalendar 2013-04-03 07:49:04 +00:00
Ralf Becker
03e379e570 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:00:36 +00:00
Ralf Becker
52be51f4bf * Calendar/API: fixed not working dateformat d-M-Y with French language (Juin=Jun, Juillet=Jui) 2011-04-09 11:24:50 +00:00
Ralf Becker
491f790a3b Triggering jQuery's change event manually, when jscalendar updates 2010-06-25 11:17:28 +00:00
Ralf Becker
8e98f6cea3 New method egw_framework::include_css_js_response to add javascript and
CSS included via egw_framework::validate_file or egw_framework::includeCSS
to an ajax response.
Fixed jscalendar to use that service and sitemgr to include it manually.
2010-06-23 23:01:57 +00:00
Ralf Becker
8d93ce6fbb No longer using document write to add icon (to not display it if user
has javascript switched off, as we require it now and it makes problems
with the new etemplate rendering)
2010-06-22 15:33:44 +00:00
Ralf Becker
c2237c4daa got jscalendar in calendars sidebox working with jdots template 2010-06-04 20:13:21 +00:00
Ralf Becker
4b67a05074 - setting again date format and language from current user, was lost in r27581
- using current date in users timezone, instead of server timezone
- loading javascript for jscalendar::flat only if not yet loaded
2010-06-04 09:01:15 +00:00
Andreas Stöckel
95891c869f Added some JavaScript-Code to the date selector which handles clicks on the "Today" button 2010-05-18 09:17:54 +00:00
Ralf Becker
19dd3785a9 make input readonly via javascript to NOT trigger mobile devices to display a keyboard 2010-01-01 23:04:39 +00:00
Ralf Becker
0814820652 new option &128 to NOT require an extra trigger for date popup, clicking
into input box is enought and removing of extra separators to be more
compact
2009-11-25 20:19:35 +00:00
Klaus Leithoff
8f378da6c9 fix for jscalendar in sitemgr (was not displayed) provided by H.J.Tappe 2009-07-31 12:56:39 +00:00
Ralf Becker
3faa647194 "fixed call to old php4 constructor" 2009-07-24 11:35:34 +00:00
Ralf Becker
33b8cd82aa "- fixed typo phpgwpai (does not matter, as phpgwapi is searched anyway, if given app is not found)
- php5 __construct()
- using static common::find_image()
- removed function available from php5.1 on, as that's the requirement anyway"
2009-07-24 10:38:47 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Stefan Becker
1999c90df4 "fix for JScalendar, to bei schown, under under the Menupoint \" Grant Access\"" 2008-07-23 13:59:16 +00:00
Stefan Becker
1569576645 "Patch for IE 6/7 checking if the Calendar Element is loaded" 2008-07-22 14:04:23 +00:00
Ralf Becker
c2bb34cd4e fixed missing translation of monthnames after removing the asterisk prefix for untranslated phrases 2007-05-22 18:02:41 +00:00
Ralf Becker
9748cf96be fix for bug #700: Date format d-M-Y not working in Infolog list display 2007-05-08 07:38:36 +00:00
Ralf Becker
6a990be520 worked around stupid php5.2 empty haystack warnings 2007-04-30 05:42:05 +00:00
Cornelius Weiß
4421d6cf09 strstr -> strpos fix by thomas koch 2006-12-07 12:46:08 +00:00
Cornelius Weiß
c6640c044e kill php5.2 warnings 2006-12-02 11:04:30 +00:00
Ralf Becker
6b5f54236b upps 2006-09-12 11:55:54 +00:00
Ralf Becker
ab05b3eef6 - change jscalendar-setup url to include lang&dateformat, to force the browser to reload the file, if the user changes his prefs (we had a lot of bug-reports about not working jscal because of this in the past, maybe this should be commited to 1.2 too)
- documentation update
2006-09-12 11:51:02 +00:00
Miles Lott
bcacc1ef46 phpgw->egw 2005-11-26 14:25:39 +00:00
Ralf Becker
8518892d9a fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
2005-02-09 10:13:24 +00:00
ak703
fb7bb7c599 modified jscal style to a more friendly layout instead of this grey standard 2005-01-12 00:11:12 +00:00
viniciuscb
d48577b0f1 Changed type of return of input function: can now return an input with html
and js together (default, as it had ever been) or can return an array with
html and js parts separed.
2004-11-25 20:39:17 +00:00
alpeb
6d36e3afaa Changed param comment of function input: funtion should expect time in server's timezone instead of users localtime; the conversion to user's localtime is taken care inside the function when calling common->show_date 2004-07-30 00:24:12 +00:00
Ralf Becker
5cce1585dd fix for month-name shortcuts different from the first 3-chars of the long name, because they would be indentical with the shortcut of an other monthname, eg. frensh Juin = Jun and Juillet = Jui 2004-05-08 11:00:46 +00:00
Ralf Becker
9a23925f8b fix for IE and re-added old jscal-trigger-image 2004-05-06 21:16:48 +00:00
Ralf Becker
31f348e259 implemented callbacks for week and month, to use it for the navigation in the calendar 2004-05-06 16:21:04 +00:00
Ralf Becker
618960e067 fixed the header 2004-01-08 09:07:07 +00:00
Miles Lott
4f612cbbde intval -> (int), replace gettype() and ereg_replace() where possible 2003-12-14 17:07:16 +00:00
Ralf Becker
5d922e91f1 fixed jscalendar to work with date-format 'd-M-Y', for multibyte charsets this needs mbstring and mbstring_overload & 2 (!) to work fully, thought it is usable without 2003-11-03 12:03:17 +00:00
Ralf Becker
f34fe8088b reimported jsCal into phpgwapi/js now 2003-08-28 16:35:07 +00:00
Ralf Becker
940e0c1df9 added a helpmessage to the jsCalendar input-field 2003-08-18 23:17:56 +00:00
Ralf Becker
b32fe49d9b wrapper-class and setup-file for jsCalendar 2003-08-17 23:05:57 +00:00