[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12077] API: adjust calendars
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [12077] API: adjust calendars |
Date: |
Sun, 07 Sep 2014 16:36:04 +0000 |
Revision: 12077
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12077
Author: sigurdne
Date: 2014-09-07 16:36:02 +0000 (Sun, 07 Sep 2014)
Log Message:
-----------
API: adjust calendars
Modified Paths:
--------------
trunk/phpgwapi/inc/class.jqcal.inc.php
trunk/phpgwapi/inc/class.yuical.inc.php
Modified: trunk/phpgwapi/inc/class.jqcal.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.jqcal.inc.php 2014-09-05 11:27:54 UTC (rev
12076)
+++ trunk/phpgwapi/inc/class.jqcal.inc.php 2014-09-07 16:36:02 UTC (rev
12077)
@@ -41,7 +41,7 @@
}
- function add_listener($name, $type = 'date')
+ function add_listener($name, $type = 'date', $value = '')
{
switch($type)
{
@@ -55,6 +55,7 @@
}
$this->_input_modern($name, $_type);
+ return "<input id='{$name}' type='text'
value='{$value}' size='10' name='date_start'/>";
}
/**
Modified: trunk/phpgwapi/inc/class.yuical.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.yuical.inc.php 2014-09-05 11:27:54 UTC (rev
12076)
+++ trunk/phpgwapi/inc/class.yuical.inc.php 2014-09-07 16:36:02 UTC (rev
12077)
@@ -180,7 +180,7 @@
$lang_close = lang('close');
$lang_clear = lang('clear');
$html .= <<<HTML
- <input type="text" name="{$name}" id="{$name}"
size="10" value="$value" readonly="true" />
+ <input type="text" name="{$name}" id="{$name}"
size="10" value="$date" readonly="true" />
<!-- <img src="$img" alt="$alt" id="{$name}_img"
title="$name"> -->
<input type="hidden" name="{$name}_hidden"
id="{$name}_hidden" value="{$date2}"/>
<div id="calendar{$name}">
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12077] API: adjust calendars,
Sigurd Nes <=