made the config file more general + seemed some simple <br>'s in the textarea solved it! thank you mr wireshark!

--HG--
branch : quitta-gsoc-2013
This commit is contained in:
Quitta 2013-07-31 16:09:39 +02:00
parent b768d1afb6
commit c42c667827
2 changed files with 5 additions and 67 deletions

View file

@ -52,7 +52,7 @@
</tr>
<tr>
<td valign="middle">Description:</td>
<td><textarea cols="50" height="400" id="Content" name="Content"></textarea></td>
<td><textarea cols="50" id="Content" name="Content"><br><br><br><br><br></textarea></td>
</tr>
<tr>
<td>
@ -77,66 +77,4 @@
{/block}
{block name=content}
<div class="row-fluid sortable ui-sortable">
<div class="box span8">
<div class="box-header well" data-original-title="">
<h2><i class="icon-th"></i> Create a new Ticket</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<div class="row-fluid">
<form id="changePassword" class="form-vertical" method="post" action="index.php?page=createticket&id={$target_id}">
<legend>New ticket</legend>
<div class="control-group">
<label class="control-label">Title</label>
<div class="controls">
<div class="input-prepend">
<input type="text" class="span8" id="Title" name="Title">
</div>
</div>
</div>
<div class="control-group">
<label class="control-label">Category</label>
<div class="controls">
<select name="Category">
{foreach from=$category key=k item=v}
<option value="{$k}">{$v}</option>
{/foreach}
</select>
</div>
</div>
<div class="control-group">
<label class="control-label">Description</label>
<div class="controls">
<div class="input-prepend">
<textarea rows="12" class="span12" id="Content" name="Content"></textarea>
</div>
</div>
</div>
<input type="hidden" name="function" value="create_ticket">
<input type="hidden" name="target_id" value="{$target_id}">
<div class="control-group">
<label class="control-label"></label>
<div class="controls">
<button type="submit" class="btn btn-primary" style="margin-left:5px; margin-top:10px;">Send Ticket</button>
</div>
</div>
</form>
</div>
</div>
</div><!--/span-->
</div><!--/row-->
{/block}

View file

@ -10,14 +10,14 @@
$cfg['db']['web']['host'] = 'localhost';
$cfg['db']['web']['port'] = '3306';
$cfg['db']['web']['name'] = 'ryzom_ams';
$cfg['db']['web']['user'] = 'root';
$cfg['db']['web']['pass'] = 'lol123';
$cfg['db']['web']['user'] = 'shard';
$cfg['db']['web']['pass'] = '';
$cfg['db']['lib']['host'] = 'localhost';
$cfg['db']['lib']['port'] = '3306';
$cfg['db']['lib']['name'] = 'ryzom_ams_lib';
$cfg['db']['lib']['user'] = 'root';
$cfg['db']['lib']['pass'] = 'lol123';
$cfg['db']['lib']['user'] = 'shard';
$cfg['db']['lib']['pass'] = '';
$cfg['db']['shard']['host'] = 'localhost';
$cfg['db']['shard']['port'] = '3306';