', 'slide', {duration:0.5}); return false;"></a> </td> <?php } ?> </tr> </table> </p> </form> </fieldset> <div width="100%" align="right"> for plugin options <a href="<?php echo get_option('siteurl'); ?> /wp-admin/options-general.php?page=<?php echo MCW_get_mainfile_name(); ?> ">click here »</a><br> </div> </div> <?php if ($_POST[$hidden_field_submit] == 'Y') { for ($i = 0; $i < $max; ++$i) { if ($_POST[$element_widget_submit . $i] == $button_text_preview_single) { if ($_POST[$data_debug_activate] == $data_debug_activate) { $args = array('i' => $i, 'name' => $cache_all_widgets[$i]['name'], 'force_eval' => true, 'debug_mode' => true); } else { $args = array('i' => $i, 'name' => $cache_all_widgets[$i]['name'], 'force_eval' => true, 'debug_mode' => false); } echo '<div class="wrap"><h2>Preview of widget "' . $cache_all_widgets[$i]['name'] . '"</h2><fieldset class="options"><legend>Look can differ because of different StyleSheets.<div class="mcw_preview">';
function MCW_get_official_form($name) { global $mcw_officialform_tooltip; global $mcw_custag_tooltip; include MCW_get_url('style'); $MyWidget = MCW_get_mywidget_by_name($name); $outsidecall = '<!--' . $name . '-->'; echo '<a href="' . get_option('siteurl') . '/wp-admin/themes.php?page=' . MCW_get_mainfile_name() . '">» Click here to configure Widget'; echo '</a>'; // had to be deactivated because cannot be handled by firefox // echo '<script type="text/javascript" src="'.MCW_get_url('js_tooltip').'"></script>'; // thanks to http://www.walterzorn.de/tooltip/tooltip.htm echo '<br><div style ="margin-left: 20px; margin-top: 5px;" onmouseover="Tip('' . $mcw_custag_tooltip . '')" onmouseout="UnTip()"><input type="text" value="' . $outsidecall . '" size="' . strlen($outsidecall) . '" class="mcw_readonly" readonly="readonly"></div><br>'; echo '<div class="mcw_maint_display" onmouseover="Tip('' . $mcw_officialform_tooltip . '')" onmouseout="UnTip()">'; MCW_get_widget_maintenance($MyWidget, '', '', true); echo '</div>'; }