The branch, master has been updated
       via  a56b1da3f469b285dea489d1b00f71a49dca46a1 (commit)
      from  9b864bce9dca80299bc8ca3b7689f9c5b4f74824 (commit)


- Log -----------------------------------------------------------------
commit a56b1da3f469b285dea489d1b00f71a49dca46a1
Author: Adnan <[email protected]>
Date:   Thu Jan 13 10:33:32 2011 -0500

    Icon for date/time picker

-----------------------------------------------------------------------

Summary of changes:
 tbl_change.php |   11 +++++++----
 tbl_select.php |    3 +++
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/tbl_change.php b/tbl_change.php
index 8a594d1..041f4e9 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -978,13 +978,16 @@ foreach ($rows as $row_id => $vrow) {
 //<![CDATA[
 $(function() {
     $('#field_<?php echo ($idindex); ?>_3').datepicker({
-       duration: '',
-               time24h: true,
-                stepMinutes: 1,
+        showOn: 'button',
+        buttonImage: '<?php echo $GLOBALS['pmaThemeImage'] . 'b_calendar.png'; 
?>',
+        buttonImageOnly: true,
+        duration: '',
+        time24h: true,
+        stepMinutes: 1,
         stepHours: 1,
         <?php echo ($field['pma_type'] == 'date' ? "showTime: 
false,":"showTime: true,"); ?>
         dateFormat: 'yy-mm-dd',
-               altTimeField: '',
+        altTimeField: '',
         constrainInput: false
      });
 });
diff --git a/tbl_select.php b/tbl_select.php
index e1b4c42..7c65692 100644
--- a/tbl_select.php
+++ b/tbl_select.php
@@ -211,6 +211,9 @@ if (!isset($param) || $param[0] == '') {
 //<![CDATA[
 $(function() {
     $('#field_<?php echo $i; ?>').datepicker({
+        showOn: 'button',
+        buttonImage: '<?php echo $GLOBALS['pmaThemeImage'] . 'b_calendar.png'; 
?>',
+        buttonImageOnly: true,
         duration: '',
         time24h: true,
         stepMinutes: 1,


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to