New admin based in bootstrap 3.3.5

stradfred

Avatar: stradfred

2015-10-14 11:57

Hi all,

I propose a new theme administration based on the Bootstrap 3.3.5 framework.
I still have some built-in pages but it works well.

http://www92.zippyshare.com/v/aDRsoPJH/file.html

Please change the core/lang-admin.php file for work well.
Search:

// end function throwLangSelect


and replace by:

// end function throwLangSelect

/**
* Returns language files Dropdwon
* @return string
* @param string $sLang
*/
function throwLangDropdown$sLang null ){
  
$content null;
  
$aLanguages throwLanguages( );
  if( isset( 
$aLanguages ) && is_array$aLanguages ) ){
    foreach( 
$aLanguages as $sFileName ){
      
$sSelected = ( isset( $sLang ) && $sLang == $sFileName ) ? ' selected="selected"' null;
      
$content .= '<li><a href="?sLang='.$sFileName.'"><img src="'.DIR_TEMPLATES.'admin/img/flags/'.$sFileName.'.png" alt="'.$sFileName.'"> '.$GLOBALS['lang'][$sFileName].'</a></li>';
    } 
// end foreach
  
}
  return 
$content;
// end function throwLangSelect


Save file and the new admin theme is ready!

I would update the file on this thread discusssion.

» Quick.Cart v6.x

Kindly regards, Fred.

stradfred

Avatar: stradfred

2015-10-22 19:01

Not interested?

stradfred

Avatar: stradfred

2015-12-20 10:20

Please delete this thread if you not interested

Back to top
about us | contact