Jump to content

  •  

AsuraBro

Member Since 27 Jul 2014
Offline Last Active Jan 04 2016 08:27 PM
-----

Topics I've Started

Problem with Hercules Ultimate Localization (.po)

14 March 2015 - 07:15 PM

Hello,

 

So i were trying to use the [color=rgb(34,89,133);font-weight:bold;font-family:helvetica, arial, sans-serif;background-color:rgb(247,251,252);]Hercules Ultimate Localization Design,[/color]

 

I did everything well i loaded poedit translated an NPC to test,

 

but for me it didn't work as expected,

 

Posted Image

 

 

i'am translating the server to Arabic using UTF-8.

 

just wounding is it not supported or just this is a bad settings.

 

- Arabic chars should be in UTF-8 in scripts.?


FluxCP Admin menu wont show up.

07 March 2015 - 10:29 AM

Hello there, 

 

i just installed my flux cp and added a theme.

 

But when i log into my admin account i cant see the admin menu, Normal players menu shows up.

 

here is my files and settings,

 

Header.php

					<div id="container">							<?php if ( $params->get('module') == 'main' AND $params->get('action') == 'index' ): ?>						</div>						<?php endif; ?>						<div class="container<?php if( $params->get('module') == 'main' AND $params->get('action') == 'index' ) echo ""; else echo "Right"; ?>">							<?php if ($message=$session->getMessage()): ?>							<p class="message"><?php echo htmlspecialchars($message) ?></p>							<?php endif ?>							<?php include 'main/submenu.php'; ?>							<?php include 'main/pagemenu.php' ?>							<?php if (in_array($params->get('module'), array('donate', 'purchase'))) include 'main/balance.php' ?>						</div>

 

Main/submenu.php

<?php if (!defined('FLUX_ROOT')) exit; ?><?php $subMenuItems = $this->getSubMenuItems(); $menus = array() ?><?php if (!empty($subMenuItems)): ?>	<div id="submenu">Menu:	<?php foreach ($subMenuItems as $menuItem): ?>		<?php $menus[] = sprintf('<a href="%s" class="sub-menu-item%s">%s</a>',			$this->url($menuItem['module'], $menuItem['action']),			$params->get('module') == $menuItem['module'] && $params->get('action') == $menuItem['action'] ? ' current-sub-menu' : '',			htmlspecialchars($menuItem['name'])) ?>	<?php endforeach ?>	<?php echo implode(' / ', $menus) ?>	</div><?php endif ?>

 

 

:/