Skip to content

Commit

Permalink
bug 1589: remove obsolete .csvignore file
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@5740 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Apr 9, 2010
1 parent 96a2b84 commit 384108d
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 16 deletions.
10 changes: 10 additions & 0 deletions admin/photos_add_direct.php
Expand Up @@ -356,6 +356,16 @@
'<link rel="stylesheet" type="text/css" href="'.$uploadify_path.'/uploadify.css">'."\n"
);

// $page['thumbnails'] = array(
// array(
// 'src' => 'http://localhost/piwigo/dev/trunk/upload/2006/08/16/thumbnail/TN-20060816234638-f9bebf5a.jpg',
// ),
// array(
// 'src' => 'http://localhost/piwigo/dev/trunk/upload/2005/10/04/thumbnail/TN-20051004000000-864a003c.jpg',
// ),
// );
// $page['batch_link'] = PHOTOS_ADD_BASE_URL.'&batch=1460,3307';

if (isset($page['thumbnails']))
{
$template->assign(
Expand Down
6 changes: 4 additions & 2 deletions admin/themes/default/template/photos_add_direct.tpl
Expand Up @@ -148,7 +148,8 @@ var buttonText = 'Browse';
</div>
<p id="batchLink"><a href="{$batch_link}">{$batch_label}</a></p>
</fieldset>
{/if}
<p><a href="">Add another set of photos</a></p>
{else}

<div id="formErrors" class="errors" style="display:none">
<ul>
Expand Down Expand Up @@ -240,6 +241,7 @@ var buttonText = 'Browse';
</p>
{/if}
</form>
{/if}
{/if} {* empty($thumbnails) *}
{/if} {* $setup_errors *}

</div> <!-- photosAddContent -->
1 change: 0 additions & 1 deletion galleries/.cvsignore

This file was deleted.

2 changes: 1 addition & 1 deletion install/config.sql
Expand Up @@ -18,7 +18,7 @@ INSERT INTO piwigo_config (param,value,comment) VALUES ('history_admin','false',
INSERT INTO piwigo_config (param,value,comment) VALUES ('history_guest','true','keep a history of guest visits on your website');
INSERT INTO piwigo_config (param,value,comment) VALUES ('allow_user_registration','true','allow visitors to register?');
INSERT INTO piwigo_config (param,value,comment) VALUES ('allow_user_customization','true','allow users to customize their gallery?');
INSERT INTO piwigo_config (param,value,comment) VALUES ('nbm_send_html_mail','true','Send mail on HTML format for notification by mail');
INSERT INTO piwigo_config (param,value,comment) VALUES ('nbm_send_html_mail','false','Send mail on HTML format for notification by mail');
INSERT INTO piwigo_config (param,value,comment) VALUES ('nbm_send_mail_as','','Send mail as param value for notification by mail');
INSERT INTO piwigo_config (param,value,comment) VALUES ('nbm_send_detailed_content','true','Send detailed content for notification by mail');
INSERT INTO piwigo_config (param,value,comment) VALUES ('nbm_complementary_mail_content','','Complementary mail content for notification by mail');
Expand Down
1 change: 1 addition & 0 deletions tools/convert_language_to_2.1.pl
Expand Up @@ -92,6 +92,7 @@
'Installation finished' => '',
'The next step of the installation is now possible' => '',
'next step' => '',
'install_end_message' => '',
}
);

Expand Down
24 changes: 12 additions & 12 deletions tools/missing_keys.pl
Expand Up @@ -14,14 +14,14 @@
find(\&used_keys, $piwigo_dir);
load_registered_keys($type);

# foreach my $key (sort keys %used_keys) {
# # print "{".$key."}", ' is used', "\n";
foreach my $key (sort keys %used_keys) {
# print "{".$key."}", ' is used', "\n";

# if (not defined $registered_keys{$key}) {
# # print "{".$key."}", ' is missing', "\n";
# print '$lang[\''.$key.'\'] = \''.$key.'\';', "\n";
# }
# }
if (not defined $registered_keys{$key}) {
# print "{".$key."}", ' is missing', "\n";
print '$lang[\''.$key.'\'] = \''.$key.'\';', "\n";
}
}

my %ignore_keys = (
'%d new image' => 1,
Expand Down Expand Up @@ -74,11 +74,11 @@
);


foreach my $key (sort keys %registered_keys) {
if (not defined $used_keys{$key} and not defined $ignore_keys{$key}) {
print "{".$key."}", ' is not used anywhere', "\n";
}
}
# foreach my $key (sort keys %registered_keys) {
# if (not defined $used_keys{$key} and not defined $ignore_keys{$key}) {
# print "{".$key."}", ' is not used anywhere', "\n";
# }
# }

sub used_keys {
if ($File::Find::name !~ m/(tpl|php)$/) {
Expand Down

0 comments on commit 384108d

Please sign in to comment.