// fixed small bugs

This commit is contained in:
lLefevre
2011-12-12 17:43:28 +00:00
parent 6c8b46e189
commit d419bc165c
4 changed files with 581 additions and 584 deletions
@@ -132,7 +132,7 @@
</script>
<label for="available_for_order" class="t">{l s='available for order'}</label>
<br class="clear" />
<input style="float: left;" type="checkbox" name="show_price" id="show_price" value="1" {if $product->show_price}checked="checked"{/if} />
<input style="float: left;" type="checkbox" name="show_price" id="show_price" value="1" {if $product->show_price}checked="checked"{/if} {if $product->available_for_order}disabled="disabled"{/if}/>
<label for="show_price" class="t">{l s='show price'}</label>
<br class="clear" />
<input style="float: left;" type="checkbox" name="online_only" id="online_only" value="1" {if $product->online_only}checked="checked"{/if} />
@@ -1922,6 +1922,14 @@ class AdminProductsControllerCore extends AdminController
$this->context->smarty->assign('toolbar_btn', $this->toolbar_btn);
}
public function initToolbarTitle()
{
parent::initToolbarTitle();
if ($product = $this->loadObject(true))
if ((bool)$product->id)
$this->toolbar_title .= ' ('.$product->name[$this->context->language->id].')';
}
/**
* initForm contains all necessary initialization needed for all tabs
*
+1
View File
@@ -1664,6 +1664,7 @@ a.blue:hover {
}
.ac_over {
background: #ECEADE;
color:#585A69;
}
.button-translate {
padding:0px;
+571 -583
View File
File diff suppressed because it is too large Load Diff