<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — time input/display ui]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2281&amp;type=atom" />
	<updated>2011-08-03T22:06:30Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=2281</id>
		<entry>
			<title type="html"><![CDATA[Re: time input/display ui]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9878#p9878" />
			<content type="html"><![CDATA[<p>Well, we didn&#039;t have the need to construct a time listbox, so I guess we consider this as unimportant.</p><p>If you are creating a module or extension with this habit, you could just include such a listbox in your code.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-08-03T22:06:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9878#p9878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: time input/display ui]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9877#p9877" />
			<content type="html"><![CDATA[<p>i guess we need html5 for that to work. Have you considered that yet?</p>]]></content>
			<author>
				<name><![CDATA[giesbrecht]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=7875</uri>
			</author>
			<updated>2011-08-03T15:30:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9877#p9877</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: time input/display ui]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9876#p9876" />
			<content type="html"><![CDATA[<p>i mean something like:</p><p>function time_cells($label, $name, $value=null, $min=&quot;&quot;, $max=&quot;&quot;, $title=false,<br />&nbsp; &nbsp; $labparams=&quot;&quot;, $post_label=&quot;&quot;, $inparams=&quot;&quot;)<br />{<br />&nbsp; &nbsp; &nbsp; global $Ajax;</p><p>&nbsp; &nbsp; default_focus($name);<br />&nbsp; &nbsp; if ($label != null)<br />&nbsp; &nbsp; &nbsp; &nbsp; label_cell($label, $labparams);<br />&nbsp; &nbsp; echo &quot;&lt;td&gt;&quot;;</p><p>&nbsp; &nbsp; if ($value === null)<br />&nbsp; &nbsp; &nbsp; &nbsp; $value = get_post($name);<br />&nbsp; &nbsp; echo &quot;&lt;input $inparams type=\&quot;time\&quot; name=\&quot;$name\&quot; min=\&quot;$min\&quot; max=\&quot;$max\&quot; value=\&quot;$value\&quot;&quot;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;.($title ? &quot; title=&#039;$title&#039;&quot; : &#039;&#039;)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;.&quot;&gt;&quot;;<br />&nbsp; &nbsp; if ($post_label != &quot;&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; echo &quot; &quot; . $post_label;</p><p>&nbsp; &nbsp; echo &quot;&lt;/td&gt;\n&quot;;<br />&nbsp; &nbsp; $Ajax-&gt;addUpdate($name, $name, $value);<br />}<br />function time_row($label, $name, $value, $min, $max, $title=null, $params=&quot;&quot;, $post_label=&quot;&quot;)<br />{<br />&nbsp; &nbsp; echo &quot;&lt;tr&gt;&lt;td class=&#039;label&#039;&gt;$label&lt;/td&gt;&quot;;<br />&nbsp; &nbsp; text_cells(null, $name, $value, $min, $max, $title, $params, $post_label);</p><p>&nbsp; &nbsp; echo &quot;&lt;/tr&gt;\n&quot;;<br />}</p>]]></content>
			<author>
				<name><![CDATA[giesbrecht]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=7875</uri>
			</author>
			<updated>2011-08-03T15:23:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9876#p9876</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[time input/display ui]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9875#p9875" />
			<content type="html"><![CDATA[<p>I need to manage timnng on processes, but i cant find any ui handling for time.<br />Could it be posible to create some like to one for dates?<br />date_row/cells in /includes/ui/ui_input.inc</p><p>What i mean is a kind of textbox wich has the format HHH:mm:ss validation.</p><p>regards</p><p>adrian</p>]]></content>
			<author>
				<name><![CDATA[giesbrecht]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=7875</uri>
			</author>
			<updated>2011-08-03T14:37:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9875#p9875</id>
		</entry>
</feed>
