From 04d77b1a7c56be433833421eb4972355265e9fd6 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Mon, 18 Apr 2011 15:12:42 -0400 Subject: 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. --- templates/show_adds_catalog.inc.php | 6 +++--- templates/show_clean_catalog.inc.php | 6 +++--- templates/show_verify_catalog.inc.php | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'templates') 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'), "[$this->name]"); +printf(_('Starting New Song Search on %s catalog'), "[ $this->name ]"); echo "
\n"; -echo _('Found') . ": id ."\">" . _('None') . "
\n"; -echo _('Reading') . ":id . "\">
"; +echo _('Found') . ': ' . _('None') . '
'; +echo _('Reading') . ':
'; 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'), "[" . $this->name . "]"); +printf(_('Cleaning the %s Catalog'), "[ $this->name ]"); echo "...
"; -echo _('Checking') . ": id . "\">\n
"; -echo _('Reading') . ":id . "\">
"; +echo _('Checking') . ':
'; +echo _('Reading') . ':
'; 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'), "[ $catalog->name ]"); +printf(_('Updating the %s catalog'), "[ $this->name ]"); echo "
\n"; printf(ngettext('%d item found checking tag information', '%d items found checking tag information', $number), $number); echo "
\n\n"; -echo _('Verifed') . ":$catalog_verify_found
"; -echo _('Reading') . ":$catalog_verify_directory
"; +echo _('Verified') . ':' . $catalog_verify_found . '
'; +echo _('Reading') . ':' . $catalog_verify_directory . '
'; show_box_bottom(); ?> -- cgit