พัฒนาโดย : randomessence
Version : 1.1.3
phpBB Version(s) : phpBB 3.0.11
ดาวน์โหลดได้ที่ : https://www.phpbb.com/community/viewtop ... &t=2160597 ขั้นตอนติดตั้ง
เปิดไฟล์ includes/functions.php
ค้นหา
โค้ด: เลือกทั้งหมด
// The following assigns all _common_ variables that may be used at any point in a template.
โค้ด: เลือกทั้งหมด
// Start jQueryui
if (empty($config['jqui_theme']))
{
set_config('jqui_theme', 'smoothness', false);
}
// End jQueryui
โค้ด: เลือกทั้งหมด
'SITE_DESCRIPTION' => $config['site_desc'],
โค้ด: เลือกทั้งหมด
'JQUI_THEME' => $config['jqui_theme'],
ค้นหา
โค้ด: เลือกทั้งหมด
'legend2' => 'ACP_LOAD_SETTINGS',
โค้ด: เลือกทั้งหมด
'jqui_theme' => array('lang' => 'JQUI_THEME_NAME', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => true),
ค้นหา
โค้ด: เลือกทั้งหมด
'JAB_USERNAME_EXPLAIN' => 'Specify a registered username or a valid JID. The username will not be checked for validity. If you only specify a username, then your JID will be the username and the server you specified above. Else, specify a valid JID, for example [email protected].',
));
โค้ด: เลือกทั้งหมด
// START jQuery UI Theme
$lang = array_merge($lang, array(
'JQUI_THEME_NAME' => 'jQueryUI Theme',
'JQUI_THEME_NAME_EXPLAIN' => 'To change the theme to one of the included themes you need to specify the theme folder name here. To specify a custom theme you must rename css files to jquery-ui.css then upload your custom theme folder to the js/jqueryui/css/ folder. Then specify the name of that folder here.',
));
// END jQuery UI Theme
ค้นหา
โค้ด: เลือกทั้งหมด
</body>
โค้ด: เลือกทั้งหมด
<!-- INCLUDE jquery-ui/jquery-ui.html -->
ค้นหา
โค้ด: เลือกทั้งหมด
<head>
โค้ด: เลือกทั้งหมด
<script type="text/javascript">
// <![CDATA[
!window.jQuery && document.write('<script type="text\/javascript" src="{ROOT_PATH}js/jquery/jquery.js"><\/script>');
// ]]>
</script>
โค้ด: เลือกทั้งหมด
</head>
โค้ด: เลือกทั้งหมด
<!-- INCLUDE jquery-ui/jquery-ui-header.html -->
โค้ด: เลือกทั้งหมด
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
โค้ด: เลือกทั้งหมด
<!-- INCLUDE jquery-ui/login-form.html -->
โค้ด: เลือกทั้งหมด
<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
โค้ด: เลือกทั้งหมด
<!-- IF S_USER_LOGGED_IN --><li class="uibutton"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN --><li class="uibutton"><button id="opener" class="">Sign In</button></li><!-- ENDIF -->