Пример #1
0
<?php

if (!defined('ABSPATH')) {
    die('You are not allowed to call this page directly.');
}
?>

<div class="wrap">
<?php 
echo PrliAppHelper::page_title(__('Options', 'pretty-link'));
?>
<br/>
<?php 
$permalink_structure = get_option('permalink_structure');
if (!$permalink_structure or empty($permalink_structure)) {
    ?>
  <div class="error" style="padding-top: 5px; padding-bottom: 5px;"><strong><?php 
    _e('WordPress Must be Configured:', 'pretty-link');
    ?>
</strong> <?php 
    _e("Pretty Link won't work until you select a Permalink Structure other than 'Default'", 'pretty-link');
    ?>
 ... <a href="<?php 
    echo $prli_siteurl;
    ?>
/wp-admin/options-permalink.php"><?php 
    _e('Permalink Settings', 'pretty-link');
    ?>
</a></div>
<?php 
}
Пример #2
0
<?php

if (!defined('ABSPATH')) {
    die('You are not allowed to call this page directly.');
}
?>

<div class="wrap">
<?php 
require PRLI_VIEWS_PATH . '/shared/nav.php';
?>
  <?php 
echo PrliAppHelper::page_title(__('Links', 'pretty-link'));
?>
  <?php 
if (empty($params['group'])) {
    $permalink_structure = get_option('permalink_structure');
    if (!$permalink_structure or empty($permalink_structure)) {
        ?>
      <div class="error" style="padding-top: 5px; padding-bottom: 5px;"><strong><?php 
        _e("WordPress Must be Configured:</strong> Pretty Link won't work until you select a Permalink Structure other than 'Default'", 'pretty-link');
        ?>
 ... <a href="<?php 
        echo $prli_siteurl;
        ?>
/wp-admin/options-permalink.php"><?php 
        _e('Permalink Settings', 'pretty-link');
        ?>
</a></div>
    <?php 
    }
Пример #3
0
<?php

if (!defined('ABSPATH')) {
    die('You are not allowed to call this page directly.');
}
?>

<div class="wrap">
<?php 
echo PrliAppHelper::page_title(__('Pro Account Information', 'pretty-link'));
$this_uri = preg_replace('#&.*?$#', '', str_replace('%7E', '~', $_SERVER['REQUEST_URI']));
?>
<h3><?php 
_e('Pretty Link Pro Account Information', 'pretty-link');
?>
</h3>
<?php 
if ($prli_update->pro_is_installed_and_authorized()) {
    ?>
  <p><a href="http://prettylinkpro.com/user-manual"><?php 
    _e('User Manual', 'pretty-link');
    ?>
</a></p>
<?php 
}
echo $prli_update->pro_cred_form();
if ($prli_update->pro_is_installed_and_authorized()) {
    ?>
  <div><p><strong><?php 
    _e('Pretty Link Pro is Installed', 'pretty-link');
    ?>
Пример #4
0
<?php

if (!defined('ABSPATH')) {
    die('You are not allowed to call this page directly.');
}
?>

<div class="wrap">
<?php 
echo PrliAppHelper::page_title(__('Edit Group', 'pretty-link'));
?>

<?php 
require PRLI_VIEWS_PATH . '/shared/errors.php';
?>

<form name="form1" method="post" action="?page=<?php 
echo PRLI_PLUGIN_NAME;
?>
/prli-groups.php">
<input type="hidden" name="action" value="update">
<input type="hidden" name="id" value="<?php 
echo $id;
?>
">
<?php 
wp_nonce_field('update-options');
?>

<table class="form-table">
  <tr class="form-field">