[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA2-239-ga56b1da

Marc Delisle lem9 at users.sourceforge.net
Thu Jan 13 16:33:48 CET 2011


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


- Log -----------------------------------------------------------------
commit a56b1da3f469b285dea489d1b00f71a49dca46a1
Author: Adnan <hiddenpearls at gmail.com>
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




More information about the Git mailing list