[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9195] property : move to jQuery datepicker
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9195] property : move to jQuery datepicker |
Date: |
Sat, 21 Apr 2012 18:27:51 +0000 |
Revision: 9195
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9195
Author: sigurdne
Date: 2012-04-21 18:27:50 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
property : move to jQuery datepicker
Modified Paths:
--------------
trunk/property/inc/class.custom_fields.inc.php
trunk/property/inc/class.uiXport.inc.php
trunk/property/inc/class.uiadmin.inc.php
trunk/property/inc/class.uiagreement.inc.php
trunk/property/inc/class.uidocument.inc.php
trunk/property/inc/class.uievent.inc.php
trunk/property/inc/class.uiinvestment.inc.php
trunk/property/inc/class.uiinvoice.inc.php
trunk/property/inc/class.uipricebook.inc.php
trunk/property/inc/class.uiproject.inc.php
trunk/property/inc/class.uirequest.inc.php
trunk/property/inc/class.uiresponsible.inc.php
trunk/property/inc/class.uis_agreement.inc.php
trunk/property/inc/class.uitts.inc.php
trunk/property/inc/class.uiworkorder.inc.php
trunk/property/templates/base/admin.xsl
trunk/property/templates/base/agreement.xsl
trunk/property/templates/base/attributes_form.xsl
trunk/property/templates/base/date_search.xsl
trunk/property/templates/base/document.xsl
trunk/property/templates/base/event.xsl
trunk/property/templates/base/investment.xsl
trunk/property/templates/base/invoice.xsl
trunk/property/templates/base/jasper.xsl
trunk/property/templates/base/pricebook.xsl
trunk/property/templates/base/project.xsl
trunk/property/templates/base/request.xsl
trunk/property/templates/base/responsible.xsl
trunk/property/templates/base/s_agreement.xsl
trunk/property/templates/base/tts.xsl
trunk/property/templates/base/workorder.xsl
Modified: trunk/property/inc/class.custom_fields.inc.php
===================================================================
--- trunk/property/inc/class.custom_fields.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.custom_fields.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -90,13 +90,7 @@
{
if(!$view_only)
{
- if (
!isset($GLOBALS['phpgw']->jscal) || !is_object($GLOBALS['phpgw']->jscal) )
- {
-
$GLOBALS['phpgw']->jscal = createObject('phpgwapi.jscalendar');
- }
-
-
$GLOBALS['phpgw']->jscal->add_listener('values_attribute_' . $i);
- $attributes['img_cal']
= $GLOBALS['phpgw']->common->image('phpgwapi','cal');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_attribute_' . $i);
$attributes['lang_datetitle']
= lang('Select date');
}
Modified: trunk/property/inc/class.uiXport.inc.php
===================================================================
--- trunk/property/inc/class.uiXport.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uiXport.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -266,18 +266,14 @@
$msgbox_data = $this->bocommon->msgbox_data($receipt);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('invoice_date');
- $jscal->add_listener('payment_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('invoice_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('payment_date');
$data = array
(
'menu'
=> $this->bocommon->get_menu(),
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'form_action'
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
'cancel_action'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uiinvoice.index', 'sub'=> $sub)),
'lang_cancel'
=> lang('Cancel'),
@@ -625,8 +621,7 @@
$link_data = array('menuaction' =>
'property.uiXport.rollback');
//_debug_array($receipt);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('date');
+ $GLOBALS['phpgw']->jqcal->add_listener('date');
$msgbox_data = $this->bocommon->msgbox_data($receipt);
@@ -634,10 +629,6 @@
(
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
- 'calendar_setup'
=> "Calendar.setup({inputField : 'date',ifFormat : '" . $jsDateFormat .
"',button : 'date-trigger'});",
-
'lang_select_conv'
=> lang('Select conversion'),
'conv_list'
=> $this->bo->select_export_conv($values['conv_type']),
'select_conv'
=> 'values[conv_type]',
Modified: trunk/property/inc/class.uiadmin.inc.php
===================================================================
--- trunk/property/inc/class.uiadmin.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uiadmin.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -604,12 +604,11 @@
$content = $this->bo->read_fm_id();
- $jscal = CreateObject('phpgwapi.jscalendar');
$dateformat =
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
foreach($content as $i => & $entry)
{
- $jscal->add_listener("date_{$entry['name']}");
+
$GLOBALS['phpgw']->jqcal->add_listener("date_{$entry['name']}");
$entry['key_id'] = $i;
$entry['start_date'] =
$GLOBALS['phpgw']->common->show_date($entry['start_date'],$dateformat);
}
@@ -627,8 +626,6 @@
'lang_done'
=> lang('done'),
'lang_done_statustext' => lang('Back
to Admin'),
'id_values'
=> $content,
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle' =>
lang('Select date'),
);
$appname = lang('ID');
Modified: trunk/property/inc/class.uiagreement.inc.php
===================================================================
--- trunk/property/inc/class.uiagreement.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.uiagreement.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -967,10 +967,9 @@
$agreement =
$this->bocommon->preserve_attribute_values($agreement,$values_attribute);
}
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
- $jscal->add_listener('values_termination_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_termination_date');
if ($id)
{
@@ -1065,12 +1064,9 @@
if (isset($content) && is_array($content))
{
- $jscal->add_listener('values_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_date');
$table_update[] = array
(
- 'img_cal'
=>
$GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'lang_new_index'
=> lang('New index'),
'lang_new_index_statustext' => lang('Enter a new index'),
'lang_date_statustext'
=> lang('Select the date for the update'),
@@ -1400,7 +1396,6 @@
'myColumnDefs'
=> $myColumnDefs,
'myButtons'
=> $myButtons,
- 'img_cal'
=>
$GLOBALS['phpgw']->common->image('phpgwapi','cal'),
'allow_allrows'
=> true,
'allrows'
=> $this->allrows,
'start_record'
=> $this->start,
@@ -1612,8 +1607,7 @@
);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('values_date');
$msgbox_data = $this->bocommon->msgbox_data($receipt);
@@ -1644,8 +1638,6 @@
$table_update[] = array
(
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_new_index'
=> lang('New index'),
'lang_new_index_statustext' =>
lang('Enter a new index'),
'lang_date_statustext' =>
lang('Select the date for the update'),
@@ -1774,7 +1766,6 @@
'attributes_values'
=> $values['attributes'],
'lookup_functions'
=> $values['lookup_functions'],
'dateformat'
=> $dateformat,
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
'lang_agreement'
=> lang('Agreement'),
'agreement_name'
=> $agreement['name'],
Modified: trunk/property/inc/class.uidocument.inc.php
===================================================================
--- trunk/property/inc/class.uidocument.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uidocument.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -1320,8 +1320,7 @@
$msgbox_data = $this->bocommon->msgbox_data($receipt);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_document_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_document_date');
//data test $record_history =
array(array(value_date=>"1111",value_user=>"22222",value_action=>"33333",value_new_value=>"44444444"));
@@ -1360,9 +1359,6 @@
'lang_history'
=> lang('History'),
'lang_no_history'
=> lang('No history'),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'lang_document_date_statustext' =>
lang('Select date the document was created'),
'lang_document_date'
=> lang('document date'),
'value_document_date'
=> $values['document_date'],
Modified: trunk/property/inc/class.uievent.inc.php
===================================================================
--- trunk/property/inc/class.uievent.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uievent.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -774,9 +774,8 @@
$tabs['plan'] = array('label' =>
lang('plan'), 'link' => '#plan');
}
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
$msgbox_data = $this->bocommon->msgbox_data($receipt);
@@ -789,13 +788,10 @@
(
'contact_data'
=> $contact_data,
'link_schedule'
=> $GLOBALS['phpgw']->link('/index.php',$link_schedule_data),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_start_date_statustext' =>
lang('Select the date for the event'),
'lang_start_date'
=> lang('date'),
'value_start_date'
=> $values['start_date'],
- // 'start_date'
=> $start_date,
'value_enabled'
=> isset($values['enabled']) ? $values['enabled'] : '',
'lang_enabled'
=> lang('enabled'),
Modified: trunk/property/inc/class.uiinvestment.inc.php
===================================================================
--- trunk/property/inc/class.uiinvestment.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.uiinvestment.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -359,9 +359,7 @@
ksort($dlarr);
$dateformat = (implode($sep,$dlarr));
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('start_date');
-
+ $GLOBALS['phpgw']->jqcal->add_listener('start_date');
$counter = $sum_initial_value = $sum_value = 0;
while (is_array($investment_list) && list(,$investment)
= each($investment_list))
@@ -762,8 +760,7 @@
ksort($dlarr);
$dateformat
= (implode($sep,$dlarr));
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('start_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('start_date');
$uicols = array (
'input_type' =>
array('text','text','text','text','text','text','hidden'),
@@ -1053,15 +1050,12 @@
$msgbox_data = $this->bocommon->msgbox_data($receipt);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('values_date');
$data = array
(
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
'location_data'
=> $location_data,
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_date_statustext'
=> lang('insert the date for the initial value'),
'lang_date'
=> lang('Date'),
'lang_location'
=> lang('Location'),
Modified: trunk/property/inc/class.uiinvoice.inc.php
===================================================================
--- trunk/property/inc/class.uiinvoice.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uiinvoice.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -325,9 +325,8 @@
if($paid)
{
- $jscal =
CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('start_date');
- $jscal->add_listener('end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('end_date');
}
if (!$paid)
{
@@ -2999,11 +2998,9 @@
$datatable['json_data'] = json_encode($json);
//-------------------- JSON CODE ----------------------
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('start_date');
- $jscal->add_listener('end_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('start_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('end_date');
-
// Prepare template variables and process XSLT
$template_vars = array();
$template_vars['datatable'] = $datatable;
@@ -3327,18 +3324,14 @@
}
$msgbox_data = $this->bocommon->msgbox_data($receipt);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('invoice_date');
- $jscal->add_listener('payment_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('invoice_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('payment_date');
+
$data = array
(
'menu'
=> $this->bocommon->get_menu(),
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
-
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'form_action'
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
'cancel_action'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uiinvoice.index')),
'lang_cancel'
=> lang('Cancel'),
Modified: trunk/property/inc/class.uipricebook.inc.php
===================================================================
--- trunk/property/inc/class.uipricebook.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.uipricebook.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -235,13 +235,10 @@
if($this->acl_manage)
{
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_date');
$table_update[] = array
(
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_new_index'
=> lang('New index'),
'lang_new_index_statustext'
=> lang('Enter a new index'),
'lang_date_statustext'
=> lang('Select the date for the update'),
@@ -896,13 +893,10 @@
'lang_delete' =>
lang('Delete')
);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('values_date');
$table_update[] = array
(
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_new_index'
=> lang('New index'),
'lang_new_index_statustext'
=> lang('Enter a new index'),
'lang_date_statustext'
=> lang('Select the date for the update'),
@@ -912,8 +906,6 @@
$table_first_entry[] = array
(
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_m_cost'
=> lang('Material cost'),
'lang_m_cost_statustext' =>
lang('Enter a value for the material cost'),
'lang_w_cost'
=> lang('Labour cost'),
Modified: trunk/property/inc/class.uiproject.inc.php
===================================================================
--- trunk/property/inc/class.uiproject.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uiproject.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -918,15 +918,11 @@
$values['end_date'] =
$GLOBALS['phpgw']->common->show_date(mktime(0,0,0,date("m"),date("d"),date("Y")),$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
}
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('start_date');
- $jscal->add_listener('end_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('start_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('end_date');
$data = array
(
- 'lang_datetitle' =>
lang('Select date'),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
-
'lang_start_date_statustext' =>
lang('Select the estimated end date for the Project'),
'lang_start_date' =>
lang('Start date'),
'value_start_date' =>
$values['start_date'],
@@ -1603,9 +1599,8 @@
$value_remainder = number_format($value_remainder, 0,
',', ' ');
// $values['planned_cost'] =
number_format($values['planned_cost'], 0, ',', ' ');
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
$project_group_data=$this->bocommon->initiate_project_group_lookup(array(
'project_group' =>
$values['project_group'],
@@ -1835,8 +1830,6 @@
'table_header_history'
=> $table_header_history,
'lang_history'
=> lang('History'),
'lang_no_history'
=> lang('No history'),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_start_date_statustext'
=> lang('Select the estimated end date for the Project'),
'lang_start_date'
=> lang('Project start date'),
'value_start_date'
=> $values['start_date'],
@@ -2052,11 +2045,9 @@
'menuaction' => 'property.uiproject.index'
);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
-
if(($execute || $get_list) && $type)
{
$list =
$this->bo->bulk_update_status($start_date, $end_date, $status_filter,
$status_new, $execute, $type, $user_id,$ids,$paid,$closed_orders);
@@ -2153,7 +2144,6 @@
'myColumnDefs' =>
$myColumnDefs,
'done_action' =>
$GLOBALS['phpgw']->link('/index.php',$link_data),
'update_action' =>
$GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uiproject.bulk_update_status')),
- 'img_cal' =>
$GLOBALS['phpgw']->common->image('phpgwapi','cal'),
'status_list_filter' => array('options' =>
$status_list_filter),
'status_list_new' =>
array('options' => $status_list_new),
'type_list' =>
array('options' => $type_array),
@@ -2340,8 +2330,6 @@
'myButtons'
=> $myButtons,
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
'add_workorder_action'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uiworkorder.edit')),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_start_date_statustext' =>
lang('Select the estimated end date for the Project'),
'lang_start_date'
=> lang('Project start date'),
'value_start_date'
=> $values['start_date'],
Modified: trunk/property/inc/class.uirequest.inc.php
===================================================================
--- trunk/property/inc/class.uirequest.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uirequest.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -1385,17 +1385,16 @@
}
$show_dates =
isset($this->config->config_data['request_show_dates']) &&
$this->config->config_data['request_show_dates'] ? 1 : '';
- $jscal = CreateObject('phpgwapi.jscalendar');
+
if($show_dates)
{
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
}
- $jscal->add_listener('values_consume_date');
- $jscal->add_listener('values_planning_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_consume_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_planning_date');
-
$link_file_data = array
(
'menuaction' =>
'property.uirequest.view_file',
@@ -1616,9 +1615,6 @@
'lang_history'
=> lang('History'),
'lang_no_history'
=> lang('No history'),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'value_entry_date'
=> $values['entry_date'],
'value_closed_date'
=> $values['closed_date'],
'value_in_progress_date'
=> $values['in_progress_date'],
Modified: trunk/property/inc/class.uiresponsible.inc.php
===================================================================
--- trunk/property/inc/class.uiresponsible.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.uiresponsible.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -1392,9 +1392,8 @@
$GLOBALS['phpgw_info']['flags']['java_script'] .=
$lookup_function;
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_active_from');
- $jscal->add_listener('values_active_to');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_active_from');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_active_to');
$type = $this->bo->read_single_type($type_id);
@@ -1436,11 +1435,8 @@
'lang_active_to'
=> lang('active to'),
'value_active_from'
=> isset($values['active_from']) ? $values['active_from'] : '',
'value_active_to'
=> isset($values['active_to']) ? $values['active_to'] : '',
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi', 'cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_active_from_statustext' =>
lang('Select the start date for this responsibility'),
'lang_active_to_statustext'
=> lang('Select the closing date for this responsibility'),
-
);
$GLOBALS['phpgw_info']['flags']['app_header'] =
lang('responsible matrix') . "::{$function_msg}";
Modified: trunk/property/inc/class.uis_agreement.inc.php
===================================================================
--- trunk/property/inc/class.uis_agreement.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.uis_agreement.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -967,11 +967,11 @@
$values =
$this->bocommon->preserve_attribute_values($values,$values_attribute);
}
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
- $jscal->add_listener('values_termination_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_termination_date');
+
$this->member_id = $values['member_of'] ?
$values['member_of'] : $this->member_id;
if ($id)
@@ -992,12 +992,10 @@
if (isset($content) && is_array($content))
{
- $jscal->add_listener('values_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_date');
$table_update[] = array
(
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_new_index'
=> lang('New index'),
'lang_new_index_statustext' => lang('Enter a new index'),
'lang_date_statustext'
=> lang('Select the date for the update'),
@@ -1541,9 +1539,6 @@
'lookup_functions'
=> $values['lookup_functions'],
'dateformat'
=> $dateformat,
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'lang_start_date_statustext'
=> lang('Select the estimated end date for the Project'),
'lang_start_date'
=> lang('start date'),
'value_start_date'
=> $values['start_date'],
@@ -1763,8 +1758,7 @@
if($id)
{
$list =
$this->bo->read_prizing(array('s_agreement_id'=>$s_agreement_id,'item_id'=>$id));
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_date');
}
$uicols = $this->bo->uicols;
@@ -1814,9 +1808,6 @@
$table_update[] = array
(
-
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_new_index'
=> lang('New index'),
'lang_new_index_statustext'
=> lang('Enter a new index'),
'lang_date_statustext'
=> lang('Select the date for the update'),
@@ -2010,9 +2001,6 @@
'attributes_group'
=> $attributes,
'lookup_functions'
=> $values['lookup_functions'],
- // 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'lang_agreement'
=> lang('Agreement'),
'agreement_name'
=> $s_agreement['name'],
@@ -2026,7 +2014,6 @@
'img_check'
=>
$GLOBALS['phpgw']->common->get_image_path('property').'/check.png',
'location_data'
=> $location_data,
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
'lang_cost'
=> lang('cost'),
'lang_cost_statustext'
=> lang('cost'),
'value_cost'
=> $values['cost'],
Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/inc/class.uitts.inc.php 2012-04-21 18:27:50 UTC (rev
9195)
@@ -2001,8 +2001,7 @@
if(!$this->simple && $this->show_finnish_date)
{
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_finnish_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_finnish_date');
}
$data = array
@@ -2044,8 +2043,6 @@
'value_subject'
=> (isset($values['subject'])?$values['subject']:''),
'value_finnish_date'
=> (isset($values['finnish_date'])?$values['finnish_date']:''),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'lang_finnish_date_statustext' =>
lang('Select the estimated date for closing the task'),
'lang_cancel_statustext'
=> lang('Back to the ticket list'),
@@ -2640,8 +2637,7 @@
if(!$this->simple && $this->show_finnish_date)
{
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_finnish_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_finnish_date');
}
// -------- start order section
@@ -3165,8 +3161,6 @@
'value_origin'
=> $ticket['origin'],
'value_target'
=> $ticket['target'],
'value_finnish_date'
=> $ticket['finnish_date'],
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
'link_entity'
=> $link_entity,
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/inc/class.uiworkorder.inc.php 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -1465,9 +1465,8 @@
$values['status']=$workorder_status;
}
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('values_start_date');
- $jscal->add_listener('values_end_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_start_date');
+
$GLOBALS['phpgw']->jqcal->add_listener('values_end_date');
if( isset($receipt) && is_array($receipt))
{
@@ -1715,9 +1714,6 @@
'b_group_data'
=> $b_group_data,
'b_account_data'
=> $b_account_data,
- 'img_cal'
=>
$GLOBALS['phpgw']->common->image('phpgwapi','cal'),
- 'lang_datetitle'
=> lang('Select date'),
-
'lang_start_date_statustext'
=> lang('Select the estimated end date for the Project'),
'lang_start_date'
=> lang('Workorder start date'),
'value_start_date'
=> $values['start_date'],
@@ -2196,18 +2192,17 @@
}
$msgbox_data = $this->bocommon->msgbox_data($receipt);
- $jscal = CreateObject('phpgwapi.jscalendar');
- $jscal->add_listener('invoice_date');
- $jscal->add_listener('payment_date');
- $jscal->add_listener('paid_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('invoice_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('payment_date');
+ $GLOBALS['phpgw']->jqcal->add_listener('paid_date');
+
$order_id = isset($values['order_id']) &&
$values['order_id'] ? $values['order_id'] : $order_id;
$account_lid =
$GLOBALS['phpgw']->accounts->get($this->account)->lid;
$data = array
(
'msgbox_data'
=> $GLOBALS['phpgw']->common->msgbox($msgbox_data),
- 'img_cal'
=> $GLOBALS['phpgw']->common->image('phpgwapi','cal'),
'form_action'
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
'cancel_action'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property.uiinvoice.index')),
'action_url'
=> $GLOBALS['phpgw']->link('/index.php',array('menuaction'=>
'property' .'.uiinvoice.add')),
Modified: trunk/property/templates/base/admin.xsl
===================================================================
--- trunk/property/templates/base/admin.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/admin.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -808,7 +808,6 @@
<xsl:value-of
select="lang_date_statustext"/>
</xsl:attribute>
</input>
- <img id="date_{$name}-trigger"
src="{//img_cal}" alt="{//lang_datetitle}" title="{//lang_datetitle}"
style="cursor:pointer; cursor:hand;"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of
select="start_date"/>
Modified: trunk/property/templates/base/agreement.xsl
===================================================================
--- trunk/property/templates/base/agreement.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/agreement.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -606,7 +606,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
-
<img id="values_start_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
<tr>
@@ -621,7 +620,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
-
<img id="values_end_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
<tr>
@@ -636,7 +634,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
-
<img id="values_termination_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
<xsl:choose>
@@ -823,7 +820,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
-
<img id="values_date-trigger" class="calendar-opt" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
<div style="width:25px;height:15px;position:relative;float:left;"/>
</div>
<!--
<xsl:apply-templates select="table_update"/> -->
@@ -1117,7 +1113,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
-
<img id="values_date-trigger" class="calendar-opt" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
<div style="width:25px;height:15px;position:relative;float:left;"/>
</div>
</td>
@@ -1170,7 +1165,6 @@
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
- <img id="values_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
<td height="50">
<xsl:variable name="lang_update">
Modified: trunk/property/templates/base/attributes_form.xsl
===================================================================
--- trunk/property/templates/base/attributes_form.xsl 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/templates/base/attributes_form.xsl 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -355,7 +355,6 @@
</xsl:when>
</xsl:choose>
</input>
- <img
id="values_attribute_{counter}-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</xsl:when>
<xsl:when
test="datatype='DT'">
<xsl:variable name="clear_function">
@@ -379,7 +378,6 @@
</xsl:when>
</xsl:choose>
</input>
-
<img id="values_attribute_{counter}-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
<td>
<input type="text" id="values_attribute_{counter}_hour"
name="values_attribute[{counter}][value][hour]" value="{value/hour}" size="2"
maxlength="2" title="{$lang_hour}">
Modified: trunk/property/templates/base/date_search.xsl
===================================================================
--- trunk/property/templates/base/date_search.xsl 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/templates/base/date_search.xsl 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -41,7 +41,6 @@
<xsl:value-of
select="lang_start_date_statustext"/>
</xsl:attribute>
</input>
- <img id="start_date-trigger"
src="{img_cal}" alt="{lang_datetitle}" title="{lang_datetitle}"
style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -54,7 +53,6 @@
<xsl:value-of
select="lang_end_date_statustext"/>
</xsl:attribute>
</input>
- <img id="end_date-trigger"
src="{img_cal}" alt="{lang_datetitle}" title="{lang_datetitle}"
style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/document.xsl
===================================================================
--- trunk/property/templates/base/document.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/document.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -502,7 +502,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="values_document_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/event.xsl
===================================================================
--- trunk/property/templates/base/event.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/event.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -116,7 +116,6 @@
<xsl:value-of select="lang_start_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_start_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -129,7 +128,6 @@
<xsl:value-of select="lang_end_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_end_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/investment.xsl
===================================================================
--- trunk/property/templates/base/investment.xsl 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/templates/base/investment.xsl 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -260,7 +260,6 @@
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
- <img id="values_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
<td height="50">
<xsl:variable name="lang_update">
@@ -570,7 +569,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="values_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/invoice.xsl
===================================================================
--- trunk/property/templates/base/invoice.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/invoice.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -541,7 +541,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="invoice_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -570,7 +569,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="payment_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -854,7 +852,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="invoice_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -883,7 +880,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="payment_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -1329,7 +1325,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img id="date-trigger"
src="{img_cal}" alt="{lang_datetitle}" title="{lang_datetitle}"
style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr height="50">
Modified: trunk/property/templates/base/jasper.xsl
===================================================================
--- trunk/property/templates/base/jasper.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/jasper.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -574,7 +574,6 @@
</xsl:when>
</xsl:choose>
</input>
-
<img id="values_attribute_{counter}-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</xsl:when>
<xsl:when test="datatype='timestamp'">
<input type="text" id="values_attribute_{counter}"
name="values_attribute[{counter}][value]" value="{value}" size="12"
maxlength="12">
@@ -589,7 +588,6 @@
</xsl:when>
</xsl:choose>
</input>
-
<img id="values_attribute_{counter}-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</xsl:when>
<xsl:otherwise>
<input type="text" name="values_attribute[{counter}][value]"
value="{value}" size="30">
Modified: trunk/property/templates/base/pricebook.xsl
===================================================================
--- trunk/property/templates/base/pricebook.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/pricebook.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -913,7 +913,6 @@
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
- <img id="values_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
<tr>
@@ -953,7 +952,6 @@
<xsl:text>'; return
true;</xsl:text>
</xsl:attribute>
</input>
- <img id="values_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
<td height="50">
<xsl:variable name="lang_update">
Modified: trunk/property/templates/base/project.xsl
===================================================================
--- trunk/property/templates/base/project.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/project.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -322,7 +322,6 @@
<xsl:value-of select="lang_start_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_start_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -335,7 +334,6 @@
<xsl:value-of select="lang_end_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_end_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<xsl:call-template
name="project_group_form"/>
@@ -788,7 +786,6 @@
<xsl:value-of select="lang_start_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_start_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -801,7 +798,6 @@
<xsl:value-of select="lang_end_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_end_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/request.xsl
===================================================================
--- trunk/property/templates/base/request.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/request.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -397,7 +397,6 @@
<xsl:value-of select="lang_start_date_statustext"/>
</xsl:attribute>
</input>
-
<img id="values_start_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
<tr>
@@ -410,7 +409,6 @@
<xsl:value-of select="lang_end_date_statustext"/>
</xsl:attribute>
</input>
-
<img id="values_end_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
</xsl:when>
@@ -449,7 +447,6 @@
<xsl:value-of select="php:function('lang', 'planning date')"/>
</xsl:attribute>
</input>
- <img
id="values_planning_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -478,7 +475,6 @@
<xsl:value-of select="php:function('lang', 'consume date')"/>
</xsl:attribute>
</input>
- <img
id="values_consume_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/responsible.xsl
===================================================================
--- trunk/property/templates/base/responsible.xsl 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/templates/base/responsible.xsl 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -641,7 +641,6 @@
<xsl:value-of select="lang_active_from_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_active_from-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -654,7 +653,6 @@
<xsl:value-of select="lang_active_to_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_active_to-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
Modified: trunk/property/templates/base/s_agreement.xsl
===================================================================
--- trunk/property/templates/base/s_agreement.xsl 2012-04-21 18:26:49 UTC
(rev 9194)
+++ trunk/property/templates/base/s_agreement.xsl 2012-04-21 18:27:50 UTC
(rev 9195)
@@ -346,7 +346,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="values_start_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -361,7 +360,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="values_end_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -376,7 +374,6 @@
<xsl:text>'; return true;</xsl:text>
</xsl:attribute>
</input>
- <img
id="values_termination_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<xsl:choose>
@@ -618,7 +615,6 @@
<xsl:value-of select="lang_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_date-trigger" class="calendar-opt" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
<div
style="width:25px;height:15px;position:relative;float:left;"/>
</div>
<style
type="text/css">
@@ -849,7 +845,6 @@
<xsl:value-of select="lang_date_statustext"/>
</xsl:attribute>
</input>
-
<img id="values_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"
class="calendar-opt"/>
<div style="width:25px;height:15px;position:relative;float:left;"/>
</div>
</td>
@@ -872,7 +867,6 @@
<xsl:value-of
select="lang_date_statustext"/>
</xsl:attribute>
</input>
- <img id="values_date-trigger"
src="{img_cal}" alt="{lang_datetitle}" title="{lang_datetitle}"
style="cursor:pointer; cursor:hand;"/>
</div>
</td>
</tr>
Modified: trunk/property/templates/base/tts.xsl
===================================================================
--- trunk/property/templates/base/tts.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/tts.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -639,7 +639,6 @@
<xsl:value-of
select="lang_finnish_date_statustext"/>
</xsl:attribute>
</input>
-
<img id="values_finnish_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
</xsl:when>
@@ -1078,7 +1077,6 @@
<xsl:value-of
select="php:function('lang', 'select the estimated date for closing the
task')"/>
</xsl:attribute>
</input>
-
<img id="values_finnish_date-trigger" src="{img_cal}"
alt="{lang_datetitle}" title="{lang_datetitle}" style="cursor:pointer;
cursor:hand;"/>
</td>
</tr>
</xsl:when>
Modified: trunk/property/templates/base/workorder.xsl
===================================================================
--- trunk/property/templates/base/workorder.xsl 2012-04-21 18:26:49 UTC (rev
9194)
+++ trunk/property/templates/base/workorder.xsl 2012-04-21 18:27:50 UTC (rev
9195)
@@ -425,7 +425,6 @@
<xsl:value-of select="lang_start_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_start_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -438,7 +437,6 @@
<xsl:value-of select="lang_end_date_statustext"/>
</xsl:attribute>
</input>
- <img
id="values_end_date-trigger" src="{img_cal}" alt="{lang_datetitle}"
title="{lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<xsl:choose>
@@ -1108,7 +1106,6 @@
<xsl:value-of select="php:function('lang', 'Enter the invoice date')"/>
</xsl:attribute>
</input>
- <img
id="invoice_date-trigger" src="{img_cal}" alt="{$lang_datetitle}"
title="{$lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -1121,7 +1118,6 @@
<xsl:value-of select="php:function('lang', 'payment date')"/>
</xsl:attribute>
</input>
- <img
id="payment_date-trigger" src="{img_cal}" alt="{$lang_datetitle}"
title="{$lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
@@ -1134,7 +1130,6 @@
<xsl:value-of select="php:function('lang', 'paid')"/>
</xsl:attribute>
</input>
- <img
id="paid_date-trigger" src="{img_cal}" alt="{$lang_datetitle}"
title="{$lang_datetitle}" style="cursor:pointer; cursor:hand;"/>
</td>
</tr>
<tr>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9195] property : move to jQuery datepicker,
Sigurd Nes <=