Post Reply 
 
Thread Rating:
  • 4 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bringing WebERP into a New Tableless UI Design
10-09-2012, 07:21 AM (This post was last modified: 10-09-2012 07:27 AM by phil.)
Post: #62
RE: Bringing WebERP into a New Tableless UI Design
#1
Yes I can see the usefulness of having the header repeated at the bottom - although it could be confusing also where there is no data below it.
If
<thead>
<tbody>
<tfoot>
etc are all required as best practise then these are worthy additions - and would give more scope to the theme css

#2
I prefer the first - there is no <?php ?> in it. In webERP scripts mostly there is just a single <?php at the start and a single ?> at the end!!
I would have it indented though:
Code:
echo '<div>
         <h3>' . $title . '</h3>
     </div>';

Shouldn't there be a ; after echo $title;

Code:
?>
<div>
      <h3><?php echo $title;?></h3>
</div>
<?php

I strongly prefer to stay inside the php interpretor than continually go in and out.

I prefer the readability of the :

Code:
echo '<div>
         <h3>' . $title . '</h3>
     </div>';

over

Code:
?>
<div>
      <h3><?php echo $title;?></h3>
</div>
<?php

but really the difference is minimal - and certainly NOT worth putting any additional effort into IMHO

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Bringing WebERP into a New Tableless UI Design - phil - 10-09-2012 07:21 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)