This commit is contained in:
kaetemi 2015-03-06 23:39:53 +01:00
parent 1168804e36
commit 168a0eaa67

View file

@ -1,317 +1,317 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<!-- <!--
Charisma v1.0.0 Charisma v1.0.0
Copyright 2012 Muhammad Usman Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0 Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
http://usman.it http://usman.it
http://twitter.com/halalit_usman http://twitter.com/halalit_usman
--> -->
<meta charset="utf-8"> <meta charset="utf-8">
<title>{$ams_title}</title> <title>{$ams_title}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="ryzom,ams"> <meta name="description" content="ryzom,ams">
<meta name="author" content="Daan Janssens & Matthew Lagoe"> <meta name="author" content="Daan Janssens & Matthew Lagoe">
<!-- The styles --> <!-- The styles -->
<link id="bs-css" href="css/bootstrap-classic.css" rel="stylesheet"> <link id="bs-css" href="css/bootstrap-classic.css" rel="stylesheet">
<link id="bs-css" href="css/bootstrap-cerulean.min.css" rel="stylesheet"> <link id="bs-css" href="css/bootstrap-cerulean.min.css" rel="stylesheet">
<link href="css/charisma-app.css" rel="stylesheet"> <link href="css/charisma-app.css" rel="stylesheet">
<link href='css/jquery.noty.css' rel='stylesheet'> <link href='css/jquery.noty.css' rel='stylesheet'>
<link href='css/noty_theme_default.css' rel='stylesheet'> <link href='css/noty_theme_default.css' rel='stylesheet'>
<link href='css/elfinder.min.css' rel='stylesheet'> <link href='css/elfinder.min.css' rel='stylesheet'>
<link href='css/elfinder.theme.css' rel='stylesheet'> <link href='css/elfinder.theme.css' rel='stylesheet'>
<link href='css/jquery.iphone.toggle.css' rel='stylesheet'> <link href='css/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/uploadify.css' rel='stylesheet'> <link href='css/uploadify.css' rel='stylesheet'>
<link href='css/animate.min.css' rel='stylesheet'> <link href='css/animate.min.css' rel='stylesheet'>
<!-- jQuery --> <!-- jQuery -->
<script src="js/jquery.min.js"></script> <script src="js/jquery.min.js"></script>
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements --> <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
<!-- The fav icon --> <!-- The fav icon -->
<!--<link rel="shortcut icon" href="img/favicon.ico">--> <!--<link rel="shortcut icon" href="img/favicon.ico">-->
<!--custom css file--> <!--custom css file-->
<link href="css/custom.css" rel="stylesheet"> <link href="css/custom.css" rel="stylesheet">
</head> </head>
<body> <body>
<div class="container-fluid"> <div class="container-fluid">
{if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"}
<div class="navbar"> <div class="navbar">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</a> </a>
<a class="brand" href="index.php"> <img alt="Ryzom Core Logo" src="img/ryzomcore_166_62.png"></a> <a class="brand" href="index.php"> <img alt="Ryzom Core Logo" src="img/ryzomcore_166_62.png"></a>
<div class="flags_logged_in"> <div class="flags_logged_in">
<img onclick="reloadPageWithLanguage('en');" src="img/en.png"> <img onclick="reloadPageWithLanguage('en');" src="img/en.png">
<img onclick="reloadPageWithLanguage('fr');" src="img/fr.png"> <img onclick="reloadPageWithLanguage('fr');" src="img/fr.png">
</div> </div>
<!-- theme selector starts --> <!-- theme selector starts -->
<!--<div class="btn-group pull-right theme-container"> <!--<div class="btn-group pull-right theme-container">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<span class="icon-tint"></span><span class="hidden-phone"> Change Theme / Skin</span> <span class="icon-tint"></span><span class="hidden-phone"> Change Theme / Skin</span>
<span class="caret"></span> <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu" id="themes"> <ul class="dropdown-menu" id="themes">
<li><a data-value="classic" href="#"><span class="icon-blank"></span> Classic</a></li> <li><a data-value="classic" href="#"><span class="icon-blank"></span> Classic</a></li>
<li><a data-value="cerulean" href="#"><span class="icon-blank icon-ok"></span> Cerulean</a></li> <li><a data-value="cerulean" href="#"><span class="icon-blank icon-ok"></span> Cerulean</a></li>
<li><a data-value="cyborg" href="#"><span class="icon-blank"></span> Cyborg</a></li> <li><a data-value="cyborg" href="#"><span class="icon-blank"></span> Cyborg</a></li>
<li><a data-value="redy" href="#"><span class="icon-blank"></span> Redy</a></li> <li><a data-value="redy" href="#"><span class="icon-blank"></span> Redy</a></li>
<li><a data-value="journal" href="#"><span class="icon-blank"></span> Journal</a></li> <li><a data-value="journal" href="#"><span class="icon-blank"></span> Journal</a></li>
<li><a data-value="simplex" href="#"><span class="icon-blank"></span> Simplex</a></li> <li><a data-value="simplex" href="#"><span class="icon-blank"></span> Simplex</a></li>
<li><a data-value="slate" href="#"><span class="icon-blank"></span> Slate</a></li> <li><a data-value="slate" href="#"><span class="icon-blank"></span> Slate</a></li>
<li><a data-value="spacelab" href="#"><span class="icon-blank"></span> Spacelab</a></li> <li><a data-value="spacelab" href="#"><span class="icon-blank"></span> Spacelab</a></li>
<li><a data-value="united" href="#"><span class="icon-blank"></span> United</a></li> <li><a data-value="united" href="#"><span class="icon-blank"></span> United</a></li>
</ul> </ul>
</div>--> </div>-->
<!-- theme selector ends --> <!-- theme selector ends -->
<!-- user dropdown starts --> <!-- user dropdown starts -->
{if isset($username)} {if isset($username)}
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<span class="icon-user"></span><span class="hidden-phone">{$username}</span> <span class="icon-user"></span><span class="hidden-phone">{$username}</span>
<span class="caret"></span> <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a href="index.php?page=show_user">Profile</a></li> <li><a href="index.php?page=show_user">Profile</a></li>
<li><a href="index.php?page=logout">Logout</a></li> <li><a href="index.php?page=logout">Logout</a></li>
</ul> </ul>
</div> </div>
{/if} {/if}
<!-- user dropdown ends --> <!-- user dropdown ends -->
</div> </div>
</div> </div>
</div> </div>
{/if} {/if}
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
{if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"}
<!-- left menu starts --> <!-- left menu starts -->
<div class="span2 main-menu-span panel panel-default"> <div class="span2 main-menu-span panel panel-default">
<div class="nav-collapse panel-body"> <div class="nav-collapse panel-body">
<ul class="nav nav-tabs nav-stacked main-menu"> <ul class="nav nav-tabs nav-stacked main-menu">
{block name=menu}{/block} {block name=menu}{/block}
</ul> </ul>
<!--<label id="for-is-ajax" class="hidden-tablet" for="is-ajax" style="visibility:hidden;"><div id="uniform-is-ajax" class="checker"><span class="checked"><input style="opacity: 0;" id="is-ajax" type="checkbox"></span></div> Ajax on menu</label>--!> <!--<label id="for-is-ajax" class="hidden-tablet" for="is-ajax" style="visibility:hidden;"><div id="uniform-is-ajax" class="checker"><span class="checked"><input style="opacity: 0;" id="is-ajax" type="checkbox"></span></div> Ajax on menu</label>--!>
</div><!--/.well --> </div><!--/.well -->
</div><!--/span--> </div><!--/span-->
<!-- left menu ends --> <!-- left menu ends -->
<noscript> <noscript>
<div class="alert alert-block span10"> <div class="alert alert-block span10">
<h4 class="alert-heading">Warning!</h4> <h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p> <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
</div> </div>
</noscript> </noscript>
<div id="content" class="span10"> <div id="content" class="span10">
<!-- content starts --> <!-- content starts -->
{/if} {/if}
{if isset($no_visible_elements) and $no_visible_elements eq "TRUE"} {if isset($no_visible_elements) and $no_visible_elements eq "TRUE"}
<div class="flags_no_visible_elements"> <div class="flags_no_visible_elements">
<img src="img/en.png" onclick="reloadPageWithLanguage('en');"/> <img src="img/en.png" onclick="reloadPageWithLanguage('en');"/>
<img src="img/fr.png" onclick="reloadPageWithLanguage('fr');"/> <img src="img/fr.png" onclick="reloadPageWithLanguage('fr');"/>
</div> </div>
{/if} {/if}
{block name=content}{/block} {block name=content}{/block}
{if isset($hook_info)} {if isset($hook_info)}
<div class="row-fluid"> <div class="row-fluid">
{foreach from=$hook_info key=arrkey item=element} {foreach from=$hook_info key=arrkey item=element}
{if isset($smarty.get.page) and $smarty.get.page eq 'layout_plugin' and $smarty.get.name eq $arrkey} {if isset($smarty.get.page) and $smarty.get.page eq 'layout_plugin' and $smarty.get.name eq $arrkey}
{include file=$hook_info[$smarty.get.name]['TemplatePath']} {include file=$hook_info[$smarty.get.name]['TemplatePath']}
{/if} {/if}
{/foreach} {/foreach}
</div> </div>
{/if} {/if}
{if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"}
</div><!--/#content.span10--> </div><!--/#content.span10-->
{/if} {/if}
</div><!--/fluid-row--> </div><!--/fluid-row-->
{if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"} {if ! isset($no_visible_elements) or $no_visible_elements eq "FALSE"}
<hr> <hr>
<div class="modal hide fade" id="myModal"> <div class="modal hide fade" id="myModal">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button> <button type="button" class="close" data-dismiss="modal">×</button>
<h3>Settings</h3> <h3>Settings</h3>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<p>Here settings can be configured...</p> <p>Here settings can be configured...</p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a> <a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-primary">Save changes</a> <a href="#" class="btn btn-primary">Save changes</a>
</div> </div>
</div> </div>
<footer> <footer>
{if $permission > 1}<p class="pull-right">AMS 0.11.0 Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>{/if} {if $permission > 1}<p class="pull-right">AMS 0.11.0 Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>{/if}
</footer> </footer>
{/if} {/if}
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div> </div>
<!-- external javascript <!-- external javascript
================================================== --> ================================================== -->
<!-- Placed at the end of the document so the pages load faster --> <!-- Placed at the end of the document so the pages load faster -->
<script> <script>
function reloadPageWithLanguage(language){ function reloadPageWithLanguage(language){
if(window.location.search == ""){ if(window.location.search == ""){
var url = window.location.href + "?setLang=true&Language=" + language; var url = window.location.href + "?setLang=true&Language=" + language;
}else{ }else{
var url = window.location.href + "&setLang=true&Language=" + language; var url = window.location.href + "&setLang=true&Language=" + language;
} }
window.location.href = url; window.location.href = url;
} }
</script> </script>
<!-- script for file uploading--> <!-- script for file uploading-->
<script> <script>
function _(e1) function _(e1)
{ {
return document.getElementById(e1); return document.getElementById(e1);
} }
function uploadPlugin() function uploadPlugin()
{ {
var fileObject = _("file").files[0]; var fileObject = _("file").files[0];
var formdata = new FormData(); var formdata = new FormData();
formdata.append("file",fileObject); formdata.append("file",fileObject);
var ajax = new XMLHttpRequest(); var ajax = new XMLHttpRequest();
ajax.upload.addEventListener("progress", progressHandler, false); ajax.upload.addEventListener("progress", progressHandler, false);
ajax.addEventListener("load", completeHandler, false); ajax.addEventListener("load", completeHandler, false);
ajax.addEventListener("error", errorHandler, false); ajax.addEventListener("error", errorHandler, false);
ajax.addEventListener("abort", abortHandler, false); ajax.addEventListener("abort", abortHandler, false);
ajax.open("POST", "index.php?page=plugin&action=install_plugin"); ajax.open("POST", "index.php?page=plugin&action=install_plugin");
ajax.send(formdata); ajax.send(formdata);
} }
function progressHandler(event) function progressHandler(event)
{ {
var percent = (event.loaded/event.total)*100; var percent = (event.loaded/event.total)*100;
_("progressBar").value = Math.round(percent); _("progressBar").value = Math.round(percent);
} }
function completeHandler(event) function completeHandler(event)
{ {
_("status").innerHTML = event.target.responseText; _("status").innerHTML = event.target.responseText;
_("progressBar").value = 0; _("progressBar").value = 0;
} }
function errorHandler(event) function errorHandler(event)
{ {
_("status").innerHTML = "upload Failed"; _("status").innerHTML = "upload Failed";
} }
function abortHandler(event) function abortHandler(event)
{ {
_("status").innerHTML = "upload Aborted"; _("status").innerHTML = "upload Aborted";
} }
</script> </script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$("#expDate").datepicker({ dateFormat: 'yy-mm-dd' }); $("#expDate").datepicker({ dateFormat: 'yy-mm-dd' });
}); });
</script> </script>
<!-- jQuery --> <!-- jQuery -->
<script src="js/jquery-1.7.2.min.js"></script> <script src="js/jquery-1.7.2.min.js"></script>
<!-- jQuery UI --> <!-- jQuery UI -->
<script src="js/jquery-ui-1.8.21.custom.min.js"></script> <script src="js/jquery-ui-1.8.21.custom.min.js"></script>
<!-- transition / effect library --> <!-- transition / effect library -->
<script src="js/bootstrap-transition.js"></script> <script src="js/bootstrap-transition.js"></script>
<!-- alert enhancer library --> <!-- alert enhancer library -->
<script src="js/bootstrap-alert.js"></script> <script src="js/bootstrap-alert.js"></script>
<!-- modal / dialog library --> <!-- modal / dialog library -->
<script src="js/bootstrap-modal.js"></script> <script src="js/bootstrap-modal.js"></script>
<!-- custom dropdown library --> <!-- custom dropdown library -->
<script src="js/bootstrap-dropdown.js"></script> <script src="js/bootstrap-dropdown.js"></script>
<!-- scrolspy library --> <!-- scrolspy library -->
<script src="js/bootstrap-scrollspy.js"></script> <script src="js/bootstrap-scrollspy.js"></script>
<!-- library for creating tabs --> <!-- library for creating tabs -->
<script src="js/bootstrap-tab.js"></script> <script src="js/bootstrap-tab.js"></script>
<!-- library for advanced tooltip --> <!-- library for advanced tooltip -->
<script src="js/bootstrap-tooltip.js"></script> <script src="js/bootstrap-tooltip.js"></script>
<!-- popover effect library --> <!-- popover effect library -->
<script src="js/bootstrap-popover.js"></script> <script src="js/bootstrap-popover.js"></script>
<!-- button enhancer library --> <!-- button enhancer library -->
<script src="js/bootstrap-button.js"></script> <script src="js/bootstrap-button.js"></script>
<!-- accordion library (optional, not used in demo) --> <!-- accordion library (optional, not used in demo) -->
<script src="js/bootstrap-collapse.js"></script> <script src="js/bootstrap-collapse.js"></script>
<!-- carousel slideshow library (optional, not used in demo) --> <!-- carousel slideshow library (optional, not used in demo) -->
<script src="js/bootstrap-carousel.js"></script> <script src="js/bootstrap-carousel.js"></script>
<!-- autocomplete library --> <!-- autocomplete library -->
<script src="js/bootstrap-typeahead.js"></script> <script src="js/bootstrap-typeahead.js"></script>
<!-- tour library --> <!-- tour library -->
<script src="js/bootstrap-tour.js"></script> <script src="js/bootstrap-tour.js"></script>
<!-- library for cookie management --> <!-- library for cookie management -->
<script src="js/jquery.cookie.js"></script> <script src="js/jquery.cookie.js"></script>
<!-- calander plugin --> <!-- calander plugin -->
<script src='js/fullcalendar.min.js'></script> <script src='js/fullcalendar.min.js'></script>
<!-- data table plugin --> <!-- data table plugin -->
<script src='js/jquery.dataTables.min.js'></script> <script src='js/jquery.dataTables.min.js'></script>
<!-- chart libraries start --> <!-- chart libraries start -->
<script src="js/excanvas.js"></script> <script src="js/excanvas.js"></script>
<script src="js/jquery.flot.min.js"></script> <script src="js/jquery.flot.min.js"></script>
<script src="js/jquery.flot.pie.min.js"></script> <script src="js/jquery.flot.pie.min.js"></script>
<script src="js/jquery.flot.stack.js"></script> <script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script> <script src="js/jquery.flot.resize.min.js"></script>
<!-- chart libraries end --> <!-- chart libraries end -->
<!-- select or dropdown enhancer --> <!-- select or dropdown enhancer -->
<script src="js/jquery.chosen.min.js"></script> <script src="js/jquery.chosen.min.js"></script>
<!-- checkbox, radio, and file input styler --> <!-- checkbox, radio, and file input styler -->
<script src="js/jquery.uniform.min.js"></script> <script src="js/jquery.uniform.min.js"></script>
<!-- plugin for gallery image view --> <!-- plugin for gallery image view -->
<script src="js/jquery.colorbox.min.js"></script> <script src="js/jquery.colorbox.min.js"></script>
<!-- rich text editor library --> <!-- rich text editor library -->
<script src="js/jquery.cleditor.min.js"></script> <script src="js/jquery.cleditor.min.js"></script>
<!-- notification plugin --> <!-- notification plugin -->
<script src="js/jquery.noty.js"></script> <script src="js/jquery.noty.js"></script>
<!-- file manager library --> <!-- file manager library -->
<script src="js/jquery.elfinder.min.js"></script> <script src="js/jquery.elfinder.min.js"></script>
<!-- star rating plugin --> <!-- star rating plugin -->
<script src="js/jquery.raty.min.js"></script> <script src="js/jquery.raty.min.js"></script>
<!-- for iOS style toggle switch --> <!-- for iOS style toggle switch -->
<script src="js/jquery.iphone.toggle.js"></script> <script src="js/jquery.iphone.toggle.js"></script>
<!-- autogrowing textarea plugin --> <!-- autogrowing textarea plugin -->
<script src="js/jquery.autogrow-textarea.js"></script> <script src="js/jquery.autogrow-textarea.js"></script>
<!-- multiple file upload plugin --> <!-- multiple file upload plugin -->
<script src="js/jquery.uploadify-3.1.min.js"></script> <script src="js/jquery.uploadify-3.1.min.js"></script>
<!-- history.js for cross-browser state change on ajax --> <!-- history.js for cross-browser state change on ajax -->
<script src="js/jquery.history.js"></script> <script src="js/jquery.history.js"></script>
<!-- application script for Charisma demo --> <!-- application script for Charisma demo -->
<!-- <script src="js/charisma.js"></script> --> <!-- <script src="js/charisma.js"></script> -->
<!-- help script for page help --> <!-- help script for page help -->
<script src="js/help.js"></script> <script src="js/help.js"></script>
<!-- application script for Charisma demo --> <!-- application script for Charisma demo -->
<script src="js/custom.js"></script> <script src="js/custom.js"></script>
</body> </body>
</html> </html>