Jump to content



Latest News: (loading..)

- - - - -

[suggestion] description of service

oscom3 services improvement

  • Please log in to reply
1 reply to this topic

#1   foxp2

foxp2

    strong as a Twig

  • Members
  • 303 posts
  • Real Name:Laurent
  • Gender:Male
  • Location:France

Posted 04 January 2012 - 02:38 PM

codes :

osCommerce\OM\Core\Site\Admin\languages\en_US\Services.php :
description_of_service = Description of this service module :

osCommerce\OM\Core\Site\Admin\Application\Services\pages\edit.php :
	  <div class="servicesDescription"><?php echo '<b>' . OSCOM::getDef('description_of_service') . '</b><br /> ' . htmlspecialchars_decode($OSCOM_ObjectInfo->getProtected('description')); ?></div>

public\sites\Admin\templates\oscom\stylesheets\general.css :
.servicesDescription {
background: url('../images/ms_info.png') no-repeat 8px 10px;
background-size: 16px 16px;/* css3 : background-size: size of background image */
padding: 10px 10px 10px 40px;
margin-bottom: 10px;
border: 1px dashed #00CCFF;
}

eg :

osCommerce\OM\Core\Site\Admin\languages\en_US\modules\Service\OutputCompression.php

change services_output_compression_description definition with :

services_output_compression_description = <p>Compress the content with GZIP <br /><ul>Informations :<li><a href="http://php.net/manual/en/function.ob-gzhandler.php">ob_gzhandler (link)</a></li></ul></p>

screenshot :

[attachment=848:description_of_service_screenshot.PNG]

my 2 cents. ^_^

Edited by foxp2, 04 January 2012 - 02:39 PM.

-------------------

#2   foxp2

foxp2

    strong as a Twig

  • Members
  • 303 posts
  • Real Name:Laurent
  • Gender:Male
  • Location:France

Posted 05 January 2012 - 11:24 PM

commit : https://github.com/foxp2/oscommerce/commit/aec62e1ec4f0da38734b142d1aa0f6f8de9cd3da
-------------------





Also tagged with one or more of these keywords: oscom3, services, improvement