Fixing labels
This commit is contained in:
parent
647d623f1c
commit
b6d4ddaebd
|
@ -154,7 +154,7 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
||||||
'name'=>'date',
|
'name'=>'date',
|
||||||
'value'=>$page->dateRaw(),
|
'value'=>$page->dateRaw(),
|
||||||
'class'=>'uk-width-1-1 uk-form-medium',
|
'class'=>'uk-width-1-1 uk-form-medium',
|
||||||
'tip'=>$L->g('To schedule the post just select the date and time'),
|
'tip'=>$L->g('To schedule the page just select the date and time'),
|
||||||
'label'=>$L->g('Date')
|
'label'=>$L->g('Date')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ if($Login->role()==='admin') {
|
||||||
'label'=>$L->g('Email'),
|
'label'=>$L->g('Email'),
|
||||||
'value'=>$User->email(),
|
'value'=>$User->email(),
|
||||||
'class'=>'uk-width-1-2 uk-form-medium',
|
'class'=>'uk-width-1-2 uk-form-medium',
|
||||||
'tip'=>$L->g('email-will-not-be-publicly-displayed')
|
'tip'=>$L->g('Recommended for recovery password and notifications.')
|
||||||
));
|
));
|
||||||
|
|
||||||
HTML::legend(array('value'=>$L->g('Social networks links')));
|
HTML::legend(array('value'=>$L->g('Social networks links')));
|
||||||
|
@ -121,7 +121,7 @@ if($Login->role()==='admin') {
|
||||||
'label'=>$L->g('Token'),
|
'label'=>$L->g('Token'),
|
||||||
'value'=>$User->tokenAuth(),
|
'value'=>$User->tokenAuth(),
|
||||||
'class'=>'uk-width-1-2 uk-form-medium',
|
'class'=>'uk-width-1-2 uk-form-medium',
|
||||||
'tip'=>$L->g('This token is similar to your password, do not share this token.')
|
'tip'=>$L->g('This token is similar to your password, you should not share it.')
|
||||||
));
|
));
|
||||||
|
|
||||||
HTML::legend(array('value'=>$L->g('Status')));
|
HTML::legend(array('value'=>$L->g('Status')));
|
||||||
|
@ -132,7 +132,7 @@ if($Login->role()==='admin') {
|
||||||
'value'=>$User->enabled()?$L->g('Enabled'):$L->g('Disabled'),
|
'value'=>$User->enabled()?$L->g('Enabled'):$L->g('Disabled'),
|
||||||
'class'=>'uk-width-1-2 uk-form-medium',
|
'class'=>'uk-width-1-2 uk-form-medium',
|
||||||
'disabled'=>true,
|
'disabled'=>true,
|
||||||
'tip'=>$User->enabled()?'':$L->g('To enable the user you have to set a new password')
|
'tip'=>$User->enabled()?'':$L->g('To enable the user you must set a new password.')
|
||||||
));
|
));
|
||||||
|
|
||||||
if( $User->enabled() ) {
|
if( $User->enabled() ) {
|
||||||
|
@ -149,7 +149,7 @@ if( ($Login->role()==='admin') && ($User->username()!='admin') ) {
|
||||||
|
|
||||||
echo '<div class="uk-form-row">
|
echo '<div class="uk-form-row">
|
||||||
<div class="uk-form-controls">
|
<div class="uk-form-controls">
|
||||||
<button type="submit" id="jsdelete-user-associate" class="delete-button" name="delete-user-associate"><i class="uk-icon-ban"></i> '.$L->g('Delete the user and associate its posts to admin user').'</button>
|
<button type="submit" id="jsdelete-user-associate" class="delete-button" name="delete-user-associate"><i class="uk-icon-ban"></i> '.$L->g('Delete the user and associate its pages to admin user').'</button>
|
||||||
<button type="submit" id="jsdelete-user-all" class="delete-button" name="delete-user-all"><i class="uk-icon-ban"></i> '.$L->g('Delete the user and all its posts').'</button>
|
<button type="submit" id="jsdelete-user-all" class="delete-button" name="delete-user-all"><i class="uk-icon-ban"></i> '.$L->g('Delete the user and all its posts').'</button>
|
||||||
</div>
|
</div>
|
||||||
</div>';
|
</div>';
|
||||||
|
@ -174,19 +174,19 @@ echo '</div>';
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$("#jsdelete-user-associate").click(function() {
|
$("#jsdelete-user-associate").click(function() {
|
||||||
if(confirm("<?php $Language->p('confirm-delete-this-action-cannot-be-undone') ?>")==false) {
|
if(confirm("<?php $Language->p('Confirm delete this action cannot be undone') ?>")==false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#jsdelete-user-all").click(function() {
|
$("#jsdelete-user-all").click(function() {
|
||||||
if(confirm("<?php $Language->p('confirm-delete-this-action-cannot-be-undone') ?>")==false) {
|
if(confirm("<?php $Language->p('Confirm delete this action cannot be undone') ?>")==false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#jsdisable-user").click(function() {
|
$("#jsdisable-user").click(function() {
|
||||||
if(confirm("<?php $Language->p('do-you-want-to-disable-the-user') ?>")==false) {
|
if(confirm("<?php $Language->p('Do you want to disable the user') ?>")==false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -132,7 +132,7 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
||||||
'name'=>'date',
|
'name'=>'date',
|
||||||
'value'=>Date::current(DB_DATE_FORMAT),
|
'value'=>Date::current(DB_DATE_FORMAT),
|
||||||
'class'=>'uk-width-1-1 uk-form-medium',
|
'class'=>'uk-width-1-1 uk-form-medium',
|
||||||
'tip'=>$L->g('To schedule the post just select the date and time'),
|
'tip'=>$L->g('To schedule the page just select the date and time'),
|
||||||
'label'=>$L->g('Date')
|
'label'=>$L->g('Date')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
|
||||||
'name'=>'slug',
|
'name'=>'slug',
|
||||||
'value'=>'',
|
'value'=>'',
|
||||||
'class'=>'uk-width-1-1 uk-form-medium',
|
'class'=>'uk-width-1-1 uk-form-medium',
|
||||||
'tip'=>$L->g('you-can-modify-the-url-which-identifies'),
|
'tip'=>$L->g('You can modify the URL which identifies a page...'),
|
||||||
'label'=>$L->g('Friendly URL')
|
'label'=>$L->g('Friendly URL')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
||||||
'options'=>array('date'=>'Date','position'=>'Position'),
|
'options'=>array('date'=>'Date','position'=>'Position'),
|
||||||
'selected'=>$Site->orderBy(),
|
'selected'=>$Site->orderBy(),
|
||||||
'class'=>'uk-width-1-3 uk-form-medium',
|
'class'=>'uk-width-1-3 uk-form-medium',
|
||||||
'tip'=>$L->g('Order the content by date to create a Blog or order the content by position to create a Website')
|
'tip'=>$L->g('Order the content by date to build a Blog or order the content by position to build a Website.')
|
||||||
));
|
));
|
||||||
|
|
||||||
HTML::legend(array('value'=>$L->g('Email account settings')));
|
HTML::legend(array('value'=>$L->g('Email account settings')));
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<?php Theme::plugins('siteBodyBegin') ?>
|
||||||
|
|
||||||
<!-- Wrapper -->
|
<!-- Wrapper -->
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
|
|
||||||
|
@ -69,5 +71,7 @@
|
||||||
echo Theme::javascript('assets/js/main.js');
|
echo Theme::javascript('assets/js/main.js');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php Theme::plugins('siteBodyEnd') ?>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue