Version Description
- i18n enhancements
- Small fix to auto tweeting in pro
- Fixed small IP address issue in hits
- Added help text
- Fixed small Google Analytics issue in pro
- Fixed issue with meta refresh / javascript redirect in pro
- Added titles to keywords in pro
- Added redirect header hooks in pro
- Security Fixes
Download this release
Release Info
Developer | supercleanse |
Plugin | Shortlinks by Pretty Links – Best WordPress Link Tracking Plugin |
Version | 1.6.4 |
Comparing to | |
See all releases |
Code changes from version 1.6.3 to 1.6.4
- classes/models/PrliClick.php +4 -4
- classes/models/PrliLink.php +9 -9
- classes/views/prli-clicks/list.php +29 -29
- classes/views/prli-groups/edit.php +9 -9
- classes/views/prli-groups/list.php +13 -13
- classes/views/prli-groups/new.php +9 -9
- classes/views/prli-links/edit.php +2 -2
- classes/views/prli-links/list.php +23 -23
- classes/views/prli-links/new.php +2 -2
- classes/views/prli-options/form.php +22 -22
- classes/views/prli-options/pro-settings.php +6 -6
- classes/views/prli-tools/bookmarklet.php +1 -1
- classes/views/prli-tools/form.php +8 -8
- classes/views/shared/errors.php +2 -2
- classes/views/shared/link-table-nav.php +2 -2
- classes/views/shared/nav.php +1 -1
- classes/views/shared/table-nav.php +1 -1
- classes/views/shared/title_text.php +1 -1
- i18n/pretty-link.pot +1911 -496
- pretty-link.php +11 -2
- prli-add-link.php +1 -1
- prli-api.php +4 -4
- prli-clicks.php +1 -1
- prli-groups.php +5 -5
- prli-main.php +1 -1
- readme.txt +19 -351
classes/models/PrliClick.php
CHANGED
@@ -232,11 +232,11 @@ class PrliClick
|
|
232 |
$type_string = "Unique hits";
|
233 |
|
234 |
if($title_only)
|
235 |
-
return __('Pretty Link:').' '.$type_string.' '.__('on').' '.$link_slug.' '.__('between').' '.date("Y-n-j", $start_timestamp).' '.__('and').' '.date("Y-n-j", $end_timestamp);
|
236 |
|
237 |
$dates_array = $this->get_counts_by_days($start_timestamp,$end_timestamp,$link_id,$type,$group);
|
238 |
|
239 |
-
$chart_data = array('cols' => array(array("label" => __('Date'), 'type' => 'string'), array("label" => __('Hits'), 'type' => 'number')));
|
240 |
|
241 |
foreach($dates_array as $key => $value)
|
242 |
$chart_data['rows'][] = array('c' => array(array('v' => $key, 'f' => null), array('v' => (int)$value, 'f' => null)));
|
@@ -249,7 +249,7 @@ class PrliClick
|
|
249 |
{
|
250 |
$values = array(
|
251 |
'paged' => (isset($_GET['paged'])?$_GET['paged']:(isset($_POST['paged'])?$_POST['paged']:1)),
|
252 |
-
'l' => (isset($_GET['l'])
|
253 |
'group' => (isset($_GET['group'])?$_GET['group']:(isset($_POST['group'])?$_POST['group']:'')),
|
254 |
'ip' => (isset($_GET['ip'])?$_GET['ip']:(isset($_POST['ip'])?$_POST['ip']:'')),
|
255 |
'vuid' => (isset($_GET['vuid'])?$_GET['vuid']:(isset($_POST['vuid'])?$_POST['vuid']:'')),
|
@@ -260,7 +260,7 @@ class PrliClick
|
|
260 |
'sort' => (isset($_GET['sort'])?$_GET['sort']:(isset($_POST['sort'])?$_POST['sort']:'')),
|
261 |
'sdir' => (isset($_GET['sdir'])?$_GET['sdir']:(isset($_POST['sdir'])?$_POST['sdir']:''))
|
262 |
);
|
263 |
-
|
264 |
return $values;
|
265 |
}
|
266 |
|
232 |
$type_string = "Unique hits";
|
233 |
|
234 |
if($title_only)
|
235 |
+
return __('Pretty Link:', 'pretty-link').' '.$type_string.' '.__('on', 'pretty-link').' '.$link_slug.' '.__('between', 'pretty-link').' '.date("Y-n-j", $start_timestamp).' '.__('and', 'pretty-link').' '.date("Y-n-j", $end_timestamp);
|
236 |
|
237 |
$dates_array = $this->get_counts_by_days($start_timestamp,$end_timestamp,$link_id,$type,$group);
|
238 |
|
239 |
+
$chart_data = array('cols' => array(array("label" => __('Date', 'pretty-link'), 'type' => 'string'), array("label" => __('Hits', 'pretty-link'), 'type' => 'number')));
|
240 |
|
241 |
foreach($dates_array as $key => $value)
|
242 |
$chart_data['rows'][] = array('c' => array(array('v' => $key, 'f' => null), array('v' => (int)$value, 'f' => null)));
|
249 |
{
|
250 |
$values = array(
|
251 |
'paged' => (isset($_GET['paged'])?$_GET['paged']:(isset($_POST['paged'])?$_POST['paged']:1)),
|
252 |
+
'l' => (isset($_GET['l'])?(int)$_GET['l']:(isset($_POST['l'])?(int)$_POST['l']:'all')),
|
253 |
'group' => (isset($_GET['group'])?$_GET['group']:(isset($_POST['group'])?$_POST['group']:'')),
|
254 |
'ip' => (isset($_GET['ip'])?$_GET['ip']:(isset($_POST['ip'])?$_POST['ip']:'')),
|
255 |
'vuid' => (isset($_GET['vuid'])?$_GET['vuid']:(isset($_POST['vuid'])?$_POST['vuid']:'')),
|
260 |
'sort' => (isset($_GET['sort'])?$_GET['sort']:(isset($_POST['sort'])?$_POST['sort']:'')),
|
261 |
'sdir' => (isset($_GET['sdir'])?$_GET['sdir']:(isset($_POST['sdir'])?$_POST['sdir']:''))
|
262 |
);
|
263 |
+
|
264 |
return $values;
|
265 |
}
|
266 |
|
classes/models/PrliLink.php
CHANGED
@@ -462,34 +462,34 @@ class PrliLink
|
|
462 |
|
463 |
$errors = array();
|
464 |
if( ( $values['url'] == null or $values['url'] == '') and $values['redirect_type'] != 'pixel' )
|
465 |
-
$errors[] = "Target URL can't be blank";
|
466 |
|
467 |
if( $values['slug'] == null or $values['slug'] == '' )
|
468 |
-
$errors[] = "Pretty Link can't be blank";
|
469 |
|
470 |
if( $values['url'] == $prli_blogurl.PrliUtils::get_permalink_pre_slug_uri().$values['slug'] )
|
471 |
-
$errors[] = "Target URL must be different than the Pretty Link";
|
472 |
|
473 |
if( !empty($values['url']) and
|
474 |
!preg_match('/^http.?:\/\/.*\..*$/', $values['url'] ) and
|
475 |
!preg_match('!^(http|https)://(localhost|127\.0\.0\.1)(:\d+)?(/[\w- ./?%&=]*)?!', $values['url'] ) )
|
476 |
-
$errors[] = "Link URL must be a correctly formatted url";
|
477 |
|
478 |
if( preg_match('/^[\?\&\#]+$/', $values['slug'] ) )
|
479 |
-
$errors[] = "Pretty Link slugs must not contain question marks, ampersands or number signs.";
|
480 |
|
481 |
if( preg_match('#/$#', $values['slug']) )
|
482 |
-
$errors[] = "Pretty Link slugs must not end with a slash (\"/\")";
|
483 |
|
484 |
$id = isset($values['id'])?$values['id']:null;
|
485 |
if( !$prli_utils->slugIsAvailable($values['slug'],$id) )
|
486 |
-
$errors[] = "This Pretty Link Slug is already taken. Check to make sure it isn't being used by another pretty link, post, page, category or tag slug. If none of these are true then check to see that this slug isn't the name of a file in the root folder of your wordpress install.";
|
487 |
|
488 |
if( isset($values['param_forwarding']) and $values['param_forwarding'] == 'custom' and empty($values['param_struct']) )
|
489 |
-
$errors[] = "If Custom Parameter Forwarding has been selected then you must specify a forwarding format.";
|
490 |
|
491 |
if( isset($values['param_forwarding']) and $values['param_forwarding'] == 'custom' and !preg_match('#%.*?%#', $values['param_struct']) )
|
492 |
-
$errors[] = "Your parameter forwarding must have at least one parameter specified in the format ex: <code>/%var1%/%var_two%/%varname3% ...</code>";
|
493 |
|
494 |
return $errors;
|
495 |
}
|
462 |
|
463 |
$errors = array();
|
464 |
if( ( $values['url'] == null or $values['url'] == '') and $values['redirect_type'] != 'pixel' )
|
465 |
+
$errors[] = __("Target URL can't be blank", 'pretty-link');
|
466 |
|
467 |
if( $values['slug'] == null or $values['slug'] == '' )
|
468 |
+
$errors[] = __("Pretty Link can't be blank", 'pretty-link');
|
469 |
|
470 |
if( $values['url'] == $prli_blogurl.PrliUtils::get_permalink_pre_slug_uri().$values['slug'] )
|
471 |
+
$errors[] = __("Target URL must be different than the Pretty Link", 'pretty-link');
|
472 |
|
473 |
if( !empty($values['url']) and
|
474 |
!preg_match('/^http.?:\/\/.*\..*$/', $values['url'] ) and
|
475 |
!preg_match('!^(http|https)://(localhost|127\.0\.0\.1)(:\d+)?(/[\w- ./?%&=]*)?!', $values['url'] ) )
|
476 |
+
$errors[] = __("Link URL must be a correctly formatted url", 'pretty-link');
|
477 |
|
478 |
if( preg_match('/^[\?\&\#]+$/', $values['slug'] ) )
|
479 |
+
$errors[] = __("Pretty Link slugs must not contain question marks, ampersands or number signs.", 'pretty-link');
|
480 |
|
481 |
if( preg_match('#/$#', $values['slug']) )
|
482 |
+
$errors[] = __("Pretty Link slugs must not end with a slash (\"/\")", 'pretty-link');
|
483 |
|
484 |
$id = isset($values['id'])?$values['id']:null;
|
485 |
if( !$prli_utils->slugIsAvailable($values['slug'],$id) )
|
486 |
+
$errors[] = __("This Pretty Link Slug is already taken. Check to make sure it isn't being used by another pretty link, post, page, category or tag slug. If none of these are true then check to see that this slug isn't the name of a file in the root folder of your wordpress install.", 'pretty-link');
|
487 |
|
488 |
if( isset($values['param_forwarding']) and $values['param_forwarding'] == 'custom' and empty($values['param_struct']) )
|
489 |
+
$errors[] = __("If Custom Parameter Forwarding has been selected then you must specify a forwarding format.", 'pretty-link');
|
490 |
|
491 |
if( isset($values['param_forwarding']) and $values['param_forwarding'] == 'custom' and !preg_match('#%.*?%#', $values['param_struct']) )
|
492 |
+
$errors[] = __("Your parameter forwarding must have at least one parameter specified in the format ex: <code>/%var1%/%var_two%/%varname3% ...</code>", 'pretty-link');
|
493 |
|
494 |
return $errors;
|
495 |
}
|
classes/views/prli-clicks/list.php
CHANGED
@@ -4,21 +4,21 @@
|
|
4 |
require(PRLI_VIEWS_PATH.'/shared/nav.php');
|
5 |
?>
|
6 |
<?php echo PrliAppHelper::page_title(__('Hits', 'pretty-link')); ?>
|
7 |
-
<span style="font-size: 14px; font-weight: bold;"
|
8 |
<?php
|
9 |
// Don't show this sheesh if we're displaying the vuid or ip grouping
|
10 |
if(empty($params['ip']) and empty($params['vuid']))
|
11 |
{
|
12 |
?>
|
13 |
-
<a href="#" style="display:inline;" class="filter_toggle"
|
14 |
<?php
|
15 |
}
|
16 |
?>
|
17 |
<?php
|
18 |
if(!empty($params['l']) and $params['l'] != 'all')
|
19 |
-
echo '<br/><a href="'
|
20 |
else if(!empty($params['ip']) or !empty($params['vuid']))
|
21 |
-
echo '<br/><a href="?page='. PRLI_PLUGIN_NAME .'/prli-clicks.php">« Back to Hits</a>';
|
22 |
|
23 |
if(empty($params['ip']) and empty($params['vuid']))
|
24 |
{
|
@@ -28,20 +28,20 @@
|
|
28 |
<div class="filter_pane">
|
29 |
<form class="form-fields" name="form2" method="post" action="">
|
30 |
<?php wp_nonce_field('prli-reports'); ?>
|
31 |
-
<span
|
32 |
<select id="type" name="type" style="display: inline;">
|
33 |
-
<option value="all"<?php print ((empty($params['type']) or $params['type'] == "all")?" selected=\"true\"":"");
|
34 |
-
<option value="unique"<?php print (($params['type'] == "unique")?" selected=\"true\"":"");
|
35 |
</select>
|
36 |
<br/>
|
37 |
<br/>
|
38 |
-
<span
|
39 |
<div id="dateselectors" style="display: inline;">
|
40 |
-
<input type="text" name="sdate" id="sdate" value="<?php echo $params['sdate']; ?>" style="display:inline;"/>
|
41 |
</div>
|
42 |
<br/>
|
43 |
<br/>
|
44 |
-
<div class="submit" style="display: inline;"><input type="submit" name="Submit" value="Customize"/> or <a href="#" class="filter_toggle"
|
45 |
</form>
|
46 |
</div>
|
47 |
|
@@ -65,7 +65,7 @@
|
|
65 |
if(!empty($search_str))
|
66 |
{
|
67 |
?>
|
68 |
-
or <a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo (!empty($params['l'])?'&l='.$params['l']:''); ?>"
|
69 |
<?php
|
70 |
}
|
71 |
?>
|
@@ -76,33 +76,33 @@
|
|
76 |
<thead>
|
77 |
<tr>
|
78 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
79 |
-
<th class="manage-column" width="5%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=btype<?php echo (($sort_str == 'btype' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
80 |
</th>
|
81 |
<?php } ?>
|
82 |
<th class="manage-column" width="12%">
|
83 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=ip<?php echo (($sort_str == 'ip' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
84 |
</th>
|
85 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
86 |
<th class="manage-column" width="12%">
|
87 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=vuid<?php echo (($sort_str == 'vuid' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
88 |
</th>
|
89 |
<?php } ?>
|
90 |
<th class="manage-column" width="13%">
|
91 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=created_at<?php echo (($sort_str == 'created_at' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
92 |
</th>
|
93 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
94 |
<th class="manage-column" width="16%">
|
95 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=host<?php echo (($sort_str == 'host' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
96 |
</th>
|
97 |
<?php } ?>
|
98 |
<th class="manage-column" width="16%">
|
99 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=uri<?php echo (($sort_str == 'uri' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
100 |
</th>
|
101 |
<th class="manage-column" width="16%">
|
102 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=referer<?php echo (($sort_str == 'referer' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
103 |
</th>
|
104 |
<th class="manage-column" width="13%">
|
105 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=link<?php echo (($sort_str == 'link' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
106 |
</th>
|
107 |
</tr>
|
108 |
</thead>
|
@@ -112,7 +112,7 @@
|
|
112 |
{
|
113 |
?>
|
114 |
<tr>
|
115 |
-
<td colspan="7"
|
116 |
</tr>
|
117 |
<?php
|
118 |
}
|
@@ -144,24 +144,24 @@
|
|
144 |
<tfoot>
|
145 |
<tr>
|
146 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
147 |
-
<th class="manage-column"
|
148 |
<?php } ?>
|
149 |
-
<th class="manage-column"
|
150 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
151 |
-
<th class="manage-column"
|
152 |
<?php } ?>
|
153 |
-
<th class="manage-column"
|
154 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
155 |
-
<th class="manage-column"
|
156 |
<?php } ?>
|
157 |
-
<th class="manage-column"
|
158 |
-
<th class="manage-column"
|
159 |
-
<th class="manage-column"
|
160 |
</tr>
|
161 |
</tfoot>
|
162 |
</table>
|
163 |
|
164 |
-
<a href="?page=pretty-link/prli-clicks.php&action=csv<?php echo $page_params; ?>"
|
165 |
|
166 |
<?php
|
167 |
require(PRLI_VIEWS_PATH.'/shared/table-nav.php');
|
4 |
require(PRLI_VIEWS_PATH.'/shared/nav.php');
|
5 |
?>
|
6 |
<?php echo PrliAppHelper::page_title(__('Hits', 'pretty-link')); ?>
|
7 |
+
<span style="font-size: 14px; font-weight: bold;"><?php echo __('For', 'pretty-link').' '.stripslashes($link_name); ?>: </span>
|
8 |
<?php
|
9 |
// Don't show this sheesh if we're displaying the vuid or ip grouping
|
10 |
if(empty($params['ip']) and empty($params['vuid']))
|
11 |
{
|
12 |
?>
|
13 |
+
<a href="#" style="display:inline;" class="filter_toggle"><?php _e('Customize Report', 'pretty-link'); ?></a>
|
14 |
<?php
|
15 |
}
|
16 |
?>
|
17 |
<?php
|
18 |
if(!empty($params['l']) and $params['l'] != 'all')
|
19 |
+
echo '<br/><a href="'.admin_url("admin.php?page=pretty-link").'">« '.__("Back to Links", 'pretty-link').'</a>';
|
20 |
else if(!empty($params['ip']) or !empty($params['vuid']))
|
21 |
+
echo '<br/><a href="?page='. PRLI_PLUGIN_NAME .'/prli-clicks.php">« '.__("Back to Hits", 'pretty-link').'</a>';
|
22 |
|
23 |
if(empty($params['ip']) and empty($params['vuid']))
|
24 |
{
|
28 |
<div class="filter_pane">
|
29 |
<form class="form-fields" name="form2" method="post" action="">
|
30 |
<?php wp_nonce_field('prli-reports'); ?>
|
31 |
+
<span><?php _e('Type:', 'pretty-link'); ?></span>
|
32 |
<select id="type" name="type" style="display: inline;">
|
33 |
+
<option value="all"<?php print ((empty($params['type']) or $params['type'] == "all")?" selected=\"true\"":""); ?>><?php _e('All Hits', 'pretty-link'); ?> </option>
|
34 |
+
<option value="unique"<?php print (($params['type'] == "unique")?" selected=\"true\"":""); ?>><?php _e('Unique Hits', 'pretty-link'); ?> </option>
|
35 |
</select>
|
36 |
<br/>
|
37 |
<br/>
|
38 |
+
<span><?php _e('Date Range:', 'pretty-link'); ?></span>
|
39 |
<div id="dateselectors" style="display: inline;">
|
40 |
+
<input type="text" name="sdate" id="sdate" value="<?php echo $params['sdate']; ?>" style="display:inline;"/> <?php _e('to', 'pretty-link'); ?> <input type="text" name="edate" id="edate" value="<?php echo $params['edate']; ?>" style="display:inline;"/>
|
41 |
</div>
|
42 |
<br/>
|
43 |
<br/>
|
44 |
+
<div class="submit" style="display: inline;"><input type="submit" name="Submit" value="Customize"/> <?php _e('or', 'pretty-link'); ?> <a href="#" class="filter_toggle"><?php _e('Cancel', 'pretty-link'); ?></a></div>
|
45 |
</form>
|
46 |
</div>
|
47 |
|
65 |
if(!empty($search_str))
|
66 |
{
|
67 |
?>
|
68 |
+
<?php _e('or', 'pretty-link'); ?> <a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo (!empty($params['l'])?'&l='.$params['l']:''); ?>"><?php _e('Reset', 'pretty-link'); ?></a>
|
69 |
<?php
|
70 |
}
|
71 |
?>
|
76 |
<thead>
|
77 |
<tr>
|
78 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
79 |
+
<th class="manage-column" width="5%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=btype<?php echo (($sort_str == 'btype' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Browser', 'pretty-link'); echo (($sort_str == 'btype')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
80 |
</th>
|
81 |
<?php } ?>
|
82 |
<th class="manage-column" width="12%">
|
83 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=ip<?php echo (($sort_str == 'ip' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('IP', 'pretty-link'); echo (($sort_str == 'ip')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
84 |
</th>
|
85 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
86 |
<th class="manage-column" width="12%">
|
87 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=vuid<?php echo (($sort_str == 'vuid' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Visitor', 'pretty-link'); echo (($sort_str == 'vuid')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
88 |
</th>
|
89 |
<?php } ?>
|
90 |
<th class="manage-column" width="13%">
|
91 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=created_at<?php echo (($sort_str == 'created_at' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Timestamp', 'pretty-link'); echo ((empty($sort_str) or $sort_str == 'created_at')?' <img src="'.PRLI_IMAGES_URL.'/'.((empty($sort_str) or $sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
92 |
</th>
|
93 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
94 |
<th class="manage-column" width="16%">
|
95 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=host<?php echo (($sort_str == 'host' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Host', 'pretty-link'); echo (($sort_str == 'host')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
96 |
</th>
|
97 |
<?php } ?>
|
98 |
<th class="manage-column" width="16%">
|
99 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=uri<?php echo (($sort_str == 'uri' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('URI', 'pretty-link'); echo (($sort_str == 'uri')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
100 |
</th>
|
101 |
<th class="manage-column" width="16%">
|
102 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=referer<?php echo (($sort_str == 'referer' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Referrer', 'pretty-link'); echo (($sort_str == 'referer')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
103 |
</th>
|
104 |
<th class="manage-column" width="13%">
|
105 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php<?php echo $sort_params; ?>&sort=link<?php echo (($sort_str == 'link' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Link', 'pretty-link'); echo (($sort_str == 'link')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
|
106 |
</th>
|
107 |
</tr>
|
108 |
</thead>
|
112 |
{
|
113 |
?>
|
114 |
<tr>
|
115 |
+
<td colspan="7"><?php _e('No Hits have been recorded yet', 'pretty-link'); ?></td>
|
116 |
</tr>
|
117 |
<?php
|
118 |
}
|
144 |
<tfoot>
|
145 |
<tr>
|
146 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
147 |
+
<th class="manage-column"><?php _e('Browser', 'pretty-link'); ?></th>
|
148 |
<?php } ?>
|
149 |
+
<th class="manage-column"><?php _e('IP', 'pretty-link'); ?></th>
|
150 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
151 |
+
<th class="manage-column"><?php _e('Visitor', 'pretty-link'); ?></th>
|
152 |
<?php } ?>
|
153 |
+
<th class="manage-column"><?php _e('Timestamp', 'pretty-link'); ?></th>
|
154 |
<?php if( isset($prli_options->extended_tracking) and $prli_options->extended_tracking == "extended" ) { ?>
|
155 |
+
<th class="manage-column"><?php _e('Host', 'pretty-link'); ?></th>
|
156 |
<?php } ?>
|
157 |
+
<th class="manage-column"><?php _e('URI', 'pretty-link'); ?></th>
|
158 |
+
<th class="manage-column"><?php _e('Referrer', 'pretty-link'); ?></th>
|
159 |
+
<th class="manage-column"><?php _e('Link', 'pretty-link'); ?></th>
|
160 |
</tr>
|
161 |
</tfoot>
|
162 |
</table>
|
163 |
|
164 |
+
<a href="?page=pretty-link/prli-clicks.php&action=csv<?php echo $page_params; ?>"><?php _e('Download CSV', 'pretty-link'); ?> (<?php echo stripslashes($link_name); ?>)</a>
|
165 |
|
166 |
<?php
|
167 |
require(PRLI_VIEWS_PATH.'/shared/table-nav.php');
|
classes/views/prli-groups/edit.php
CHANGED
@@ -17,23 +17,23 @@ if(!defined('ABSPATH'))
|
|
17 |
|
18 |
<table class="form-table">
|
19 |
<tr class="form-field">
|
20 |
-
<td width="75px" valign="top"
|
21 |
<td><input type="text" name="name" value="<?php echo htmlspecialchars(stripslashes(((isset($_POST['name']) and $record == null)?$_POST['name']:$record->name))); ?>" size="75">
|
22 |
-
<br/><span class="setting-description"
|
23 |
</tr>
|
24 |
<tr class="form-field">
|
25 |
-
<td valign="top"
|
26 |
<td><textarea style="height: 100px;" name="description"><?php echo ((isset($_POST['description']) and $record == null)?$_POST['description']:$record->description); ?></textarea>
|
27 |
-
<br/><span class="setting-description"
|
28 |
</tr>
|
29 |
<tr class="form-field" valign="top">
|
30 |
-
<td valign="top"
|
31 |
<td valign="top">
|
32 |
<div style="height: 150px; width: 95%; border: 1px solid #8cbdd5; overflow: auto;">
|
33 |
<table width="100%" cellspacing="0">
|
34 |
<thead style="background-color: #dedede; padding: 0px; margin: 0px; line-height: 8px; font-size: 14px;">
|
35 |
-
<th style="padding-left: 5px; margin: 0px; width: 50%; min-width: 50%;"><strong
|
36 |
-
<th style="padding-left: 5px; margin: 0px; width: 50%; min-width: 50%;"><strong
|
37 |
</thead>
|
38 |
<?php
|
39 |
for($i = 0; $i < count($links); $i++)
|
@@ -50,13 +50,13 @@ if(!defined('ABSPATH'))
|
|
50 |
?>
|
51 |
</table>
|
52 |
</div>
|
53 |
-
<span class="setting-description"
|
54 |
</td>
|
55 |
</tr>
|
56 |
</table>
|
57 |
|
58 |
<p class="submit">
|
59 |
-
<input type="submit" name="Submit" value="Update" />
|
60 |
</p>
|
61 |
|
62 |
</form>
|
17 |
|
18 |
<table class="form-table">
|
19 |
<tr class="form-field">
|
20 |
+
<td width="75px" valign="top"><?php _e('Name:', 'pretty-link'); ?> </td>
|
21 |
<td><input type="text" name="name" value="<?php echo htmlspecialchars(stripslashes(((isset($_POST['name']) and $record == null)?$_POST['name']:$record->name))); ?>" size="75">
|
22 |
+
<br/><span class="setting-description"><?php _e("This is how you'll identify your Group.", 'pretty-link'); ?></span></td>
|
23 |
</tr>
|
24 |
<tr class="form-field">
|
25 |
+
<td valign="top"><?php _e('Description:', 'pretty-link'); ?> </td>
|
26 |
<td><textarea style="height: 100px;" name="description"><?php echo ((isset($_POST['description']) and $record == null)?$_POST['description']:$record->description); ?></textarea>
|
27 |
+
<br/><span class="setting-description"><?php _e('A Description of this group.', 'pretty-link'); ?></span></td>
|
28 |
</tr>
|
29 |
<tr class="form-field" valign="top">
|
30 |
+
<td valign="top"><?php _e('Links:', 'pretty-link'); ?> </td>
|
31 |
<td valign="top">
|
32 |
<div style="height: 150px; width: 95%; border: 1px solid #8cbdd5; overflow: auto;">
|
33 |
<table width="100%" cellspacing="0">
|
34 |
<thead style="background-color: #dedede; padding: 0px; margin: 0px; line-height: 8px; font-size: 14px;">
|
35 |
+
<th style="padding-left: 5px; margin: 0px; width: 50%; min-width: 50%;"><strong><?php _e('Name', 'pretty-link'); ?></strong></th>
|
36 |
+
<th style="padding-left: 5px; margin: 0px; width: 50%; min-width: 50%;"><strong><?php _e('Current Group', 'pretty-link'); ?></strong></th>
|
37 |
</thead>
|
38 |
<?php
|
39 |
for($i = 0; $i < count($links); $i++)
|
50 |
?>
|
51 |
</table>
|
52 |
</div>
|
53 |
+
<span class="setting-description"><?php _e('Select some links for this group. <strong>Note: each link can only be in one group at a time.</strong>', 'pretty-link'); ?></span>
|
54 |
</td>
|
55 |
</tr>
|
56 |
</table>
|
57 |
|
58 |
<p class="submit">
|
59 |
+
<input type="submit" name="Submit" value="Update" /> <?php _e('or', 'pretty-link'); ?> <a href="?page=<?php echo PRLI_PLUGIN_NAME ?>/prli-groups.php"><?php _e('Cancel', 'pretty-link'); ?></a>
|
60 |
</p>
|
61 |
|
62 |
</form>
|
classes/views/prli-groups/list.php
CHANGED
@@ -19,7 +19,7 @@ if(!defined('ABSPATH'))
|
|
19 |
if(!empty($search_str))
|
20 |
{
|
21 |
?>
|
22 |
-
or <a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php"
|
23 |
<?php
|
24 |
}
|
25 |
?>
|
@@ -27,7 +27,7 @@ if(!defined('ABSPATH'))
|
|
27 |
</form>
|
28 |
</div>
|
29 |
<div id="button_bar">
|
30 |
-
<p><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=new"
|
31 |
</div>
|
32 |
|
33 |
<?php
|
@@ -36,9 +36,9 @@ if(!defined('ABSPATH'))
|
|
36 |
<table class="widefat post fixed" cellspacing="0">
|
37 |
<thead>
|
38 |
<tr>
|
39 |
-
<th class="manage-column" width="50%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&sort=name<?php echo (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
40 |
-
<th class="manage-column" width="20%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&sort=link_count<?php echo (($sort_str == 'link_count' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
41 |
-
<th class="manage-column" width="30%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&sort=created_at<?php echo (($sort_str == 'created_at' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"
|
42 |
</tr>
|
43 |
</thead>
|
44 |
<?php
|
@@ -47,7 +47,7 @@ if(!defined('ABSPATH'))
|
|
47 |
{
|
48 |
?>
|
49 |
<tr>
|
50 |
-
<td colspan="5"
|
51 |
</tr>
|
52 |
<?php
|
53 |
}
|
@@ -61,10 +61,10 @@ if(!defined('ABSPATH'))
|
|
61 |
<a class="group_name" href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=edit&id=<?php echo $group->id; ?>" title="Edit <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php echo htmlspecialchars(stripslashes($group->name)); ?></a>
|
62 |
<br/>
|
63 |
<div class="group_actions">
|
64 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=edit&id=<?php echo $group->id; ?>" title="Edit <?php echo htmlspecialchars(stripslashes($group->name)); ?>"
|
65 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=destroy&id=<?php echo $group->id; ?>" onclick="return confirm('Are you sure you want to delete your <?php echo htmlspecialchars(stripslashes($group->name)); ?> Pretty Link Group?');" title="Delete <?php echo htmlspecialchars(stripslashes($group->name)); ?>"
|
66 |
-
<a href="<?php echo admin_url("admin.php?page=pretty-link&group={$group->id}"); ?>" title="View links in <?php echo htmlspecialchars(stripslashes($group->name)); ?>"
|
67 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php&group=<?php echo $group->id; ?>" title="View hits in <?php echo htmlspecialchars(stripslashes($group->name)); ?>"
|
68 |
</div>
|
69 |
</td>
|
70 |
<td><a href="<?php echo admin_url("admin.php?page=pretty-link&group={$group->id}"); ?>" title="View links in <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php echo $group->link_count; ?></a></td>
|
@@ -76,9 +76,9 @@ if(!defined('ABSPATH'))
|
|
76 |
?>
|
77 |
<tfoot>
|
78 |
<tr>
|
79 |
-
<th class="manage-column"
|
80 |
-
<th class="manage-column"
|
81 |
-
<th class="manage-column"
|
82 |
</tr>
|
83 |
</tfoot>
|
84 |
</table>
|
19 |
if(!empty($search_str))
|
20 |
{
|
21 |
?>
|
22 |
+
<?php _e('or', 'pretty-link'); ?> <a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php"><?php _e('Reset', 'pretty-link'); ?></a>
|
23 |
<?php
|
24 |
}
|
25 |
?>
|
27 |
</form>
|
28 |
</div>
|
29 |
<div id="button_bar">
|
30 |
+
<p><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=new"><?php _e('Add a Pretty Link Group', 'pretty-link'); ?></a></p>
|
31 |
</div>
|
32 |
|
33 |
<?php
|
36 |
<table class="widefat post fixed" cellspacing="0">
|
37 |
<thead>
|
38 |
<tr>
|
39 |
+
<th class="manage-column" width="50%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&sort=name<?php echo (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Name', 'pretty-link'); echo (($sort_str == 'name')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
40 |
+
<th class="manage-column" width="20%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&sort=link_count<?php echo (($sort_str == 'link_count' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Links', 'pretty-link'); echo (($sort_str == 'link_count')?' <img src="'.PRLI_IMAGES_URL.'/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
41 |
+
<th class="manage-column" width="30%"><a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&sort=created_at<?php echo (($sort_str == 'created_at' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Created', 'pretty-link'); echo ((empty($sort_str) or $sort_str == 'created_at')?' <img src="'.PRLI_IMAGES_URL.'/'.((empty($sort_str) or $sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
42 |
</tr>
|
43 |
</thead>
|
44 |
<?php
|
47 |
{
|
48 |
?>
|
49 |
<tr>
|
50 |
+
<td colspan="5"><?php _e('No Pretty Link Groups were found', 'pretty-link'); ?></td>
|
51 |
</tr>
|
52 |
<?php
|
53 |
}
|
61 |
<a class="group_name" href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=edit&id=<?php echo $group->id; ?>" title="Edit <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php echo htmlspecialchars(stripslashes($group->name)); ?></a>
|
62 |
<br/>
|
63 |
<div class="group_actions">
|
64 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=edit&id=<?php echo $group->id; ?>" title="Edit <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php _e('Edit', 'pretty-link'); ?></a> |
|
65 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php&action=destroy&id=<?php echo $group->id; ?>" onclick="return confirm('Are you sure you want to delete your <?php echo htmlspecialchars(stripslashes($group->name)); ?> Pretty Link Group?');" title="Delete <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php _e('Delete', 'pretty-link'); ?></a> |
|
66 |
+
<a href="<?php echo admin_url("admin.php?page=pretty-link&group={$group->id}"); ?>" title="View links in <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php _e('Links', 'pretty-link'); ?></a> |
|
67 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-clicks.php&group=<?php echo $group->id; ?>" title="View hits in <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php _e('Hits', 'pretty-link'); ?></a>
|
68 |
</div>
|
69 |
</td>
|
70 |
<td><a href="<?php echo admin_url("admin.php?page=pretty-link&group={$group->id}"); ?>" title="View links in <?php echo htmlspecialchars(stripslashes($group->name)); ?>"><?php echo $group->link_count; ?></a></td>
|
76 |
?>
|
77 |
<tfoot>
|
78 |
<tr>
|
79 |
+
<th class="manage-column"><?php _e('Name', 'pretty-link'); ?></th>
|
80 |
+
<th class="manage-column"><?php _e('Links', 'pretty-link'); ?></th>
|
81 |
+
<th class="manage-column"><?php _e('Created', 'pretty-link'); ?></th>
|
82 |
</tr>
|
83 |
</tfoot>
|
84 |
</table>
|
classes/views/prli-groups/new.php
CHANGED
@@ -19,23 +19,23 @@ if(!defined('ABSPATH'))
|
|
19 |
|
20 |
<table class="form-table">
|
21 |
<tr class="form-field">
|
22 |
-
<td width="75px" valign="top"
|
23 |
<td><input type="text" name="name" value="<?php echo $name; ?>" size="75">
|
24 |
-
<br/><span class="setting-description"
|
25 |
</tr>
|
26 |
<tr class="form-field">
|
27 |
-
<td valign="top"
|
28 |
<td><textarea style="height: 100px;" name="description"><?php echo ((isset($_POST['description']))?$_POST['description']:''); ?></textarea>
|
29 |
-
<br/><span class="setting-description"
|
30 |
</tr>
|
31 |
<tr class="form-field" valign="top">
|
32 |
-
<td valign="top"
|
33 |
<td valign="top">
|
34 |
<div style="height: 150px; width: 95%; border: 1px solid #8cbdd5; overflow: auto;">
|
35 |
<table width="100%" cellspacing="0">
|
36 |
<thead style="background-color: #dedede; padding: 0px; margin: 0px; line-height: 8px; font-size: 14px;">
|
37 |
-
<th width="50%" style="padding-left: 5px; margin: 0px;"><strong
|
38 |
-
<th width="50%" style="padding-left: 5px; margin: 0px;"><strong
|
39 |
</thead>
|
40 |
<?php
|
41 |
for($i = 0; $i < count($links); $i++)
|
@@ -52,14 +52,14 @@ if(!defined('ABSPATH'))
|
|
52 |
?>
|
53 |
</table>
|
54 |
</div>
|
55 |
-
<span class="setting-description"
|
56 |
</td>
|
57 |
</tr>
|
58 |
</table>
|
59 |
</div>
|
60 |
|
61 |
<p class="submit">
|
62 |
-
<input type="submit" name="Submit" value="Create" />
|
63 |
</p>
|
64 |
|
65 |
</form>
|
19 |
|
20 |
<table class="form-table">
|
21 |
<tr class="form-field">
|
22 |
+
<td width="75px" valign="top"><?php _e('Name*:', 'pretty-link'); ?> </td>
|
23 |
<td><input type="text" name="name" value="<?php echo $name; ?>" size="75">
|
24 |
+
<br/><span class="setting-description"><?php _e("This is how you'll identify your Group.", 'pretty-link'); ?></span></td>
|
25 |
</tr>
|
26 |
<tr class="form-field">
|
27 |
+
<td valign="top"><?php _e('Description:', 'pretty-link'); ?> </td>
|
28 |
<td><textarea style="height: 100px;" name="description"><?php echo ((isset($_POST['description']))?$_POST['description']:''); ?></textarea>
|
29 |
+
<br/><span class="setting-description"><?php _e('A Description of this group.', 'pretty-link'); ?></span></td>
|
30 |
</tr>
|
31 |
<tr class="form-field" valign="top">
|
32 |
+
<td valign="top"><?php _e('Links:', 'pretty-link'); ?> </td>
|
33 |
<td valign="top">
|
34 |
<div style="height: 150px; width: 95%; border: 1px solid #8cbdd5; overflow: auto;">
|
35 |
<table width="100%" cellspacing="0">
|
36 |
<thead style="background-color: #dedede; padding: 0px; margin: 0px; line-height: 8px; font-size: 14px;">
|
37 |
+
<th width="50%" style="padding-left: 5px; margin: 0px;"><strong><?php _e('Name', 'pretty-link'); ?></strong></th>
|
38 |
+
<th width="50%" style="padding-left: 5px; margin: 0px;"><strong><?php _e('Current Group', 'pretty-link'); ?></strong></th>
|
39 |
</thead>
|
40 |
<?php
|
41 |
for($i = 0; $i < count($links); $i++)
|
52 |
?>
|
53 |
</table>
|
54 |
</div>
|
55 |
+
<span class="setting-description"><?php _e('Select some links for this group. <strong>Note: each link can only be in one group at a time.</strong>', 'pretty-link'); ?></span>
|
56 |
</td>
|
57 |
</tr>
|
58 |
</table>
|
59 |
</div>
|
60 |
|
61 |
<p class="submit">
|
62 |
+
<input type="submit" name="Submit" value="Create" /> <?php _e('or', 'pretty-link'); ?> <a href="?page=<?php echo PRLI_PLUGIN_NAME ?>/prli-groups.php"><?php _e('Cancel', 'pretty-link'); ?></a>
|
63 |
</p>
|
64 |
|
65 |
</form>
|
classes/views/prli-links/edit.php
CHANGED
@@ -20,8 +20,8 @@ if(!defined('ABSPATH'))
|
|
20 |
?>
|
21 |
|
22 |
<p class="submit">
|
23 |
-
<input type="submit" name="Submit" value="Update" />
|
24 |
</p>
|
25 |
|
26 |
</form>
|
27 |
-
</div>
|
20 |
?>
|
21 |
|
22 |
<p class="submit">
|
23 |
+
<input type="submit" name="Submit" value="Update" /> <?php _e('or', 'pretty-link'); ?> <a href="<?php echo admin_url('admin.php?page=pretty-link'); ?>"><?php _e('Cancel', 'pretty-link'); ?></a>
|
24 |
</p>
|
25 |
|
26 |
</form>
|
27 |
+
</div>
|
classes/views/prli-links/list.php
CHANGED
@@ -15,7 +15,7 @@ if(!defined('ABSPATH'))
|
|
15 |
if(!$permalink_structure or empty($permalink_structure))
|
16 |
{
|
17 |
?>
|
18 |
-
<div class="error" style="padding-top: 5px; padding-bottom: 5px;"><strong
|
19 |
<?php
|
20 |
}
|
21 |
?>
|
@@ -32,7 +32,7 @@ if(!defined('ABSPATH'))
|
|
32 |
if(!empty($search_str))
|
33 |
{
|
34 |
?>
|
35 |
-
or <a href="<?php echo admin_url('admin.php?page=pretty-link&action=reset'); ?>"
|
36 |
<?php
|
37 |
}
|
38 |
?>
|
@@ -40,8 +40,8 @@ if(!defined('ABSPATH'))
|
|
40 |
</form>
|
41 |
</div>
|
42 |
<div id="button_bar">
|
43 |
-
<p><a href="<?php echo admin_url('admin.php?page=add-new-pretty-link'); ?>"><img src="<?php echo PRLI_IMAGES_URL . '/pretty-link-add.png'; ?>"/> Add a Pretty Link
|
44 |
-
| <a href="http://blairwilliams.com/plintro"
|
45 |
<?php do_action('prli-link-nav'); ?>
|
46 |
</p>
|
47 |
</div>
|
@@ -51,7 +51,7 @@ if(!defined('ABSPATH'))
|
|
51 |
{
|
52 |
?>
|
53 |
<h3><?php echo $prli_message; ?></h3>
|
54 |
-
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php">« Back to Groups
|
55 |
<br/><br/>
|
56 |
<?php
|
57 |
}
|
@@ -60,12 +60,12 @@ if(!defined('ABSPATH'))
|
|
60 |
<table class="prli-edit-table widefat post fixed" cellspacing="0">
|
61 |
<thead>
|
62 |
<tr>
|
63 |
-
<th class="manage-column" width="30%"><input type="checkbox" name="check-all" class="select-all-link-action-checkboxes" style="margin-left: 1px;"/> <a href="<?php echo admin_url('admin.php?page=pretty-link&sort=name' . (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"
|
64 |
<?php do_action('prli_link_column_header'); ?>
|
65 |
-
<th class="manage-column" width="10%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=clicks' . (($sort_str == 'clicks' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"
|
66 |
-
<th class="manage-column" width="5%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=group_name' . (($sort_str == 'group_name' and $sdir_str == 'asc')?'&sdir=desc':'')) ?>"
|
67 |
-
<th class="manage-column" width="12%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=created_at' . (($sort_str == 'created_at' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"
|
68 |
-
<th class="manage-column" width="20%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=slug' . (($sort_str == 'slug' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"
|
69 |
</tr>
|
70 |
</thead>
|
71 |
<tr id="bulk-edit" class="inline-edit-row inline-edit-row-post inline-edit-post bulk-edit-row bulk-edit-row-post bulk-edit-post" style="display: none;">
|
@@ -113,7 +113,7 @@ if(!defined('ABSPATH'))
|
|
113 |
{
|
114 |
?>
|
115 |
<tr>
|
116 |
-
<td colspan="5"
|
117 |
</tr>
|
118 |
<?php
|
119 |
}
|
@@ -184,18 +184,18 @@ if(!defined('ABSPATH'))
|
|
184 |
<a class="slug_name" href="<?php echo admin_url('admin.php?page=pretty-link&action=edit&id=' . $link->id); ?>" title="Edit <?php echo stripslashes($link->name); ?>"><?php echo stripslashes($link->name); ?></a>
|
185 |
<br/>
|
186 |
<div class="link_actions">
|
187 |
-
<a href="<?php echo admin_url('admin.php?page=pretty-link&action=edit&id=' . $link->id); ?>" title="Edit <?php echo $link->slug; ?>"
|
188 |
-
<a href="<?php echo admin_url('admin.php?page=pretty-link&action=destroy&id=' . $link->id); ?>" onclick="return confirm('Are you sure you want to delete your <?php echo $link->name; ?> Pretty Link? This will delete the Pretty Link and all of the statistical data about it in your database.');" title="Delete <?php echo $link->slug; ?>"
|
189 |
-
| <a href="<?php echo admin_url('admin.php?page=pretty-link&action=reset&id=' . $link->id); ?>" onclick="return confirm('Are you sure you want to reset your <?php echo $link->name; ?> Pretty Link? This will delete all of the statistical data about this Pretty Link in your database.');" title="Reset <?php echo $link->name; ?>"
|
190 |
<?php if( $link->track_me and $prli_options->extended_tracking!='count' ) { ?>
|
191 |
-
| <a href="<?php echo admin_url("admin.php?page=pretty-link/prli-clicks.php&l={$link->id}"); ?>" title="View clicks for <?php echo $link->slug; ?>"
|
192 |
<?php do_action('prli-link-action',$link->id); ?>
|
193 |
<?php } ?>
|
194 |
<?php if( $link->redirect_type != 'pixel' )
|
195 |
{
|
196 |
?>
|
197 |
-
| <a href="http://twitter.com/home?status=<?php echo $pretty_link_url; ?>" target="_blank" title="Post <?php echo $pretty_link_url; ?> to Twitter"
|
198 |
-
<a href="mailto:?subject=Pretty Link&body=<?php echo $pretty_link_url; ?>" target="_blank" title="Send <?php echo $pretty_link_url; ?> in an Email"
|
199 |
<?php
|
200 |
}
|
201 |
?>
|
@@ -218,7 +218,7 @@ if(!defined('ABSPATH'))
|
|
218 |
<?php if( $link->redirect_type != 'pixel' )
|
219 |
{
|
220 |
?>
|
221 |
-
<span style="font-size: 8px;" title="<?php echo $link->url; ?>"><strong
|
222 |
<?php
|
223 |
}
|
224 |
?>
|
@@ -229,12 +229,12 @@ if(!defined('ABSPATH'))
|
|
229 |
?>
|
230 |
<tfoot>
|
231 |
<tr>
|
232 |
-
<th class="manage-column"><?php do_action('prli-list-header-icon');
|
233 |
<?php do_action('prli_link_column_footer'); ?>
|
234 |
-
<th class="manage-column"
|
235 |
-
<th class="manage-column"
|
236 |
-
<th class="manage-column"
|
237 |
-
<th class="manage-column"
|
238 |
</tr>
|
239 |
</tfoot>
|
240 |
</table>
|
15 |
if(!$permalink_structure or empty($permalink_structure))
|
16 |
{
|
17 |
?>
|
18 |
+
<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>
|
19 |
<?php
|
20 |
}
|
21 |
?>
|
32 |
if(!empty($search_str))
|
33 |
{
|
34 |
?>
|
35 |
+
or <a href="<?php echo admin_url('admin.php?page=pretty-link&action=reset'); ?>"><?php _e('Reset', 'pretty-link'); ?></a>
|
36 |
<?php
|
37 |
}
|
38 |
?>
|
40 |
</form>
|
41 |
</div>
|
42 |
<div id="button_bar">
|
43 |
+
<p><a href="<?php echo admin_url('admin.php?page=add-new-pretty-link'); ?>"><img src="<?php echo PRLI_IMAGES_URL . '/pretty-link-add.png'; ?>"/> <?php _e('Add a Pretty Link', 'pretty-link'); ?></a>
|
44 |
+
| <a href="http://blairwilliams.com/plintro"><?php _e('Watch Pretty Link Intro Video', 'pretty-link'); ?></a>
|
45 |
<?php do_action('prli-link-nav'); ?>
|
46 |
</p>
|
47 |
</div>
|
51 |
{
|
52 |
?>
|
53 |
<h3><?php echo $prli_message; ?></h3>
|
54 |
+
<a href="?page=<?php echo PRLI_PLUGIN_NAME; ?>/prli-groups.php">« <?php _e('Back to Groups', 'pretty-link'); ?></a>
|
55 |
<br/><br/>
|
56 |
<?php
|
57 |
}
|
60 |
<table class="prli-edit-table widefat post fixed" cellspacing="0">
|
61 |
<thead>
|
62 |
<tr>
|
63 |
+
<th class="manage-column" width="30%"><input type="checkbox" name="check-all" class="select-all-link-action-checkboxes" style="margin-left: 1px;"/> <a href="<?php echo admin_url('admin.php?page=pretty-link&sort=name' . (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"><?php _e('Name', 'pretty-link'); echo (($sort_str == 'name')?' <img src="'.PRLI_IMAGES_URL . '/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
64 |
<?php do_action('prli_link_column_header'); ?>
|
65 |
+
<th class="manage-column" width="10%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=clicks' . (($sort_str == 'clicks' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"><?php _e('Hits / Uniq', 'pretty-link'); echo (($sort_str == 'clicks')?' <img src="'.PRLI_IMAGES_URL . '/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
66 |
+
<th class="manage-column" width="5%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=group_name' . (($sort_str == 'group_name' and $sdir_str == 'asc')?'&sdir=desc':'')) ?>"><?php _e('Group', 'pretty-link'); echo (($sort_str == 'group_name')?' <img src="'.PRLI_IMAGES_URL . '/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
67 |
+
<th class="manage-column" width="12%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=created_at' . (($sort_str == 'created_at' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"><?php _e('Created', 'pretty-link'); echo ((empty($sort_str) or $sort_str == 'created_at')?' <img src="'.PRLI_IMAGES_URL . '/'.((empty($sort_str) or $sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
68 |
+
<th class="manage-column" width="20%"><a href="<?php echo admin_url('admin.php?page=pretty-link&sort=slug' . (($sort_str == 'slug' and $sdir_str == 'asc')?'&sdir=desc':'')); ?>"><?php _e('Links', 'pretty-link'); echo (($sort_str == 'slug')?' <img src="'.PRLI_IMAGES_URL . '/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a></th>
|
69 |
</tr>
|
70 |
</thead>
|
71 |
<tr id="bulk-edit" class="inline-edit-row inline-edit-row-post inline-edit-post bulk-edit-row bulk-edit-row-post bulk-edit-post" style="display: none;">
|
113 |
{
|
114 |
?>
|
115 |
<tr>
|
116 |
+
<td colspan="5"><?php _e('Watch this video to see how to get started!', 'pretty-link'); ?> -- <a href="http://blairwilliams.com/xba"><strong><?php _e('Get More Video Tutorials like this one', 'pretty-link'); ?>...</strong></a><br/><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/i6C2Bljby3k&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/i6C2Bljby3k&hl=en&fs=1&rel=0&color1=0x3a3a3a&color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></td>
|
117 |
</tr>
|
118 |
<?php
|
119 |
}
|
184 |
<a class="slug_name" href="<?php echo admin_url('admin.php?page=pretty-link&action=edit&id=' . $link->id); ?>" title="Edit <?php echo stripslashes($link->name); ?>"><?php echo stripslashes($link->name); ?></a>
|
185 |
<br/>
|
186 |
<div class="link_actions">
|
187 |
+
<a href="<?php echo admin_url('admin.php?page=pretty-link&action=edit&id=' . $link->id); ?>" title="Edit <?php echo $link->slug; ?>"><?php _e('Edit', 'pretty-link'); ?></a> |
|
188 |
+
<a href="<?php echo admin_url('admin.php?page=pretty-link&action=destroy&id=' . $link->id); ?>" onclick="return confirm('Are you sure you want to delete your <?php echo $link->name; ?> Pretty Link? This will delete the Pretty Link and all of the statistical data about it in your database.');" title="Delete <?php echo $link->slug; ?>"><?php _e('Delete', 'pretty-link'); ?></a>
|
189 |
+
| <a href="<?php echo admin_url('admin.php?page=pretty-link&action=reset&id=' . $link->id); ?>" onclick="return confirm('Are you sure you want to reset your <?php echo $link->name; ?> Pretty Link? This will delete all of the statistical data about this Pretty Link in your database.');" title="Reset <?php echo $link->name; ?>"><?php _e('Reset', 'pretty-link'); ?></a>
|
190 |
<?php if( $link->track_me and $prli_options->extended_tracking!='count' ) { ?>
|
191 |
+
| <a href="<?php echo admin_url("admin.php?page=pretty-link/prli-clicks.php&l={$link->id}"); ?>" title="View clicks for <?php echo $link->slug; ?>"><?php _e('Hits', 'pretty-link'); ?></a>
|
192 |
<?php do_action('prli-link-action',$link->id); ?>
|
193 |
<?php } ?>
|
194 |
<?php if( $link->redirect_type != 'pixel' )
|
195 |
{
|
196 |
?>
|
197 |
+
| <a href="http://twitter.com/home?status=<?php echo $pretty_link_url; ?>" target="_blank" title="Post <?php echo $pretty_link_url; ?> to Twitter"><?php _e('Tweet', 'pretty-link'); ?></a> |
|
198 |
+
<a href="mailto:?subject=Pretty Link&body=<?php echo $pretty_link_url; ?>" target="_blank" title="Send <?php echo $pretty_link_url; ?> in an Email"><?php _e('Email', 'pretty-link'); ?></a>
|
199 |
<?php
|
200 |
}
|
201 |
?>
|
218 |
<?php if( $link->redirect_type != 'pixel' )
|
219 |
{
|
220 |
?>
|
221 |
+
<span style="font-size: 8px;" title="<?php echo $link->url; ?>"><strong><?php _e('Target URL:', 'pretty-link'); ?></strong> <?php echo htmlentities((substr($link->url,0,47) . ((strlen($link->url) >= 47)?'...':'')),ENT_COMPAT,'UTF-8'); ?></span></td>
|
222 |
<?php
|
223 |
}
|
224 |
?>
|
229 |
?>
|
230 |
<tfoot>
|
231 |
<tr>
|
232 |
+
<th class="manage-column"><?php do_action('prli-list-header-icon'); ?><?php _e('Name', 'pretty-link'); ?></th>
|
233 |
<?php do_action('prli_link_column_footer'); ?>
|
234 |
+
<th class="manage-column"><?php _e('Hits / Uniq', 'pretty-link'); ?></th>
|
235 |
+
<th class="manage-column"><?php _e('Group', 'pretty-link'); ?></th>
|
236 |
+
<th class="manage-column"><?php _e('Created', 'pretty-link'); ?></th>
|
237 |
+
<th class="manage-column"><?php _e('Links', 'pretty-link'); ?></th>
|
238 |
</tr>
|
239 |
</tfoot>
|
240 |
</table>
|
classes/views/prli-links/new.php
CHANGED
@@ -20,8 +20,8 @@ if(!defined('ABSPATH'))
|
|
20 |
?>
|
21 |
|
22 |
<p class="submit">
|
23 |
-
<input type="submit" name="Submit" value="Create" />
|
24 |
</p>
|
25 |
|
26 |
</form>
|
27 |
-
</div>
|
20 |
?>
|
21 |
|
22 |
<p class="submit">
|
23 |
+
<input type="submit" name="Submit" value="Create" /> <?php _e('or', 'pretty-link'); ?> <a href="<?php admin_url('admin.php?page=pretty-link'); ?>"><?php _e('Cancel', 'pretty-link'); ?></a>
|
24 |
</p>
|
25 |
|
26 |
</form>
|
27 |
+
</div>
|
classes/views/prli-options/form.php
CHANGED
@@ -11,12 +11,12 @@ $permalink_structure = get_option('permalink_structure');
|
|
11 |
if(!$permalink_structure or empty($permalink_structure))
|
12 |
{
|
13 |
?>
|
14 |
-
<div class="error" style="padding-top: 5px; padding-bottom: 5px;"><strong
|
15 |
<?php
|
16 |
}
|
17 |
?>
|
18 |
<?php do_action('prli-options-message'); ?>
|
19 |
-
<a href="<?php echo admin_url("admin.php?page=pretty-link"); ?>">« Pretty Link Admin
|
20 |
|
21 |
<form name="form1" method="post" action="<?php echo admin_url("/admin.php?page=pretty-link/prli-options.php"); ?>">
|
22 |
<input type="hidden" name="<?php echo $hidden_field_name; ?>" value="Y">
|
@@ -26,25 +26,25 @@ if(!$permalink_structure or empty($permalink_structure))
|
|
26 |
<ul class="link-toggle-pane" style="list-style-type: none; padding-left: 10px;">
|
27 |
<li>
|
28 |
<h3><?php _e('Link Defaults:', 'pretty-link') ?></h3>
|
29 |
-
<input type="checkbox" name="<?php echo $link_track_me; ?>" <?php echo (($prli_options->link_track_me != 0)?'checked="true"':''); ?>/> Track Link
|
30 |
-
<br/><span class="description"
|
31 |
</li>
|
32 |
<li>
|
33 |
-
<input type="checkbox" name="<?php echo $link_nofollow; ?>" <?php echo (($prli_options->link_nofollow != 0)?'checked="true"':''); ?>/> Add <code>nofollow</code> to Link
|
34 |
-
<br/><span class="description"
|
35 |
</li>
|
36 |
<li>
|
37 |
-
<input type="checkbox" name="<?php echo $link_prefix; ?>" <?php echo (($prli_options->link_prefix != 0)?'checked="true"':''); ?>/> Use a prefix from your Permalink structure in your Pretty Links
|
38 |
-
<br/><span class="description"
|
39 |
</li>
|
40 |
<li>
|
41 |
<span><strong><?php _e('Default Link Redirection Type:', 'pretty-link') ?> </strong></span>
|
42 |
<select name="<?php echo $link_redirect_type; ?>">
|
43 |
-
<option value="307" <?php echo (($prli_options->link_redirect_type == '307')?' selected="selected"':'');
|
44 |
-
<option value="301" <?php echo (($prli_options->link_redirect_type == '301')?' selected="selected"':'');
|
45 |
<?php do_action('prli_default_redirection_types',$prli_options->link_redirect_type); ?>
|
46 |
</select>
|
47 |
-
<br/><span class="description"
|
48 |
</li>
|
49 |
<?php do_action('prli_custom_link_options'); ?>
|
50 |
<li>
|
@@ -58,14 +58,14 @@ if(!$permalink_structure or empty($permalink_structure))
|
|
58 |
</li>
|
59 |
</ul>
|
60 |
<?php do_action('prli_custom_option_pane'); ?>
|
61 |
-
<h3><a class="toggle reporting-toggle-button"
|
62 |
<table class="reporting-toggle-pane form-table">
|
63 |
<tr class="form-field">
|
64 |
-
<td valign="top"
|
65 |
<td>
|
66 |
<input type="text" name="<?php echo $prli_exclude_ips; ?>" value="<?php echo $prli_options->prli_exclude_ips; ?>">
|
67 |
-
<br/><span class="description"
|
68 |
-
<br/><span class="description" style="color: red;"
|
69 |
</td>
|
70 |
</tr>
|
71 |
<tr>
|
@@ -108,18 +108,18 @@ if(!$permalink_structure or empty($permalink_structure))
|
|
108 |
</p>
|
109 |
|
110 |
|
111 |
-
<h3
|
112 |
|
113 |
<?php if($prli_options->extended_tracking != 'count') { ?>
|
114 |
-
<p><a href="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI'] ); ?>&action=clear_30day_clicks" onclick="return confirm('***WARNING*** If you click OK you will delete ALL of the Hit data that is older than 30 days. Your data will be gone forever -- no way to retreive it. Do not click OK unless you are absolutely sure you want to delete this data because there is no going back!');"
|
115 |
-
<br/><span class="description"
|
116 |
|
117 |
-
<p><a href="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI'] ); ?>&action=clear_90day_clicks" onclick="return confirm('***WARNING*** If you click OK you will delete ALL of the Hit data that is older than 90 days. Your data will be gone forever -- no way to retreive it. Do not click OK unless you are absolutely sure you want to delete this data because there is no going back!');"
|
118 |
-
<br/><span class="description"
|
119 |
<?php } ?>
|
120 |
|
121 |
-
<p><a href="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI'] ); ?>&action=clear_all_clicks" onclick="return confirm('***WARNING*** If you click OK you will delete ALL of the Hit data in your Database. Your data will be gone forever -- no way to retreive it. Do not click OK unless you are absolutely sure you want to delete all your data because there is no going back!');"
|
122 |
-
<br/><span class="description"
|
123 |
|
124 |
</form>
|
125 |
</div>
|
11 |
if(!$permalink_structure or empty($permalink_structure))
|
12 |
{
|
13 |
?>
|
14 |
+
<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>
|
15 |
<?php
|
16 |
}
|
17 |
?>
|
18 |
<?php do_action('prli-options-message'); ?>
|
19 |
+
<a href="<?php echo admin_url("admin.php?page=pretty-link"); ?>">« <?php _e('Pretty Link Admin', 'pretty-link'); ?></a>
|
20 |
|
21 |
<form name="form1" method="post" action="<?php echo admin_url("/admin.php?page=pretty-link/prli-options.php"); ?>">
|
22 |
<input type="hidden" name="<?php echo $hidden_field_name; ?>" value="Y">
|
26 |
<ul class="link-toggle-pane" style="list-style-type: none; padding-left: 10px;">
|
27 |
<li>
|
28 |
<h3><?php _e('Link Defaults:', 'pretty-link') ?></h3>
|
29 |
+
<input type="checkbox" name="<?php echo $link_track_me; ?>" <?php echo (($prli_options->link_track_me != 0)?'checked="true"':''); ?>/> <?php _e('Track Link', 'pretty-link'); ?>
|
30 |
+
<br/><span class="description"><?php _e('Default all new links to be tracked.', 'pretty-link'); ?></span>
|
31 |
</li>
|
32 |
<li>
|
33 |
+
<input type="checkbox" name="<?php echo $link_nofollow; ?>" <?php echo (($prli_options->link_nofollow != 0)?'checked="true"':''); ?>/> <?php _e('Add <code>nofollow</code> to Link', 'pretty-link'); ?>
|
34 |
+
<br/><span class="description"><?php _e('Add the <code>nofollow</code> attribute by default to new links.', 'pretty-link'); ?></span>
|
35 |
</li>
|
36 |
<li>
|
37 |
+
<input type="checkbox" name="<?php echo $link_prefix; ?>" <?php echo (($prli_options->link_prefix != 0)?'checked="true"':''); ?>/> <?php _e('Use a prefix from your Permalink structure in your Pretty Links', 'pretty-link'); ?>
|
38 |
+
<br/><span class="description"><?php _e("This option should only be checked if you have elements in your permalink structure that must be present in any link on your site. For example, some WordPress installs don't have the benefit of full rewrite capabilities and in this case you'd need an index.php included in each link (http://example.com/index.php/mycoolslug instead of http://example.com/mycoolslug). If this is the case for you then check this option but the vast majority of users will want to keep this unchecked.", 'pretty-link'); ?></span>
|
39 |
</li>
|
40 |
<li>
|
41 |
<span><strong><?php _e('Default Link Redirection Type:', 'pretty-link') ?> </strong></span>
|
42 |
<select name="<?php echo $link_redirect_type; ?>">
|
43 |
+
<option value="307" <?php echo (($prli_options->link_redirect_type == '307')?' selected="selected"':''); ?>><?php _e('Temporary (307)', 'pretty-link'); ?></option>
|
44 |
+
<option value="301" <?php echo (($prli_options->link_redirect_type == '301')?' selected="selected"':''); ?>><?php _e('Permanent (301)', 'pretty-link'); ?></option>
|
45 |
<?php do_action('prli_default_redirection_types',$prli_options->link_redirect_type); ?>
|
46 |
</select>
|
47 |
+
<br/><span class="description"><?php _e('Select the type of redirection you want your newly created links to have.', 'pretty-link'); ?></span>
|
48 |
</li>
|
49 |
<?php do_action('prli_custom_link_options'); ?>
|
50 |
<li>
|
58 |
</li>
|
59 |
</ul>
|
60 |
<?php do_action('prli_custom_option_pane'); ?>
|
61 |
+
<h3><a class="toggle reporting-toggle-button"><?php _e('Reporting Options', 'pretty-link'); ?> <span class="reporting-expand" style="display: none;">[+]</span><span class="reporting-collapse">[-]</span></a></h3>
|
62 |
<table class="reporting-toggle-pane form-table">
|
63 |
<tr class="form-field">
|
64 |
+
<td valign="top"><?php _e('Excluded IP Addresses:', 'pretty-link'); ?> </td>
|
65 |
<td>
|
66 |
<input type="text" name="<?php echo $prli_exclude_ips; ?>" value="<?php echo $prli_options->prli_exclude_ips; ?>">
|
67 |
+
<br/><span class="description"><?php _e('Enter IP Addresses or IP Ranges you want to exclude from your Hit data and Stats. Each IP Address should be separated by commas. Example: <code>192.168.0.1, 192.168.2.1, 192.168.3.4 or 192.168.*.*</code>', 'pretty-link'); ?></span>
|
68 |
+
<br/><span class="description" style="color: red;"><?php _e('Your Current IP Address is', 'pretty-link'); echo $_SERVER['REMOTE_ADDR']; ?></span>
|
69 |
</td>
|
70 |
</tr>
|
71 |
<tr>
|
108 |
</p>
|
109 |
|
110 |
|
111 |
+
<h3><?php _e('Trim Hit Database', 'pretty-link'); ?></h3>
|
112 |
|
113 |
<?php if($prli_options->extended_tracking != 'count') { ?>
|
114 |
+
<p><a href="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI'] ); ?>&action=clear_30day_clicks" onclick="return confirm('<?php _e('***WARNING*** If you click OK you will delete ALL of the Hit data that is older than 30 days. Your data will be gone forever -- no way to retreive it. Do not click OK unless you are absolutely sure you want to delete this data because there is no going back!', 'pretty-link'); ?>');"><?php _e('Delete Hits older than 30 days', 'pretty-link'); ?></a>
|
115 |
+
<br/><span class="description"><?php _e('This will clear all hits in your database that are older than 30 days.', 'pretty-link'); ?></span></p>
|
116 |
|
117 |
+
<p><a href="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI'] ); ?>&action=clear_90day_clicks" onclick="return confirm('<?php _e('***WARNING*** If you click OK you will delete ALL of the Hit data that is older than 90 days. Your data will be gone forever -- no way to retreive it. Do not click OK unless you are absolutely sure you want to delete this data because there is no going back!', 'pretty-link'); ?>');"><?php _e('Delete Hits older than 90 days', 'pretty-link'); ?></a>
|
118 |
+
<br/><span class="description"><?php _e('This will clear all hits in your database that are older than 90 days.', 'pretty-link'); ?></span></p>
|
119 |
<?php } ?>
|
120 |
|
121 |
+
<p><a href="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI'] ); ?>&action=clear_all_clicks" onclick="return confirm('<?php _e('***WARNING*** If you click OK you will delete ALL of the Hit data in your Database. Your data will be gone forever -- no way to retreive it. Do not click OK unless you are absolutely sure you want to delete all your data because there is no going back!', 'pretty-link'); ?>');"><?php _e('Delete All Hits', 'pretty-link'); ?></a>
|
122 |
+
<br/><span class="description"><?php _e('Seriously, only click this link if you want to delete all the Hit data in your database.', 'pretty-link'); ?></span></p>
|
123 |
|
124 |
</form>
|
125 |
</div>
|
classes/views/prli-options/pro-settings.php
CHANGED
@@ -6,17 +6,17 @@ if(!defined('ABSPATH'))
|
|
6 |
<div class="wrap">
|
7 |
<?php echo PrliAppHelper::page_title(__('Pro Account Information', 'pretty-link')); ?>
|
8 |
<?php $this_uri = preg_replace('#&.*?$#', '', str_replace( '%7E', '~', $_SERVER['REQUEST_URI'])); ?>
|
9 |
-
<h3
|
10 |
<?php if($prli_update->pro_is_installed_and_authorized()) { ?>
|
11 |
-
<p><a href="http://prettylinkpro.com/user-manual"
|
12 |
<?php } ?>
|
13 |
<?php echo $prli_update->pro_cred_form(); ?>
|
14 |
<?php if($prli_update->pro_is_installed_and_authorized()) { ?>
|
15 |
-
<div><p><strong
|
16 |
|
17 |
<?php } else { ?>
|
18 |
-
<p><strong
|
19 |
-
<a href="http://prettylinkpro.com"
|
20 |
<?php } ?>
|
21 |
|
22 |
-
</div>
|
6 |
<div class="wrap">
|
7 |
<?php echo PrliAppHelper::page_title(__('Pro Account Information', 'pretty-link')); ?>
|
8 |
<?php $this_uri = preg_replace('#&.*?$#', '', str_replace( '%7E', '~', $_SERVER['REQUEST_URI'])); ?>
|
9 |
+
<h3><?php _e('Pretty Link Pro Account Information', 'pretty-link'); ?></h3>
|
10 |
<?php if($prli_update->pro_is_installed_and_authorized()) { ?>
|
11 |
+
<p><a href="http://prettylinkpro.com/user-manual"><?php _e('User Manual', 'pretty-link'); ?></a></p>
|
12 |
<?php } ?>
|
13 |
<?php echo $prli_update->pro_cred_form(); ?>
|
14 |
<?php if($prli_update->pro_is_installed_and_authorized()) { ?>
|
15 |
+
<div><p><strong><?php _e('Pretty Link Pro is Installed', 'pretty-link'); ?></strong></p><p><a href="<?php echo $this_uri; ?>&action=pro-uninstall" onclick="return confirm('<?php _e('Are you sure you want to Un-Install Pretty Link Pro? This will delete your pro username & password from your local database, remove all the pro software but will leave all your data intact incase you want to reinstall sometime :) ...', 'pretty-link'); ?>');" title="<?php _e('Downgrade to Pretty Link Standard', 'pretty-link'); ?>" ><?php _e('Downgrade to Pretty Link Standard', 'pretty-link'); ?></a></p><br/><p><strong><?php _e('Edit/Update Your Profile:', 'pretty-link'); ?></strong><br/><span class="description"><?php _e('Use your account username and password to log in to your Account and Affiliate Control Panel', 'pretty-link'); ?></span></p><p><a href="http://prettylinkpro.com/amember/member.php"><?php _e('Account', 'pretty-link'); ?></a> | <a href="http://prettylinkpro.com/amember/aff_member.php"><?php _e('Affiliate Control Panel', 'pretty-link'); ?></a></div>
|
16 |
|
17 |
<?php } else { ?>
|
18 |
+
<p><strong><?php _e('Ready to take your marketing efforts to the next level?', 'pretty-link'); ?></strong><br/>
|
19 |
+
<a href="http://prettylinkpro.com"><?php _e('Pretty Link Pro', 'pretty-link'); ?></a> <?php _e('will help you automate, share, test and get more clicks and conversions from your Pretty Links!', 'pretty-link'); ?><br/><br/><a href="http://prettylinkpro.com"><?php _e('Learn More', 'pretty-link'); ?> »</a></p>
|
20 |
<?php } ?>
|
21 |
|
22 |
+
</div>
|
classes/views/prli-tools/bookmarklet.php
CHANGED
@@ -60,7 +60,7 @@ $twitter_status = esc_html( $twitter_status );
|
|
60 |
<p><a href="http://prettylinkpro.com"><img src="<?php echo PRLI_IMAGES_URL; ?>/prettylink_logo.jpg" /></a></p>
|
61 |
<h4><em><?php _e('here\'s your pretty link for:', 'pretty-link'); ?></em><br/><?php echo $target_url_title; ?><br/>(<span title="<?php echo $target_url; ?>"><?php echo substr($target_url,0,50) . ((strlen($target_url)>50)?"...":''); ?></span>)</h4>
|
62 |
<h2><a href="<?php echo $pretty_link_raw; ?>"><?php echo $pretty_link; ?></a><br/><span class="clippy"><?php echo $pretty_link_raw; ?></span></h2>
|
63 |
-
<p
|
64 |
<a href="http://www.delicious.com/save" onclick="window.open('http://www.delicious.com/save?v=5&noui&jump=close&url=<?php echo urlencode($pretty_link_raw); ?>&title=<?php echo urlencode($target_url_title); ?>', 'delicious','toolbar=no,width=550,height=550'); return false;"><img src="<?php echo PRLI_IMAGES_URL; ?>/delicious_32.png" title="delicious" width="32px" height="32px" border="0" /></a>
|
65 |
<!-- Place this tag where you want the su badge to render -->
|
66 |
<su:badge layout="6"></su:badge>
|
60 |
<p><a href="http://prettylinkpro.com"><img src="<?php echo PRLI_IMAGES_URL; ?>/prettylink_logo.jpg" /></a></p>
|
61 |
<h4><em><?php _e('here\'s your pretty link for:', 'pretty-link'); ?></em><br/><?php echo $target_url_title; ?><br/>(<span title="<?php echo $target_url; ?>"><?php echo substr($target_url,0,50) . ((strlen($target_url)>50)?"...":''); ?></span>)</h4>
|
62 |
<h2><a href="<?php echo $pretty_link_raw; ?>"><?php echo $pretty_link; ?></a><br/><span class="clippy"><?php echo $pretty_link_raw; ?></span></h2>
|
63 |
+
<p><?php _e('send this link to:', 'pretty-link'); ?><br/>
|
64 |
<a href="http://www.delicious.com/save" onclick="window.open('http://www.delicious.com/save?v=5&noui&jump=close&url=<?php echo urlencode($pretty_link_raw); ?>&title=<?php echo urlencode($target_url_title); ?>', 'delicious','toolbar=no,width=550,height=550'); return false;"><img src="<?php echo PRLI_IMAGES_URL; ?>/delicious_32.png" title="delicious" width="32px" height="32px" border="0" /></a>
|
65 |
<!-- Place this tag where you want the su badge to render -->
|
66 |
<su:badge layout="6"></su:badge>
|
classes/views/prli-tools/form.php
CHANGED
@@ -16,18 +16,18 @@ function toggle_iphone_instructions()
|
|
16 |
?>
|
17 |
<?php echo PrliAppHelper::page_title(__('Tools', 'pretty-link')); ?>
|
18 |
<h3><?php _e('Bookmarklet:', 'pretty-link'); ?></h3>
|
19 |
-
<p><strong><a href="<?php echo PrliLink::bookmarklet_link(); ?>"
|
20 |
<span class="description"><?php _e('Just drag this "Get PrettyLink" link to your toolbar to install the bookmarklet. As you browse the web, you can just click this bookmarklet to create a pretty link from the current url you\'re looking at. <a href="http://blairwilliams.com/pretty-link-bookmarklet/">(more help)</a>', 'pretty-link'); ?></span>
|
21 |
<br/><br/><a href="javascript:toggle_iphone_instructions()"><strong><?php _e('Show iPhone Bookmarklet Instructions', 'pretty-link'); ?></strong></a>
|
22 |
<div class="iphone_instructions" style="display: none"><?php _e('<strong>Note:</strong> iPhone users can install this bookmarklet in their Safari to create Pretty Links with the following steps:', 'pretty-link'); ?><br/>
|
23 |
<ol>
|
24 |
-
<li
|
25 |
-
<li
|
26 |
-
<li
|
27 |
-
<li
|
28 |
-
<li
|
29 |
-
<li
|
30 |
-
<li
|
31 |
</ol>
|
32 |
</div>
|
33 |
<?php do_action('prli-add-tools'); ?>
|
16 |
?>
|
17 |
<?php echo PrliAppHelper::page_title(__('Tools', 'pretty-link')); ?>
|
18 |
<h3><?php _e('Bookmarklet:', 'pretty-link'); ?></h3>
|
19 |
+
<p><strong><a href="<?php echo PrliLink::bookmarklet_link(); ?>"><?php _e('Get PrettyLink', 'pretty-link'); ?></a></strong><br/>
|
20 |
<span class="description"><?php _e('Just drag this "Get PrettyLink" link to your toolbar to install the bookmarklet. As you browse the web, you can just click this bookmarklet to create a pretty link from the current url you\'re looking at. <a href="http://blairwilliams.com/pretty-link-bookmarklet/">(more help)</a>', 'pretty-link'); ?></span>
|
21 |
<br/><br/><a href="javascript:toggle_iphone_instructions()"><strong><?php _e('Show iPhone Bookmarklet Instructions', 'pretty-link'); ?></strong></a>
|
22 |
<div class="iphone_instructions" style="display: none"><?php _e('<strong>Note:</strong> iPhone users can install this bookmarklet in their Safari to create Pretty Links with the following steps:', 'pretty-link'); ?><br/>
|
23 |
<ol>
|
24 |
+
<li><?php _e('Copy this text:', 'pretty-link'); ?><br/><code><?php echo PrliLink::bookmarklet_link(); ?></code></li>
|
25 |
+
<li><?php _e('Tap the + button at the bottom of the screen', 'pretty-link'); ?></li>
|
26 |
+
<li><?php _e('Choose "Add Bookmark", rename your bookmark to "Get PrettyLink" (or whatever you want) and then "Save"', 'pretty-link'); ?></li>
|
27 |
+
<li><?php _e('Navigate through your Bookmarks folders until you find the new bookmark and click "Edit"', 'pretty-link'); ?></li>
|
28 |
+
<li><?php _e('Delete all the text from the address', 'pretty-link'); ?></li>
|
29 |
+
<li><?php _e('Paste the text you copied in Step 1 into the address field', 'pretty-link'); ?></li>
|
30 |
+
<li><?php _e('To save the changes hit "Bookmarks" and <strong>you\'re done!', 'pretty-link'); ?></strong> <?php _e('Now when you find a page you want to save off as a Pretty Link, just click the "Bookmarks" icon at the bottom of the screen and select your link.', 'pretty-link'); ?></li>
|
31 |
</ol>
|
32 |
</div>
|
33 |
<?php do_action('prli-add-tools'); ?>
|
classes/views/shared/errors.php
CHANGED
@@ -9,11 +9,11 @@
|
|
9 |
foreach( $errors as $error )
|
10 |
{
|
11 |
?>
|
12 |
-
<li><strong
|
13 |
<?php
|
14 |
}
|
15 |
?>
|
16 |
</ul>
|
17 |
</div>
|
18 |
<?php
|
19 |
-
}
|
9 |
foreach( $errors as $error )
|
10 |
{
|
11 |
?>
|
12 |
+
<li><strong><?php _e('ERROR', 'pretty-link'); ?></strong>: <?php echo esc_html($error); ?></li>
|
13 |
<?php
|
14 |
}
|
15 |
?>
|
16 |
</ul>
|
17 |
</div>
|
18 |
<?php
|
19 |
+
}
|
classes/views/shared/link-table-nav.php
CHANGED
@@ -7,7 +7,7 @@ if(!defined('ABSPATH'))
|
|
7 |
{
|
8 |
?>
|
9 |
<div class="tablenav"<?php echo (isset($navstyle)?" style=\"$navstyle\"":''); ?>>
|
10 |
-
<div class='tablenav-pages'><span class="displaying-num"
|
11 |
|
12 |
<?php
|
13 |
// Only show the prev page button if the current page is not the first page
|
@@ -107,7 +107,7 @@ if(!defined('ABSPATH'))
|
|
107 |
?>
|
108 |
<div class="tablenav"<?php echo (isset($navstyle)?" style=\"$navstyle\"":''); ?>>
|
109 |
<div class='tablenav-pages'>
|
110 |
-
<span class="displaying-num"
|
111 |
<select class="prli-page-size" onchange="location='<?php echo admin_url("admin.php?page=" . esc_html($_REQUEST['page'].$page_params) . "&paged=1&size='+this.options[this.selectedIndex].value"); ?>">
|
112 |
<option value="10" selected="selected">10</option>
|
113 |
<option value="25" <?php if(isset($_REQUEST['size']) and $_REQUEST['size'] == 25) echo 'selected="selected"'; ?>>25</option>
|
7 |
{
|
8 |
?>
|
9 |
<div class="tablenav"<?php echo (isset($navstyle)?" style=\"$navstyle\"":''); ?>>
|
10 |
+
<div class='tablenav-pages'><span class="displaying-num"><?php _e('Displaying', 'pretty-link'); echo "$page_first_record–$page_last_record of $record_count"; ?></span>
|
11 |
|
12 |
<?php
|
13 |
// Only show the prev page button if the current page is not the first page
|
107 |
?>
|
108 |
<div class="tablenav"<?php echo (isset($navstyle)?" style=\"$navstyle\"":''); ?>>
|
109 |
<div class='tablenav-pages'>
|
110 |
+
<span class="displaying-num"><?php _e('Displaying', 'pretty-link'); echo "$page_first_record–$page_last_record of $record_count"; ?></span>
|
111 |
<select class="prli-page-size" onchange="location='<?php echo admin_url("admin.php?page=" . esc_html($_REQUEST['page'].$page_params) . "&paged=1&size='+this.options[this.selectedIndex].value"); ?>">
|
112 |
<option value="10" selected="selected">10</option>
|
113 |
<option value="25" <?php if(isset($_REQUEST['size']) and $_REQUEST['size'] == 25) echo 'selected="selected"'; ?>>25</option>
|
classes/views/shared/nav.php
CHANGED
@@ -9,4 +9,4 @@ if(!defined('ABSPATH'))
|
|
9 |
else
|
10 |
$support_link = " | <a href=\"http://prettylinkpro.com\">" . __('Upgrade to Pro', 'pretty-link') . '</a>';
|
11 |
?>
|
12 |
-
<p style="font-size: 14px; font-weight: bold; float: right; text-align: right; padding-top: 0px; padding-right: 10px;"><?php _e('Connect', 'pretty-link'); ?>: <a href="http://twitter.com/blairwilli"><img src="<?php echo PRLI_IMAGES_URL; ?>/twitter_32.png" style="width: 24px; height: 24px;" /></a> <a href="http://www.facebook.com/pages/Pretty-Link/283252860401"><img src="<?php echo PRLI_IMAGES_URL; ?>/facebook_32.png" style="width: 24px; height: 24px;" /></a><br/><?php _e('Get Help', 'pretty-link'); ?>: <a href="http://blairwilliams.com/xba" target="_blank"><?php _e('Tutorials', 'pretty-link'); ?></a><?php echo $support_link; ?> | <a href="http://blairwilliams.com/work"><?php _e('One on One', 'pretty-link'); ?></a></p>
|
9 |
else
|
10 |
$support_link = " | <a href=\"http://prettylinkpro.com\">" . __('Upgrade to Pro', 'pretty-link') . '</a>';
|
11 |
?>
|
12 |
+
<p style="font-size: 14px; font-weight: bold; float: right; text-align: right; padding-top: 0px; padding-right: 10px;"><?php _e('Connect', 'pretty-link'); ?>: <a href="http://twitter.com/blairwilli"><img src="<?php echo PRLI_IMAGES_URL; ?>/twitter_32.png" style="width: 24px; height: 24px;" /></a> <a href="http://www.facebook.com/pages/Pretty-Link/283252860401"><img src="<?php echo PRLI_IMAGES_URL; ?>/facebook_32.png" style="width: 24px; height: 24px;" /></a><br/><?php _e('Get Help', 'pretty-link'); ?>: <a href="http://blairwilliams.com/xba" target="_blank"><?php _e('Tutorials', 'pretty-link'); ?></a><?php echo $support_link; ?> | <a href="http://blairwilliams.com/work"><?php _e('One on One', 'pretty-link'); ?></a></p>
|
classes/views/shared/table-nav.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
{
|
6 |
?>
|
7 |
<div class="tablenav"<?php echo (isset($navstyle)?" style=\"" . esc_html($navstyle) . "\"":''); ?>>
|
8 |
-
<div class='tablenav-pages'><span class="displaying-num"
|
9 |
|
10 |
<?php
|
11 |
// Only show the prev page button if the current page is not the first page
|
5 |
{
|
6 |
?>
|
7 |
<div class="tablenav"<?php echo (isset($navstyle)?" style=\"" . esc_html($navstyle) . "\"":''); ?>>
|
8 |
+
<div class='tablenav-pages'><span class="displaying-num"><?php _e('Displaying', 'pretty-link'); echo esc_html("$page_first_record–$page_last_record of $record_count"); ?></span>
|
9 |
|
10 |
<?php
|
11 |
// Only show the prev page button if the current page is not the first page
|
classes/views/shared/title_text.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
<?php if(!defined('ABSPATH')) { die('You are not allowed to call this page directly.'); } ?>
|
2 |
-
<h2 id="prli_title" style="margin: 10px 0px 0px 0px; padding: 0px 0px 0px 169px; height: 64px; background: url(<?php echo PRLI_IMAGES_URL; ?>/prettylink_logo_64.jpg) no-repeat"> <?php echo esc_html($page_title); ?></h2>
|
1 |
<?php if(!defined('ABSPATH')) { die('You are not allowed to call this page directly.'); } ?>
|
2 |
+
<h2 id="prli_title" style="margin: 10px 0px 0px 0px; padding: 0px 0px 0px 169px; height: 64px; background: url(<?php echo PRLI_IMAGES_URL; ?>/prettylink_logo_64.jpg) no-repeat"> <?php echo esc_html($page_title); ?></h2>
|
i18n/pretty-link.pot
CHANGED
@@ -1,59 +1,83 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Pretty Link Lite package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Pretty Link Lite 1.6.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/pretty-link\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#:
|
16 |
msgid ""
|
17 |
-
"
|
|
|
18 |
msgstr ""
|
19 |
|
20 |
-
#:
|
21 |
-
msgid "
|
22 |
msgstr ""
|
23 |
|
24 |
-
#:
|
25 |
-
msgid "
|
26 |
msgstr ""
|
27 |
|
28 |
-
#:
|
29 |
-
msgid "
|
30 |
msgstr ""
|
31 |
|
32 |
-
#:
|
33 |
-
msgid "
|
34 |
msgstr ""
|
35 |
|
36 |
-
#:
|
37 |
-
msgid "
|
38 |
msgstr ""
|
39 |
|
40 |
-
#:
|
41 |
-
msgid "
|
42 |
msgstr ""
|
43 |
|
44 |
-
#:
|
45 |
-
|
|
|
46 |
msgstr ""
|
47 |
|
48 |
-
#:
|
49 |
-
msgid "
|
50 |
msgstr ""
|
51 |
|
52 |
-
#:
|
53 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
msgstr ""
|
55 |
|
56 |
#: classes/helpers/PrliLinksHelper.php:14 classes/views/prli-links/form.php:44
|
|
|
|
|
|
|
|
|
|
|
57 |
msgid "None"
|
58 |
msgstr ""
|
59 |
|
@@ -70,10 +94,14 @@ msgid "Bulk Actions"
|
|
70 |
msgstr ""
|
71 |
|
72 |
#: classes/helpers/PrliLinksHelper.php:50
|
|
|
|
|
73 |
msgid "Edit"
|
74 |
msgstr ""
|
75 |
|
76 |
#: classes/helpers/PrliLinksHelper.php:51
|
|
|
|
|
77 |
msgid "Delete"
|
78 |
msgstr ""
|
79 |
|
@@ -98,226 +126,326 @@ msgstr ""
|
|
98 |
msgid "On"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: classes/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
msgid ""
|
103 |
-
"
|
104 |
-
"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: classes/
|
108 |
-
msgid "
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: classes/
|
112 |
-
msgid "
|
|
|
|
|
|
|
|
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: classes/
|
116 |
-
|
117 |
-
|
|
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: classes/
|
121 |
-
msgid "
|
|
|
|
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: classes/
|
125 |
-
msgid "
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: classes/
|
129 |
-
|
130 |
-
msgid "You are unauthorized to view this page."
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: classes/
|
134 |
-
msgid "Your Pretty Link was
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: classes/
|
138 |
-
msgid "
|
|
|
|
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: classes/
|
142 |
-
msgid "
|
|
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: classes/
|
146 |
-
|
|
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: classes/
|
150 |
-
|
|
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: classes/
|
154 |
-
msgid "
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: classes/
|
158 |
-
|
|
|
|
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: classes/views/prli-
|
162 |
-
#: pro/classes/views/
|
163 |
-
msgid "
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: classes/views/prli-
|
167 |
-
msgid "
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: classes/views/prli-
|
171 |
-
msgid "
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: classes/views/prli-
|
175 |
-
msgid "
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: classes/views/prli-
|
179 |
-
msgid "
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: classes/views/prli-
|
183 |
-
|
|
|
|
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: classes/views/prli-
|
187 |
-
msgid "
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: classes/views/prli-
|
191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: classes/views/prli-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
|
|
|
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: classes/views/prli-
|
202 |
-
|
|
|
|
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: classes/views/prli-
|
206 |
-
|
207 |
-
|
208 |
-
"stats and reports. <code>IMPORTANT: Any robot hits recorded with any version "
|
209 |
-
"of Pretty Link before 1.4.22 won't be filtered by this setting.</code>"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: classes/views/prli-
|
213 |
-
|
|
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: classes/views/prli-
|
217 |
-
|
218 |
-
|
219 |
-
"and Stats even if they are flagged as robots. Each IP Address should be "
|
220 |
-
"separated by commas. Example: <code>192.168.0.1, 192.168.2.1, 192.168.3.4 or "
|
221 |
-
"192.168.*.*</code>"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: classes/views/prli-
|
225 |
-
|
|
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: classes/views/prli-
|
229 |
-
|
230 |
-
|
231 |
-
"statistics."
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: classes/views/prli-
|
235 |
-
|
|
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: classes/views/prli-
|
239 |
-
|
|
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: classes/views/prli-
|
243 |
-
|
|
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: classes/views/prli-
|
247 |
-
msgid "
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: classes/views/prli-
|
251 |
-
msgid "
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: classes/views/prli-
|
255 |
-
msgid "
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: classes/views/prli-
|
259 |
-
msgid "
|
|
|
|
|
|
|
|
|
260 |
msgstr ""
|
261 |
|
262 |
#: classes/views/prli-groups/edit.php:7
|
263 |
msgid "Edit Group"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: classes/views/prli-
|
267 |
-
|
|
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: classes/views/prli-
|
271 |
-
msgid "
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: classes/views/prli-
|
275 |
-
msgid "
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: classes/views/prli-
|
279 |
-
msgid "
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: classes/views/prli-
|
283 |
-
msgid "
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: classes/views/prli-
|
287 |
-
#:
|
288 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: classes/views/prli-
|
292 |
-
msgid "
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: classes/views/prli-
|
296 |
-
msgid "
|
|
|
|
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: classes/views/prli-
|
300 |
-
msgid "
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: classes/views/prli-
|
304 |
-
msgid "
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: classes/views/prli-
|
308 |
-
|
|
|
|
|
|
|
|
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: classes/views/prli-
|
312 |
-
|
|
|
|
|
|
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: classes/views/prli-
|
316 |
-
msgid "
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: classes/views/prli-
|
320 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
msgstr ""
|
322 |
|
323 |
#: classes/views/prli-links/form.php:5
|
@@ -342,7 +470,26 @@ msgstr ""
|
|
342 |
msgid "Title:"
|
343 |
msgstr ""
|
344 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
#: classes/views/prli-links/form.php:54
|
|
|
|
|
346 |
msgid "Add a New Group"
|
347 |
msgstr ""
|
348 |
|
@@ -417,400 +564,1793 @@ msgid ""
|
|
417 |
"links using Google Analytics until one is."
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: classes/views/prli-links/form.php:
|
421 |
msgid ""
|
422 |
"To enable Double Redirection, Keyword Replacements, URL Replacements, URL "
|
423 |
"Rotations, Split Tests, and more, %sUpgrade to Pretty Link Pro%s today!"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: classes/views/prli-links/
|
427 |
-
msgid "
|
|
|
|
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: classes/views/prli-
|
431 |
-
msgid "
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: classes/views/prli-
|
435 |
-
msgid "
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: classes/views/prli-
|
439 |
-
msgid "
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: classes/views/prli-
|
443 |
-
msgid ""
|
444 |
-
|
445 |
-
|
446 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
447 |
"\"http://blairwilliams.com/pretty-link-bookmarklet/\">(more help)</a>"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: classes/views/prli-tools/form.php:21
|
451 |
-
msgid "Show iPhone Bookmarklet Instructions"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|