Exemplo n.º 1
0
						<div class="clear"></div>
					</div>

					<div class="option-design">
						<div class="label"><?php 
_e('Margin Left', 'maxbuttons-pro');
?>
</div>
						<div class="input"><input class="tiny-nopad" type="text" id="<?php 
echo $maxbutton_container_margin_left_key;
?>
" name="<?php 
echo $maxbutton_container_margin_left_key;
?>
" value="<?php 
echo mbpro_strip_px($maxbutton_container_margin_left_value);
?>
" />px</div>
						<div class="clear"></div>
					</div>
					
					<div class="option-design">
						<div class="label"><?php 
_e('Alignment', 'maxbuttons-pro');
?>
</div>
						<div class="input">
							<select id="<?php 
echo $maxbutton_container_alignment_key;
?>
" name="<?php 
Exemplo n.º 2
0
         echo '	<input type="hidden" id="maxbutton_gradient_end_color_' . $counter . '" value="' . $button['gradient_end_color'] . '" />';
         echo '	<input type="hidden" id="maxbutton_gradient_end_color_hover_' . $counter . '" value="' . $button['gradient_end_color_hover'] . '" />';
         echo '	<input type="hidden" id="maxbutton_gradient_start_opacity_' . $counter . '" value="' . $button['gradient_start_opacity'] . '" />';
         echo '	<input type="hidden" id="maxbutton_gradient_start_opacity_hover_' . $counter . '" value="' . $button['gradient_start_opacity_hover'] . '" />';
         echo '	<input type="hidden" id="maxbutton_gradient_end_opacity_' . $counter . '" value="' . $button['gradient_end_opacity'] . '" />';
         echo '	<input type="hidden" id="maxbutton_gradient_end_opacity_hover_' . $counter . '" value="' . $button['gradient_end_opacity_hover'] . '" />';
         echo '	<input type="hidden" id="maxbutton_border_color_' . $counter . '" value="' . $button['border_color'] . '" />';
         echo '	<input type="hidden" id="maxbutton_border_color_hover_' . $counter . '" value="' . $button['border_color_hover'] . '" />';
         echo '	<input type="hidden" id="maxbutton_box_shadow_color_' . $counter . '" value="' . $button['box_shadow_color'] . '" />';
         echo '	<input type="hidden" id="maxbutton_box_shadow_color_hover_' . $counter . '" value="' . $button['box_shadow_color_hover'] . '" />';
         echo '	<input type="hidden" id="maxbutton_container_enabled_' . $counter . '" value="' . $button['container_enabled'] . '" />';
         echo '	<input type="hidden" id="maxbutton_container_width_' . $counter . '" value="' . mbpro_strip_px($button['container_width']) . '" />';
         echo '	<input type="hidden" id="maxbutton_container_margin_top_' . $counter . '" value="' . mbpro_strip_px($button['container_margin_top']) . '" />';
         echo '	<input type="hidden" id="maxbutton_container_margin_right_' . $counter . '" value="' . mbpro_strip_px($button['container_margin_right']) . '" />';
         echo '	<input type="hidden" id="maxbutton_container_margin_bottom_' . $counter . '" value="' . mbpro_strip_px($button['container_margin_bottom']) . '" />';
         echo '	<input type="hidden" id="maxbutton_container_margin_left_' . $counter . '" value="' . mbpro_strip_px($button['container_margin_left']) . '" />';
         echo '	<input type="hidden" id="maxbutton_container_alignment_' . $counter . '" value="' . $button['container_alignment'] . '" />';
         echo '	<input type="hidden" id="maxbutton_container_center_div_wrap_enabled_' . $counter . '" value="' . $button['container_center_div_wrap_enabled'] . '" />';
         echo '</td>';
         echo '<td>';
         printf(__('%sCopy This Button%s', 'maxbuttons-pro'), '<a href="#" onclick="copyButton(' . $counter . ')">', '</a>');
         echo '</td>';
         echo '</tr>';
         $counter += 1;
     }
     echo '</table>';
     echo '</div>';
     $counter -= 1;
     // Otherwise it will be off by 1
     echo '<script type="text/javascript">showButtonCount(' . $counter . ');</script>';
 } else {