i18n etwas umstrukturiert

This commit is contained in:
Martin Müller 2014-06-10 19:40:06 +02:00
parent 9c33344ebd
commit d0d59d54b1
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ if($profil['AppUser']['take_systemwide']){
<div class="buttonrow">
<?php
if(!empty($page)){
echo $this->Html->link('<span class="glyphicon glyphicon-trash"></span> '.__('dreamjob.page.del'),array('controller'=>'user','action'=>'settings_pageInh','?'=>array('del'=> $pag['id'])),array('escape'=>false,'class'=>'btn btn-default'));
echo $this->Html->link('<span class="glyphicon glyphicon-trash"></span> '.__('dreamjob.page.del'),array('controller'=>'user','action'=>'settings_pageInh','?'=>array('del'=> $page ["DreamjobPageInh"]['id'])),array('escape'=>false,'class'=>'btn btn-default'));
}
?>
<?=$this->Form->button('<span class="glyphicon glyphicon-floppy-disk"></span> '.__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>

View File

@ -92,7 +92,7 @@ var global_load = null;
$(this).submit(function() {
stopLoad(evt);
frame = $('#fileUpload').load(function() {
setContent($('#fileUpload').contents().find('body').html());
setContent($('#fileUpload').contents().find('html').html());
$('#fileUpload').unbind('load');
setTimeout(function() {
$('#fileUpload').html('');