Muchos cambios. Adaptación a la propuesta.

git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@27 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
David Arranz 2011-08-09 17:20:41 +00:00
parent 3c9ce5ea5a
commit f6bca8dd5a
114 changed files with 3738 additions and 150 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

12
src/.htaccess Normal file
View File

@ -0,0 +1,12 @@
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /lqdvi/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /lqdvi/index.php [L]
</IfModule>
# END WordPress

View File

@ -80,7 +80,7 @@ function GetPixelAndSave($fileName, $pixels, $width, $height)
imagedestroy($im);
$fh = fopen($fileName, "a+" );
fwrite( $fh, $contents );
fwrite( $fh, $contents );
fclose( $fh );
//$fh = fopen("images/cap-test.jpg", "w" );

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,562 @@
<?php
// Added by WarmStal
if(!is_admin())
return;
/*
* This function calls the creation of a new copy of the selected post (as a draft)
* then redirects to the edit post screen
*/
function duplicate_post_save_as_new_post(){
if (! ( isset( $_GET['post']) || isset( $_POST['post']) || ( isset($_REQUEST['action']) && 'duplicate_post_save_as_new_post' == $_REQUEST['action'] ) ) ) {
wp_die(__('No post to duplicate has been supplied!', DUPLICATE_POST_I18N_DOMAIN));
}
// Get the original post
$id = (isset($_GET['post']) ? $_GET['post'] : $_POST['post']);
$post = duplicate_post_get_post($id);
// Copy the post and insert it
if (isset($post) && $post!=null) {
$new_id = duplicate_post_create_duplicate_from_post($post);
// If you have written a plugin which uses non-WP database tables to save
// information about a post you can hook this action to dupe that data.
do_action( 'dp_duplicate_post', $new_id, $post );
// Redirect to the edit screen for the new draft post
wp_redirect( admin_url( 'post.php?action=edit&post=' . $new_id ) );
exit;
} else {
wp_die(__('Post creation failed, could not find original post:', DUPLICATE_POST_I18N_DOMAIN) . ' ' . $id);
}
}
/*
* Same as above, for pages
*/
function duplicate_post_save_as_new_page(){
if (! ( isset( $_GET['post']) || isset( $_POST['post']) || ( isset($_REQUEST['action']) && 'duplicate_post_save_as_new_page' == $_REQUEST['action'] ) ) ) {
wp_die(__('No page to duplicate has been supplied!', DUPLICATE_POST_I18N_DOMAIN));
}
// Get the original page
$id = (isset($_GET['post']) ? $_GET['post'] : $_POST['post']);
$post = duplicate_post_get_page($id);
// Copy the page and insert it
if (isset($post) && $post!=null) {
$new_id = duplicate_post_create_duplicate_from_page($post);
// If you have written a plugin which uses non-WP database tables to save
// information about a page you can hook this action to dupe that data.
do_action( 'dp_duplicate_page', $new_id, $post );
// Redirect to the edit screen for the new draft page
wp_redirect( admin_url( 'post.php?action=edit&post=' . $new_id ) );
exit;
} else {
wp_die(__('Post creation failed, could not find original post:', DUPLICATE_POST_I18N_DOMAIN) . ' ' . $id);
}
}
// Version of the plugin
define('DUPLICATE_POST_CURRENT_VERSION', '1.1' );
define('DUPLICATE_POST_COLUMN', 'control_duplicate_post');
// i18n plugin domain
define('DUPLICATE_POST_I18N_DOMAIN', 'duplicate-post');
/**
* Initialise the internationalisation domain
*/
load_plugin_textdomain(DUPLICATE_POST_I18N_DOMAIN,
'wp-content/plugins/duplicate-post/languages','duplicate-post/languages');
/**
* Plugin activation
*/
add_action('activate_duplicate-post/duplicate-post.php','duplicate_post_plugin_activation');
function duplicate_post_plugin_activation() {
$installed_version = duplicate_post_get_installed_version();
if ( $installed_version==duplicate_post_get_current_version() ) {
// do nothing
} else {
// delete old, obsolete options
delete_option('duplicate_post_admin_user_level');
delete_option('duplicate_post_create_user_level');
delete_option('duplicate_post_view_user_level');
// Add all options, nothing already installed
add_option(
'duplicate_post_copy_user_level',
'5',
'Default user level to copy posts' );
}
// Update version number
update_option( 'duplicate_post_version', duplicate_post_get_current_version() );
}
/**
* Check if WP version < 2.8: if so, post_row_actions does not exist, so we must add a custom column (the old way)
*/
global $wp_version;
if (strncmp($wp_version, "2.7",3) == 0 ){
add_filter('manage_posts_columns', 'duplicate_post_add_duplicate_post_column');
// Added by WarmStal
add_filter('manage_pages_columns', 'duplicate_post_add_duplicate_post_column');
add_action('manage_posts_custom_column', 'duplicate_post_make_duplicate_link', 10, 2);
// Added by WarmStal
add_action('manage_pages_custom_column', 'duplicate_page_make_duplicate_link', 10, 2);
} else {
/**
* Add to the links shown when the mouse gets over a post title in 'Edit Posts' or 'Edit Pages' screen
*/
add_filter('post_row_actions', 'duplicate_post_make_duplicate_link_row',10,2);
add_filter('page_row_actions', 'duplicate_page_make_duplicate_link_row',10,2);
}
/**
* WP version < 2.8: add a custom column
*/
function duplicate_post_add_duplicate_post_column($columns) {
if (duplicate_post_is_current_user_allowed_to_copy()) {
$columns[DUPLICATE_POST_COLUMN] = '';
}
return $columns;
}
/**
* WP version < 2.8: add link to custom column for posts
*/
function duplicate_post_make_duplicate_link($column_name, $id) {
if (duplicate_post_is_current_user_allowed_to_copy()) {
if ($column_name == DUPLICATE_POST_COLUMN) {
echo "<a href='admin.php?action=duplicate_post_save_as_new_post&amp;post=" . $id
. "' title='" . __("Make a duplicate from this post", DUPLICATE_POST_I18N_DOMAIN)
. "' class='edit'>" . __("Duplicate", DUPLICATE_POST_I18N_DOMAIN) . "</a>";
}
}
}
/**
* WP version < 2.8: add link to custom column for pages
*/
// Added by WarmStal
function duplicate_page_make_duplicate_link($column_name, $id) {
if (duplicate_post_is_current_user_allowed_to_copy()) {
if ($column_name == DUPLICATE_POST_COLUMN) {
echo "<a href='admin.php?action=duplicate_post_save_as_new_page&amp;post=" . $id
. "' title='" . __("Make a duplicate from this page", DUPLICATE_POST_I18N_DOMAIN)
. "' class='edit'>" . __("Duplicate", DUPLICATE_POST_I18N_DOMAIN) . "</a>";
}
}
}
/**
* Connect actions to functions
*/
add_action('admin_action_duplicate_post_save_as_new_post', 'duplicate_post_save_as_new_post');
add_action('admin_action_duplicate_post_save_as_new_page', 'duplicate_post_save_as_new_page');
/**
* Add the link to action list for post_row_actions
*/
function duplicate_post_make_duplicate_link_row($actions, $post) {
if (duplicate_post_is_current_user_allowed_to_copy()) {
$actions['duplicate'] = '<a href="admin.php?action=duplicate_post_save_as_new_post&amp;post=' . $post->ID . '" title="' . __("Make a duplicate from this post", DUPLICATE_POST_I18N_DOMAIN)
. '" rel="permalink">' . __("Duplicate", DUPLICATE_POST_I18N_DOMAIN) . '</a>';
}
return $actions;
}
/**
* Add the link to action list for page_row_actions
*/
function duplicate_page_make_duplicate_link_row($actions, $page) {
if (duplicate_post_is_current_user_allowed_to_copy()) {
$actions['duplicate'] = '<a href="admin.php?action=duplicate_post_save_as_new_page&amp;post=' . $page->ID . '" title="' . __("Make a duplicate from this page", DUPLICATE_POST_I18N_DOMAIN)
. '" rel="permalink">' . __("Duplicate", DUPLICATE_POST_I18N_DOMAIN) . '</a>';
}
return $actions;
}
/**
* Add a button in the post/page edit screen to create a clone
*/
add_action( 'post_submitbox_start', 'duplicate_post_add_duplicate_post_button' );
function duplicate_post_add_duplicate_post_button() {
if ( isset( $_GET['post'] ) && duplicate_post_is_current_user_allowed_to_copy()) {
$act = "admin.php?action=duplicate_post_save_as_new_post";
global $post;
if ($post->post_type == "page") $act = "admin.php?action=duplicate_post_save_as_new_page";
$notifyUrl = $act."&post=" . $_GET['post'];
?>
<div id="duplicate-action"><a class="submitduplicate duplication"
href="<?php echo $notifyUrl; ?>"><?php _e('Copy to a new draft', DUPLICATE_POST_I18N_DOMAIN); ?></a>
</div>
<?php
}
}
/**
* Wrapper for the option 'duplicate_post_create_user_level'
*/
function duplicate_post_get_copy_user_level() {
return get_option( 'duplicate_post_copy_user_level' );
}
/**
* Wrapper for the option 'duplicate_post_create_user_level'
*/
function duplicate_post_set_copy_user_level($new_level) {
return update_option( 'duplicate_post_copy_user_level', $new_level );
}
/**
* Wrapper for the option 'duplicate_post_version'
*/
function duplicate_post_get_installed_version() {
return get_option( 'duplicate_post_version' );
}
/**
* Wrapper for the defined constant DUPLICATE_POST_CURRENT_VERSION
*/
function duplicate_post_get_current_version() {
return DUPLICATE_POST_CURRENT_VERSION;
}
/**
* Test if the user is allowed to create templates
*/
function duplicate_post_is_current_user_allowed_to_copy() {
return current_user_can("level_" . duplicate_post_get_copy_user_level());
}
/**
* Get a level given a role
*/
function duplicate_post_get_level_from_role($role) {
switch ($role) {
case 0: // subscribers 0
return 0;
case 1: // contributors 1
return 1;
case 2: // authors 2..4
return 2;
case 3: // editors 5..7
return 5;
case 4: // administrators 8..10
return 8;
default: // error
return 0;
}
}
/**
* Get a role given a level
*/
function duplicate_post_get_role_from_level($level) {
if ($level<=0) {
// subscribers 0
return 0;
} else if ($level==1) {
// contributors 1
return 1;
} else if ($level>=2 && $level<=4) {
// authors 2..4
return 2;
} else if ($level>=5 && $level<=7) {
// editors 5..7
return 3;
} else if ($level>=8) {
// admins 8..10
return 4;
}
return 0;
}
/**
* Get the currently registered user
*/
function duplicate_post_get_current_user() {
if (function_exists('wp_get_current_user')) {
return wp_get_current_user();
} else if (function_exists('get_currentuserinfo')) {
global $userdata;
get_currentuserinfo();
return $userdata;
} else {
$user_login = $_COOKIE[USER_COOKIE];
$current_user = $wpdb->get_results("SELECT * FROM $wpdb->users WHERE user_login='$user_login'");
return $current_user;
}
}
/**
* Escape single quotes, specialchar double quotes, and fix line endings.
*/
function duplicate_post_js_escape($text) {
if (function_exists('js_escape')) {
return js_escape($text);
} else {
$safe_text = str_replace('&&', '&#038;&', $text);
$safe_text = str_replace('&&', '&#038;&', $safe_text);
$safe_text = preg_replace('/&(?:$|([^#])(?![a-z1-4]{1,8};))/', '&#038;$1', $safe_text);
$safe_text = str_replace('<', '&lt;', $safe_text);
$safe_text = str_replace('>', '&gt;', $safe_text);
$safe_text = str_replace('"', '&quot;', $safe_text);
$safe_text = str_replace('&#039;', "'", $safe_text);
$safe_text = preg_replace("/\r?\n/", "\\n", addslashes($safe_text));
return safe_text;
}
}
/**
* Get a page from the database
*/
function duplicate_post_get_page($id) {
global $wpdb;
$post = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ID=$id");
if ($post->post_type == "revision"){
$id = $post->post_parent;
$post = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ID=$id");
}
return $post[0];
}
/**
* Get a post from the database
*/
function duplicate_post_get_post($id) {
global $wpdb;
$post = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ID=$id");
if ($post->post_type == "revision"){
$id = $post->post_parent;
$post = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE ID=$id");
}
return $post[0];
}
/**
* Copy the taxonomies of a post to another post
*/
function duplicate_post_copy_post_taxonomies($id, $new_id, $post_type) {
global $wpdb;
if (isset($wpdb->terms)) {
// WordPress 2.3
$taxonomies = get_object_taxonomies($post_type); //array("category", "post_tag");
foreach ($taxonomies as $taxonomy) {
$post_terms = wp_get_object_terms($id, $taxonomy);
for ($i=0; $i<count($post_terms); $i++) {
wp_set_object_terms($new_id, $post_terms[$i]->slug, $taxonomy, true);
}
}
}
}
/**
* Copy the meta information of a post to another post
*/
function duplicate_post_copy_post_meta_info($id, $new_id) {
global $wpdb;
$post_meta_infos = $wpdb->get_results("SELECT meta_key, meta_value FROM $wpdb->postmeta WHERE post_id=$id");
if (count($post_meta_infos)!=0) {
$sql_query = "INSERT INTO $wpdb->postmeta (post_id, meta_key, meta_value) ";
$meta_no_copy = explode(",",get_option('duplicate_post_blacklist'));
foreach ($post_meta_infos as $meta_info) {
$meta_key = $meta_info->meta_key;
$meta_value = addslashes($meta_info->meta_value);
if (!in_array($meta_key,$meta_no_copy)) {
$sql_query_sel[]= "SELECT $new_id, '$meta_key', '$meta_value'";
}
}
$sql_query.= implode(" UNION ALL ", $sql_query_sel);
$wpdb->query($sql_query);
}
}
/**
* Create a duplicate from a post
*/
function duplicate_post_create_duplicate_from_post($post) {
global $wpdb;
//$new_post_type = 'post';
$new_post_author = duplicate_post_get_current_user();
$new_post_date = (get_option('duplicate_post_copydate') == 1)? $post->post_date : current_time('mysql');
$new_post_date_gmt = get_gmt_from_date($new_post_date);
$prefix = get_option('duplicate_post_title_prefix');
if (!empty($prefix)) $prefix.= " ";
$new_post_type = $post->post_type;
$post_content = str_replace("'", "''", $post->post_content);
$post_content_filtered = str_replace("'", "''", $post->post_content_filtered);
$post_excerpt = str_replace("'", "''", $post->post_excerpt);
$post_title = $prefix.str_replace("'", "''", $post->post_title);
$post_status = str_replace("'", "''", $post->post_status);
$post_name = str_replace("'", "''", $post->post_name);
$comment_status = str_replace("'", "''", $post->comment_status);
$ping_status = str_replace("'", "''", $post->ping_status);
// Insert the new template in the post table
$wpdb->query(
"INSERT INTO $wpdb->posts
(post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type)
VALUES
('$new_post_author->ID', '$new_post_date', '$new_post_date_gmt', '$post_content', '$post_content_filtered', '$post_title', '$post_excerpt', 'draft', '$new_post_type', '$comment_status', '$ping_status', '$post->post_password', '$post->to_ping', '$post->pinged', '$new_post_date', '$new_post_date_gmt', '$post->post_parent', '$post->menu_order', '$post->post_mime_type')");
$new_post_id = $wpdb->insert_id;
// Copy the taxonomies
duplicate_post_copy_post_taxonomies($post->ID, $new_post_id, $post->post_type);
// Copy the meta information
duplicate_post_copy_post_meta_info($post->ID, $new_post_id);
return $new_post_id;
}
/**
* Create a duplicate from a page
*/
function duplicate_post_create_duplicate_from_page($post) {
global $wpdb;
//$new_post_type = 'page';
$new_post_author = duplicate_post_get_current_user();
$new_post_date = (get_option('duplicate_post_copydate') == 1)? $post->post_date : current_time('mysql');
$new_post_date_gmt = get_gmt_from_date($new_post_date);
$prefix = get_option('duplicate_post_title_prefix');
if (!empty($prefix)) $prefix.= " ";
$new_post_type = $post->post_type;
$post_content = str_replace("'", "''", $post->post_content);
$post_content_filtered = str_replace("'", "''", $post->post_content_filtered);
$post_excerpt = str_replace("'", "''", $post->post_excerpt);
$post_title = $prefix.str_replace("'", "''", $post->post_title);
$post_status = str_replace("'", "''", $post->post_status);
$post_name = str_replace("'", "''", $post->post_name);
$comment_status = str_replace("'", "''", $post->comment_status);
$ping_status = str_replace("'", "''", $post->ping_status);
// Insert the new template in the post table
$wpdb->query(
"INSERT INTO $wpdb->posts
(post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, post_type, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type)
VALUES
('$new_post_author->ID', '$new_post_date', '$new_post_date_gmt', '$post_content', '$post_content_filtered', '$post_title', '$post_excerpt', 'draft', '$new_post_type', '$comment_status', '$ping_status', '$post->post_password', '$post_name', '$post->to_ping', '$post->pinged', '$new_post_date', '$new_post_date_gmt', '$post->post_parent', '$post->menu_order', '$post->post_mime_type')");
$new_page_id = $wpdb->insert_id;
// Copy the taxonomies
duplicate_post_copy_post_taxonomies($post->ID, $new_page_id, $post->post_type);
// Copy the meta information
duplicate_post_copy_post_meta_info($post->ID, $new_page_id);
return $new_page_id;
}
/**
* Add an option page where you can specify which meta fields you don't want to copy
*/
if ( is_admin() ){ // admin actions
add_action('admin_menu', 'duplicate_post_menu');
add_action( 'admin_init', 'duplicate_post_register_settings');
}
function duplicate_post_register_settings() { // whitelist options
register_setting( 'duplicate_post_group', 'duplicate_post_copydate');
register_setting( 'duplicate_post_group', 'duplicate_post_blacklist');
register_setting( 'duplicate_post_group', 'duplicate_post_title_prefix');
register_setting( 'duplicate_post_group', 'duplicate_post_copy_user_level');
}
function duplicate_post_menu() {
add_options_page(__("Duplicate Post Options", DUPLICATE_POST_I18N_DOMAIN), __("Duplicate Post", DUPLICATE_POST_I18N_DOMAIN), 'administrator', 'duplicatepost', 'duplicate_post_options');
}
function duplicate_post_options() {
?>
<div class="wrap">
<h2><?php _e("Duplicate Post", DUPLICATE_POST_I18N_DOMAIN); ?></h2>
<form method="post" action="options.php"><?php settings_fields('duplicate_post_group'); ?>
<table class="form-table">
<tr valign="top">
<th scope="row"><?php _e("Copy post/page date also", DUPLICATE_POST_I18N_DOMAIN); ?></th>
<td><input type="checkbox" name="duplicate_post_copydate" value="1" <?php if(get_option('duplicate_post_copydate') == 1) echo 'checked="checked"'; ?>"/>
<span class="description"><?php _e("Normally, the new draft has publication date set to current time: check the box to copy the original post/page date", DUPLICATE_POST_I18N_DOMAIN); ?></span>
</td>
</tr>
<tr valign="top">
<th scope="row"><?php _e("Do not copy these fields", DUPLICATE_POST_I18N_DOMAIN); ?></th>
<td><input type="text" name="duplicate_post_blacklist"
value="<?php echo get_option('duplicate_post_blacklist'); ?>" /> <span
class="description"><?php _e("Comma-separated list of meta fields that must not be copied when cloning a post/page", DUPLICATE_POST_I18N_DOMAIN); ?></span>
</td>
</tr>
<tr valign="top">
<th scope="row"><?php _e("Title prefix", DUPLICATE_POST_I18N_DOMAIN); ?></th>
<td><input type="text" name="duplicate_post_title_prefix"
value="<?php echo get_option('duplicate_post_title_prefix'); ?>" /> <span
class="description"><?php _e("Prefix to be added before the original title when cloning a post/page, e.g. \"Copy of\" (blank for no prefix)", DUPLICATE_POST_I18N_DOMAIN); ?></span>
</td>
</tr>
<tr valign="top">
<th scope="row"><?php _e("Minimum level to copy posts", DUPLICATE_POST_I18N_DOMAIN); ?></th>
<td><select name="duplicate_post_copy_user_level">
<?php global $wp_version;
if (strncmp($wp_version, "2.7",3) == 0 ){ ?>
<option value="1"
<?php if(get_option('duplicate_post_copy_user_level') == 1) echo 'selected="selected"'?>><?php echo _c("Contributor|User role", "default")?></option>
<option value="2"
<?php if(get_option('duplicate_post_copy_user_level') == 2) echo 'selected="selected"'?>><?php echo _c("Author|User role", "default")?></option>
<option value="5"
<?php if(get_option('duplicate_post_copy_user_level') == 5) echo 'selected="selected"'?>><?php echo _c("Editor|User role", "default")?></option>
<option value="8"
<?php if(get_option('duplicate_post_copy_user_level') == 8) echo 'selected="selected"'?>><?php echo _c("Administrator|User role", "default")?></option>
<?php } else { ?>
<option value="1"
<?php if(get_option('duplicate_post_copy_user_level') == 1) echo 'selected="selected"'?>><?php echo _x("Contributor", "User role", "default")?></option>
<option value="2"
<?php if(get_option('duplicate_post_copy_user_level') == 2) echo 'selected="selected"'?>><?php echo _x("Author", "User role", "default")?></option>
<option value="5"
<?php if(get_option('duplicate_post_copy_user_level') == 5) echo 'selected="selected"'?>><?php echo _x("Editor", "User role", "default")?></option>
<option value="8"
<?php if(get_option('duplicate_post_copy_user_level') == 8) echo 'selected="selected"'?>><?php echo _x("Administrator", "User role", "default")?></option>
<?php };?>
</select> <span class="description"><?php _e("Warning: users will be able to copy all posts, even those of higher level users", DUPLICATE_POST_I18N_DOMAIN); ?></span>
</td>
</tr>
</table>
<p class="submit"><input type="submit" class="button-primary"
value="<?php _e('Save Changes', DUPLICATE_POST_I18N_DOMAIN) ?>" /></p>
</form>
</div>
<?php
}
//Add some links on the plugin page
add_filter('plugin_row_meta', 'duplicate_post_add_plugin_links', 10, 2);
function duplicate_post_add_plugin_links($links, $file) {
if ( $file == plugin_basename(__FILE__) ) {
$links[] = '<a href="http://www.lopo.it/duplicate-post-plugin">' . __('Donate', DUPLICATE_POST_I18N_DOMAIN) . '</a>';
$links[] = '<a href="http://www.lopo.it/duplicate-post-plugin">' . __('Translate', DUPLICATE_POST_I18N_DOMAIN) . '</a>';
}
return $links;
}
?>

View File

@ -0,0 +1,33 @@
<?php
/*
Plugin Name: Duplicate Post
Plugin URI: http://www.lopo.it/duplicate-post-plugin/
Description: Creates a copy of a post.
Version: 1.1.2
Author: Enrico Battocchi
Author URI: http://www.lopo.it
Text Domain: duplicate-post
*/
/* Copyright 2009-2011 Enrico Battocchi (email : enrico.battocchi@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
if (is_admin()){
require_once (dirname(__FILE__).'/duplicate-post-admin.php');
}
?>

View File

@ -0,0 +1,675 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -0,0 +1,126 @@
# Catalan translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-21 18:33+0000\n"
"Last-Translator: el_libre - http://www.catmidia.cat "
"XDDDDDDDDDDDDDDDDDDDDDDDDDDD <el.libre@gmail.com>\n"
"Language-Team: Catalan <ca@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr ""
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr ""
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr ""
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplica"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr ""
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr ""
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr ""
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr ""
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr ""
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr ""
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
#: duplicate-post.php:545
msgid "Title prefix"
msgstr ""
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr ""
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Desa els canvis"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Dóna"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Tradueix"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr ""
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,127 @@
# Italian translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-10-21 21:19+0100\n"
"Last-Translator: Peter Kahoun <kahi.cz@gmail.com>\n"
"Language-Team: Peter Kahoun <kahi.cz@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Language: Czech\n"
"X-Poedit-Country: CZECH REPUBLIC\n"
"X-Poedit-SourceCharset: utf-8\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Nebyl poskytnut příspěvek k duplikování!"
#: duplicate-post.php:58
#: duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr "Nepodařilo se vytvořit příspěvek, protože nebyl nalezen originál:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Nebyla poskytnuta stránka k duplikování!"
#: duplicate-post.php:164
#: duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Duplikovat tento příspěvek"
#: duplicate-post.php:165
#: duplicate-post.php:179
#: duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplikovat"
#: duplicate-post.php:178
#: duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Duplikovat tuto stránku"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Duplikovat"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Možnosti duplikace příspěvku"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519
#: duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplikování"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Kopírovat i čas publikování"
#: duplicate-post.php:534
msgid "Normally, the new draft has publication date set to current time: check the box to copy the original post/page date"
msgstr "Nezatrhnuto znamená, že datum publikování duplikátu je vždy nastaveno na aktuální čas."
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Nekopírovat tyto uživatelská pole"
#: duplicate-post.php:541
msgid "Comma-separated list of meta fields that must not be copied when cloning a post/page"
msgstr "Jména polí oddělte čárkou"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Prefix titulku"
#: duplicate-post.php:548
msgid "Prefix to be added before the original title when cloning a post/page, e.g. \"Copy of\" (blank for no prefix)"
msgstr "Text přidávaný kopii na začátek názvu. (Můžete nechat prázdné, anebo zadat např. \"Kopie\" .)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Minimální úroveň uživatele"
#: duplicate-post.php:576
msgid "Warning: users will be able to copy all posts, even those of higher level users"
msgstr "Pozor! Uživatelé budou moci kopírovat všechny příspěvky, včetně příspěvků uživatelů vyšší úrovně"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Uložit změny"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Přispět"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Přeložit"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Vytvoří kopii příspěvku."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,134 @@
# German translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-22 09:33+0000\n"
"Last-Translator: Enrico Battocchi <Unknown>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Es wurde kein Artikel zum Duplizieren gefunden!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr "Duplizieren fehlgeschlagen! Original Seite/Artikel nicht gefunden:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Es wurde keine Seite zum Duplizieren gefunden!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Duplikat von diesem Artikel erstellen."
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplizieren"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Duplikat von dieser Seite erstellen"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Seite/Artikel als Entwurf duplizieren"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Duplicate Post Optionen"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicate Post"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Datum aus Artikel/Seite übernehmen"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Normalerweise wird das Datum des neuen Entwurfs automatisch auf die jeweils "
"aktuelle Zeit gesetzt. Diese Option setzt das Datum auf die Zeit des "
"Originals."
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Diese Felder nicht kopieren"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Komma-separierte Liste aller benutzerdefinierten Felder, die nicht in das "
"Duplikat übernommen werden sollen."
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Titel Prefix"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Optionaler Prefix zur Verwendung vor dem Titel des Originals - z.B. 'Kopie "
"von'."
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Minimum Benutzerlevel zur Nutzung von Duplicate Post"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Achtung: Der Benutzer wird Seiten und Artikel duplizieren können, auch "
"solche von Benutzern mit höherem Benutzerlevel."
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Änderungen speichern"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Spenden"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Übersetzen"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Erstellt eine Kopie dieses Artikels."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,136 @@
# Spanish translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-21 11:02+0000\n"
"Last-Translator: Jonay <jonay.santana@gmail.com>\n"
"Language-Team: Spanish <es@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "No se facilitó ninguna entrada a copiar"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
"Creación realizada sin éxito, no ha sido posible encontrar la entrada "
"original:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "No se facilitó ninguna página a copiar"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Crea una copia de esta entrada"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplicar"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Crea una copia de esta página"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Copia en un borrador nuevo"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Opciones"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicate Post"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Copiar también fecha del post o la página"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Normalmente se establece la fecha de publicación del nuevo borrador a la "
"fecha actual: compruebe la casilla para copiar la fecha original del post o "
"la página"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "No copiar estos campos"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Lista separada por comas de meta campos que no pueden ser copiados cuando se "
"clona una entrada/pagina."
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Prefijo del titulo"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Prefijo a ser agregado antes del titulo original cuando se clona una "
"entrada/pagina, ej. \"Copia de\" (en blanco para no agregar prefijo)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Nivel mínimo para copiar posts"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Atención: los usuarios podrán copiar todos los posts, incluso aquellos de "
"usuarios de nivel más alto"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Guardar los cambios"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Hacer una donación"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Traducir"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "Copy text \t http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Crear una copia de las entradas."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,136 @@
# French translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-06-15 12:06+0000\n"
"Last-Translator: Enrico Battocchi <Unknown>\n"
"Language-Team: French <fr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Aucun article à copier!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
"La création de l&rsquo;article a échoué, il n&rsquo;était pas possible de "
"trouver l&rsquo;article original"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Aucune page à copier!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Copier cet article"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Copier"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Copier cette page"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Copier dans un nouveau brouillon"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Options de Duplicate Post"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicate Post"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Copiez également la date de l'article/de la page"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Normalement la date de publication du nouveau brouillon est réglée sur "
"l'heure actuelle: cochez la case pour copier la date de l'article/de la page "
"d'origine"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Ne pas copier ces champs"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Les champs personnalisés séparés par des virgules ne doivent pas être copiés "
"lors du clonage d'un article/d'une page"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Prefixe du titre"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Préfixe à ajouter avant le titre original lors du clonage d'un article/d'une "
"page, par exemple : \"Copie de\" (Laisser vide pour ne pas mettre de préfixe)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Le niveau minimum pour copier les articles"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Attention: les utilisateurs pourront copier tous les articles, même ceux des "
"utilisateurs des niveaux plus élevés"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Sauver les changements"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Donation"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Traduire"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Pour copier les articles."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,132 @@
# Hebrew translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-21 11:09+0000\n"
"Last-Translator: Yaron <sh.yaron@gmail.com>\n"
"Language-Team: Hebrew <he@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "לא סופקה הודעה לשכפול!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr "יצירת ההודעה נכשלה, לא ניתן למצוא את ההודעה המקורית:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "לא סופק דף לשכפול!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "שכפול הודעה זו"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "שכפול"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "שכפול דף זה"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "העתקה לטיוטה חדשה"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "אפשרויות שכפול הודעות"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "שכפול הודעות"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "העתקת תאריך הדף/הודעה בנוסף"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"על פי רב, לטיוטה החדשה יופיע הזמן הנוכחי בהתאם לתאריך הפרסום: יש לסמן את "
"התיבה כדי להעתיק את תאריך הדף/הודעה המקורי"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "אין להעתיק שדות אלו"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"רשימת שדות תיאור המופרדים בפסיקים שאותם אין להעתיק בעת שכפול של דף/הודעה"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "קידומת הכותרת"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"קידומת שתתווסף לפני הכותרת המקורית בעת שכפול דף/הודעה, לדוגמה \"עותק של\" "
"(ריק - ללא קידומת)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "הרמה הנמוכה ביותר להעתקת הודעות"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"אזהרה: משתמשים יוכלו להעתיק את כל ההודעות, אפילו את אלו של משתמשים ברמה "
"גבוהה מהם"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "שמירת השינויים"
#: duplicate-post.php:595
msgid "Donate"
msgstr "תרומה"
#: duplicate-post.php:596
msgid "Translate"
msgstr "תרגום"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "יצירת עותק של הודעה."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,136 @@
# Italian translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-21 10:30+0000\n"
"Last-Translator: Enrico Battocchi <Unknown>\n"
"Language-Team: Italian <it@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Non è stato fornito alcun articolo da copiare!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
"Creazione dell'articolo fallita, non è stato possibile trovare l'articolo "
"originale:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Non è stata fornita alcuna pagina da copiare!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Crea una copia di questo articolo"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplica"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Crea una copia di questa pagina"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Copia in una nuova bozza"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Opzioni di Duplicate Post"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicate Post"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Copia anche la data dell'articolo o pagina"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Normalmente, la nuova bozza ha la data di pubblicazione impostata "
"all'istante corrente: spunta la casella per copiare la data "
"dell'articolo/pagina originale"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Non copiare questi campi"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Lista separata da virgole di campi personalizzati da non copiare quando "
"viene clonato un post o una pagina"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Prefisso del titolo"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Prefisso da aggiungere prima del titolo originale quando si clona un post o "
"una pagina, es. \"Copia di\" (lasciare vuoto per nessun prefisso)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Livello minimo per copiare gli articoli"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Attenzione: gli utenti potranno copiare tutti gli articoli, anche quelli "
"degli utenti di livello superiore"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Salva le modifiche"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Invia una donazione"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Traduci"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Crea una copia di un articolo."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,125 @@
# Japanese translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-10-08 04:18+0000\n"
"Last-Translator: Fumito Mizuno <Unknown>\n"
"Language-Team: Japanese <ja@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-10-31 09:20+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "複製元の投稿が指定されていません !"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr "複製の作成に失敗しました。複製元の投稿が見つかりません:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "複製元のページが指定されていません !"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "この投稿を元に複製を作成"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "複製"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "このページを元に複製を作成"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "新規下書きとしてコピー"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Duplicate Post 設定"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicate Post"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "投稿日もコピーする"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr "通常は新しい下書きの公開日時は、現在の日時にセットされます。元の公開日をコピーする場合は、チェックしてください。"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "これらの項目はコピーしないでください"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr "投稿/ページを複製するときに、コピーしたくないメタフィールドのリスト(カンマ区切り)"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "タイトルの接頭辞"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr "複製するときに、元のタイトルに追加する接頭辞。例えば「Copy of」(不要なら空白で良い)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "投稿を複製できる最小のユーザーレベル"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr "注意: ユーザーは、上位ユーザーの複製であっても、すべての投稿を複製できます。"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "変更を保存"
#: duplicate-post.php:595
msgid "Donate"
msgstr "寄付"
#: duplicate-post.php:596
msgid "Translate"
msgstr "翻訳"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "投稿の複製を作成します。"
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,139 @@
# Duplicate Post plugin for WordPress
# Copyright (C) 2009 Enrico Battocchi
# This file is distributed under the same license as the Duplicate Post package.
# Enrico Battocchi <enrico.battocchi@gmail.com>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: Duplicate Post 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-06-30 19:43+0000\n"
"Last-Translator: Enrico Battocchi <Unknown>\n"
"Language-Team: Enrico Battocchi / WarmStal D!sign <mail@warmstal.nl>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-30 19:44+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: NETHERLANDS\n"
"X-Poedit-Language: Dutch\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-Basepath: ../\n"
"X-Poedit-KeywordsList: _e;__\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Er is geen bericht orgineel opgegeven!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr "Fout bij aanmaken bericht, orgineel bericht niet gevonden:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Er is geen pagina orgineel opgegeven!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Dupliceer dit bericht"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Dupliceren"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Dupliceer deze pagina"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Kopiëren naar een nieuw concept"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Opties dupliceren bericht/pagina"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Dupliceren"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Kopieer ook de publicatiedatum"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Normaal wordt voor een nieuw bericht of pagina het huidige tijdstip genomen "
"voor de publicatiedatum. Selecteer om de oorspronkelijk datum mee te "
"kopieren."
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Kopieer niet deze velden"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Kommagescheiden lijst van meta-velden die niet worden meegedupliceerd."
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Titel prefix"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr "Prefix die voor orginele titel wordt geplaatst. b.v. \"Kopie van\"."
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Minimum rechtenniveau om te dupliceren"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Waarschuwing: gebruikers kunnen alle berichten/pagina's copieren. Ook die "
"van gebruikers met meer rechten"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Opslaan"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Doneer"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Vertaal"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Dupliceert bericht"
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"
#~ msgid "http://wordpress.org/extend/plugins/duplicate-post/"
#~ msgstr "http://wordpress.org/extend/plugins/duplicate-post/"

View File

@ -0,0 +1,135 @@
# Polish translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2011-04-02 14:28+0000\n"
"Last-Translator: Szymon Sieciński <Unknown>\n"
"Language-Team: Polish <pl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2011-04-08 10:28+0000\n"
"X-Generator: Launchpad (build 12757)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Niedostraczono postu do zduplikowania!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
"Stworzenie postu niepowiodło się, nie można było znaleźć oryginalnego postu:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Niedostraczono strony do zduplikowania!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Stwórz duplikat tego postu."
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplikuj"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Stwórz duplikat tej strony."
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Skopiuj do nowego szkicu"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Opcje Duplicate Post"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplikuj wpis"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Kopiuj również datę wpisu/strony"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Normalnie, nowy szkic ma datę publikacji ustawioną na aktualną datę: zaznacz "
"pole wyboru aby skopiować oryginalną datę wpisu/strony."
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Nie kopiuj tych pól"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Lista pól meta (oddzielona przecinkami), które nie mają być kopiowane "
"podczas klonowania wpisu/strony"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Prefiks tytułu"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Dodaj prefiks przed oryginalnym tytułem, np. \"Kopia ...\" Jeżeli nie chcesz "
"prefiksu - zostaw to pole puste."
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr ""
"Minimalny poziom (uprawnień użytkownika) potrzebny do kopiowania postów"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Uwaga: użytkownicy będą mieli możliwość kopiowania wszystkich postów, nawet "
"tych od użytkowników z wyższymi prawami."
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Zapisz zmiany"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Wesprzyj"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Przetłumacz"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Tworzy kopię postu."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,134 @@
# Romanian translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-24 15:40+0000\n"
"Last-Translator: Enrico Battocchi <Unknown>\n"
"Language-Team: Romanian <ro@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Nu a fost furnizat nici un articol pentru a fi duplicat!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr "Articolul nu a putut fi creat deoarece nu am găsit articolul sursă:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Nu a fost furnizată nici o pagină pentru a fi duplicată!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Crează o copie a acestui articol"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Duplicare"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Crează o copie a acestei pagini"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Copiază într-o ciornă nouă"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Opţiuni duplicare articole"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicare articol"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Copiază şi data articolului/paginii"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"În mod normal copia are data publicării setată la timpul curent: bifaţi "
"pentru a copia data publicării a originalului"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Nu copia aceste câmpuri"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Lista separată prin virgule a câmpurilor care nu trebuie copiate la clonarea "
"unui articol sau unei pagini"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Prefix titlu"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Prefix pentru adăugarea înaintea titlului original când se clonează un "
"articol sau o pagină. Exemplu \"Copie după\" (nu completa dacă nu doreşti "
"adăugarea unui prefix)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Nivel minim pentru copierea unui articol"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Atenţie: utilizatorii vor putea copia toate articolele, inclusiv cele ale "
"utilizatorilor cu nivel de acces ridicat"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Salvare modificări"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Donează"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Traducere"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Crează o copie a articolului"
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,135 @@
# Swedish translation for duplicate-post
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the duplicate-post package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: duplicate-post\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: 2010-05-25 07:38+0000\n"
"Last-Translator: Magnus Anemo <Unknown>\n"
"Language-Team: Swedish <sv@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr "Inget inlägg att kopiera har valts!"
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
"Skapandet av inlägget misslyckades; kunde inte hitta ursprungsinlägget:"
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr "Ingen sida att kopiera har valts!"
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr "Skapa en kopia av detta inlägg"
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr "Kopiera"
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr "Skapa en kopia av denna sida"
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr "Kopiera till ett nytt utkast"
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr "Duplicate Post Inställningar"
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr "Duplicate Post"
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr "Kopiera även inläggs/sidors datum"
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
"Vanligtvis har det nya utkastet publiceringsdatumet satt till nuvarande "
"tidpunkt: markera detta val för att behålla datumet för det ursprungliga "
"inlägget/sidan"
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr "Kopiera inte dessa fält"
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
"Kommaseparerad lista med metafält som inte ska kopieras vid kopiering av "
"inlägg/sida"
#: duplicate-post.php:545
msgid "Title prefix"
msgstr "Titelprefix"
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
"Prefix som läggs till i början av originaltiteln när ett inlägg eller en "
"sida kopieras, t.ex. \"Kopia av\" (lämna tomt för utelämna prefix)"
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr "Lägsta nivå för att kopiera inlägg"
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
"Varning: användare kommer att kunna kopiera alla inlägg, även de som tillhör "
"användare med högre nivå/fler rättigheter"
#: duplicate-post.php:583
msgid "Save Changes"
msgstr "Spara ändringar"
#: duplicate-post.php:595
msgid "Donate"
msgstr "Donera"
#: duplicate-post.php:596
msgid "Translate"
msgstr "Översätt"
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr "http://www.lopo.it/duplicate-post-plugin/"
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr "Skapar en kopia av ett inlägg."
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr "Enrico Battocchi"
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr "http://www.lopo.it"

View File

@ -0,0 +1,121 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Duplicate Post 1.1\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/duplicate-post\n"
"POT-Creation-Date: 2010-05-21 10:01+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-06-23 21:48+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: duplicate-post.php:39
msgid "No post to duplicate has been supplied!"
msgstr ""
#: duplicate-post.php:58 duplicate-post.php:86
msgid "Post creation failed, could not find original post:"
msgstr ""
#: duplicate-post.php:67
msgid "No page to duplicate has been supplied!"
msgstr ""
#: duplicate-post.php:164 duplicate-post.php:195
msgid "Make a duplicate from this post"
msgstr ""
#: duplicate-post.php:165 duplicate-post.php:179 duplicate-post.php:196
#: duplicate-post.php:207
msgid "Duplicate"
msgstr ""
#: duplicate-post.php:178 duplicate-post.php:206
msgid "Make a duplicate from this page"
msgstr ""
#: duplicate-post.php:225
msgid "Copy to a new draft"
msgstr ""
#: duplicate-post.php:519
msgid "Duplicate Post Options"
msgstr ""
#. #-#-#-#-# plugin.pot (Duplicate Post 1.1) #-#-#-#-#
#. Plugin Name of the plugin/theme
#: duplicate-post.php:519 duplicate-post.php:525
msgid "Duplicate Post"
msgstr ""
#: duplicate-post.php:532
msgid "Copy post/page date also"
msgstr ""
#: duplicate-post.php:534
msgid ""
"Normally, the new draft has publication date set to current time: check the "
"box to copy the original post/page date"
msgstr ""
#: duplicate-post.php:538
msgid "Do not copy these fields"
msgstr ""
#: duplicate-post.php:541
msgid ""
"Comma-separated list of meta fields that must not be copied when cloning a "
"post/page"
msgstr ""
#: duplicate-post.php:545
msgid "Title prefix"
msgstr ""
#: duplicate-post.php:548
msgid ""
"Prefix to be added before the original title when cloning a post/page, e.g. "
"\"Copy of\" (blank for no prefix)"
msgstr ""
#: duplicate-post.php:552
msgid "Minimum level to copy posts"
msgstr ""
#: duplicate-post.php:576
msgid ""
"Warning: users will be able to copy all posts, even those of higher level "
"users"
msgstr ""
#: duplicate-post.php:583
msgid "Save Changes"
msgstr ""
#: duplicate-post.php:595
msgid "Donate"
msgstr ""
#: duplicate-post.php:596
msgid "Translate"
msgstr ""
#. Plugin URI of the plugin/theme
msgid "http://www.lopo.it/duplicate-post-plugin/"
msgstr ""
#. Description of the plugin/theme
msgid "Creates a copy of a post."
msgstr ""
#. Author of the plugin/theme
msgid "Enrico Battocchi"
msgstr ""
#. Author URI of the plugin/theme
msgid "http://www.lopo.it"
msgstr ""

View File

@ -0,0 +1,111 @@
=== Duplicate Post ===
Contributors: lopo
Donate link: http://www.lopo.it/duplicate-post-plugin/
Tags: duplicate, post, copy
Requires at least: 2.7
Tested up to: 3.1.1
Stable tag: 1.1.2
Creates a copy of a post.
== Description ==
Allows to create a draft copy of a post (or page) in two ways:
1. In 'Edit Posts'/'Edit Pages', you can click on 'Duplicate' link;
2. While editing a post/page, you can click on 'Copy to a new draft' above "Cancel"/"Move to trash".
Both ways lead to the edit page for the new draft: change what you want, click on 'Publish' and you're done.
In the Options page it is now possible to choose:
* if the original post/page date must be copied too
* which custom fields must not be copied
* a prefix to place before the title of the cloned post/page
* the minimum user level to clone posts or pages
Duplicate post is natively in English, but it's shipped with translations in 11 other languages (though some are incomplete). Now there is a [Launchpad translation project](https://translations.launchpad.net/duplicate-post/) available to help translating this plugin: feel free to contribute (you can also send me an e-mail using the form on my website).
If you're a plugin developer, I suggest to read the section made just for you under "Other Notes", to ensure compatibility between your plugin(s) and mine!
The plugin has been tested against versions 2.7 -> 3.1.1. It should be compatible with the Custom Post Type and Custom Taxonomies features of WP 3.0+. It's not yet been tested with the multiblog feature active (but it used to work with WPMU).
Thanks for all the suggestions, bug reports, translations and donations: Franz, Ben ter Stal, [Naoko McCracken](http://blog.detlog.org), [Simon Wheatley](http://www.simonwheatley.co.uk/), [Magnus Anemo](http://www.anemo.se/en), Michelle Drumm, [TVbytheNumbers.com](http://www.TVbytheNumbers.com), Richard Vencu, [el_libre](http://www.catmidia.cat/), Antoine Jouve, Sebastian, Yaron, Hiroshi Tagawa, Adam Skiba, Bartosz Kaszubowski, Szymon Sieciński, Braiam Peguero, Jonay, tam, my friends Livia, Alessandra, Ada and anybody else that I may have forgotten (sorry!)
Credit must be given to the (great) [Post Template](http://post-templates.vincentprat.info) plugin by Vincent Prat: I made this by hacking his work to get something more focused to a sporadic use, without the need to create and manage templates just to make simple copies of some posts every now and then. If my plugin doesn't fits your needs (and even if it does) check Vincent's.
An example of use: I started this for a small movie theater website which I'm building. Every Friday there's a new movie showing with a new timetable, and thus a new post: but sometimes a movie stays for more than a week, so I need to copy the last post and change only the dates, leaving movie title, director's and actors' names etc. unchanged.
The website is http://www.kino-desse.org and the cinema is located in Livorno, Italy.
== Installation ==
1. Upload `duplicate-post` directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Options -> Duplicate Post and customize behaviour as needed
== For plugin developers ==
From version 1.0 onwards, thanks to [Simon Wheatley](http://www.simonwheatley.co.uk/)'s suggestion, Duplicate Post adds two actions (*dp_duplicate_post* and *dp_duplicate_page*) which can be used by other developers if their plugins store extra data for posts in non-standard WP tables.
Since Duplicate Post knows only of standard WP tables, it can't copy other data relevant to the post which is being copied if this information is stored elsewhere. So, if you're a plugin developer which acts this way, and you want to ensure compatibility with Duplicate Post, you can hook your functions to those actions to make sure that they will be called when a post (or page) is cloned.
It's very simple. Just write your function that copies post metadata to a new row of your table:
`function myplugin_copy_post($new_post_id, $old_post_object){
/* your code */
}`
Then hook the function to the action:
`add_action( "dp_duplicate_post", "myplugin_copy_post", $priority, 2);`
Please refer to the [Plugin API](http://codex.wordpress.org/Plugin_API) for every information about the subject.
== Contribute ==
If you find this useful and you if you want to contribute, there are three ways:
1. You can [write me](http://www.lopo.it/contatti/) and submit your bug reports, suggestions and requests for features;
2. If you want to translate it to your language (there are just a few lines of text), you can use the [Launchpad translation project](https://translations.launchpad.net/duplicate-post/), or [contact me](http://www.lopo.it/contatti/) and Ill send you the .pot catalogue; your translation could be featured in next releases;
3. Using the plugin is free, but if you want you can send me some bucks with PayPal [here](http://www.lopo.it/duplicate-post-plugin/)
== Upgrade Notice ==
= 1.1.1 =
Some users have experienced a fatal error when upgrading to v1.1: this may fix it, if it's caused by a plugin conflict.
= 1.1 =
New features and customization, WP 3.0 compatibility: you should upgrade if you want to copy Custom Posts with Custom Taxonomies.
== Changelog ==
= 1.1.2 =
* WP 3.1.1 compatibility (still not tested against multiblog feature, so beware)
* Added complete Polish language files
= 1.1.1 =
* Plugin split in two files for faster opening in Plugins list page
* fix conflicts with a few other plugins
* Added Dutch language files
= 1.1 =
* WP 3.0 compatibility (not tested against multiblog feature, so beware)
* Option page: minimum user level, title prefix, fields not to be copied, copy post/page date also
* Added German, Swedish, Romanian, Hebrew, Catalan (incomplete) and Polish (incomplete) language files
= 1.0 =
* Better integration with WP 2.7+ interface
* Added actions for plugins which store post metadata in self-managed tables
* Added French and Spanish language files
* Dropped WP 2.6.5 compatibility
= 0.6.1 =
* Tested WP 2.9 compatibility
= 0.6 =
* Fix for WP 2.8.1
* WPMU compatibility
* Internationalization (Italian and Japanese language files shipped)
= 0.5 =
* Fix for post-meta
* WP2.7 compatibility
= 0.4 =
* Support for new WP post revision feature

View File

@ -0,0 +1 @@
- Unify post/page split

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View File

@ -44,6 +44,12 @@ pre, code, tt
margin-bottom: 12px;
}
.capturas .caption_desc {
float: right;
width: auto;
margin-top: 20px;
}
.caption_header {
margin: 0 50px 8px 0;
}
@ -560,15 +566,31 @@ hr
#WebCamCapture {
margin-top: 40px;
width: 560px;
float: left;
width: 285px;
float: right;
}
#WebCamForm {
float: right;
width: 290px;
float: left;
width: 530px;
}
#WebCamForm .wpcf7-form-control-wrap input,
#WebCamForm .wpcf7-form-control-wrap textarea {
width: 100%;
}
div.wpcf7 .watermark {
color: #fff !important;
}
.captura {
float: left;
padding: 0;
margin: 0;
}
.captura img {
border: 0;
padding: 0;
}

View File

@ -2238,8 +2238,8 @@ strong.header
img.fade
{
opacity: .4;
filter:alpha(opacity=40)
opacity: 0.6;
filter:alpha(opacity=60)
}
#content_wrapper ul.list

View File

@ -1,6 +1,6 @@
<?php
function post_type_slides() {
function post_type_capturas() {
$labels = array(
'name' => _x('Capturas', 'post type general name'),
'singular_name' => _x('Captura', 'post type singular name'),
@ -28,6 +28,38 @@ function post_type_slides() {
'menu_icon' => get_bloginfo( 'stylesheet_directory' ).'/functions/images/screen.png'
);
register_post_type( 'capturas', $args );
}
add_action('init', 'post_type_capturas');
function post_type_slides() {
$labels = array(
'name' => _x('Fotos de portada', 'post type general name'),
'singular_name' => _x('Foto', 'post type singular name'),
'add_new' => _x('A&ntilde;adir nueva foto', 'book'),
'add_new_item' => __('A&ntilde;adir nueva foto'),
'edit_item' => __('Editar foto'),
'new_item' => __('Nueva foto'),
'view_item' => __('Ver foto'),
'search_items' => __('Buscar foto'),
'not_found' => __('Foto no encontrada'),
'not_found_in_trash' => __('Ninguna foto encontrada en la papelera'),
'parent_item_colon' => ''
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'hierarchical' => false,
'menu_position' => null,
'supports' => array('title','editor', 'thumbnail'),
'menu_icon' => get_bloginfo( 'stylesheet_directory' ).'/functions/images/screen.png'
);
register_post_type( 'slides', $args );
}
add_action('init', 'post_type_slides');

View File

@ -129,8 +129,8 @@ get_header(); ?>
if(!empty($small_image_url))
{
?>
<a rel="group" title="<?php echo $title." - ".$content; ?>" href="<?php echo $hyperlink_url; ?>" <?php if(empty($slide_link_to) OR $slide_link_to == 'Image'){ echo 'class="img_link"'; }?>>
<img src="<?php echo $small_image_url; ?>" alt="dasda" style="width:<?php echo intval($pp_gallery_width); ?>px;height:<?php echo intval($pp_gallery_height); ?>px;" class="fade"/>
<a rel="group" title="" href="<?php echo $hyperlink_url; ?>" <?php if(empty($slide_link_to) OR $slide_link_to == 'Image'){ echo 'class="img_link"'; }?>>
<img src="<?php echo $small_image_url; ?>" alt="" style="width:<?php echo intval($pp_gallery_width); ?>px;height:<?php echo intval($pp_gallery_height); ?>px;" class="fade"/>
</a>
<?php
}

View File

@ -209,22 +209,6 @@ $j(document).ready(function(){
});
$j('#contact_form').validate({
rules: {
your_name: "required",
email: {
required: true,
email: true
},
message: "required"
},
messages: {
your_name: "Please enter your name",
email: "Please enter a valid email address",
agree: "Please enter some message"
}
});
if(BrowserDetect.browser == 'Explorer' && BrowserDetect.version < 8)
{
var zIndexNumber = 1000;
@ -346,6 +330,8 @@ $j(document).ready(function(){
);
Cufon.replace('#menu_wrapper .nav ul li ul li a, #menu_wrapper div .nav li ul li a', { fontFamily: "ChildsPlay-AgeEight", hover: {color: '#000'} });
Cufon.replace('.capturas .caption_inner .caption_desc', { fontFamily: "Franklin Gothic Book", hover: {color: '#fff'} });
Cufon.replace('p', { fontFamily: "Franklin Gothic Book" });
Cufon.replace('ul', { fontFamily: "Franklin Gothic Book" });
@ -376,6 +362,7 @@ $j(document).ready(function(){
Cufon.replace('.page_caption h2.cufon', { fontFamily: "ChildsPlay-AgeEight" });
Cufon.replace('.caption_desc', { fontFamily: "ChildsPlay-AgeEight" });
Cufon.replace('.nav', { fontFamily: "ChildsPlay-AgeEight" });
Cufon.replace('.capturas .caption_inner .caption_desc', { fontFamily: "Franklin Gothic Book" });
@ -561,7 +548,7 @@ $j(document).ready(function(){
}
, function(){
$j(this).animate({opacity: $j('#img_opacity').val()}, 300);
$j(this).animate({opacity: 0.8}, 300);
}
);

View File

@ -561,6 +561,75 @@ array( "type" => "close"),
//End second tab "Portfolio"
//Begin second tab "Capturas"
array( "name" => "Capturas",
"type" => "section"),
array( "type" => "open"),
array( "name" => "Estilo de las capturas",
"desc" => "Select the columns style",
"id" => $shortname."_capturas_style",
"type" => "select",
"options" => array(
2 => 'Large',
3 => 'Medium',
4 => 'Small',
),
"std" => 1
),
array( "name" => "Orden de las capturas",
"desc" => "",
"id" => $shortname."_capturas_sort",
"type" => "select",
"options" => array(
'DESC' => 'Newest First',
'ASC' => 'Oldest First',
),
"std" => "ASC"
),
array( "name" => "Slider image widh",
"desc" => "Enter image's width display in slider?",
"id" => $shortname."_capturas_img_width",
"type" => "jslider",
"size" => "40px",
"std" => "150",
"from" => 120,
"to" => 500,
"step" => 1,
),
array( "name" => "Slider image height",
"desc" => "Enter image's height display in slider?",
"id" => $shortname."_capturas_img_height",
"type" => "jslider",
"size" => "40px",
"std" => "150",
"from" => 120,
"to" => 500,
"step" => 1,
),
array( "name" => "Items per page",
"desc" => "Enter how many items get displayed in page (default is 12 items)",
"id" => $shortname."_capturas_items",
"type" => "jslider",
"size" => "40px",
"std" => "12",
"from" => 1,
"to" => 20,
"step" => 1,
),
array( "name" => "Webcam URL",
"desc" => "",
"id" => $shortname."_webcam_url",
"type" => "text",
"std" => "",
),
array( "type" => "close"),
//End second tab "Capturas"
//Begin second tab "Sidebar"
array( "name" => "Sidebar",
"type" => "section"),

View File

@ -1,4 +1,4 @@
<h4>
Nothing Found
</h4>
<p>Sorry, no posts matched your criteria.</p>
<h4>
Nothing Found
</h4>
<p>Sorry, no posts matched your criteria.</p>

View File

@ -54,7 +54,7 @@ function save_application_form($cf7) {
// Create post object
$my_post_data = array(
'post_type' => 'slides',
'post_type' => 'capturas',
'post_title' => $cf7->posted_data["tu-nombre"],
'post_content' => $cf7->posted_data["tu-mensaje"],
'post_status' => 'pending',

View File

@ -0,0 +1,241 @@
<?php
/* Template Name: Tu */
function cleanSource($src) {
return str_replace('http://localhost/lqdvi', '', $src);
}
if (!isset($hide_header) OR !$hide_header) {
get_header();
}
$pp_webcam_url = get_option('pp_webcam_url');
$pp_capturas_style = get_option('pp_capturas_style');
if (empty($pp_capturas_style)) {
$pp_capturas_style = '1';
}
$pp_capturas_img_width = get_option('pp_capturas_img_width');
if (empty($pp_capturas_img_width)) {
$pp_capturas_img_width = 240;
}
$pp_capturas_img_height = get_option('pp_capturas_img_height');
if (empty($pp_capturas_img_height)) {
$pp_capturas_img_height = 240;
}
if (!isset($hide_header) OR !$hide_header) {
get_header();
}
$caption_class = "page_caption";
$portfolio_sets_query = '';
/**
* Get Current page object
* */
$page = get_page($post->ID);
/**
* Get current page id
* */
if (!isset($current_page_id) && isset($page->ID)) {
$current_page_id = $page->ID;
}
$caption_style = get_post_meta($current_page_id, 'caption_style', true);
if (empty($caption_style)) {
$caption_style = 'Title & Description';
}
if (!isset($hide_header) OR !$hide_header) {
?>
<div class="<?php echo $caption_class ?> capturas">
<div class="caption_inner">
<?php
$page_desc = get_post_meta($current_page_id, 'page_desc', true);
switch ($caption_style) {
case 'Description Only':
if (!empty($page_desc)) {
?>
<div class="caption_header">
<h2 class="cufon"><?php echo $page_desc; ?></h2>
</div>
<?php
}
break;
case 'Title Only':
?>
<div class="caption_header">
<h1 class="cufon"><?php _(the_title()); ?></h1>
</div>
<?php
break;
case 'Title & Description':
?>
<div class="caption_header">
<h1 class="cufon"><?php _(the_title()); ?></h1>
</div>
<div class="caption_desc">
<a href="<?php echo $pp_webcam_url; ?>"><?php _e($page_desc); ?></a>
</div>
<?php
break;
}
?>
<br class="clear"/>
</div>
</div>
<!-- Begin content -->
<div id="content_wrapper" class="content_bg">
<div class="inner">
<!-- Begin main content -->
<div class="inner_wrapper capturas"><br class="clear"/>
<?php
} else {
echo '<br class="clear"/>';
}
?>
<!-- Begin portfolio content -->
<?php
$menu_sets_query = '';
$captura_items = get_option('pp_capturas_items');
if (empty($captura_items)) {
$captura_items = 12;
}
$captura_sort = get_option('pp_capturas_sort');
if (empty($captura_sort)) {
$captura_sort = 'DESC';
}
//prepare data for pagination
$offset_query = '';
if (!isset($_GET['page']) OR empty($_GET['page']) OR $_GET['page'] == 1) {
$current_page = 1;
} else {
$current_page = $_GET['page'];
$offset = (($current_page - 1) * $captura_items);
}
$args = array(
'numberposts' => $captura_items,
'order' => $captura_sort,
'orderby' => 'date',
'post_type' => array('capturas'),
'offset' => $offset,
);
$page_photo_arr = get_posts($args);
//Get all portfolio items for paging
$args = array(
'numberposts' => -1,
'order' => $captura_sort,
'orderby' => 'date',
'post_type' => array('capturas'),
);
$all_photo_arr = get_posts($args);
$total = count($all_photo_arr);
if (isset($page_photo_arr) && !empty($page_photo_arr)) {
?>
<?php
foreach ($page_photo_arr as $key => $captura_item) {
$image_url = '';
if (has_post_thumbnail($captura_item->ID, 'large')) {
$image_id = get_post_thumbnail_id($captura_item->ID);
$image_url = wp_get_attachment_image_src($image_id, 'large', true);
//$image_url[0] = cleanSource($image_url[0]);
$small_image_url = get_bloginfo('stylesheet_directory') . '/timthumb.php?src=' . cleanSource($image_url[0]) . '&amp;h=' . $pp_capturas_img_height . '&amp;w=' . $pp_capturas_img_width . '&amp;zc=1';
$permalink_url = get_permalink($captura_item->ID);
$titulo = _($captura_item->post_title);
$texto = pp_substr(strip_tags(strip_shortcodes($captura_item->post_content)), 50);
if ($texto != "") {
$texto = "&#013;" . $texto;
}
$last_class = '';
$line_break = '';
if (($key + 1) % $captura_items == 0) {
$last_class = ' last';
if (isset($page_photo_arr[$key + 1])) {
$line_break = '<br class="clear"/><br/><br/><br/>';
} else {
$line_break = '<br class="clear"/>';
}
}
?>
<div class="<?php echo $last_class ?> captura" style="height: <?php echo $pp_capturas_img_height;?>px; width: <?php echo $pp_capturas_img_width;?>px;">
<img src="<?php echo $small_image_url; ?>" title="<?php echo $titulo.$texto; ?>" class="fade"/>
</div>
<?php
}
?>
<?php
echo $line_break;
}
//End foreach loop
?>
<?php
$base_link = get_permalink($post->ID);
echo gen_pagination($total, $current_page, $base_link, TRUE, $captura_items);
}
//End if have portfolio items
?>
</div>
<!-- End main content -->
<br class="clear"/><br/><br/>
</div>
<?php
if (!isset($hide_header) OR !$hide_header) {
?>
</div>
<!-- End content -->
<?php get_footer(); ?>
<?php
}
?>

View File

@ -23,21 +23,22 @@ Template Name: Webcam
videoFps: "30", // video fps
bandwidth: "0", // Specifies the maximum amount of bandwidth that the current outgoing video. The default value is 16384 , pass 0 for bandwidth.
quality: "100", // quality for camera, value is 0-100.
screenShotX: "300", // screen shot x cord
screenShotY: "10" // screen shot y cord
screenShotX: "10", // screen shot x cord
screenShotY: "10", // screen shot y cord
currentURL: "<?php echo get_bloginfo('url'); ?>"
};
var params = {
menu: "false",
allowfullscreen: "false"
/*wmode: "transparent"*/
};
swfobject.embedSWF("http://localhost/lqdvi/webcam/webCamCapture.swf", "WebCamCapture", "560", "380", "10.0.0","expressInstall.swf", flashvars, params);
swfobject.embedSWF("<?php echo get_bloginfo('url'); ?>/webcam/webCamCapture.swf", "WebCamCapture", "560", "380", "10.0.0","expressInstall.swf", flashvars, params);
</script>
<div class="page_caption">
<div class="caption_inner">
<div class="caption_header">
<h1 class="cufon"><?php _e(the_title()); ?></h1>
<h1 class="cufon"><?php _(the_title());?></h1>
</div>
<br class="clear"/>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Some files were not shown because too many files have changed in this diff Show More