diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-18 15:12:42 -0400 |
---|---|---|
committer | Paul Arthur <flowerysong00@yahoo.com> | 2011-04-18 15:12:42 -0400 |
commit | 04d77b1a7c56be433833421eb4972355265e9fd6 (patch) | |
tree | d648cdf957de1b37ef5f00ab2af471f5d111a6bc /templates | |
parent | 36bc6d51071ed7d3c28106a9c982dae5e0679557 (diff) | |
download | ampache-04d77b1a7c56be433833421eb4972355265e9fd6.tar.gz ampache-04d77b1a7c56be433833421eb4972355265e9fd6.tar.bz2 ampache-04d77b1a7c56be433833421eb4972355265e9fd6.zip |
Fix display not updating during catalog updates.
Consistently use $this instead of $catalog or (no longer set) local
variables that duplicated class variables in the templates, minor
quoting cosmetics.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_adds_catalog.inc.php | 6 | ||||
-rw-r--r-- | templates/show_clean_catalog.inc.php | 6 | ||||
-rw-r--r-- | templates/show_verify_catalog.inc.php | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/templates/show_adds_catalog.inc.php b/templates/show_adds_catalog.inc.php index 72cacad4..e4f0d23a 100644 --- a/templates/show_adds_catalog.inc.php +++ b/templates/show_adds_catalog.inc.php @@ -28,9 +28,9 @@ show_box_top(); /* HINT: Catalog Name */ -printf(_('Starting New Song Search on %s catalog'), "<strong>[$this->name]</strong>"); +printf(_('Starting New Song Search on %s catalog'), "<strong>[ $this->name ]</strong>"); echo "<br />\n"; -echo _('Found') . ": <span id=\"add_count_" . $this->id ."\">" . _('None') . "</span><br />\n"; -echo _('Reading') . ":<span id=\"add_dir_" . $this->id . "\"></span><br />"; +echo _('Found') . ': <span id="add_count_' . $this->id . '">' . _('None') . '</span><br />'; +echo _('Reading') . ':<span id="add_dir_' . $this->id . '"></span><br />'; show_box_bottom(); ?> diff --git a/templates/show_clean_catalog.inc.php b/templates/show_clean_catalog.inc.php index 1d7acfd6..23eab269 100644 --- a/templates/show_clean_catalog.inc.php +++ b/templates/show_clean_catalog.inc.php @@ -28,9 +28,9 @@ show_box_top(); /* HINT: Catalog Name */ -printf(_('Cleaning the %s Catalog'), "<strong>[" . $this->name . "]</strong>"); +printf(_('Cleaning the %s Catalog'), "<strong>[ $this->name ]</strong>"); echo "...<br />"; -echo _('Checking') . ": <span id=\"clean_count_" . $this->id . "\"></span>\n<br />"; -echo _('Reading') . ":<span id=\"clean_dir_" . $this->id . "\"></span><br />"; +echo _('Checking') . ': <span id="clean_count_' . $this->id . '"></span><br />'; +echo _('Reading') . ':<span id="clean_dir_' . $this->id . '"></span><br />'; show_box_bottom(); ?> diff --git a/templates/show_verify_catalog.inc.php b/templates/show_verify_catalog.inc.php index 8c4fba4f..2b09adde 100644 --- a/templates/show_verify_catalog.inc.php +++ b/templates/show_verify_catalog.inc.php @@ -28,11 +28,11 @@ show_box_top(); /* HINT: Catalog Name */ -printf(_('Updating the %s catalog'), "<strong>[ $catalog->name ]</strong>"); +printf(_('Updating the %s catalog'), "<strong>[ $this->name ]</strong>"); echo "<br />\n"; printf(ngettext('%d item found checking tag information', '%d items found checking tag information', $number), $number); echo "<br />\n\n"; -echo _('Verifed') . ":<span id=\"verify_count_$catalog_id\">$catalog_verify_found</span><br />"; -echo _('Reading') . ":<span id=\"verify_dir_$catalog_id\">$catalog_verify_directory</span><br />"; +echo _('Verified') . ':<span id="verify_count_' . $this->id . '">' . $catalog_verify_found . '</span><br />'; +echo _('Reading') . ':<span id="verify_dir_' . $this->id . '">' . $catalog_verify_directory . '</span><br />'; show_box_bottom(); ?> |