diff options
Diffstat (limited to 'h-source/Application/Views/Soundcards')
| -rw-r--r-- | h-source/Application/Views/Soundcards/catalogue.php | 7 | ||||
| -rw-r--r-- | h-source/Application/Views/Soundcards/form.php | 7 | ||||
| -rw-r--r-- | h-source/Application/Views/Soundcards/page.php | 7 | 
3 files changed, 20 insertions, 1 deletions
diff --git a/h-source/Application/Views/Soundcards/catalogue.php b/h-source/Application/Views/Soundcards/catalogue.php index fd3daab..e4b265b 100644 --- a/h-source/Application/Views/Soundcards/catalogue.php +++ b/h-source/Application/Views/Soundcards/catalogue.php @@ -48,6 +48,13 @@  				<img align="top" class="catalogue_item_icon" src="<?php echo Hardware::getIconFromType($item['hardware']['type']);?>"> <span class="span_model_name"><?php echo gtext("model");?>: <b><?php echo $item['hardware']['model'];?></b></span>  			</div> +			<?php if ( strcmp($item['hardware']['other_names'],'') !== 0 ) { ?> +			<div class="notebook_vendor"> +				<div class="inner_label"><?php echo gtext("possible other names of the device");?>:</div> +				<div class="inner_value"><?php echo nl2br($item['hardware']['other_names']);?></div> +			</div> +			<?php } ?> +			  			<div class="notebook_vendor">  				<div class="inner_label"><?php echo gtext("vendor");?>:</div>  				<div class="inner_value"><?php echo betterVendor($item['hardware']['vendor']);?></div> diff --git a/h-source/Application/Views/Soundcards/form.php b/h-source/Application/Views/Soundcards/form.php index 965ecfc..e0d4680 100644 --- a/h-source/Application/Views/Soundcards/form.php +++ b/h-source/Application/Views/Soundcards/form.php @@ -40,9 +40,14 @@  			<div class="edit_form">  				<div class="form_entry"> -					<div class="entry_label"><?php echo gtext("model name");?>: <b>*</b></div> +					<div class="entry_label"><?php echo gtext("model name");?>: <b>*</b><br /><span class="entry_label_small"><?php echo gtext("Write here the model name obtained by the lspci or lsusb command.");?></span> <span class="entry_label_small"><?php echo gtext("This is the name of the chipset of your device.");?></span></div>  					<?php echo Html_Form::input('model',$values['model'],'input_entry');?>  				</div> + +				<div class="form_entry"> +					<div class="entry_label"><?php echo gtext("possible other names of the device");?>:<br /><span class="entry_label_small"><?php echo gtext("Add here the device name as written on the device itself or on the device box. Add it only if it is different from the <i>model name</i> already inserted inside the above entry. Add the new name in such a way that there is one name per row.");?></span></div> +					<?php echo Html_Form::textarea('other_names',$values['other_names'],'device_textarea_entry');?> +				</div>  				<div class="form_entry">  					<div class="entry_label"><?php echo gtext("VendorID:ProductID code of the device");?>: <b>*</b><br /><a  target="blank" href="<?php echo $this->baseUrl."/help/index/$lang#vendoridproductid";?>"><?php echo gtext("learn how to find it");?></a></div> diff --git a/h-source/Application/Views/Soundcards/page.php b/h-source/Application/Views/Soundcards/page.php index 75ea7e6..7286bf5 100644 --- a/h-source/Application/Views/Soundcards/page.php +++ b/h-source/Application/Views/Soundcards/page.php @@ -43,6 +43,13 @@  				<?php } ?>  			</div> +			<?php if ( strcmp($item[$tableName]['other_names'],'') !== 0 ) { ?> +			<div class="notebook_vendor"> +				<div class="inner_label"><?php echo gtext("possible other names of the device");?>:</div> +				<div class="inner_value"><?php echo nl2br($item[$tableName]['other_names']);?></div> +			</div> +			<?php } ?> +			  			<div class="notebook_vendor">  				<div class="inner_label"><?php echo gtext("vendor");?>:</div>  				<div class="inner_value"><b><?php echo betterVendor($item[$tableName]['vendor']);?></b></div>  | 
