alignment of NM header
This commit is contained in:
parent
feaba0de71
commit
61027429eb
|
@ -1737,10 +1737,10 @@ window.egw_LAB.wait(function() {
|
|||
$rows['customfields'] = array_values($this->customfields);
|
||||
|
||||
// full app-header with all search criteria specially for the print
|
||||
$GLOBALS['egw_info']['flags']['app_header'] = lang('addressbook');
|
||||
$header = array();
|
||||
if ($query['filter'] !== '' && !isset($this->org_views[$query['org_view']]))
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ' '.($query['filter'] == '0' ? lang('accounts') :
|
||||
$header[] = ($query['filter'] == '0' ? lang('accounts') :
|
||||
($GLOBALS['egw']->accounts->get_type($query['filter']) == 'g' ?
|
||||
lang('Group %1',$GLOBALS['egw']->accounts->id2name($query['filter'])) :
|
||||
common::grab_owner_name((int)$query['filter']).
|
||||
|
@ -1748,7 +1748,7 @@ window.egw_LAB.wait(function() {
|
|||
}
|
||||
if ($query['org_view'])
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ': '.$query['org_view_label'];
|
||||
$header[] = $query['org_view_label'];
|
||||
// Make sure option is there
|
||||
if(!array_key_exists($query['org_view'], $this->org_views))
|
||||
{
|
||||
|
@ -1758,21 +1758,23 @@ window.egw_LAB.wait(function() {
|
|||
}
|
||||
if($query['advanced_search'])
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ': '.lang('Advanced search');
|
||||
$header[] = lang('Advanced search');
|
||||
}
|
||||
if ($query['cat_id'])
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ': '.lang('Category').' '.$GLOBALS['egw']->categories->id2name($query['cat_id']);
|
||||
$header[] = lang('Category').' '.$GLOBALS['egw']->categories->id2name($query['cat_id']);
|
||||
}
|
||||
if ($query['searchletter'])
|
||||
{
|
||||
$order = $order == 'n_given' ? lang('first name') : ($order == 'n_family' ? lang('last name') : lang('Organisation'));
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ' - '.lang("%1 starts with '%2'",$order,$query['searchletter']);
|
||||
$header[] = lang("%1 starts with '%2'",$order,$query['searchletter']);
|
||||
}
|
||||
if ($query['search'] && !$query['advanced_search']) // do not add that, if we have advanced search active
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ' - '.lang("Search for '%1'",$query['search']);
|
||||
$header[] = lang("Search for '%1'",$query['search']);
|
||||
}
|
||||
$GLOBALS['egw_info']['flags']['app_header'] = implode(': ', $header);
|
||||
|
||||
return $this->total;
|
||||
}
|
||||
|
||||
|
|
|
@ -295,7 +295,6 @@ repetition addressbook bg Повторение
|
|||
required fields * addressbook bg Задължителни полета *
|
||||
role addressbook bg Роля
|
||||
room addressbook bg Стая
|
||||
search for '%1' addressbook bg Търсене на '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook bg Изберете снимка във формат "портрет". Тя ще бъде преоразмерена на 60 пиксела ширина.
|
||||
select a view addressbook bg Избор на изглед
|
||||
select addressbook type addressbook bg Избор на тип адресен указател
|
||||
|
|
|
@ -262,7 +262,6 @@ removed from distribution list addressbook ca trets de la llista de distribució
|
|||
repetition addressbook ca Repetició
|
||||
role addressbook ca Càrrec
|
||||
room addressbook ca Despatx
|
||||
search for '%1' addressbook ca Busceu per '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook ca Seleccioneu una fotografia en format jpeg. Serà redimensionada a una amplada de 60 píxels.
|
||||
select a view addressbook ca Seleccioneu una vista
|
||||
select addressbook type addressbook ca Seleccioneu un tipus de llibreta d'adreces
|
||||
|
|
|
@ -322,7 +322,6 @@ replacements for inserting contacts into documents addressbook cs Náhrady pro v
|
|||
required fields * addressbook cs povinné položky *
|
||||
role addressbook cs Role
|
||||
room addressbook cs Místnost
|
||||
search for '%1' addressbook cs Hledat '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook cs Vyberte portrét ve formátu jpeg. Bude upraven na šířku 60 pixelů.
|
||||
select a view addressbook cs Vybrat pohled
|
||||
select addressbook type addressbook cs Vybrat typ adresáře
|
||||
|
|
|
@ -404,7 +404,6 @@ replacements for inserting contacts into documents addressbook de Platzhalter f
|
|||
required fields * addressbook de unbedingt auszufüllende Felder *
|
||||
role addressbook de Beruf
|
||||
room addressbook de Raum
|
||||
search for '%1' addressbook de Suche nach '%1'
|
||||
search letter addressbook de Suche nach Buchstaben
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook de Wählen Sie ein hochformatiges jpeg Foto. Es wird 60 Pixel breit skaliert.
|
||||
select a view addressbook de Eine Ansicht auswählen
|
||||
|
|
|
@ -273,7 +273,6 @@ repetition addressbook el Επανάληψη
|
|||
required fields * addressbook el απαιτούμενα πεδία *
|
||||
role addressbook el Ρόλος
|
||||
room addressbook el Γραφείο
|
||||
search for '%1' addressbook el Αναζήτηση για '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook el Επιλέξτε μια jpeg φωτογραφία σε μορφή πορτραίτου. Θα επαναπροσδιοριστεί σε 60 pixel πλάτος.
|
||||
select a view addressbook el Επιλέξτε μία προβολή
|
||||
select addressbook type addressbook el Επιλέξτε τύπο βιβλίου διευθύνσεων
|
||||
|
|
|
@ -404,7 +404,6 @@ replacements for inserting contacts into documents addressbook en Replacements f
|
|||
required fields * addressbook en Required fields *
|
||||
role addressbook en Occupation
|
||||
room addressbook en Room
|
||||
search for '%1' addressbook en Search for '%1'
|
||||
search letter addressbook en Search letter
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook en Select a portrait format jpeg photo. It will be re-sized to 60 pixel width.
|
||||
select a view addressbook en Select a view
|
||||
|
|
|
@ -386,7 +386,6 @@ replacements for inserting contacts into documents addressbook es-es Sustitucion
|
|||
required fields * addressbook es-es Campos requeridos *
|
||||
role addressbook es-es Rol
|
||||
room addressbook es-es Habitación
|
||||
search for '%1' addressbook es-es Buscar '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook es-es Seleccione una foto jpeg en formato vertical. Se redimensionará a un ancho de 60 pixels.
|
||||
select a view addressbook es-es Seleccionar una vista
|
||||
select addressbook type addressbook es-es Seleccionar el tipo de libreta de direcciones
|
||||
|
|
|
@ -358,7 +358,6 @@ replacements for inserting contacts into documents addressbook fi Komennot (repl
|
|||
required fields * addressbook fi Vaaditut kentät *
|
||||
role addressbook fi Ammatti
|
||||
room addressbook fi Huone
|
||||
search for '%1' addressbook fi Haku '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook fi Valitse jpeg muodossa oleva kuva. Se muokkautuu 60 pikseliä leveäksi kuvaksi.
|
||||
select a view addressbook fi Valitse näkymä
|
||||
select addressbook type addressbook fi Valitse osoitekirjan tyyppi
|
||||
|
|
|
@ -393,7 +393,6 @@ replacements for inserting contacts into documents addressbook fr Remplacements
|
|||
required fields * addressbook fr Champs nécessaires *
|
||||
role addressbook fr Rôle
|
||||
room addressbook fr Salle
|
||||
search for '%1' addressbook fr Recherche de '%1'
|
||||
search letter addressbook fr Chercher sur une lettre
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook fr Sélectionner une photo jpeg en mode portrait. Elle sera reformatée en 60 pixels de largeur.
|
||||
select a view addressbook fr Sélectionnez une vue
|
||||
|
|
|
@ -277,7 +277,6 @@ repetition addressbook hu Ismétlődés
|
|||
required fields * addressbook hu kötelező mezők
|
||||
role addressbook hu Szerep
|
||||
room addressbook hu Szoba
|
||||
search for '%1' addressbook hu '%1' keresése
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook hu Válasszon ki egy arcképes fotót. Át lesz méretezve 60 pixel szélességűre.
|
||||
select a view addressbook hu Nézet választása
|
||||
select addressbook type addressbook hu Válassza ki a Címjegyzék típusát
|
||||
|
|
|
@ -246,7 +246,6 @@ repetition addressbook id Pengulangan
|
|||
required fields * addressbook id Field diperlukan *
|
||||
role addressbook id Peran
|
||||
room addressbook id Ruang
|
||||
search for '%1' addressbook id Mencari '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook id Select a portrait format jpeg photo. It will be resized to 60 pixel width.
|
||||
select a view addressbook id Pilih tampilan
|
||||
select addressbook type addressbook id Pilih tipe buku alamat
|
||||
|
|
|
@ -398,7 +398,6 @@ replacements for inserting contacts into documents addressbook it Sostituzioni p
|
|||
required fields * addressbook it Campi obbligatori *
|
||||
role addressbook it Ruolo
|
||||
room addressbook it Stanza
|
||||
search for '%1' addressbook it Cerca '%1'
|
||||
search letter addressbook it Cerca per lettera
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook it Seleziona una foto jpeg in formato ritratto. Sarà ridimensionata ad una larghezza di 60 pixel.
|
||||
select a view addressbook it Seleziona una vista
|
||||
|
|
|
@ -36,7 +36,6 @@ participants addressbook lo ຜູ້ເຂົ້າຮ່ວມ
|
|||
permission denied !!! addressbook lo ບໍ່ໄດ້ຮັບອະນຸຍາດ !!!
|
||||
repetition addressbook lo ການເຮັດຊໍ້າ
|
||||
role addressbook lo ບົດບາດ
|
||||
search for '%1' addressbook lo ຄົ້ນຫາ '% 1'
|
||||
select multiple contacts for a further action addressbook lo ເລືອກເອົາການຕິດຕໍ່ຫຼາຍຮູບແບບ ເພື່ອການດໍາເນີນການຕໍ່ໄປ
|
||||
show addressbook lo ສະແດງ
|
||||
start admin lo ເລີ່ມ
|
||||
|
|
|
@ -395,7 +395,6 @@ replacements for inserting contacts into documents addressbook nl Samenvoegvelde
|
|||
required fields * addressbook nl verplichte velden *
|
||||
role addressbook nl Rol
|
||||
room addressbook nl Kamer
|
||||
search for '%1' addressbook nl Zoek naar '%1'
|
||||
search letter addressbook nl Zoek letter
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook nl Kies een portretformaat jpeg foto. Het wordt aangepast tot 60 pixels breedte.
|
||||
select a view addressbook nl Kies een weergave
|
||||
|
|
|
@ -330,7 +330,6 @@ replacements for inserting contacts into documents addressbook pl Zamienniki do
|
|||
required fields * addressbook pl pola wymagane *
|
||||
role addressbook pl Pozycja
|
||||
room addressbook pl Pokój
|
||||
search for '%1' addressbook pl Szukaj '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook pl Wybierz zdjęcie w formacie JPEG. Będzie zmniejszone do szerokości 60 pikseli.
|
||||
select a view addressbook pl Wybierz wygląd
|
||||
select addressbook type addressbook pl Wybierz typ książki adresowej
|
||||
|
|
|
@ -316,7 +316,6 @@ replacements for inserting contacts into documents addressbook pt-br Substituiç
|
|||
required fields * addressbook pt-br campos requeridos *
|
||||
role addressbook pt-br Função
|
||||
room addressbook pt-br Sala
|
||||
search for '%1' addressbook pt-br Procurar por '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook pt-br Selecione uma foto no formato jpeg. Ela será alterada para o tamanho de 60 pixels de largura
|
||||
select a view addressbook pt-br Selecionar uma exibição
|
||||
select addressbook type addressbook pt-br Selecionar tipo de Livro de Contatos
|
||||
|
|
|
@ -369,7 +369,6 @@ replacements for inserting contacts into documents addressbook ru Подстан
|
|||
required fields * addressbook ru Требуемые поля
|
||||
role addressbook ru Должность
|
||||
room addressbook ru Комната
|
||||
search for '%1' addressbook ru Искать '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook ru Выбрать фотографию jpeg портретного формата. Она будет масштабирована до 60 пикселей в ширину
|
||||
select a view addressbook ru Выбрать вид
|
||||
select addressbook type addressbook ru Выбрать тип адресной книги
|
||||
|
|
|
@ -398,7 +398,6 @@ replacements for inserting contacts into documents addressbook sk Náhrady pre v
|
|||
required fields * addressbook sk Požadované polia *
|
||||
role addressbook sk Pozícia
|
||||
room addressbook sk Miestnosť
|
||||
search for '%1' addressbook sk Hľadať '%1'
|
||||
search letter addressbook sk Hľadať podľa písmena
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook sk Vyberte obrázok jpeg orientovaný na výšku. Bude prispôsobený na výškový rozmer 60 pixlov.
|
||||
select a view addressbook sk Vyberte pohľad
|
||||
|
|
|
@ -345,7 +345,6 @@ replacements for inserting contacts into documents addressbook sl Zamenjave za v
|
|||
required fields * addressbook sl Zahtevana polja *
|
||||
role addressbook sl Vloga
|
||||
room addressbook sl Soba
|
||||
search for '%1' addressbook sl Išči '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook sl Izberite pokončno sliko JPEG. Njena velikost bo spremenjena na širino 60 pikslov.
|
||||
select a view addressbook sl Izberite pogled
|
||||
select addressbook type addressbook sl Izberite vrsto adresarja
|
||||
|
|
|
@ -242,7 +242,6 @@ record owner addressbook sv Postens ägare
|
|||
repetition addressbook sv Återkommande
|
||||
role addressbook sv Roll
|
||||
room addressbook sv Rum
|
||||
search for '%1' addressbook sv Sök efter '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook sv Välj ett jpeg porträtt foto. Bilden skalas om till 60 pixel.
|
||||
select a view addressbook sv Välj vy
|
||||
select addressbook type addressbook sv Välj adressbok typ
|
||||
|
|
|
@ -287,7 +287,6 @@ replacements for inserting contacts into documents addressbook zh-tw 將聯絡
|
|||
required fields * addressbook zh-tw 必填欄位
|
||||
role addressbook zh-tw 角色
|
||||
room addressbook zh-tw 辦公室
|
||||
search for '%1' addressbook zh-tw 搜尋 '%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook zh-tw 選擇一個 jpeg 格式的照片,它會被重新調整為寬度 60 畫素。
|
||||
select a view addressbook zh-tw 選擇一個檢視
|
||||
select addressbook type addressbook zh-tw 選擇通訊錄類型
|
||||
|
|
|
@ -292,7 +292,6 @@ replacements for inserting contacts into documents addressbook zh 替换插入
|
|||
required fields * addressbook zh 必要字段*
|
||||
role addressbook zh 职务
|
||||
room addressbook zh 房间
|
||||
search for '%1' addressbook zh 搜索'%1'
|
||||
select a portrait format jpeg photo. it will be resized to 60 pixel width. addressbook zh 选择一个 jpeg 格式的照片,它将被重新调整宽度为60px。
|
||||
select a view addressbook zh 选择一个查看
|
||||
select addressbook type addressbook zh 选择通讯簿类型
|
||||
|
|
|
@ -118,7 +118,7 @@ input.et2_radiobox {
|
|||
right: 215px;
|
||||
}
|
||||
#addressbook-index .filtersContainer select {
|
||||
width: 32%;
|
||||
width: 31.5%;
|
||||
}
|
||||
select#addressbook-index_col_filter\[tid\] {
|
||||
width: 82px;
|
||||
|
@ -127,6 +127,3 @@ select#addressbook-index_col_filter\[tid\] {
|
|||
float:right;
|
||||
width: 200px;
|
||||
}
|
||||
#addressbook-index_favorite_wrapper {
|
||||
top:-1px;
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ input.et2_radiobox {
|
|||
right: 215px;
|
||||
}
|
||||
#addressbook-index .filtersContainer select {
|
||||
width: 32%;
|
||||
width: 31.5%;
|
||||
}
|
||||
select#addressbook-index_col_filter\[tid\] {
|
||||
width: 82px;
|
||||
|
@ -146,9 +146,6 @@ select#addressbook-index_col_filter\[tid\] {
|
|||
float: right;
|
||||
width: 200px;
|
||||
}
|
||||
#addressbook-index_favorite_wrapper {
|
||||
top: -1px;
|
||||
}
|
||||
@media all {
|
||||
/* #############################################################################
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @link http://www.egroupware.org
|
||||
* @package calendar
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2005-13 by RalfBecker-At-outdoor-training.de
|
||||
* @copyright (c) 2005-16 by RalfBecker-At-outdoor-training.de
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
@ -155,7 +155,6 @@ class calendar_uilist extends calendar_ui
|
|||
'sort' => 'ASC',// IO direction of the sort: 'ASC' or 'DESC'
|
||||
'default_cols' => '!week,weekday,cal_title,cal_description,recure,cal_location,cal_owner,cat_id,pm_id',
|
||||
'filter_onchange' => "app.calendar.filter_change",
|
||||
'header_left' => 'calendar.list.dates',
|
||||
'row_id' => 'row_id', // set in get rows "$event[id]:$event[recur_date]"
|
||||
'row_modified' => 'modified',
|
||||
'favorites' => true
|
||||
|
@ -353,7 +352,7 @@ class calendar_uilist extends calendar_ui
|
|||
$params['startdate'] = egw_time::to($this->first, egw_time::ET2);
|
||||
$params['enddate'] = egw_time::to($this->last, egw_time::ET2);
|
||||
break;
|
||||
|
||||
|
||||
// fall through to after given date
|
||||
case 'after':
|
||||
default:
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @package calendar
|
||||
* @author Hadi Nategh <hn-AT-stylite.de>
|
||||
* @author Nathan Gray
|
||||
* @copyright (c) 2008-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2008-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
@ -208,7 +208,7 @@ app.classes.calendar = AppJS.extend(
|
|||
* App is responsible for only reacting to "messages" it is interested in!
|
||||
*
|
||||
* Calendar binds listeners to the data cache, so if the data is updated, the widget
|
||||
* will automatically update itself.
|
||||
* will automatically update itself.
|
||||
*
|
||||
* @param {string} _msg message (already translated) to show, eg. 'Entry deleted'
|
||||
* @param {string} _app application name
|
||||
|
@ -441,10 +441,10 @@ app.classes.calendar = AppJS.extend(
|
|||
|
||||
/**
|
||||
* Set the app header
|
||||
*
|
||||
*
|
||||
* Because the toolbar takes some vertical space and has some horizontal space,
|
||||
* we don't use the system app header, but our own that is in the toolbar
|
||||
*
|
||||
*
|
||||
* @param {string} header Text to display
|
||||
*/
|
||||
set_app_header: function(header) {
|
||||
|
@ -652,7 +652,7 @@ app.classes.calendar = AppJS.extend(
|
|||
if(widget == null) return;
|
||||
}
|
||||
/* Disabled
|
||||
*
|
||||
*
|
||||
// We clone the nodes so we can animate the transition
|
||||
var original = $j(widget.getDOMNode()).closest('.et2_grid');
|
||||
var cloned = original.clone(true).attr("id","CLONE");
|
||||
|
@ -721,13 +721,13 @@ app.classes.calendar = AppJS.extend(
|
|||
window.setTimeout(function() {
|
||||
|
||||
cloned.remove();
|
||||
|
||||
|
||||
// Makes it jump to destination
|
||||
wrapper.css({
|
||||
"transition-duration": "0s",
|
||||
"transition-delay": "0s"
|
||||
});
|
||||
|
||||
|
||||
// Clean up from animation
|
||||
wrapper
|
||||
.removeClass("calendar_slide")
|
||||
|
@ -783,7 +783,7 @@ app.classes.calendar = AppJS.extend(
|
|||
}
|
||||
},0);
|
||||
};
|
||||
|
||||
|
||||
// Bind only once, to the whole thing
|
||||
/* Disabled
|
||||
jQuery('body').off('.calendar')
|
||||
|
@ -793,12 +793,12 @@ app.classes.calendar = AppJS.extend(
|
|||
{
|
||||
// Consume scroll if in the middle of something
|
||||
if(app.calendar._scroll_disabled) return false;
|
||||
|
||||
|
||||
// Ignore if they're going the other way
|
||||
var direction = e.originalEvent.deltaY > 0 ? 1 : -1;
|
||||
var at_bottom = direction !== -1;
|
||||
var at_top = direction !== 1;
|
||||
|
||||
|
||||
$j(this).children(":not(.calendar_calGridHeader)").each(function() {
|
||||
// Check for less than 2px from edge, as sometimes we can't scroll anymore, but still have
|
||||
// 2px left to go
|
||||
|
@ -1046,7 +1046,7 @@ app.classes.calendar = AppJS.extend(
|
|||
if (typeof duration != 'undefined' && typeof end != 'undefined')
|
||||
{
|
||||
end.set_disabled(duration.get_value()!=='');
|
||||
|
||||
|
||||
// Only set end date if not provided, adding seconds fails with DST
|
||||
if (!end.disabled && !content.end)
|
||||
{
|
||||
|
@ -1302,6 +1302,10 @@ app.classes.calendar = AppJS.extend(
|
|||
if (filter && dates)
|
||||
{
|
||||
dates.set_disabled(filter.value !== "custom");
|
||||
if (filter.value == "custom")
|
||||
{
|
||||
jQuery(this.et2.getWidgetById('startdate').getDOMNode()).find('input').focus();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1445,7 +1449,7 @@ app.classes.calendar = AppJS.extend(
|
|||
var widget = _senders[0].iface.getWidget();
|
||||
return widget.recur_prompt();
|
||||
}
|
||||
|
||||
|
||||
// Nextmatch in list view does not have a widget, but we can pull
|
||||
// the data by ID
|
||||
// Check for series
|
||||
|
@ -1602,7 +1606,7 @@ app.classes.calendar = AppJS.extend(
|
|||
typeof content.recur_type != 'undefined' && content.recur_type != null && content.recur_type != 0
|
||||
)
|
||||
{
|
||||
if (content.start != start_date ||
|
||||
if (content.start != start_date ||
|
||||
content.whole_day != is_whole_day ||
|
||||
(duration && ''+content.duration != duration ||
|
||||
// End date might ignore seconds, and be 59 seconds off for all day events
|
||||
|
@ -1805,7 +1809,7 @@ app.classes.calendar = AppJS.extend(
|
|||
// it will work for other users too.
|
||||
state.owner = 0;
|
||||
}
|
||||
|
||||
|
||||
// Keywords are only for list view
|
||||
if(state.view == 'listview')
|
||||
{
|
||||
|
@ -1826,7 +1830,7 @@ app.classes.calendar = AppJS.extend(
|
|||
delete state.enddate;
|
||||
delete state.start_date;
|
||||
delete state.end_date;
|
||||
|
||||
|
||||
return state;
|
||||
},
|
||||
|
||||
|
@ -1992,7 +1996,7 @@ app.classes.calendar = AppJS.extend(
|
|||
break;
|
||||
// Month is calculated individually for the month
|
||||
}
|
||||
|
||||
|
||||
var grid = view.etemplates[0].widgetContainer.getWidgetById('view');
|
||||
|
||||
/*
|
||||
|
@ -2009,7 +2013,7 @@ app.classes.calendar = AppJS.extend(
|
|||
|
||||
// Hide all but the first day header
|
||||
$j(grid.getDOMNode()).toggleClass('hideDayColHeader',state.state.view == 'week');
|
||||
|
||||
|
||||
// Determine the different end date & varying values
|
||||
switch(state.state.view)
|
||||
{
|
||||
|
@ -2080,7 +2084,7 @@ app.classes.calendar = AppJS.extend(
|
|||
}
|
||||
|
||||
var row_index = 0;
|
||||
|
||||
|
||||
// Find any matching, existing rows - they can be kept
|
||||
grid.iterateOver(function(widget) {
|
||||
for(var i = 0; i < value.length; i++)
|
||||
|
@ -2197,7 +2201,7 @@ app.classes.calendar = AppJS.extend(
|
|||
view.etemplates[0].widgetContainer.iterateOver(function(w) {
|
||||
w.set_width($j(view.etemplates[0].DOMContainer).width() * 0.69);
|
||||
},this,et2_calendar_timegrid);
|
||||
|
||||
|
||||
$j(view.etemplates[1].DOMContainer).css({"left":"69%", "height":($j(framework.tabsUi.activeTab.contentDiv).height()-30)+'px'});
|
||||
// TODO: Maybe some caching here
|
||||
this.egw.jsonq('calendar_uiviews::ajax_get_todos', [state.state.date, state.state.owner[0]], function(data) {
|
||||
|
@ -2804,7 +2808,7 @@ app.classes.calendar = AppJS.extend(
|
|||
* callbacks.
|
||||
*
|
||||
* @param {Object} state Current state for update, used to determine what to update
|
||||
*
|
||||
*
|
||||
*/
|
||||
_update_events: function(state, data) {
|
||||
var updated_days = {};
|
||||
|
@ -3165,7 +3169,7 @@ app.classes.calendar = AppJS.extend(
|
|||
.on('click', '.ui-datepicker-week-col', function() {
|
||||
var view = app.calendar.state.view;
|
||||
var days = app.calendar.state.days;
|
||||
|
||||
|
||||
// Avoid a full state update, we just want the calendar to update
|
||||
// Directly update to avoid change event from the sidebox calendar
|
||||
var date = new Date(this.nextSibling.dataset.year,this.nextSibling.dataset.month,this.nextSibling.firstChild.textContent,0,0,0);
|
||||
|
@ -3312,7 +3316,7 @@ app.classes.calendar = AppJS.extend(
|
|||
{
|
||||
// Avoid unwanted refresh immediately after load
|
||||
nm.controller._grid.doInvalidate = false;
|
||||
|
||||
|
||||
nm.set_startdate = jQuery.proxy(function(date) {
|
||||
this.state.first = this.date.toString(new Date(date));
|
||||
},this);
|
||||
|
@ -3675,7 +3679,7 @@ jQuery.extend(app.classes.calendar,{
|
|||
return d;
|
||||
},
|
||||
end_date: function(state) {
|
||||
|
||||
|
||||
var d = app.calendar.View.end_date.call(this, state);
|
||||
if(state.sortby && state.sortby === 'month')
|
||||
{
|
||||
|
|
|
@ -112,12 +112,8 @@
|
|||
<description/>
|
||||
<html id="css" span="all"/>
|
||||
</row>
|
||||
<row disabled="!@msg">
|
||||
<description align="center" id="msg" no_lang="1" span="all" class="message"/>
|
||||
<description align="center" id="msg" no_lang="1" class="message"/>
|
||||
</row>
|
||||
<row>
|
||||
<nextmatch id="nm" template="calendar.list.rows" span="all"/>
|
||||
<nextmatch id="nm" template="calendar.list.rows" header_right="calendar.list.dates" span="all"/>
|
||||
</row>
|
||||
<row>
|
||||
<hbox>
|
||||
|
|
|
@ -2598,19 +2598,6 @@ div#calendar-container div.calendar table tbody tr.rowhilite td {
|
|||
#calendar_merge {
|
||||
margin: 9px 0 0 0;
|
||||
}
|
||||
#calendar-toolbar_toolbar .et2_toolbar_more > h.ui-toolbar-menulistHeader:not(:hover),
|
||||
#calendar-toolbar_toolbar .et2_toolbar_more div.ui-toolbar-menulist button.et2_button_with_image,
|
||||
#calendar-toolbar_toolbar .et2_toolbar_actionlist button.et2_button_with_image {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
/*#calendar_sidebox_content {
|
||||
.egw_fw_ui_category_content {
|
||||
// Last Element rounded
|
||||
&:last-of-type{
|
||||
.border_radius (0, 0, 10px, 0);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
/* ########################################################################################
|
||||
/* * Calendar END */
|
||||
/* tablets and smartphones */
|
||||
|
|
|
@ -1391,21 +1391,6 @@ div#calendar-container {
|
|||
// insert a document
|
||||
#calendar_merge {margin: 9px 0 0 0;}
|
||||
|
||||
#calendar-toolbar_toolbar {
|
||||
.et2_toolbar_more > h.ui-toolbar-menulistHeader:not(:hover), .et2_toolbar_more div.ui-toolbar-menulist button.et2_button_with_image, .et2_toolbar_actionlist button.et2_button_with_image {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
}
|
||||
|
||||
// Last Element in Sidemenu - rounded
|
||||
/*#calendar_sidebox_content {
|
||||
.egw_fw_ui_category_content {
|
||||
// Last Element rounded
|
||||
&:last-of-type{
|
||||
.border_radius (0, 0, 10px, 0);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
/* ########################################################################################
|
||||
/* * Calendar END */
|
||||
|
||||
|
|
|
@ -1106,6 +1106,7 @@ div.message.floating {
|
|||
.nextmatch_header_row {
|
||||
width: 100%;
|
||||
padding-bottom: 5px;
|
||||
position: relative;
|
||||
}
|
||||
.nextmatch_header .header_count {
|
||||
padding: 0px 10px;
|
||||
|
@ -1136,6 +1137,7 @@ div.message.floating {
|
|||
}
|
||||
.nextmatch_header_row > .header_row_right > * {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
}
|
||||
.et2_nextmatch .nextmatch_header {
|
||||
border: none;
|
||||
|
@ -1157,8 +1159,8 @@ div.message.floating {
|
|||
|
||||
/* Favorites */
|
||||
.nextmatch_header div[id$=favorite_wrapper] {
|
||||
margin-top: 6px;
|
||||
position: relative;
|
||||
float: left;
|
||||
}
|
||||
#nm_favorites_popup_filters .filter_id,
|
||||
#nm_favorites_popup_filters .filter_value {
|
||||
|
@ -1650,7 +1652,24 @@ div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button {
|
|||
margin: 1px 4px 1px 0;
|
||||
height: 24px;
|
||||
}
|
||||
.nextmatch_header_row > div{
|
||||
/**
|
||||
* Daterange selection in NM header
|
||||
*/
|
||||
.nextmatch_header_row span.et2_date[name$=date] {
|
||||
min-width: 14ex;
|
||||
padding: 0;
|
||||
}
|
||||
.nextmatch_header_row span.et2_date[name$=date] > input.et2_date {
|
||||
margin: 1px 4px 1px 0;
|
||||
height: 22px;
|
||||
min-width: 14ex;
|
||||
padding: 0;
|
||||
background-color: #fafafa;
|
||||
border: 1px solid silver;
|
||||
border-radius: 3px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
.nextmatch_header_row > div {
|
||||
float: left;
|
||||
}
|
||||
.nextmatch_header_row:after {
|
||||
|
@ -1667,7 +1686,7 @@ div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button {
|
|||
padding-left: 5px;
|
||||
}
|
||||
.et2_toolbar button.toolbar_toggled, .et2_searchbox button.et2_button.toolbar_toggled {
|
||||
background-color: white;
|
||||
background-color: lightgray;
|
||||
box-shadow: inset 1px 1px 1px 1px gray !important;
|
||||
}
|
||||
.et2_toolbar-dropdown{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @link http://www.egroupware.org
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @package infolog
|
||||
* @copyright (c) 2003-14 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2003-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
@ -548,16 +548,21 @@ class infolog_ui
|
|||
|
||||
if ($GLOBALS['egw_info']['flags']['currentapp'] == 'infolog' && !$this->called_by)
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] = lang('Infolog');
|
||||
$headers = array();
|
||||
if ($query['filter'] != '' && !empty($this->filters[$query['filter']]))
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ' - '.lang($this->filters[$query['filter']]);
|
||||
$headers[] = lang($this->filters[$query['filter']]);
|
||||
}
|
||||
if ($query['action'] && ($title = $query['action_title'] || is_array($query['action_id']) ?
|
||||
$query['action_title'] : egw_link::title($query['action']=='sp'?'infolog':$query['action'],$query['action_id'])))
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= ': '.$title;
|
||||
$headers[] = $title;
|
||||
}
|
||||
if ($query['search'])
|
||||
{
|
||||
$headers[] = lang("Search for '%1'", $query['search']);
|
||||
}
|
||||
$GLOBALS['egw_info']['flags']['app_header'] = implode(': ', $headers);
|
||||
}
|
||||
|
||||
if (isset($linked)) $query['col_filter']['linked'] = $linked; // add linked back to the colfilter
|
||||
|
|
|
@ -101,8 +101,9 @@ div#infolog-edit_infolog-edit-description {
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
div#infolog-index_infolog-index-dates {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 41px;
|
||||
}
|
||||
#infolog-index select#infolog-index_cat_id {
|
||||
width: 200px;
|
||||
}
|
||||
#infolog-index select#infolog-index_filter {
|
||||
width: 150px;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
}
|
||||
.normal,
|
||||
.normal_done {
|
||||
color: black;
|
||||
color: #000000;
|
||||
}
|
||||
.high {
|
||||
color: #cc0000;
|
||||
|
@ -172,10 +172,11 @@ div#infolog-edit_infolog-edit-description {
|
|||
#infolog-index #infolog-index_nm .egwGridView_scrollarea table.egwGridView_grid ul.et2_link_string li.et2_link {
|
||||
display: inline-block;
|
||||
}
|
||||
div#infolog-index_infolog-index-dates {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
top: 41px;
|
||||
#infolog-index select#infolog-index_cat_id {
|
||||
width: 200px;
|
||||
}
|
||||
#infolog-index select#infolog-index_filter {
|
||||
width: 150px;
|
||||
}
|
||||
/*###########################################
|
||||
# #
|
||||
|
|
|
@ -168,7 +168,7 @@ button#infolog-edit_timestamp {
|
|||
top: 13px;
|
||||
}
|
||||
|
||||
#infolog-index table.egwGridView_grid {
|
||||
#infolog-index table.egwGridView_grid {
|
||||
img{height: 16px;}
|
||||
}
|
||||
/* tablets and smartphones */
|
||||
|
@ -195,7 +195,7 @@ button#infolog-edit_timestamp {
|
|||
}
|
||||
label[id^='infolog-index_'][id$='info_enddate]'] {
|
||||
.mob-fontsize-xs;
|
||||
|
||||
|
||||
time {
|
||||
float: none;
|
||||
font-weight: normal;
|
||||
|
|
|
@ -758,3 +758,4 @@ your settings have been updated common bg Настройките ви са об
|
|||
zambia common bg Замбия
|
||||
zimbabwe common bg Зимбабве
|
||||
zoom common bg Увеличаване/намаляне
|
||||
search for '%1' common bg Търсене на '%1'
|
||||
|
|
|
@ -757,3 +757,4 @@ your settings have been updated common ca Preferències actualitzades
|
|||
zambia common ca ZAMBIA
|
||||
zimbabwe common ca ZIMBABWE
|
||||
zoom common ca Zoom
|
||||
search for '%1' common ca Busceu per '%1'
|
||||
|
|
|
@ -795,3 +795,4 @@ your settings have been updated common cs Vaše nastavení byla zaktualizována
|
|||
zambia common cs ZAMBIE
|
||||
zimbabwe common cs ZIMBABWE
|
||||
zoom common cs Lupa
|
||||
search for '%1' common cs Hledat '%1'
|
||||
|
|
|
@ -974,3 +974,4 @@ your settings have been updated common de Ihre Einstellungen wurden aktualisiert
|
|||
zambia common de ZAMBIA
|
||||
zimbabwe common de ZIMBABWE
|
||||
zoom common de Zoomen
|
||||
search for '%1' common de Suche nach '%1'
|
||||
|
|
|
@ -724,3 +724,4 @@ your settings have been updated common el Οι ρυθμίσεις σας έχο
|
|||
zambia common el ΖΑΜΠΙΑ
|
||||
zimbabwe common el ΖΙΜΠΑΜΠΟΥΕ
|
||||
zoom common el Εστίαση
|
||||
search for '%1' common el Αναζήτηση για '%1'
|
||||
|
|
|
@ -974,3 +974,4 @@ your settings have been updated common en Your settings have been updated.
|
|||
zambia common en ZAMBIA
|
||||
zimbabwe common en ZIMBABWE
|
||||
zoom common en Zoom
|
||||
search for '%1' common en Search for '%1'
|
||||
|
|
|
@ -845,3 +845,4 @@ your settings have been updated common es-es Sus preferencias fueron actualizada
|
|||
zambia common es-es ZAMBIA
|
||||
zimbabwe common es-es ZIMBAWE
|
||||
zoom common es-es Escala
|
||||
search for '%1' common es-es Buscar '%1'
|
||||
|
|
|
@ -852,3 +852,4 @@ your settings have been updated common fi Asetukset päivitetty
|
|||
zambia common fi ZAMBIA
|
||||
zimbabwe common fi ZIMBABWE
|
||||
zoom common fi Suurenna
|
||||
search for '%1' common fi Haku '%1'
|
||||
|
|
|
@ -919,3 +919,4 @@ your settings have been updated common fr Vos préférences ont été mises à j
|
|||
zambia common fr ZAMBIE
|
||||
zimbabwe common fr ZIMBABWE
|
||||
zoom common fr Agrandissement
|
||||
search for '%1' common fr Recherche de '%1'
|
||||
|
|
|
@ -777,3 +777,4 @@ your settings have been updated common hu A beállításai módosításra kerül
|
|||
zambia common hu Zambia
|
||||
zimbabwe common hu Zimbabwe
|
||||
zoom common hu Nagyítás
|
||||
search for '%1' common hu '%1' keresése
|
||||
|
|
|
@ -635,3 +635,4 @@ your message has been sent common id Pesan telah terkirim
|
|||
zambia common id ZAMBIA
|
||||
zimbabwe common id ZIMBABWE
|
||||
zoom common id Zoom
|
||||
search for '%1' common id Mencari '%1'
|
||||
|
|
|
@ -946,3 +946,4 @@ your settings have been updated common it Le tue impostazioni sono state aggiorn
|
|||
zambia common it ZAMBIA
|
||||
zimbabwe common it ZIMBABWE
|
||||
zoom common it Zoom
|
||||
search for '%1' common it Cerca '%1'
|
||||
|
|
|
@ -784,3 +784,4 @@ your settings have been updated common lo ໄດ້ປັບປຸງການ
|
|||
zambia common lo ZAMBIA
|
||||
zimbabwe common lo ZIMBABWE
|
||||
zoom common lo ຂະຫຍາຍ
|
||||
search for '%1' common lo ຄົ້ນຫາ '% 1'
|
||||
|
|
|
@ -923,3 +923,4 @@ your settings have been updated common nl Uw instellingen zijn gewijzigd
|
|||
zambia common nl ZAMBIA
|
||||
zimbabwe common nl ZIMBABWE
|
||||
zoom common nl Inzoemen
|
||||
search for '%1' common nl Zoek naar '%1'
|
||||
|
|
|
@ -797,3 +797,4 @@ your settings have been updated common pl Twoje ustawienia zostały uaktualnione
|
|||
zambia common pl ZAMBIA
|
||||
zimbabwe common pl ZIMBABWE
|
||||
zoom common pl Powiększenie
|
||||
search for '%1' common pl Szukaj '%1'
|
||||
|
|
|
@ -872,3 +872,4 @@ your settings have been updated common pt-br Suas preferências foram atualizada
|
|||
zambia common pt-br ZÂMBIA
|
||||
zimbabwe common pt-br ZIMBABUE
|
||||
zoom common pt-br Zoom
|
||||
search for '%1' common pt-br Procurar por '%1'
|
||||
|
|
|
@ -877,3 +877,4 @@ your settings have been updated common ru Ваши установки обнов
|
|||
zambia common ru Замбия
|
||||
zimbabwe common ru Зимбабве
|
||||
zoom common ru Масштаб
|
||||
search for '%1' common ru Искать '%1'
|
||||
|
|
|
@ -938,3 +938,4 @@ your settings have been updated common sk Vaše nastavenia boli upravené
|
|||
zambia common sk ZAMBIA
|
||||
zimbabwe common sk ZIMBABWE
|
||||
zoom common sk Lupa
|
||||
search for '%1' common sk Hľadať '%1'
|
||||
|
|
|
@ -774,3 +774,4 @@ your settings have been updated common sl Vaše nastavitve so bile posodobljene
|
|||
zambia common sl ZAMBIJA
|
||||
zimbabwe common sl ZIMBABVE
|
||||
zoom common sl Zoom
|
||||
search for '%1' common sl Išči '%1'
|
||||
|
|
|
@ -732,3 +732,4 @@ your settings have been updated common sv Inställningarna uppdaterade
|
|||
zambia common sv ZAMBIA
|
||||
zimbabwe common sv ZIMBABWE
|
||||
zoom common sv Zooma
|
||||
search for '%1' common sv Sök efter '%1'
|
||||
|
|
|
@ -748,3 +748,4 @@ your settings have been updated common zh-tw 您的設定已經更新。
|
|||
zambia common zh-tw 尚比亞
|
||||
zimbabwe common zh-tw 辛巴威
|
||||
zoom common zh-tw 放大
|
||||
search for '%1' common zh-tw 搜尋 '%1'
|
||||
|
|
|
@ -764,3 +764,4 @@ your settings have been updated common zh 您的设置已更新
|
|||
zambia common zh 赞比亚
|
||||
zimbabwe common zh 津巴布韦
|
||||
zoom common zh 缩放
|
||||
search for '%1' common zh 搜索'%1'
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* @link http://www.egroupware.org
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @package timesheet
|
||||
* @copyright (c) 2005-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2005-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
@ -787,6 +787,11 @@ class timesheet_ui extends timesheet_bo
|
|||
$rows['no_ts_status'] = strpos($query['selectcols'], 'ts_status') === false && !$this->config_data['history'] ||
|
||||
$query['no_status'];
|
||||
|
||||
if ($query['search'])
|
||||
{
|
||||
$GLOBALS['egw_info']['flags']['app_header'] = lang("Search for '%1'", $query['search']);
|
||||
}
|
||||
|
||||
return $total;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* @link http://www.egroupware.org
|
||||
* @package timesheet
|
||||
* @author Hadi Nategh <hn-AT-stylite.de>
|
||||
* @copyright (c) 2008-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @copyright (c) 2008-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
@ -76,6 +76,10 @@ app.classes.timesheet = AppJS.extend(
|
|||
if (filter && dates)
|
||||
{
|
||||
dates.set_disabled(filter.value !== "custom");
|
||||
if (filter.value == "custom")
|
||||
{
|
||||
jQuery(this.et2.getWidgetById('startdate').getDOMNode()).find('input').focus();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -118,7 +122,7 @@ app.classes.timesheet = AppJS.extend(
|
|||
ts_project.set_blur(_widget.getValue() ? _widget.search.val() : '');
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Get title in order to set it as document title
|
||||
* @returns {string}
|
||||
|
|
Loading…
Reference in New Issue