[Weberp-svn] SF.net SVN: weberp:[9411] trunk/Customers.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2012-07-11 09:51:26
|
Revision: 9411 http://weberp.svn.sourceforge.net/weberp/?rev=9411&view=rev Author: tim_schofield Date: 2012-07-11 09:51:15 +0000 (Wed, 11 Jul 2012) Log Message: ----------- Finish off new interface improvements Modified Paths: -------------- trunk/Customers.php Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2012-07-11 09:51:03 UTC (rev 9410) +++ trunk/Customers.php 2012-07-11 09:51:15 UTC (rev 9411) @@ -654,7 +654,10 @@ echo '<br /> <table class="selection" cellspacing="4">'; echo '<tr> - <th colspan="4" class="header">' . _('Customer Details for') . ' ' . $myrow['debtorno'] . ' - ' . $myrow['name'] . '</th> + <th colspan="4" class="header"> + <img width="24px" src="' . $rootpath . '/css/' . $theme . '/images/customer.png" title="' . _('Customer Details') . '" alt="" /> + ' . _('Customer Details for') . ' ' . $myrow['debtorno'] . ' - ' . $myrow['name'] . ' + </th> </tr>'; echo '<tr><td valign="top"><table style="background: transparent">'; if ($_SESSION['AutoDebtorNo']== 0 ) { @@ -908,7 +911,7 @@ $result = DB_query($sql,$db); echo '<table class="selection">'; - echo '<tr><th class="header" colspan="6">' . _('Customer Contacts') . '</th></tr>'; + echo '<tr><th class="header" colspan="6"><img width="24px" src="' . $rootpath . '/css/' . $theme . '/images/group_add.png" title="' . _('Customer Contacts') . '" alt="" />' . _('Customer Contacts') . '</th></tr>'; if (isset($_GET['Modify'])) { echo '<tr> @@ -922,7 +925,10 @@ <th>' . _('Role') . '</th> <th>' . _('Phone Number') . '</th> <th>' . _('Notes') . '</th> - <th colspan="2"><button type="submit" name="addcontact">' . _('Add Contact') . '</button></th></tr>'; + <th colspan="2"> + <button type="submit" name="addcontact"> + <img src="'.$rootpath.'/css/'.$theme.'/images/add.png" title="' . _('Save') . '" alt="" class="ButtonIcon" />' . _('Add Contact') . ' + </button></th></tr>'; } $k=0; //row colour counter @@ -1036,11 +1042,15 @@ } if (isset($_POST['New']) and $_POST['New']) { - echo '<div class="centre"><button type="submit" name="submit">' . _('Add New Customer') . '</button> - <button type="submit" name="reset">' . _('Reset') . '</button></div></form>'; + echo '<div class="centre"><button type="submit" name="submit"> + <img src="'.$rootpath.'/css/'.$theme.'/images/tick.png" title="' . _('Save') . '" alt="" class="ButtonIcon" />' . _('Add New Customer') . '</button> + <button type="submit" name="reset"> + <img src="'.$rootpath.'/css/'.$theme.'/images/tick.png" title="' . _('Cancel') . '" alt="" class="ButtonIcon" />' . _('Cancel') . '</button></div></form>'; } else if (!isset($_GET['Modify'])){ - echo '<br /><div class="centre"><button type="submit" name="submit">' . _('Update Customer') . '</button>'; - echo ' <button type="submit" name="delete" onclick="return confirm(\'' . _('Are You Sure?') . '\');">' . _('Delete Customer') . '</button></div><br /></form>'; + echo '<br /><div class="centre"><button type="submit" name="submit"> + <img src="'.$rootpath.'/css/'.$theme.'/images/tick.png" title="' . _('Save') . '" alt="" class="ButtonIcon" />' . _('Update Customer') . '</button>'; + echo ' <button type="submit" name="delete" onclick="return confirm(\'' . _('Are You Sure?') . '\');"> + <img src="'.$rootpath.'/css/'.$theme.'/images/cross.png" title="' . _('Delete') . '" alt="" class="ButtonIcon" />' . _('Delete Customer') . '</button></div><br /></form>'; } else { echo '</form>'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |