From ec4b63b70cc02d44c53b3f108a3d2a6b9ab26dd3 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 11 Mar 2012 15:46:33 +0000 Subject: improved the way entry labels can be added - first step to move all the documentation to the wiki --- h-source/Application/Controllers/GenericController.php | 14 +++++++------- h-source/Application/Views/Desktop/Notebooks/form.php | 4 ++-- h-source/Application/Views/Desktop/form.php | 6 +++--- h-source/Public/Css/main.css | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 3a9721a..5e42b3c 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -65,9 +65,15 @@ class GenericController extends BaseController $this->orderPopup = $popup; - $data['howToCompileLabel'] = null; +// $data['howToCompileLabel'] = null; $data['isApproved'] = true; + $data['tracksHelpLabel'] = $this->getModule(array('devices',$this->controller,'form','it_tracks_users')); + $data['howToCompileLabel'] = $this->getModule(array('devices','all','form','how_to_compile')); + $data['modelNameLabel'] = $this->getModule(array('devices','all','form','model_name_entry_help_label')); + $data['vendoridProductidLabel'] = $this->getModule(array('devices','not_notebook','form','vendorid_productid_label')); + $data['descriptionLabel'] = $this->getModule(array('devices','all','form','description_entry_help_label')); + $this->append($data); } @@ -137,9 +143,6 @@ class GenericController extends BaseController $data['submitName'] = "insertAction"; $data['hiddenInput'] = null; - $data['tracksHelpLabel'] = $this->getModule(array('devices',$this->controller,'form','it_tracks_users')); - $data['howToCompileLabel'] = $this->getModule(array('devices','all','form','how_to_compile')); - $data['values'] = $this->m['HardwareModel']->getFormValues('insert','sanitizeHtml'); $this->append($data); @@ -299,9 +302,6 @@ class GenericController extends BaseController $data['values'] = $this->m['HardwareModel']->getFormValues('update','sanitizeHtml'); $data['hiddenInput'] = "\n"; - $data['tracksHelpLabel'] = $this->getModule(array('devices',$this->controller,'form','it_tracks_users')); - $data['howToCompileLabel'] = $this->getModule(array('devices','all','form','how_to_compile')); - $this->append($data); if (!isset($_POST['from_client'])) diff --git a/h-source/Application/Views/Desktop/Notebooks/form.php b/h-source/Application/Views/Desktop/Notebooks/form.php index 5743281..1bfd64f 100644 --- a/h-source/Application/Views/Desktop/Notebooks/form.php +++ b/h-source/Application/Views/Desktop/Notebooks/form.php @@ -46,7 +46,7 @@
- +
@@ -124,7 +124,7 @@
- +
:
diff --git a/h-source/Application/Views/Desktop/form.php b/h-source/Application/Views/Desktop/form.php index c18c0f6..5bef769 100644 --- a/h-source/Application/Views/Desktop/form.php +++ b/h-source/Application/Views/Desktop/form.php @@ -40,7 +40,7 @@
- +
@@ -57,7 +57,7 @@
- +
@@ -126,7 +126,7 @@
- + controller,'threegcards') === 0 ) { ?>
diff --git a/h-source/Public/Css/main.css b/h-source/Public/Css/main.css index ae313a8..0b8253b 100644 --- a/h-source/Public/Css/main.css +++ b/h-source/Public/Css/main.css @@ -1856,7 +1856,7 @@ td.text_item_date font:normal 12px/1 sans-serif; color:#000; } -span.entry_label_small +.entry_label_small { font-weight:normal; font-size:12px; -- cgit v1.2.3