Layout and other changes
|
@ -13,6 +13,7 @@ RewriteBase /
|
|||
|
||||
RewriteRule error/(.*)\.html$ index.php?task=error&sub=$1
|
||||
|
||||
RewriteRule ^np/images/(.+)$ /modules/nickpage/images/$1 [L,NC]
|
||||
RewriteRule np/(.*) index.php?task=nickpage&user=$1
|
||||
RewriteRule ^register/(.*)? register.php?regstring=$1
|
||||
RewriteRule ^avatar/(.*)? index.php?task=rp&sum=avatar&id=$1
|
||||
|
@ -26,6 +27,6 @@ RewriteRule canon_chars.html index.php?task=rp&sub=canons [QSA,L]
|
|||
RewriteRule logs.html index.php?task=chat&sub=logs [QSA,L]
|
||||
RewriteRule private.html index.php?task=chat&sub=privatelogs [QSA,L]
|
||||
RewriteRule ^guidelines.html$ /text/rules.html [R=301,L]
|
||||
RewriteRule ^(.*\.html?)$ index.php?task=text&url=$1 [L]
|
||||
RewriteRule ^/t/(.*\.html?)$ index.php?task=text&url=$1 [L]
|
||||
|
||||
</IfModule>
|
||||
|
|
|
@ -126,13 +126,13 @@ class chat extends ajax_module{
|
|||
}
|
||||
if($session->userdata['rp_admin']==1){
|
||||
$js="var menu = [
|
||||
{ name: \"kick\", action: function (element) { sendMsg(\"/k \"+$(element).attr('id')); } },
|
||||
{ name: \"jail\", action: function (element) { sendMsg(\"/jail \"+$(element).attr('id')); } },
|
||||
{ name: \"kick\", action: function (element) { window.socket.send(\"/k \"+$(element).attr('id')); } },
|
||||
{ name: \"jail\", action: function (element) { window.socket.send(\"/jail \"+$(element).attr('id')); } },
|
||||
{ name: \"gag\", action: function (element) { socket.send(\"/gag \"+$(element).attr('id')); } },
|
||||
{ name: \"toggle private\", action: function (element) { sendMsg(\"/tpc \"+$(element).attr('id')); } },
|
||||
{ name: \"ignore\", action: function (element) { sendMsg(\"/ig \"+$(element).attr('id')); } },
|
||||
{ name: \"invite\", action: function (element) { sendMsg(\"/i \"+$(element).attr('id')); } },
|
||||
{ name: \"catch\", action: function (element) { sendMsg(\"/c \"+$(element).attr('id')); } },
|
||||
{ name: \"toggle private\", action: function (element) { window.socket.send(\"/tpc \"+$(element).attr('id')); } },
|
||||
{ name: \"ignore\", action: function (element) { window.socket.send(\"/ig \"+$(element).attr('id')); } },
|
||||
{ name: \"invite\", action: function (element) { window.socket.send(\"/i \"+$(element).attr('id')); } },
|
||||
{ name: \"catch\", action: function (element) { window.socket.send(\"/c \"+$(element).attr('id')); } },
|
||||
{ name: \"whisperwindow\", action: function (element) { if ($('#'+$(element).attr('id')+'_whisper').length > 0){
|
||||
$('#'+$(element).attr('id')+'_whisper').dialog('open');
|
||||
$('#'+$(element).attr('id')+'_whisper').dialog('moveToTop');
|
||||
|
@ -140,12 +140,12 @@ class chat extends ajax_module{
|
|||
create_whisper($(element).attr('id'),\"\");
|
||||
} } },
|
||||
{ name: \"report\", action: function (element) { reportwindow($(element).attr('id')); } },
|
||||
{ name: \"reports\", action: function (element) { sendMsg(\"/rel \"+$(element).attr('id')); } }
|
||||
{ name: \"reports\", action: function (element) { window.socket.send(\"/rel \"+$(element).attr('id')); } }
|
||||
];";
|
||||
}else{
|
||||
$js="var menu = [
|
||||
{ name: \"ignore\", action: function (element) { sendMsg(\"/ig \"+$(element).attr('id')); } },
|
||||
{ name: \"invite\", action: function (element) { sendMsg(\"/i \"+$(element).attr('id')); } },
|
||||
{ name: \"ignore\", action: function (element) { window.socket.send(\"/ig \"+$(element).attr('id')); } },
|
||||
{ name: \"invite\", action: function (element) { window.socket.send(\"/i \"+$(element).attr('id')); } },
|
||||
{ name: \"report\", action: function (element) { reportwindow($(element).attr('id')); } }
|
||||
];";
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ class chat extends module{
|
|||
if($db->num_rows($result)<=0){
|
||||
$core->message('Sorry', 'You have to create a <a href="/create_char.html">Char</a> to participate.',FALSE,$config['path'].'/index.php');
|
||||
}*/
|
||||
$rooms=array(array('room'=>'Lounge','selected'=>'selected="selected"'),array('room'=>'Flirt','selected'=>''));
|
||||
$rooms=array(array('room'=>'Lounge','selected'=>'selected="selected"'),array('room'=>'Flirt','selected'=>''),array('room'=>'Quiz','selected'=>''));
|
||||
$this->tpl->assign('options',$rooms);
|
||||
if($session->userdata['allow_grimdark']==0){
|
||||
$this->tpl->assign('usercount',$data['usercount']);
|
||||
|
|
|
@ -12,7 +12,7 @@ No users.
|
|||
<strong><a>{$key}</a></strong> <img src="/themes/austria/images/locked.png" style="border:none;" /><br />
|
||||
{/if}
|
||||
{foreach from=$user.u item=i}
|
||||
<a id="{$i.n}" class="notice"><img src="/themes/austria/images/{$i.i}" style="border:none;" /></a>{$i.l}<a href="/np/{$i.n}" target="_blank" style="color:#{$i.c}; margin-left: 8px;">{$i.n}</a></span> <img src="/themes/austria/images/{$i.g}.png" style="border:none;" /><br />
|
||||
<a id="{$i.n}" class="notice"><img src="/themes/austria/images/{$i.i}" style="border:none;" /></a>{$i.l}<a href="/np/{$i.n}" target="_blank" style="color:#{$i.c}; margin-left: 8px;">{$i.n}</a></span> <img src="/themes/archer/images/{$i.g}.png" style="border:none;" /><br />
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
@ -22,4 +22,4 @@ No users.
|
|||
{$js}
|
||||
$(".notice").rightClickMenu(menu);
|
||||
</script>
|
||||
{/if}
|
||||
{/if}
|
|
@ -6,7 +6,7 @@ Raum: <select name="room">
|
|||
<option value="{if $option.value==''}{$option.room}{else}{$option.value}{/if}" {$option.selected}>{$option.room}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<a href="//austriachat.net/chat/online.html" target="_blank">Es {$befinden} {$usercount} User im Chat.</a>
|
||||
<a href="//funch.at/chat/online.html" target="_blank">Es {$befinden} {$usercount} User im Chat.</a>
|
||||
<br /><br />
|
||||
<input type="submit" value="Eintreten" /><br />
|
||||
<br /><br />
|
||||
|
@ -20,3 +20,4 @@ Raum: <select name="room">
|
|||
Sorry, niemand online:-(
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,48 +1,72 @@
|
|||
<div class="pmnotice"></div>
|
||||
<footer>
|
||||
<footer class="s-footer">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="twelve columns">
|
||||
<ul class="social-links">
|
||||
<li><a href="https://twitter.com/austriachatnet"><i class="fa fa-twitter"></i></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="six columns info">
|
||||
{if $user.is_admin==1}
|
||||
<div class="row s-footer__top">
|
||||
<div class="column">
|
||||
{if $user.is_admin==1}
|
||||
mySQL Queries: {$queries} | Memory usage: {$memory}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="two columns">
|
||||
<h3 class="social">Navigation</h3>
|
||||
{/if}
|
||||
</div>
|
||||
</div> <!-- end footer__top -->
|
||||
|
||||
<ul class="navigate group">
|
||||
<li><a href="/index.php">Home</a></li>
|
||||
<li><a href="/impressum.html">Impressum</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="row s-footer__bottom">
|
||||
|
||||
<p class="copyright">© Copyright 2017 AustriaChat.net. Design by <a title="Styleshout" href="http://www.styleshout.com/">Styleshout</a>.</p>
|
||||
|
||||
</div> <!-- End row -->
|
||||
<div class="large-6 tab-full column s-footer__info">
|
||||
</div>
|
||||
|
||||
<div id="go-top"><a class="smoothscroll" title="Back to Top" href="#top"><i class="fa fa-chevron-up"></i></a></div>
|
||||
<div class="large-6 tab-full column">
|
||||
<div class="row">
|
||||
<!--<div class="large-8 tab-full column">
|
||||
|
||||
</footer> <!-- End Footer-->
|
||||
{literal}
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
<h3 class="h6">Photostream</h3>
|
||||
|
||||
ga('create', 'UA-96528626-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
<ul class="photostream group">
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
<li><a href="#0"><img alt="thumbnail" src="images/thumb.jpg"></a></li>
|
||||
</ul>
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
</div>-->
|
||||
|
||||
<div class="large-4 tab-full column">
|
||||
<h3 class="h6">Navigation</h3>
|
||||
|
||||
<ul class="s-footer__list s-footer-list--nav group">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/nutzungsbedingungen.html">Nutzungsbedingungen</a></li>
|
||||
<li><a href="/datenschutzerklaerung.html">Datenschutzerklärung</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ss-copyright">
|
||||
<span>© Copyright 2025 FunCh.at.</span>
|
||||
<span>Design by <a href="https://www.styleshout.com/">StyleShout</a></span>
|
||||
</div>
|
||||
|
||||
</div> <!-- end footer__bottom -->
|
||||
|
||||
|
||||
<div class="ss-go-top">
|
||||
<a class="smoothscroll" title="Back to Top" href="#top">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0l8 9h-6v15h-4v-15h-6z"/></svg>
|
||||
</a>
|
||||
</div> <!-- end ss-go-top -->
|
||||
|
||||
</footer> <!-- end Footer-->
|
||||
|
||||
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/main.js"></script>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
{$header}
|
||||
<div id="content-wrap">
|
||||
|
||||
<div id="content-wrap-chat">
|
||||
<div class="chatrow">
|
||||
|
||||
<div id="main" class="nine columns">
|
||||
<div id="chat" style="height:100%;">
|
||||
<div class="topbar"><a id="notchan">Ding</a> | <a href="//funch.at/forum/help-8.html" target="_blank" onclick="return popup('//funch.at/forum/help-8.html','width=800, height=800, resizeable,scrollbars=yes');">Hilfe</a> | <a href="//funch.at/forum/misc.php?action=smilies&popup=true" target="_blank" onclick="return popup('//funch.at/forum/misc.php?action=smilies&popup=true','width=600, height=600, resizeable,scrollbars=yes');">Smilies</a> | <a id="notsw">Benachrichtigung: An</a> | <a id="scrolling">Scrolling: An</a> | <a id="whwindow">{$whtext}</a> | <a id="submit">{$submit}</a> | <a id="logout">Logout</a></div>
|
||||
|
||||
<div id="chatlog" style="z-index:1; height:600px; position:relative;"></div>
|
||||
<textarea id="text" autocomplete="off" spellcheck="true" style="z-index:2; float: right; position: relative; background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000000; width: 92%; height:20px; color: #{$col};" ></textarea>
|
||||
</div>
|
||||
<div id="main" class="ten columns" style="height:100%;">
|
||||
<div id="chat" style="height:80vh;">
|
||||
<div class="topbar"><a id="notchan">Ding</a> | <a href="//funch.at/forum/help-8.html" target="_blank" onclick="return popup('//funch.at/forum/help-8.html','width=800, height=800, resizeable,scrollbars=yes');">Hilfe</a> | <a href="//funch.at/forum/misc.php?action=smilies&popup=true" target="_blank" onclick="return popup('//funch.at/forum/misc.php?action=smilies&popup=true','width=600, height=600, resizeable,scrollbars=yes');">Smilies</a> | <a id="notsw">Benachrichtigung: An</a> | <a id="scrolling">Scrolling: An</a> | <a id="whwindow">{$whtext}</a> | <a id="submit">{$submit}</a> | <a id="logout">Logout</a></div>
|
||||
<div id="chatlog" style="z-index:1; position:relative;"></div>
|
||||
<textarea id="text" autocomplete="off" spellcheck="true" style="z-index:2; float: right; position: relative; background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000000; width: 100%; max-width: 870px; height:20px; color: #{$col};" ></textarea>
|
||||
</div>
|
||||
</div> <!-- end main -->
|
||||
<div id="sidebar" class="three columns">
|
||||
<div class="userlist">
|
||||
|
@ -18,7 +15,6 @@
|
|||
</div>
|
||||
{$rightnav}
|
||||
</div> <!-- end sidebar -->
|
||||
|
||||
</div> <!-- end row -->
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
@ -28,8 +24,8 @@
|
|||
size: '10px',
|
||||
width: '95%',
|
||||
wheelStep: 10,
|
||||
height: '580px',
|
||||
start: 'bottom'
|
||||
height: '90%',
|
||||
start: 'bottom'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -1,74 +1,91 @@
|
|||
<!DOCTYPE html>
|
||||
<!--[if lt IE 8 ]><html class="no-js ie ie7" lang="en"> <![endif]-->
|
||||
<!--[if IE 8 ]><html class="no-js ie ie8" lang="en"> <![endif]-->
|
||||
<!--[if IE 9 ]><html class="no-js ie ie9" lang="en"> <![endif]-->
|
||||
<!--[if (gte IE 8)|!(IE)]><!--><html class="no-js" lang="de"> <!--<![endif]-->
|
||||
<head>
|
||||
|
||||
<!--- Basic Page Needs
|
||||
================================================== -->
|
||||
<meta charset="utf-8">
|
||||
<title>Funch.at - Die Österreichische Chatcommunity</title>
|
||||
<meta name="keywords" content="oe3 Ö3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum" />
|
||||
<meta name="author" content="Funch.at" />
|
||||
<meta content="FunCh.at - Die Österreichische Chatcommunity" property="og:title" />
|
||||
<meta name="keywords" content="oe3 Ö3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum" />
|
||||
<meta name="author" content="FunCh.at" />
|
||||
<meta name="description" content="Die kostenlose und werbefreie Österreichische Chatcommunity. Endlich wieder Chatten wie im Uboot, sms.at, Orf Chat, usw. Wir sehen uns!" />
|
||||
<link href="https://funch.at/chat" rel="Chat"/>
|
||||
<link href="https://funch.at/forum" rel="Forum"/>
|
||||
{$meta}
|
||||
<!-- mobile specific metas
|
||||
================================================== -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||
|
||||
<!-- CSS
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="de">
|
||||
<head>
|
||||
<!--- basic page needs
|
||||
================================================== -->
|
||||
<link rel="stylesheet" href="{$themepath}/css/default.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/layout.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/media-queries.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/font-awesome/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="/js/odo/odometer-theme-minmal.css" />
|
||||
<!-- Script
|
||||
<meta charset="utf-8" />
|
||||
<title>Funch.at - Die Österreichische Chatcommunity</title>
|
||||
<meta
|
||||
content="Funch.at - Die Österreichische Chatcommunity"
|
||||
property="og:title"
|
||||
/>
|
||||
<meta
|
||||
name="keywords"
|
||||
content="oe3 Ö3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum"
|
||||
/>
|
||||
<meta name="author" content="Funch.at" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Die kostenlose und werbefreie Österreichische Chatcommunity. Endlich wieder Chatten wie im Uboot, sms.at, Orf Chat, usw. Wir sehen uns!"
|
||||
/>
|
||||
{$meta}
|
||||
<link href="https://funch.at/chat" rel="Chat" />
|
||||
<link href="https://funch.at/forum" rel="Forum" />
|
||||
<!-- mobile specific metas
|
||||
================================================== -->
|
||||
<script src="js/modernizr.js"></script>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
|
||||
<!-- Favicons
|
||||
<!-- CSS
|
||||
================================================== -->
|
||||
<link rel="stylesheet" href="{$themepath}/css/default.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/layout.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/media-queries.css" />
|
||||
<link rel="stylesheet" href="/js/odo/odometer-theme-minmal.css" />
|
||||
|
||||
<!-- Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/modernizr.js"></script>
|
||||
<script defer src="{$themepath}/js/fontawesome/all.min.js"></script>
|
||||
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
sizes="192x192"
|
||||
href="/android-icon-192x192.png"
|
||||
/>
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
</head>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Header
|
||||
<body>
|
||||
<!-- Header
|
||||
================================================== -->
|
||||
<header id="chattop">
|
||||
<nav id="nav-wrap">
|
||||
<header id="chattop">
|
||||
<nav id="nav-wrap">
|
||||
<a class="mobile-btn" href="#nav-wrap" title="Navigation zeigen"
|
||||
>Zeige Menü</a
|
||||
>
|
||||
<a class="mobile-btn" href="#" title="Navigation verstecken"
|
||||
>Verstecke Menü</a
|
||||
>
|
||||
|
||||
<a class="mobile-btn" href="#nav-wrap" title="Navigation zeigen">Zeige Menü</a>
|
||||
<a class="mobile-btn" href="#" title="Navigation verstecken">Verstecke Menü</a>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<ul id="nav" class="nav">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li class="current"><a href="/chat">Chat<span class="odometer">{$users}</span></a></li>
|
||||
<li class="has-children"><a href="/forum">Forum</a>
|
||||
<ul>
|
||||
{foreach from=$forum item=f}
|
||||
<li><a href="{$f.link}">{$f.name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="archives.html">Archives</a></li>
|
||||
</ul> <!-- end #nav -->
|
||||
|
||||
</div>
|
||||
|
||||
</nav> <!-- end #nav-wrap -->
|
||||
|
||||
</header> <!-- Header End -->
|
||||
<div class="row">
|
||||
<ul id="nav" class="nav">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li class="current">
|
||||
<a href="/chat">Chat<span class="odometer">{$users}</span></a>
|
||||
</li>
|
||||
<li class="has-children">
|
||||
<a href="/forum">Forum</a>
|
||||
<ul>
|
||||
{foreach from=$forum item=f}
|
||||
<li><a href="{$f.link}">{$f.name}</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="archives.html">Archives</a></li>
|
||||
</ul>
|
||||
<!-- end #nav -->
|
||||
</div>
|
||||
</nav>
|
||||
<!-- end #nav-wrap -->
|
||||
</header>
|
||||
<!-- Header End -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -11,23 +11,21 @@ class plugins_chatusers{
|
|||
function chatuser_refresh(){
|
||||
global $db, $config, $footer;
|
||||
$footer .= "<script type=\"text/javascript\">
|
||||
<!--
|
||||
function chatusers()
|
||||
{
|
||||
$.ajax({
|
||||
url: \"/ajax.php?task=chatusers\",
|
||||
timeout: 1000,
|
||||
success: function(data) {
|
||||
$('.odometer').html(data);
|
||||
$('.odometer-inside').html(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
chatusers();
|
||||
setInterval(\"chatusers()\",60000);
|
||||
// -->
|
||||
</script>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -7,7 +7,7 @@ class module_mybbnews extends admin_module{
|
|||
$info["file"]="mybbnews";
|
||||
$info["author"]="genuineparts";
|
||||
$info["version"]="1.0.0";
|
||||
$info["url"]="http://www.austriachat.net";
|
||||
$info["url"]="http://www.becast.ar";
|
||||
return $info;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,22 +1,26 @@
|
|||
<h2>News</h2>
|
||||
{foreach from=$news item=n}
|
||||
<article class="entry">
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title">
|
||||
{$n.title}
|
||||
</h2>
|
||||
<div class="entry-meta">
|
||||
<ul>
|
||||
<li>{$n.date}</li>
|
||||
<span class="meta-sep">•</span>
|
||||
<li><a href="/np/{$n.username}">{$n.username}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<p>{$n.text}</p>
|
||||
</div>
|
||||
<p><small><a href="/forum/thread-{$n.tid}.html">{$n.comments} Kommentar(e)</a></small></p>
|
||||
</article> <!-- end entry -->
|
||||
{foreachelse}
|
||||
{/foreach}
|
||||
<article class="entry">
|
||||
<header class="entry-header">
|
||||
<h2 class="entry-title">{$n.title}</h2>
|
||||
<div class="entry-meta">
|
||||
<ul>
|
||||
<li>{$n.date}</li>
|
||||
<span class="meta-sep">•</span>
|
||||
<li><a href="/np/{$n.username}">{$n.username}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<p>{$n.text}</p>
|
||||
</div>
|
||||
<p>
|
||||
<small
|
||||
><a href="/forum/thread-{$n.tid}.html"
|
||||
>{$n.comments} Kommentar(e)</a
|
||||
></small
|
||||
>
|
||||
</p>
|
||||
</article>
|
||||
<!-- end entry -->
|
||||
{foreachelse} {/foreach}
|
||||
|
|
Before Width: | Height: | Size: 44 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 1.5 KiB |
|
@ -28,14 +28,18 @@ If (!defined("in_astat")) {
|
|||
die("Dieses Script kann nicht ausserhalb des Frameworks laufen!");
|
||||
}
|
||||
$session->page_begin("Nickpage", FALSE);
|
||||
use Smarty\Smarty;
|
||||
|
||||
class nickpage extends module{
|
||||
var $mybb_conf,$session;
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
$this->mybb_conf = $this->fetchboardconfig();
|
||||
}
|
||||
|
||||
function output(){
|
||||
global $module,$tpl,$config,$db,$log,$core,$error, $session;
|
||||
global $module,$config,$db,$log,$core,$error, $session;
|
||||
|
||||
$count=20;
|
||||
|
||||
|
@ -49,12 +53,13 @@ class nickpage extends module{
|
|||
$user['sitetitle']='Nickpage nicht gefunden';
|
||||
}else{
|
||||
$parser=new textparser();
|
||||
|
||||
$loggedin = false;
|
||||
$db->free_result($result);
|
||||
|
||||
$user['sitetitle']='Nickpage von '.$user['username'];
|
||||
|
||||
$result=$db->query("SELECT * FROM `" . $this->mybb_conf['prefix'] . "users` WHERE `uid`='".$user['fuid']."' LIMIT 1");
|
||||
if($session->userdata['uid']!=0){
|
||||
$loggedin = true;
|
||||
}
|
||||
$result=$db->query("SELECT * FROM `" . $this->mybb_conf["prefix"] . "users` WHERE `uid`='".$user['fuid']."' LIMIT 1");
|
||||
$forum=$db->fetch_array($result);
|
||||
$db->free_result($result);
|
||||
|
||||
|
@ -62,7 +67,7 @@ class nickpage extends module{
|
|||
$chat=$db->fetch_array($result);
|
||||
$db->free_result($result);
|
||||
|
||||
$result=$db->query("SELECT count(`id`) as `count` FROM `" . $config['prefix'] . "npguestbook` WHERE `guid`='".$user['uid']."'");
|
||||
$result=$db->query("SELECT count(`id`) as `count` FROM `" . $config["prefix"] . "npguestbook` WHERE `guid`='".$user['uid']."'");
|
||||
$gb_count=$db->fetch_array($result);
|
||||
$gb_pages=ceil($gb_count['count']/$count);
|
||||
$db->free_result($result);
|
||||
|
@ -76,8 +81,8 @@ class nickpage extends module{
|
|||
}else{
|
||||
$user['age'] = 'unbekannt';
|
||||
}
|
||||
|
||||
if(!$_GET['page'] || $_GET['page']=="first"){
|
||||
$page = 0;
|
||||
if(!isset($_GET['page']) || $_GET['page']=="first"){
|
||||
$start=0;
|
||||
}elseif($_GET['page']=="last"){
|
||||
$page=$gb_pages-1;
|
||||
|
@ -118,10 +123,10 @@ class nickpage extends module{
|
|||
$user['chattime']=$this->intervall($chat['chattime']);
|
||||
$user['reviewnum']=$reviews['count'];
|
||||
switch($chat['rights']){
|
||||
case(3):
|
||||
case(99):
|
||||
$user['chatright']='Chatadmin';
|
||||
break;
|
||||
case(2):
|
||||
case(50):
|
||||
$user['chatright']='Chat-VIP';
|
||||
break;
|
||||
}
|
||||
|
@ -136,6 +141,7 @@ class nickpage extends module{
|
|||
}
|
||||
//$forum['buddylist'];
|
||||
if($session->userdata['uid']!=""){
|
||||
|
||||
$result=$db->query("SELECT `buddylist` FROM `" . $this->mybb_conf["prefix"] . "users` WHERE `uid`='".$session->userdata['fuid']."' LIMIT 1");
|
||||
$friends=$db->fetch_array($result);
|
||||
$db->free_result($result);
|
||||
|
@ -174,16 +180,17 @@ class nickpage extends module{
|
|||
$db->free_result($result);
|
||||
}
|
||||
}
|
||||
$tpl->assign('friends',$friendl);
|
||||
$tpl->assign('user',$user);
|
||||
$tpl->assign('forum',$forum);
|
||||
$tpl->assign('domain',$config['domain']);
|
||||
$tpl->assign('gb',$gb);
|
||||
$tpl->assign('pagination',$pagination);
|
||||
//$content=$this->tpl->fetch('nickpage_content.tpl');
|
||||
|
||||
$this->tpl->assign('friends',$friendl);
|
||||
$this->tpl->assign('user',$user);
|
||||
$this->tpl->assign('forum',$forum);
|
||||
$this->tpl->assign('loggedin',$loggedin);
|
||||
$this->tpl->assign('domain',$config['domain']);
|
||||
$this->tpl->assign('gb',$gb);
|
||||
$this->tpl->assign('pagination',$pagination);
|
||||
$content=$this->tpl->fetch('nickpage.tpl');
|
||||
}
|
||||
$tpl->assign('user',$user);
|
||||
$core->make_page($content,TRUE,$config['fullpath'].'/modules/nickpage/templates/default/nickpage.tpl',NULL,NULL);
|
||||
$core->make_page($content,TRUE,$config['fullpath'].'/modules/nickpage/templates/default/nickpage_content.tpl',NULL,NULL);
|
||||
}
|
||||
|
||||
function output_edit(){
|
||||
|
|
|
@ -13,13 +13,15 @@
|
|||
<div id="content-wrap">
|
||||
<div class="row add-bottom">
|
||||
<div class="six columns add-bottom">
|
||||
<h3>Über {$user.username}</h3>
|
||||
<h3>Über {$user.username} <img src="images/{$user.gender}.png" style="float: right;"></h3>
|
||||
<p><img class="pull-left" src="/forum/{$user.np_picture}" alt="Ist das {$user.username}?">
|
||||
{$user.fid2}</p><div id="gender"><img src="/npimages/{$user.gender}.png" /></div>
|
||||
{$user.fid2}</p>
|
||||
</div>
|
||||
<div class="six columns add-bottom">
|
||||
<h3>Über mich:</h3>
|
||||
{if $user.birthdayprivacy != none}
|
||||
<p>Alter: {$user.age}<br />
|
||||
{/if}
|
||||
<ul>
|
||||
<li><a href="//{$domain}/forum/private.php?action=send&uid={$user.fuid}">PN an {$user.username}</a></li>
|
||||
<li>Forenposts: <a href="//{$domain}/forum/search.php?action=finduser&uid={$user.fuid}">{$forum.postnum}</a></li>
|
||||
|
@ -48,9 +50,10 @@
|
|||
</div>
|
||||
</div> <!-- Row End-->
|
||||
{/if}
|
||||
<hr>
|
||||
|
||||
<div class="row section-head">
|
||||
{if $gb!=""}
|
||||
<hr>
|
||||
{$pagination}
|
||||
{foreach from=$gb item=g}
|
||||
<div class="twelve columns">
|
||||
|
@ -73,13 +76,22 @@
|
|||
</nav>
|
||||
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
{else}
|
||||
<hr>
|
||||
<div class="twelve columns">
|
||||
<p>Keine Einträge. Schreib doch einfach einen. ;-)</p>
|
||||
</div>
|
||||
<hr>
|
||||
{/if}
|
||||
{if $loggedin==true}
|
||||
<h3>Gästebucheintrag schreiben:</h3>
|
||||
<form action="/np/{$user.username}/gbentry" method="post">
|
||||
<textarea name="gbeintrag" id="gb"></textarea>
|
||||
<input type="hidden" name="user" value="{$g.username}" />
|
||||
<input type="submit" class="button" name="submit" value="Absenden">
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
|
|
|
@ -38,7 +38,11 @@
|
|||
================================================== -->
|
||||
<script src="{$themepath}/js/modernizr.js"></script>
|
||||
<script defer src="{$themepath}/js/fontawesome/all.min.js"></script>
|
||||
<!--<script src="{$themepath}/js/jquery-3.2.1.min.js"></script>-->
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="{$themepath}/js/wysibb/jquery.wysibb.min.js"></script>
|
||||
<link rel="stylesheet" href="{$themepath}/js/wysibb/theme/default/wbbtheme.css" />
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
|
@ -46,10 +50,17 @@
|
|||
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/jquery-3.2.1.min.js"></script>
|
||||
|
||||
<script src="{$themepath}/js/main.js"></script>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var wbbOpt = {
|
||||
buttons: "bold,italic,underline,strike,sup,sub,|,img,link,|,code,quote"
|
||||
}
|
||||
$("#gb").wysibb(wbbOpt);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -28,6 +28,7 @@ class module_text extends admin_module{
|
|||
`menue` int(11) NOT NULL default '0',
|
||||
`title` varchar(80) NOT NULL default '',
|
||||
`url` varchar(120) NOT NULL,
|
||||
`rightnavi` enum('false','true') NOT NULL,
|
||||
`active` enum('true','false') NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `author` (`author`),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{$header}
|
||||
<div id="content-wrap">
|
||||
<div id="content-wrap">
|
||||
|
||||
<div class="row">
|
||||
|
||||
|
@ -12,4 +12,4 @@
|
|||
|
||||
</div> <!-- end row -->
|
||||
|
||||
</div> <!-- end content-wrap -->
|
||||
</div> <!-- end content-wrap -->
|
||||
|
|
22
themes/austria/js/wysibb/LICENSE-MIT
Normal file
|
@ -0,0 +1,22 @@
|
|||
Copyright (c) 2012 Vadim Dobroskok
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
197
themes/austria/js/wysibb/README.md
Normal file
|
@ -0,0 +1,197 @@
|
|||
#WysiBB - WYSIWYG BBcode editor
|
||||
|
||||
WysiBB is a jQuery visual WYSIWYG editor for BBcode.
|
||||
For more information please visit [wysibb.com](http://www.wysibb.com)
|
||||
|
||||
## Usage
|
||||
|
||||
Include the JQuery and WysiBB files
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="http://cdn.wysibb.com/js/jquery.wysibb.min.js"></script>
|
||||
<link rel="stylesheet" href="http://cdn.wysibb.com/css/default/wbbtheme.css" />
|
||||
|
||||
Activate WysiBB on an existing textarea
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#editor").wysibb()
|
||||
})
|
||||
</script>
|
||||
<textarea id="editor" name="editor_name">My text</textarea>
|
||||
|
||||
To see how it works, you can try [the official demo](http://www.wysibb.com/).
|
||||
|
||||
|
||||
## Options
|
||||
|
||||
####BBcodes
|
||||
WysiBB comes with all BBCodes by default (allButtons). You can configure BBCode you want.
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var wbbOpt = {
|
||||
buttons: "bold,italic,underline,|,img,link,|,code,quote"
|
||||
}
|
||||
$("#editor").wysibb(wbbOpt);
|
||||
});
|
||||
</script>
|
||||
|
||||
####Language
|
||||
WysiBB comes in russian by default, but you can set a different language
|
||||
|
||||
<head>
|
||||
...
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="http://cdn.wysibb.com/js/jquery.wysibb.min.js"></script>
|
||||
<link rel="stylesheet" href="http://cdn.wysibb.com/css/default/wbbtheme.css" />
|
||||
<script src="/js/lang/fr.js"></script>
|
||||
...
|
||||
</head>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var wbbOpt = {
|
||||
lang : "fr",
|
||||
buttons: "bold,italic,underline,|,img,link,|,code,quote"
|
||||
}
|
||||
$("#editor").wysibb(wbbOpt);
|
||||
});
|
||||
</script>
|
||||
|
||||
(languages available: Arabic (ar), Chinese (cn), English (en), French (fr), Polish (pl), Turkish (tr) & Vietnamese (ci))
|
||||
|
||||
|
||||
####Shortkeys
|
||||
|
||||
You can assign any keyboard shortcuts for BBcode. By default WysiBB set some hotkeys. You can add or change their combinations for existing BBcodes.
|
||||
Consider hook up hotkeys for example.
|
||||
|
||||
var wbbOpt = {
|
||||
allButtons: {
|
||||
img: {
|
||||
hotkey: "ctrl+shift+5"
|
||||
},
|
||||
link: {
|
||||
hotkey: "ctrl+shift+k"
|
||||
}
|
||||
}
|
||||
}
|
||||
$("#editor").wysibb(wbbOpt);
|
||||
|
||||
Note that certain key combinations are already used by browsers, so they might not work.
|
||||
|
||||
var wbbOpt = {
|
||||
hotkeys: false, //disable hotkeys (native browser combinations will work)
|
||||
showHotkeys: false //hide combination in the tooltip when you hover.
|
||||
}
|
||||
$("#editor").wysibb(wbbOpt);
|
||||
|
||||
|
||||
####Custom BBCodes
|
||||
|
||||
You can set custom BBcode transformation, or add your own BBCodes
|
||||
|
||||
var wbbOpt = {
|
||||
buttons: "bold,italic,underline,|,img,link,|,code,myquote",
|
||||
allButtons: {
|
||||
code: {
|
||||
transform: {
|
||||
'<div class="mycode"><div class="codetop">This program code:</div><div class="codemain">{SELTEXT}</div></div>':'[code]{SELTEXT}[/code]'
|
||||
}
|
||||
},
|
||||
myquote: {
|
||||
title: 'Insert a quote',
|
||||
buttonText: 'myquote',
|
||||
transform: {
|
||||
'<div class="myquote">{SELTEXT}</div>':'[myquote]{SELTEXT}[/myquote]'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$("#editor").wysibb(wbbOpt);
|
||||
|
||||
In this configuration by using the buttons we described what BBcodes will be connected to our editor. I want to note that this option was added at once and our own BBcode myquote.
|
||||
|
||||
Later, using the parameter allButtons, we have changed the conclusion BBcode code and added our own, describing its title (tooltip when you hover), buttonText (text button in the toolbar).
|
||||
|
||||
{SELTEXT} - is the only predefined parameter.
|
||||
|
||||
|
||||
See [the documentation](http://www.wysibb.com/ru/docs/) for more features like Sophisticated BBCodes, handlers, modal window with tabs, ...
|
||||
|
||||
|
||||
|
||||
## Browser support
|
||||
|
||||
WysiBB supports modern browsers, including Google Chrome, Firefox, Safari, Opera & IE8+.
|
||||
It also works fine on modern smartphone & tablet browsers.
|
||||
|
||||
|
||||
|
||||
## API
|
||||
|
||||
Get to document editor
|
||||
|
||||
$("#editor").getDoc()
|
||||
|
||||
Get highlighted text
|
||||
|
||||
$("#editor").getSelectText()
|
||||
|
||||
Get / replace BBcode editor content
|
||||
|
||||
$("#editor").bbcode(); //get BBcode editor content
|
||||
$("#editor").bbcode(bbdata); //set BBcode editor content
|
||||
|
||||
Get / replace HTML editor content
|
||||
|
||||
$("#editor").htmlcode(); //get HTML editor content
|
||||
$("#editor").htmlcode(htmlcode); //set HTML editor content
|
||||
|
||||
getHTMLByCommand (command, params)
|
||||
Outputs the editor content as HTML. Where command - the command name, params - object variable
|
||||
|
||||
$("#editor").getHTMLByCommand("code",{seltext:"this code"});
|
||||
|
||||
getBBCodeByCommand (command, params)
|
||||
Get an outcome of the execution of commands in BB code form. Where command - the command name, params - object variable
|
||||
|
||||
$("#editor").getBBCodeByCommand("code",{seltext:"this code"});
|
||||
|
||||
insertAtCursor(data)
|
||||
Insert a text where the typing cursor is
|
||||
|
||||
$("#editor").insertAtCursor("this code");
|
||||
|
||||
execCommand(command,value)
|
||||
Execute the command. Where command - the command name, value - value
|
||||
|
||||
$("#editor").execCommand("bold");
|
||||
|
||||
sync()
|
||||
Synchronize data editor and textarea
|
||||
|
||||
$("#editor").sync();
|
||||
|
||||
|
||||
|
||||
|
||||
## License
|
||||
|
||||
WysiBB is licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) license.
|
||||
If you use WysiBB a link back or a donation would be appreciated, but not required.
|
||||
|
||||
|
||||
|
||||
## Contribute
|
||||
|
||||
Any contributions and/or pull requests would be welcome.
|
||||
Themes, translations, bug reports and bug fixes are greatly appreciated.
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
[Support forum](http://www.wysibb.com/forum/) (mostly in Russian)
|
||||
|
||||
|
3026
themes/austria/js/wysibb/jquery.wysibb.js
Normal file
5
themes/austria/js/wysibb/jquery.wysibb.min.js
vendored
Normal file
74
themes/austria/js/wysibb/lang/ar.js
Normal file
|
@ -0,0 +1,74 @@
|
|||
/*Arabic language by Charafweb*/
|
||||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['ar'] = {
|
||||
code: "كود:",
|
||||
bold: "سميك",
|
||||
italic: "مائل",
|
||||
underline: "سطر تحت",
|
||||
strike: "تشطيب",
|
||||
link: "رابط",
|
||||
img: "إدراج صورة",
|
||||
sup: "نص مرتفع",
|
||||
sub: "نص منخفض",
|
||||
justifyleft: "محاذاة إلى اليسار",
|
||||
justifycenter: "محاذاة إلى الوسط",
|
||||
justifyright: "محاذاة إلى اليمين",
|
||||
table: "إدراج جدول",
|
||||
bullist: "• قائمة غير مرتبة",
|
||||
numlist: "١. قائمة مرتبة",
|
||||
quote: "إقتباس",
|
||||
offtop: "خارج عن الموضوع",
|
||||
code: "كود برمجي",
|
||||
spoiler: "إخفاء",
|
||||
fontcolor: "لون الخط",
|
||||
fontsize: "حجم الخط",
|
||||
fontfamily: "نوع الخط",
|
||||
fs_verysmall: "صغير جداً",
|
||||
fs_small: "صغير",
|
||||
fs_normal: "عادي",
|
||||
fs_big: "كبير",
|
||||
fs_verybig: "كبير جداً",
|
||||
smilebox: "إدراج تعبير وجهي",
|
||||
removeFormat: 'إزالة التنسيق',
|
||||
|
||||
modal_link_title: "إدراج رابط",
|
||||
modal_link_text: "عرض النص",
|
||||
modal_link_url: " رابط",
|
||||
modal_email_text: "عرض البريد الإلكتروني",
|
||||
modal_email_url: "البريد الإلكتروني",
|
||||
modal_link_tab1: "إدراج عنوان URL",
|
||||
|
||||
modal_img_title: "إدراج صورة",
|
||||
modal_img_tab1: "إدراج عنوان URL",
|
||||
modal_img_tab2: "تحميل الصورة",
|
||||
modal_imgsrc_text: "أدخل عنوان URL للصورة",
|
||||
modal_img_btn: "اختر ملف",
|
||||
add_attach: "إرفاق ملف",
|
||||
|
||||
close: "إغلاق",
|
||||
save: "حفظ",
|
||||
cancel: "إلغاء الأمر",
|
||||
remove: "حذف",
|
||||
|
||||
validation_err: "البيانات المدخلة غير صحيحة",
|
||||
error_onupload: "حدث خطأ أثناء تحميل الملف",
|
||||
|
||||
fileupload_text1: "إسقاط الملف هنا",
|
||||
fileupload_text2: "أو",
|
||||
|
||||
loading: "جاري التحميل",
|
||||
auto: "تلقائي",
|
||||
views: "عدد المشاهدات",
|
||||
downloads: "التنزيلات",
|
||||
|
||||
//smiles
|
||||
sm1: "ابتسامة",
|
||||
sm2: "ضحك",
|
||||
sm3: "غمزة",
|
||||
sm4: "شكرا",
|
||||
sm5: "أنب",
|
||||
sm6: "صدمة",
|
||||
sm7: "غاضب",
|
||||
sm8: "ألم",
|
||||
sm9: "مريض"
|
||||
};
|
75
themes/austria/js/wysibb/lang/cn.js
Normal file
|
@ -0,0 +1,75 @@
|
|||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['cn'] = {
|
||||
bold: "粗体",
|
||||
italic: "斜体",
|
||||
underline: "下划线",
|
||||
strike: "中划线",
|
||||
link: "链接",
|
||||
img: "插入图片",
|
||||
sup: "上标",
|
||||
sub: "下标",
|
||||
justifyleft: "左对齐",
|
||||
justifycenter: "居中",
|
||||
justifyright: "右对齐",
|
||||
table: "插入表格",
|
||||
bullist: "• 无序列表",
|
||||
numlist: "1.有序列表",
|
||||
quote: "引用",
|
||||
offtop: "Offtop",
|
||||
code: "代码",
|
||||
spoiler: "Spoiler",
|
||||
fontcolor: "字体颜色",
|
||||
fontsize: "字体大小",
|
||||
fontfamily: "字体",
|
||||
fs_verysmall: "很小",
|
||||
fs_small: "小字",
|
||||
fs_normal: "正常",
|
||||
fs_big: "大字",
|
||||
fs_verybig: "极大",
|
||||
smilebox: "插入表情符",
|
||||
video: "嵌入多媒体",
|
||||
removeFormat:"清除格式",
|
||||
|
||||
modal_link_title: "插入超级链接",
|
||||
modal_link_text: "显示文本",
|
||||
modal_link_url: "网址",
|
||||
modal_email_text: "显示邮件地址",
|
||||
modal_email_url: "邮件地址",
|
||||
modal_link_tab1: "插入网址",
|
||||
|
||||
modal_img_title: "插入图片",
|
||||
modal_img_tab1: "图片网址",
|
||||
modal_img_tab2: "上传图片",
|
||||
modal_imgsrc_text: "输入图片网址",
|
||||
modal_img_btn: "选择文件",
|
||||
add_attach: "加入附件",
|
||||
|
||||
modal_video_text: "输入多媒体网址",
|
||||
|
||||
close: "关闭",
|
||||
save: "保存",
|
||||
cancel: "取消",
|
||||
remove: "删除",
|
||||
|
||||
validation_err: "输入数据无效",
|
||||
error_onupload: "文件上传发生错误",
|
||||
|
||||
fileupload_text1: "拖动文件到此处",
|
||||
fileupload_text2: "或者",
|
||||
|
||||
loading: "载入中",
|
||||
auto: "自动",
|
||||
views: "查看",
|
||||
downloads: "下载",
|
||||
|
||||
//smiles
|
||||
sm1: "微笑",
|
||||
sm2: "大笑",
|
||||
sm3: "秋波",
|
||||
sm4: "谢谢",
|
||||
sm5: "骂人",
|
||||
sm6: "触电",
|
||||
sm7: "生气",
|
||||
sm8: "疼痛",
|
||||
sm9: "生病"
|
||||
};
|
76
themes/austria/js/wysibb/lang/de.js
Normal file
|
@ -0,0 +1,76 @@
|
|||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['de'] = {
|
||||
// ä=\u00e4 - ö=\u00f6 - ü=\u00fc - ß=\u00df
|
||||
bold: "Fett",
|
||||
italic: "Kursiv",
|
||||
underline: "Unterstrichen",
|
||||
strike: "Durchgestrichen",
|
||||
link: "Link",
|
||||
img: "Bild einf\u00fcgen",
|
||||
sup: "Hochgestellt",
|
||||
sub: "Tiefgestellt",
|
||||
justifyleft: "Linksb\u00fcndig",
|
||||
justifycenter: "Zentriert",
|
||||
justifyright: "Rechtsb\u00fcndig",
|
||||
table: "Tabelle einf\u00fcgen",
|
||||
bullist: "\u2022 Ungeordnete Liste",
|
||||
numlist: "1. Geordnete Liste",
|
||||
quote: "Zitat",
|
||||
offtop: "Offtop",
|
||||
code: "Code",
|
||||
spoiler: "Spoiler",
|
||||
fontcolor: "Schriftfarbe",
|
||||
fontsize: "Schriftgr\u00f6\u00dfe",
|
||||
fontfamily: "Schriftart",
|
||||
fs_verysmall: "Sehr klein",
|
||||
fs_small: "Klein",
|
||||
fs_normal: "Normal",
|
||||
fs_big: "Gro\u00df",
|
||||
fs_verybig: "Sehr gro\u00df",
|
||||
smilebox: "Emoticon einf\u00fcgen",
|
||||
video: "Video einbetten",
|
||||
removeFormat:"Formatierung l\u00f6schen",
|
||||
|
||||
modal_link_title: "Link einf\u00fcgen",
|
||||
modal_link_text: "Text",
|
||||
modal_link_url: "URL",
|
||||
modal_email_text: "Display E-Mail",
|
||||
modal_email_url: "E-Mail",
|
||||
modal_link_tab1: "Insert URL",
|
||||
|
||||
modal_img_title: "Bild hochladen",
|
||||
modal_img_tab1: "URL eingeben",
|
||||
modal_img_tab2: "Bild hochladen",
|
||||
modal_imgsrc_text: "Bild-URL eingeben",
|
||||
modal_img_btn: "Datei aussuchen",
|
||||
add_attach: "Anhang beif\u00fcgen",
|
||||
|
||||
modal_video_text: "Geben Sie die URL des Videos ein",
|
||||
|
||||
close: "Schlie\u00dfen",
|
||||
save: "Speichern",
|
||||
cancel: "Abbrechen",
|
||||
remove: "L\u00f6schen",
|
||||
|
||||
validation_err: "Die eingegebenen Daten sind fehlerhaft",
|
||||
error_onupload: "Fehler beim Dateiupload",
|
||||
|
||||
fileupload_text1: "Datei hierher ziehen",
|
||||
fileupload_text2: "oder",
|
||||
|
||||
loading: "L\u00e4dt",
|
||||
auto: "Auto",
|
||||
views: "Views",
|
||||
downloads: "Downloads",
|
||||
|
||||
//smiles
|
||||
sm1: "Smile",
|
||||
sm2: "Laughter",
|
||||
sm3: "Wink",
|
||||
sm4: "Thank you",
|
||||
sm5: "Scold",
|
||||
sm6: "Shock",
|
||||
sm7: "Angry",
|
||||
sm8: "Pain",
|
||||
sm9: "Sick"
|
||||
};
|
72
themes/austria/js/wysibb/lang/fr.js
Normal file
|
@ -0,0 +1,72 @@
|
|||
/*French translation by Charafweb*/
|
||||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['fr'] = {
|
||||
bold: "Gras",
|
||||
italic: "Italique",
|
||||
underline: "Souligner",
|
||||
strike: "Rayer",
|
||||
link: "Lien",
|
||||
img: "Insérer une image",
|
||||
sup: "Exposant",
|
||||
sub: "Indice",
|
||||
justifyleft: "Alignement à gauche",
|
||||
justifycenter: "Alignement au centre",
|
||||
justifyright: "Alignement à droite",
|
||||
table: "Insérer un tableau",
|
||||
bullist: "• Liste non ordonnée",
|
||||
numlist: "1. Liste ordonnée",
|
||||
quote: "Citer",
|
||||
offtop: "Offtop",
|
||||
code: "Code",
|
||||
spoiler: "Spoiler",
|
||||
fontcolor: "Couleur de la police",
|
||||
fontsize: "Taille de la police",
|
||||
fontfamily: "Famille de polices",
|
||||
fs_verysmall: "Très petit",
|
||||
fs_small: "Petit",
|
||||
fs_normal: "Normal",
|
||||
fs_big: "Grand",
|
||||
fs_verybig: "Très grand",
|
||||
smilebox: "Insérer émoticône",
|
||||
|
||||
modal_link_title: "Insérer un lien",
|
||||
modal_link_text: "Afficher le texte",
|
||||
modal_link_url: "URL",
|
||||
modal_email_text: "Afficher email",
|
||||
modal_email_url: "Email",
|
||||
modal_link_tab1: "Insérez URL",
|
||||
|
||||
modal_img_title: "Insérer une image",
|
||||
modal_img_tab1: "Insérer URL",
|
||||
modal_img_tab2: "Téléchargez image",
|
||||
modal_imgsrc_text: "Entrez l'URL de l'image",
|
||||
modal_img_btn: "Choisir un fichier",
|
||||
add_attach: "Joindre un fichier",
|
||||
|
||||
close: "Fermer",
|
||||
save: "Sauvgarder",
|
||||
cancel: "Annuler",
|
||||
remove: "Effacer",
|
||||
|
||||
validation_err: "Les données saisies est invalide",
|
||||
error_onupload: "Erreur lors du chargement de fichier",
|
||||
|
||||
fileupload_text1: "Déposez le fichier ici",
|
||||
fileupload_text2: "ou",
|
||||
|
||||
loading: "Chargement",
|
||||
auto: "Auto",
|
||||
views: "Vues",
|
||||
downloads: "Téléchargements",
|
||||
|
||||
//smiles
|
||||
sm1: "Sourire",
|
||||
sm2: "Rire",
|
||||
sm3: "Clin d'oeil",
|
||||
sm4: "Merci",
|
||||
sm5: "Gronder",
|
||||
sm6: "Choc",
|
||||
sm7: "En colère",
|
||||
sm8: "Douleur",
|
||||
sm9: "Malade"
|
||||
};
|
68
themes/austria/js/wysibb/lang/pl.js
Normal file
|
@ -0,0 +1,68 @@
|
|||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['pl'] = {
|
||||
bold: "Pogrubienie",
|
||||
italic: "Pochylenie",
|
||||
underline: "Podkreślenie",
|
||||
strike: "Przekreślenie",
|
||||
link: "Link",
|
||||
img: "Wstaw obraz",
|
||||
sup: "Indeks górny",
|
||||
sub: "Indeks dolny",
|
||||
justifyleft: "Wyrównaj do lewej",
|
||||
justifycenter: "Wyśrodkuj",
|
||||
justifyright: "Wyrównaj do prawej",
|
||||
table: "Wstaw tabelę",
|
||||
bullist: "• Wypunktowana lista",
|
||||
numlist: "1. Uporządkowana lista",
|
||||
quote: "Cytat",
|
||||
offtop: "Offtop",
|
||||
code: "Kod",
|
||||
spoiler: "Spoiler",
|
||||
fontcolor: "Kolor czcionki",
|
||||
fontsize: "Rozmiar czcionki",
|
||||
fontfamily: "Rodzaj czcionki",
|
||||
fs_verysmall: "Bardzo mały",
|
||||
fs_small: "Mały",
|
||||
fs_normal: "Normalny",
|
||||
fs_big: "Duży",
|
||||
fs_verybig: "Bardzo duży",
|
||||
smilebox: "Wstaw emotikonę",
|
||||
|
||||
modal_link_title: "Wstaw link",
|
||||
modal_link_text: "Wyświetlany tekst",
|
||||
modal_link_url: "Adres URL",
|
||||
modal_email_text: "Wyświetlany email",
|
||||
modal_email_url: "Email",
|
||||
modal_link_tab1: "Wstaw URL",
|
||||
|
||||
modal_img_title: "Wstaw obraz",
|
||||
modal_img_tab1: "Podaj adres URL",
|
||||
modal_img_tab2: "Wyślij obraz",
|
||||
modal_imgsrc_text: "Podaj adres URL obrazu",
|
||||
modal_img_btn: "Wybierz plik",
|
||||
|
||||
close: "Zamknij",
|
||||
save: "Zapisz",
|
||||
cancel: "Anuluj",
|
||||
remove: "Usuń",
|
||||
|
||||
validation_err: "Podane dane nie są poprawne",
|
||||
error_onupload: "Wystąpił błąd podczas wysyłania pliku",
|
||||
|
||||
fileupload_text1: "Upuść tutaj pliki",
|
||||
fileupload_text2: "lub",
|
||||
|
||||
loading: "Ładowanie",
|
||||
auto: "Auto",
|
||||
|
||||
//smiles
|
||||
sm1: "Uśmiech",
|
||||
sm2: "Chichot",
|
||||
sm3: "Mrugnięcie",
|
||||
sm4: "Dziękuję",
|
||||
sm5: "Krzyczy",
|
||||
sm6: "Szok",
|
||||
sm7: "Zły",
|
||||
sm8: "Boli",
|
||||
sm9: "Chory"
|
||||
};
|
77
themes/austria/js/wysibb/lang/ru.js
Normal file
|
@ -0,0 +1,77 @@
|
|||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['ru']= CURLANG = {
|
||||
bold: "Полужирный",
|
||||
italic: "Курсив",
|
||||
underline: "Подчеркнутый",
|
||||
strike: "Зачеркнутый",
|
||||
link: "Ссылка",
|
||||
img: "Изображение",
|
||||
sup: "Надстрочный текст",
|
||||
sub: "Подстрочный текст",
|
||||
justifyleft: "Текст по левому краю",
|
||||
justifycenter: "Текст по центру",
|
||||
justifyright: "Текст по правому краю",
|
||||
table: "Вставить таблицу",
|
||||
bullist: "Обычный список",
|
||||
numlist: "Нумерованный список",
|
||||
quote: "Цитата",
|
||||
offtop: "Оффтоп",
|
||||
code: "Код",
|
||||
spoiler: "Сворачиваемый текст",
|
||||
fontcolor: "Цвет текста",
|
||||
fontsize: "Размер текста",
|
||||
fontfamily: "Шрифт текста",
|
||||
fs_verysmall: "Очень маленький",
|
||||
fs_small: "Маленький",
|
||||
fs_normal: "Нормальный",
|
||||
fs_big: "Большой",
|
||||
fs_verybig: "Очень большой",
|
||||
smilebox: "Вставить смайл",
|
||||
video: "Вставить видео",
|
||||
removeFormat: "Удалить форматирование",
|
||||
|
||||
modal_link_title: "Вставить ссылку",
|
||||
modal_link_text: "Отображаемый текст",
|
||||
modal_link_url: "URL ссылки",
|
||||
modal_email_text: "Отображаемый эл.адрес",
|
||||
modal_email_url: "Email",
|
||||
modal_link_tab1: "Вставить URL",
|
||||
|
||||
modal_img_title: "Вставить изображение",
|
||||
modal_img_tab1: "Ввести URL",
|
||||
modal_img_tab2: "Загрузить файл",
|
||||
modal_imgsrc_text: "Введите адрес изображения",
|
||||
modal_img_btn: "Выберите файл для загрузки",
|
||||
add_attach: "Добавить вложение",
|
||||
|
||||
modal_video_text: "Введите URL видео",
|
||||
|
||||
close: "Закрыть",
|
||||
save: "Сохранить",
|
||||
cancel: "Отмена",
|
||||
remove: "Удалить",
|
||||
|
||||
validation_err: "Введенные данные некорректны",
|
||||
error_onupload: "Ошибка во время загрузки файла или такое расширение файла не поддерживается",
|
||||
|
||||
fileupload_text1: "Перетащите файл сюда",
|
||||
fileupload_text2: "или",
|
||||
|
||||
loading: "Загрузка",
|
||||
auto: "Авто",
|
||||
views: "Просмотров",
|
||||
downloads: "Скачиваний",
|
||||
|
||||
//smiles
|
||||
sm1: "Улыбка",
|
||||
sm2: "Смех",
|
||||
sm3: "Подмигивание",
|
||||
sm4: "Спасибо, класс",
|
||||
sm5: "Ругаю",
|
||||
sm6: "Шок",
|
||||
sm7:"Злой",
|
||||
sm8: "Огорчение",
|
||||
sm9: "Тошнит"
|
||||
|
||||
|
||||
};
|
68
themes/austria/js/wysibb/lang/tr.js
Normal file
|
@ -0,0 +1,68 @@
|
|||
/* Turkish translation by Mahmut Yaman */
|
||||
if (typeof (WBBLANG) == "undefined") { WBBLANG = {}; }
|
||||
WBBLANG['tr'] = {
|
||||
bold: "Kalın",
|
||||
italic: "İtalik",
|
||||
underline: "Altı çizgili",
|
||||
strike: "Üstü çizgili",
|
||||
link: "Bağlantı",
|
||||
img: "Resim",
|
||||
sup: "Üstsimge",
|
||||
sub: "Simge",
|
||||
justifyleft: "Sola yasla",
|
||||
justifycenter: "Ortala",
|
||||
justifyright: "Sağa yasla",
|
||||
table: "Tablo ekle",
|
||||
bullist: "• Liste",
|
||||
numlist: "1. Sıralı liste",
|
||||
quote: "Alıntı",
|
||||
offtop: "Konu dışı",
|
||||
code: "Kod",
|
||||
spoiler: "Spoiler",
|
||||
fontcolor: "Metin rengi",
|
||||
fontsize: "Metin boyutu",
|
||||
fontfamily: "Yazı tipi",
|
||||
fs_verysmall: "Çok küçük",
|
||||
fs_small: "Küçük",
|
||||
fs_normal: "Normal",
|
||||
fs_big: "Büyük",
|
||||
fs_verybig: "Çok büyük",
|
||||
smilebox: "Yüz ifadeleri",
|
||||
video: "YouTube",
|
||||
modal_video_text: "URL",
|
||||
removeFormat: "Formatı temizle",
|
||||
modal_link_title: "Bağlantı Ekle",
|
||||
modal_link_text: "Görüntülenecek metin",
|
||||
modal_link_url: "URL",
|
||||
modal_email_text: "Görüntülenecek metin",
|
||||
modal_email_url: "Email",
|
||||
modal_link_tab1: "Bağlantı Ekle",
|
||||
modal_img_title: "Resim Ekle",
|
||||
modal_img_tab1: "URL ile",
|
||||
modal_img_tab2: "Dosya yükle",
|
||||
modal_imgsrc_text: "Resim adresini girin",
|
||||
modal_img_btn: "Bir dosya seçin",
|
||||
add_attach: "Dosya ekle",
|
||||
close: "Kapat",
|
||||
save: "Tamam",
|
||||
cancel: "İptal",
|
||||
remove: "Sil",
|
||||
validation_err: "Geçersiz giriş",
|
||||
error_onupload: "Dosya yükleme başarısız",
|
||||
fileupload_text1: "Buraya bir dosya sürükleyin",
|
||||
fileupload_text2: "veya",
|
||||
loading: "Yükleniyor",
|
||||
auto: "Otomatik",
|
||||
views: "Görüntülemeler",
|
||||
downloads: "İndirmeler",
|
||||
sm1: "Gülümseme",
|
||||
sm2: "Gülme",
|
||||
sm3: "Göz kırpma",
|
||||
sm4: "Teşekkür",
|
||||
sm5: "Azarlama",
|
||||
sm6: "Şok",
|
||||
sm7: "Kızgın",
|
||||
sm8: "Üzgün",
|
||||
sm9: "Kötü",
|
||||
error_onupload: "Yükleme başarısız. Resim formatı desteklenmiyor."
|
||||
};
|
75
themes/austria/js/wysibb/lang/ua.js
Normal file
|
@ -0,0 +1,75 @@
|
|||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['ua'] = {
|
||||
bold: "Напівжирний",
|
||||
italic: "Курсив",
|
||||
underline: "Підкреслений",
|
||||
strike: "Закреслений",
|
||||
link: "Посилання",
|
||||
img: "Зображення",
|
||||
sup: "Надрядковий текст",
|
||||
sub: "Підрядковий текст",
|
||||
justifyleft: "Текст по лівому краю",
|
||||
justifycenter: "Текст по центру",
|
||||
justifyright: "Текст по правому краю",
|
||||
table: "Вставити таблицу",
|
||||
bullist: "Звичайний список",
|
||||
numlist: "Нумерований список",
|
||||
quote: "Цитата",
|
||||
offtop: "Оффтоп",
|
||||
code: "Код",
|
||||
spoiler: "Текст, який згортається",
|
||||
fontcolor: "Колір тексту",
|
||||
fontsize: "Розмір тексту",
|
||||
fontfamily: "Шрифт тексту",
|
||||
fs_verysmall: "Дуже маленький",
|
||||
fs_small: "Маленький",
|
||||
fs_normal: "Нормальний",
|
||||
fs_big: "Великий",
|
||||
fs_verybig: "Дуже великий",
|
||||
smilebox: "Вставити смайл",
|
||||
video: "Вставити відео",
|
||||
removeFormat: "Видалити форматування",
|
||||
|
||||
modal_link_title: "Вставити посилання",
|
||||
modal_link_text: "Видимий текст",
|
||||
modal_link_url: "URL посилання",
|
||||
modal_email_text: "Ел. адреса, яка відображатиметься",
|
||||
modal_email_url: "Email",
|
||||
modal_link_tab1: "Вставити URL",
|
||||
|
||||
modal_img_title: "Вставити зображення",
|
||||
modal_img_tab1: "Ввести URL",
|
||||
modal_img_tab2: "Завантажити файл",
|
||||
modal_imgsrc_text: "Введіть адрес зображення",
|
||||
modal_img_btn: "Виберіть файл для завантаження",
|
||||
add_attach: "Додати вкладений файл",
|
||||
|
||||
modal_video_text: "Введіть URL відео",
|
||||
|
||||
close: "Закрити",
|
||||
save: "Зберегти",
|
||||
cancel: "Відміна",
|
||||
remove: "Видалити",
|
||||
|
||||
validation_err: "Введенні дані некоректні",
|
||||
error_onupload: "Помилка під час завантаження файлу або таке розширення файла не підтримується",
|
||||
|
||||
fileupload_text1: "Перетягніть файл сюди",
|
||||
fileupload_text2: "або",
|
||||
|
||||
loading: "Завантаження",
|
||||
auto: "Авто",
|
||||
views: "Переглядів",
|
||||
downloads: "Завантажень",
|
||||
|
||||
//smiles
|
||||
sm1: "Посмішка",
|
||||
sm2: "Сміх",
|
||||
sm3: "Подморгування",
|
||||
sm4: "Дякую, клас",
|
||||
sm5: "Сварю",
|
||||
sm6: "Шок",
|
||||
sm7: "Злий",
|
||||
sm8: "Засмучення",
|
||||
sm9: "Нудить"
|
||||
};
|
71
themes/austria/js/wysibb/lang/vn.js
Normal file
|
@ -0,0 +1,71 @@
|
|||
if (typeof (WBBLANG)=="undefined") {WBBLANG = {};}
|
||||
WBBLANG['vi'] = {
|
||||
bold: "In đậm",
|
||||
italic: "In nghiêng",
|
||||
underline: "Gạch chân",
|
||||
strike: "Gạch ngang",
|
||||
link: "Liên kết",
|
||||
img: "Hình ảnh",
|
||||
sup: "Superscript",
|
||||
sub: "Subscript",
|
||||
justifyleft: "Canh trái",
|
||||
justifycenter: "Canh giữa",
|
||||
justifyright: "Canh phải",
|
||||
table: "Bảng",
|
||||
bullist: "Bullit",
|
||||
numlist: "Numlist",
|
||||
quote: "Quote",
|
||||
offtop: "Offtop",
|
||||
code: "Code",
|
||||
spoiler: "Ẩn hiện văn bản",
|
||||
fontcolor: "Màu chữ",
|
||||
fontsize: "Size chữ",
|
||||
fontfamily: "Font chữ",
|
||||
fs_verysmall: "Rất nhỏ",
|
||||
fs_small: "Nhỏ",
|
||||
fs_normal: "Bình thường",
|
||||
fs_big: "Lớn",
|
||||
fs_verybig: "Rất lớn",
|
||||
smilebox: "Box Smile",
|
||||
video: "Hình ảnh",
|
||||
|
||||
modal_link_title: "Chèn Link vào bài viết",
|
||||
modal_link_text: "Text hiển thị",
|
||||
modal_link_url: "URL trang",
|
||||
modal_email_text: "Chèn Email liên hệ",
|
||||
modal_email_url: "Email",
|
||||
modal_link_tab1: "Insert URL",
|
||||
|
||||
modal_img_title: "Insert IMG",
|
||||
modal_img_tab1: "Nhập URL",
|
||||
modal_img_tab2: "Tải lên",
|
||||
modal_imgsrc_text: "Nhập địa chỉ hình ảnh",
|
||||
modal_img_btn: "Chọn hình ảnh tải lên",
|
||||
|
||||
modal_video_text: "Nhập URL video",
|
||||
|
||||
close: "Đóng",
|
||||
save: "Lưu",
|
||||
cancel: "Hủy",
|
||||
remove: "Xóa",
|
||||
|
||||
validation_err: "Dữ liệu nhập không hợp lệ",
|
||||
error_onupload: "Lỗi Upload tập tin",
|
||||
|
||||
fileupload_text1: "Kéo hình ảnh vào đây",
|
||||
fileupload_text2: "Hoặc",
|
||||
|
||||
loading: "Đang tải...",
|
||||
auto: "Chọn màu",
|
||||
|
||||
//smiles
|
||||
sm1: "Nụ cười",
|
||||
sm2: "Cười",
|
||||
sm3: "Nháy mắt",
|
||||
sm4: "Cảm ơn bạn",
|
||||
sm5: "Thề",
|
||||
sm6: "Sốc",
|
||||
sm7: "Ác",
|
||||
sm8: "Đau buồn",
|
||||
sm9: "Bệnh hoạn"
|
||||
};
|
172
themes/austria/js/wysibb/preset/phpbb3.js
Normal file
|
@ -0,0 +1,172 @@
|
|||
WBBPRESET = {
|
||||
bodyClass: "content content-phpbb3",
|
||||
buttons: 'bold,italic,underline,|,quote,code,bullist,numlist,|,img,link,smilebox,fontsize,fontcolor',
|
||||
traceTextarea: true,
|
||||
allButtons: {
|
||||
quote: {
|
||||
transform: {
|
||||
'<blockquote class="uncited"><div>{SELTEXT}</div></blockquote>':'[quote]{SELTEXT}[/quote]',
|
||||
'<blockquote><div><cite>{AUTHOR} писал(а):</cite>{SELTEXT}</div></blockquote>':'[quote="{AUTHOR}"]{SELTEXT}[/quote]'
|
||||
}
|
||||
},
|
||||
code: {
|
||||
transform: {
|
||||
'<dl class="codebox"><dt>Код: <a href="#">Выделить всё</a></dt><dd><code>{SELTEXT}</code></dd></dl>':'[code]{SELTEXT}[/code]'
|
||||
}
|
||||
},
|
||||
bullist: {
|
||||
transform: {
|
||||
'<ul>{SELTEXT}</ul>':'[list]{SELTEXT}[/list]',
|
||||
'<li>{SELTEXT}</li>':'[*]{SELTEXT[^\[\]\*]}'
|
||||
}
|
||||
},
|
||||
numlist: {
|
||||
transform: {
|
||||
'<ol>{SELTEXT}</ol>':'[list=1]{SELTEXT}[/list]',
|
||||
'<li>{SELTEXT}</li>':'[*]{SELTEXT[^\[\]\*]}'
|
||||
}
|
||||
},
|
||||
attach: {
|
||||
title: CURLANG.add_attach,
|
||||
buttonHTML: '<span class="fonticon ve-tlb-attach1">\uE017</span>',
|
||||
hotkey: 'ctrl+shift+5',
|
||||
modal: {
|
||||
title: CURLANG.add_attach,
|
||||
width: "600px",
|
||||
tabs: [
|
||||
{
|
||||
title: CURLANG.add_attach,
|
||||
html: '<div id="imguploader"> <form id="fupform" class="upload" action="{img_uploadurl}" method="post" enctype="multipart/form-data" target="fupload"><input type="hidden" name="iframe" value="1"/><input type="hidden" name="idarea" value="message" /><div class="fileupload"><input id="fileupl" class="file" type="file" name="img" /><button id="nicebtn" class="wbb-button">'+CURLANG.modal_img_btn+'</button> </div> </form> </div><iframe id="fupload" name="fupload" src="about:blank" frameborder="0" style="width:0px;height:0px;display:none"></iframe></div>'
|
||||
}
|
||||
],
|
||||
onLoad: fileModal
|
||||
},
|
||||
transform: {
|
||||
'<div class="inline-attachment" numimg="{NUM[0-9]}" contenteditable="false"><dl class="file"><dt class="attach-image"><img src="./download/file.php?id={ID[0-9]}"></dt><dd>{ALT} Просмотров: 0</dd></dl></div>':'[attachment={NUM[0-9]}]{ID[0-9]}: {ALT}[/attachment]',
|
||||
'<div class="inline-attachment" num="{NUM[0-9]}" contenteditable="false"><dl class="file"><dt><img src="./styles/prosilver/imageset/icon_topic_attach.gif" width="7" height="10" alt="" title=""><a class="postlink" href="./download/file.php?id={ID[0-9]}">{ALTFILE}</a></dt><dd>Скачиваний: 0</dd></dl></div>':'[attachment={NUM[0-9]}]{ID[0-9]}; {ALTFILE}[/attachment]'
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
smilefind: "#smiley-box"
|
||||
}
|
||||
|
||||
//hide smilelist
|
||||
$(document).ready(function() {
|
||||
$("#format-buttons").hide();
|
||||
$("#smiley-box").hide();
|
||||
$("#message-box").css("width","100%");
|
||||
});
|
||||
|
||||
(function($) {
|
||||
//for attachments process
|
||||
$.wysibb.prototype.traceTextareaEvent = function(e) {
|
||||
var data = this.$txtArea.val();
|
||||
if (this.options.bbmode===false && data!="" && $(e.target).closest("div.wysibb").size()==0 && !this.$txtArea.attr("wbbsync")) {
|
||||
if (data.indexOf("[attachment=")!=-1) {
|
||||
var num = data.replace(/\[attachment=(\d+?)\].*/,"$1");
|
||||
var idfile = $("input[name='attachment_data["+num+"][attach_id]']").val();
|
||||
var ext = $("input[name='attachment_data["+num+"][real_filename]']").val().replace(/.*?\.(\w+)$/,"$1");
|
||||
if (ext.match(/(jpg|gif|png|bmp)/)) {
|
||||
data = data.replace(/(\[attachment=\d+\])(.*?)(\[\/attachment\])/,"$1"+idfile+":$2$3");
|
||||
}else{
|
||||
data = data.replace(/(\[attachment=\d+\])(.*?)(\[\/attachment\])/,"$1"+";"+idfile+" $2$3");
|
||||
}
|
||||
}
|
||||
this.insertAtCursor(this.getHTML(data,true));
|
||||
this.$txtArea.val("");
|
||||
}
|
||||
}
|
||||
|
||||
$.wysibb.prototype.txtAreaInitContent = function() {
|
||||
var tdata = this.txtArea.value;
|
||||
tdata = tdata.replace(/(\[attachment=(\d+?)\])([^:;]*?)(\[\/attachment\])/g,function(m,left,num,cont,right) {
|
||||
var idfile = $("input[name='attachment_data["+num+"][attach_id]']").val();
|
||||
var ext = $("input[name='attachment_data["+num+"][real_filename]']").val();
|
||||
if (ext) {
|
||||
ext = ext.replace(/.*?\.(\w+)$/,"$1");
|
||||
if (ext.match(/(jpg|gif|png|bmp)/)) {
|
||||
return (left+idfile+":"+cont+right);
|
||||
}else{
|
||||
return (left+cont+";"+idfile+right);
|
||||
}
|
||||
}else{
|
||||
return m;
|
||||
}
|
||||
});
|
||||
this.$body.html(this.getHTML(tdata,true));
|
||||
}
|
||||
|
||||
$.fn.closeModal = function() {
|
||||
this.data("wbb").closeModal();
|
||||
return this.data("wbb");
|
||||
}
|
||||
$.fn.insertAttach = function(id,alt,isimg) {
|
||||
var num=0;
|
||||
while (num<30) {
|
||||
if ($("input[name='attachment_data["+num+"][attach_id]']").size()==0) {
|
||||
break;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
|
||||
this.data("wbb").$txtArea.after('<input type="hidden" name="attachment_data['+num+'][attach_id]" value="'+id+'" /><input type="hidden" name="attachment_data['+num+'][is_orphan]" value="1" /><input type="hidden" name="attachment_data['+num+'][real_filename]" value="'+id+":"+alt+'" /><input type="hidden" name="attachment_data['+num+'][attach_comment]" value="" />');
|
||||
var data = (isimg===true) ? this.data("wbb").getCodeByCommand("attach",{"id":id,"num":num,"alt":alt}):this.data("wbb").getCodeByCommand("attach",{"id":id,"num":num,"altfile":alt});
|
||||
|
||||
this.data("wbb").insertAtCursor(data);
|
||||
return this.data("wbb");
|
||||
}
|
||||
})(jQuery);
|
||||
|
||||
function fileModal() {
|
||||
$.log("fileModal");
|
||||
if (this.options.imgupload===true) {
|
||||
this.$modal.find("#fupform").append('<input type="hidden" name="upload_type" value="1" />');
|
||||
this.$modal.find("#imguploader").dragfileupload({
|
||||
url: this.strf(this.options.img_uploadurl,this.options),
|
||||
themePrefix: this.options.themePrefix,
|
||||
themeName: this.options.themeName,
|
||||
extraParams: {
|
||||
upload_type:this.options.upload_type
|
||||
},
|
||||
success: $.proxy(function(data) {
|
||||
$.log("Success");
|
||||
if (data && data.status==1) {
|
||||
var num=0;
|
||||
while (num<30) {
|
||||
if ($("input[name='attachment_data["+num+"][attach_id]']").size()==0) {
|
||||
break;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
|
||||
this.$txtArea.after('<input type="hidden" name="attachment_data['+num+'][attach_id]" value="'+data.id+'" /><input type="hidden" name="attachment_data['+num+'][is_orphan]" value="1" /><input type="hidden" name="attachment_data['+num+'][real_filename]" value="'+data.id+":"+data.alt+'" /><input type="hidden" name="attachment_data['+num+'][attach_comment]" value="" />');
|
||||
var datastr = (data.isimg===true) ? this.getCodeByCommand("attach",{"id":data.id,"num":num,"alt":data.alt}):this.getCodeByCommand("attach",{"id":data.id,"num":num,"altfile":data.alt});
|
||||
this.insertAtCursor(datastr);
|
||||
}
|
||||
this.closeModal();
|
||||
this.updateUI();
|
||||
},this),
|
||||
validation: ".*$"
|
||||
});
|
||||
|
||||
if ($.browser.msie) {
|
||||
//ie not posting form by security reason, show default file upload
|
||||
$.log("IE not posting form by security reason, show default file upload");
|
||||
this.$modal.find("#nicebtn").hide();
|
||||
this.$modal.find("#fileupl").css("opacity",1);
|
||||
}
|
||||
|
||||
this.$modal.find("#fileupl").bind("change",function() {
|
||||
$("#fupform").submit();
|
||||
});
|
||||
this.$modal.find("#fupform").bind("submit",$.proxy(function(e) {
|
||||
$(e.target).parents("#imguploader").hide().after('<div class="loader"><img src="'+this.options.themePrefix+'/'+this.options.themeName+'/img/loader.gif" /><br/><span>'+CURLANG.loading+'</span></div>').parent().css("text-align","center");
|
||||
},this))
|
||||
|
||||
}else{
|
||||
this.$modal.find(".hastabs").removeClass("hastabs");
|
||||
this.$modal.find("#imguploader").parents(".tab-cont").remove();
|
||||
this.$modal.find(".wbbm-tablist").remove();
|
||||
}
|
||||
}
|
770
themes/austria/js/wysibb/theme/default/wbbtheme.css
Normal file
BIN
themes/austria/js/wysibb/theme/fonts/wysibbiconfont-wb.eot
Normal file
BIN
themes/austria/js/wysibb/theme/fonts/wysibbiconfont-wb.ttf
Normal file
BIN
themes/austria/js/wysibb/theme/fonts/wysibbiconfont-wb.woff
Normal file
32
themes/austria/js/wysibb/wysibb.jquery.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "wysibb",
|
||||
"title": "WysiBB - Wysiwyg BBcode editor",
|
||||
"description": "Wysiwyg BBcode editor based on jQuery",
|
||||
"keywords": [
|
||||
"wysibb",
|
||||
"wysiwyg",
|
||||
"bbcode",
|
||||
"editor",
|
||||
"ui"
|
||||
],
|
||||
"version": "1.5.0",
|
||||
"author": {
|
||||
"name": "Vadim Dobroskok",
|
||||
"url": "http://www.wysibb.com"
|
||||
},
|
||||
"maintainers": [],
|
||||
"licenses": [
|
||||
{
|
||||
"type": "MIT",
|
||||
"url": "https://github.com/wbb/WysiBB/blob/master/LICENSE-MIT"
|
||||
}
|
||||
],
|
||||
"bugs": "https://github.com/wbb/WysiBB/issues",
|
||||
"homepage": "http://www.wysibb.com",
|
||||
"docs": "http://www.wysibb.com/docs/",
|
||||
"demo": "http://www.wysibb.com/demo/",
|
||||
"download": "http://www.wysibb.com/download/",
|
||||
"dependencies": {
|
||||
"jquery": ">=1.6"
|
||||
}
|
||||
}
|