Esempio n. 1
0
<div class="wrap wpml-admin">
    <div class="icon32" id="icon-options-custom" style="background:url(<?php 
echo WPML::url('images/icon-wp-mailto-links.png');
?>
) no-repeat 50% 50%"><br></div>
    <h2><?php 
echo get_admin_page_title();
?>
 - <em><small><?php 
WPML::_e('Manage Email Links');
?>
</small></em></h2>

    <?php 
if (isset($_GET['settings-updated']) && $_GET['settings-updated'] == 'true' && $values['own_admin_menu']) {
    ?>
    <div class="updated settings-error" id="setting-error-settings_updated">
        <p><strong><?php 
    _e('Settings saved.');
    ?>
</strong></p>
    </div>
    <?php 
}
?>

    <form method="post" action="options.php">
        <?php 
settings_fields(WPML::get('key'));
?>
Esempio n. 2
0
?>
</th>
        <td><label><input type="checkbox" id="<?php 
echo WPML::get('optionName');
?>
[own_admin_menu]" name="<?php 
echo WPML::get('optionName');
?>
[own_admin_menu]" value="1" <?php 
checked('1', (int) $values['own_admin_menu']);
?>
 />
                <span><?php 
WPML::_e('Show as main menu item');
?>
</span>
                <br/><span class="description"><?php 
WPML::_e('When disabled item will be shown under "General settings".');
?>
</span></label></td>
    </tr>
    </table>
</fieldset>
<p class="submit">
    <input class="button-primary" type="submit" disabled="disabled" value="<?php 
_e('Save Changes');
?>
" />
</p>
<br class="clear" />
Esempio n. 3
0
</a>
    <?php 
} elseif (file_exists(WP_PLUGIN_DIR . '/email-encoder-bundle/email-encoder-bundle.php')) {
    ?>
        <a href="<?php 
    echo get_bloginfo('url');
    ?>
/wp-admin/plugins.php?plugin_status=inactive"><?php 
    WPML::_e('Activate');
    ?>
</a>
    <?php 
} else {
    ?>
        <a href="<?php 
    echo get_bloginfo('url');
    ?>
/wp-admin/plugin-install.php?tab=search&type=term&s=WP+Mailto+Links+freelancephp&plugin-search-input=Search+Plugins"><?php 
    WPML::_e('Get this plugin');
    ?>
</a>
    <?php 
}
?>
</h4>
<p><?php 
WPML::_e('Encode mailto links, email addresses or any text and hide them from spambots. Easy to use, plugin works directly when activated.');
?>
    <br /><a href="http://wordpress.org/extend/plugins/email-encoder-bundle/" target="_blank">WordPress.org</a> | <a href="http://www.freelancephp.net/wp-email-encoder-bundle-plugin-3/" target="_blank">FreelancePHP.net</a>
</p>
Esempio n. 4
0
<ul>
    <li><a href="#" class="wpml-help-link"><?php 
WPML::_e('Documentation');
?>
</a></li>
    <li><a href="http://wordpress.org/support/plugin/wp-mailto-links#postform" target="_blank"><?php 
WPML::_e('Report a problem');
?>
</a></li>
</ul>

<p><strong><a href="http://wordpress.org/support/view/plugin-reviews/wp-mailto-links" target="_blank"><?php 
WPML::_e('Please rate this plugin!');
?>
</a></strong></p>
Esempio n. 5
0
        </td>
    </tr>
    <tr>
        <th><?php 
WPML::_e('Set protection text *');
?>
</th>
        <td><label><input type="text" id="protection_text" class="regular-text" name="<?php 
echo WPML::get('optionName');
?>
[protection_text]" value="<?php 
echo $values['protection_text'];
?>
" />
                <br/><span class="description"><?php 
WPML::_e('This text will be shown for protected emailaddresses.');
?>
</span>
            </label>
        </td>
    </tr>
    </table>
</fieldset>
<p class="submit">
    <input class="button-primary" type="submit" disabled="disabled" value="<?php 
_e('Save Changes');
?>
" />
</p>
<br class="clear" />
Esempio n. 6
0
    </tr>
    <tr>
        <th><?php 
WPML::_e('Additional Classes (optional)');
?>
</th>
        <td><label><input type="text" class="regular-text" id="<?php 
echo WPML::get('optionName');
?>
[class_name]" name="<?php 
echo WPML::get('optionName');
?>
[class_name]" value="<?php 
echo $values['class_name'];
?>
" />
            <br/><span class="description"><?php 
WPML::_e('Add extra classes to mailto links (or leave blank).');
?>
</span></label></td>
    </tr>
    </table>
</fieldset>
<p class="submit">
    <input class="button-primary" type="submit" disabled="disabled" value="<?php 
_e('Save Changes');
?>
" />
</p>
<br class="clear" />