md5 fur keyGen + placeholder diffrent
This commit is contained in:
parent
76ce113d45
commit
b9255be77a
|
@ -121,7 +121,7 @@ class MiconwareSessionComponent extends Component {
|
|||
}
|
||||
|
||||
public static function generateKey($length=8){
|
||||
return base64_encode(mcrypt_create_iv($length, MCRYPT_DEV_URANDOM));
|
||||
return md5(mcrypt_create_iv($length, MCRYPT_DEV_URANDOM));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"POT-Creation-Date: 2014-04-28 12:52+0200\n"
|
||||
"POT-Creation-Date: 2014-04-28 22:17+0200\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"POT-Creation-Date: 2014-04-28 12:52+0200\n"
|
||||
"POT-Creation-Date: 2014-04-28 22:17+0200\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"POT-Creation-Date: 2014-04-28 12:52+0200\n"
|
||||
"POT-Creation-Date: 2014-04-28 22:17+0200\n"
|
||||
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
|
||||
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
|
||||
|
@ -361,11 +361,7 @@ msgid "dreamjob.message.send"
|
|||
msgstr ""
|
||||
|
||||
#: View/Home/home.ctp:13
|
||||
#: View/Search/academy.ctp:20
|
||||
#: View/Search/education.ctp:20
|
||||
#: View/Search/internship.ctp:20
|
||||
#: View/Search/opening.ctp:20
|
||||
msgid "dreamjob.search.opening.placeholder"
|
||||
msgid "dreamjob.search.opening.startpage.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Home/home.ctp:22
|
||||
|
@ -735,6 +731,10 @@ msgstr ""
|
|||
msgid "dreamjob.country"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/academy.ctp:20
|
||||
msgid "dreamjob.search.opening.academy.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/academy.ctp:24;25
|
||||
#: View/Search/company.ctp:25;26
|
||||
#: View/Search/education.ctp:24;25
|
||||
|
@ -751,6 +751,10 @@ msgstr ""
|
|||
msgid "dreamjob.search.company.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/education.ctp:20
|
||||
msgid "dreamjob.search.opening.education.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/education.ctp:24
|
||||
msgid "dreamjob.branch.placeholder"
|
||||
msgstr ""
|
||||
|
@ -759,6 +763,14 @@ msgstr ""
|
|||
msgid "dreamjob.city.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/internship.ctp:20
|
||||
msgid "dreamjob.search.opening.internship.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/opening.ctp:20
|
||||
msgid "dreamjob.search.opening.placeholder"
|
||||
msgstr ""
|
||||
|
||||
#: View/Search/worker.ctp:14
|
||||
msgid "dreamjob.search.worker"
|
||||
msgstr ""
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="searchform">
|
||||
<?php echo $this->Form->create(null,array('inputDefaults'=> array('div' => false,'label'=>false,'class' => 'form-control'),'url'=>array('controller'=>'search', 'action'=>'opening'),'type'=>'get')); ?>
|
||||
<div class="input-group">
|
||||
<?php echo $this->Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.search.opening.placeholder')));?>
|
||||
<?php echo $this->Form->input('DreamjobJobOpening.title',array('placeholder'=>__('dreamjob.search.opening.startpage.placeholder')));?>
|
||||
<span class="input-group-btn">
|
||||
<?php echo $this->Form->button('<span class="glyphicon glyphicon-search"></span>',array('div' => false,'class'=>"btn btn-default",'type' => 'submit')); ?>
|
||||
</span>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
$a = $default_hForm['inputDefaults'];
|
||||
$a['inputDefaults']['between'] = false;
|
||||
$a['inputDefaults']['after'] = false;
|
||||
$a['placeholder'] = __('dreamjob.search.opening.placeholder');
|
||||
$a['placeholder'] = __('dreamjob.search.opening.academy.placeholder');
|
||||
echo $this->Form->input('DreamjobJobOpening.title',$a);
|
||||
?>
|
||||
<fieldset class="search">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
$a = $default_hForm['inputDefaults'];
|
||||
$a['inputDefaults']['between'] = false;
|
||||
$a['inputDefaults']['after'] = false;
|
||||
$a['placeholder'] = __('dreamjob.search.opening.placeholder');
|
||||
$a['placeholder'] = __('dreamjob.search.opening.education.placeholder');
|
||||
echo $this->Form->input('DreamjobJobOpening.title',$a);
|
||||
?>
|
||||
<fieldset class="search">
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
$a = $default_hForm['inputDefaults'];
|
||||
$a['inputDefaults']['between'] = false;
|
||||
$a['inputDefaults']['after'] = false;
|
||||
$a['placeholder']=__('dreamjob.search.opening.placeholder');
|
||||
$a['placeholder']=__('dreamjob.search.opening.internship.placeholder');
|
||||
echo $this->Form->input('DreamjobJobOpening.title',$a);
|
||||
?>
|
||||
<fieldset class="search">
|
||||
|
|
Loading…
Reference in New Issue