Plugin Directory

Changeset 1761649


Ignore:
Timestamp:
11/09/2017 09:20:25 AM (8 years ago)
Author:
deligence
Message:

Fix the issue of shortcode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dt-world-clock/trunk/dt-world-clock.php

    r1761559 r1761649  
    455455                            /* vertical */
    456456                            <?php if($layout==2){?>display:inline-block;<?php }?>   
    457                             padding:2px;               
     457                            padding:2px;   
     458                            margin-right:10px;                 
    458459                        }
    459460                        .digits
     
    463464                        .wid_title_color{
    464465                            color:<?php echo $dt_wid_title_color; ?>;
     466                        }
     467                        .display_left{
     468                            display:inline-block;
     469                            padding-right:5px;
     470                        }
     471                        .display_right{
     472                            display:inline-block;
     473                            padding-left:5px;
    465474                        }
    466475                    </style>
     
    591600                                                    if($title != ''){  $clock .='<div>'.$title.'</div>'; };
    592601                                          }}else {if($align==3){
    593                                                  if($title != ''){ echo $title; }
     602                                                  if($title != ''){ $clock .='<div class="display_left">'.$title.'</div>'; }
    594603                                          }}
    595604                                     
     
    599608                                                    if($title != ''){ $clock .='<div>'.$title.'</div>'; };
    600609                                         }}else {if($align==4){
    601                                                if($title != ''){ echo $title; } 
     610                                               if($title != ''){ $clock .='<div class="display_right">'.$title.'</div>'; } 
    602611                                        }}
    603612                                       
Note: See TracChangeset for help on using the changeset viewer.