0) ? $value : 0;
}
function ppl_display_available_tags($plugin_name) {
?>
{author}
{authorurl}
{categoryid}
{categorylinks}
{categorynames}
{commentcount}
{custom}
{date}
{dateedited}
{excerpt}
{fullpost}
{gravatar}
{if}
{image}
{imagealt}
{imagesrc}
{link}
{php}
{postid}
{postviews}
{score}
{snippet}
{tags}
{taglinks}
{title}
{time}
{timeedited}
{totalpages}
{totalposts}
{url}
{commentexcerpt}
{commentsnippet}
{commentdate}
{commenttime}
{commentdategmt}
{commenttimegmt}
{commenter}
{commenterip}
{commenterurl}
{commenterlink}
{commenturl}
{commentpopupurl}
{commentlink}
{commentlink2}
' . __('The plugin and all its settings have been completely removed', 'post_plugin_library') . '
';
exit;
}
}
?>
value="false">No
value="true">Yes
value="false">No
value="true">Yes
value="false">No
value="true">Yes
value="false">No
value="true">Yes
value="false">No pages, just posts
value="true">Both pages and posts
value="but">Pages but no posts
value="false">No
value="true">Yes
value="false">No
value="true">Yes
value="false">No
value="true">Yes
>
value="false">No
value="any">Any tag
value="all">Every tag
value="false">No
value="true">Yes
(a,b matches posts with either tag, a+b only matches posts with both tags)', 'post_plugin_library') ?>
size="40" />
Published
>
value="false">No
value="true">Yes
Private
>
value="false">No
value="true">Yes
Draft
>
value="false">No
value="true">Yes
Future
>
value="false">No
value="true">Yes
value="false">No
value="true">Yes
(via special tags)', 'post_plugin_library') ?>
Activate
value="false">No
value="true">Yes
leave blank for default order', 'post_plugin_library') ?>
get_col( "
SELECT meta_key
FROM $wpdb->postmeta
WHERE meta_key NOT LIKE '\_%'
GROUP BY meta_key
ORDER BY meta_id DESC
LIMIT $limit" );
$metaselect = "\n\t ";
if ( $keys ) {
natcasesort($keys);
foreach ( $keys as $key ) {
$key = attribute_escape( $key );
if ($options['orderby'] == $key) {
$metaselect .= "\n\t$key ";
} else {
$metaselect .= "\n\t$key ";
}
}
$metaselect .= " ";
}
?>
Field Order Case
value="ASC">ascending
value="DESC">descending
value="false">case-sensitive
value="true">case-insensitive
value="num">numeric
value="false">No
value="true">Yes
value="all">All kinds of comment
value="comments">Just plain comments
value="trackbacks">Just trackbacks and pingbacks
value="post">By Post
value="none">Ungrouped
value="author">By Commenter
(overrides the sort criteria above)
value="false">No
value="true">Yes
' . $plugin_data['Name'] . '';
} else {
$plugin_data['Title'] = $name;
}
}
}
return $plugin_data;
}
function ppl_admin_footer($plugin_file, $donate_key='') {
$plugin_data = ppl_get_plugin_data($plugin_file);
$output = array();
$output[] = $plugin_data['Title'] . ' plugin';
$output[] = 'Version ' . $plugin_data['Version'];
$output[] = 'by ' . $plugin_data['Author'];
if ($donate_key) {
$donate_url = 'http://rmarsh.com/donate/' . $donate_key . '/';
// random shades of red, orange and yellow to attract attention -- subtly I hope
$colour = '#ff' . dechex(mt_rand(0, 255)) . '00';
$output[] = 'All donations welcomed! ';
}
echo implode(' | ', $output) . ' ';
}
?>