+
+
+ 'input-xxlarge')).
+ Html::br(2).
+ Form::label('page_description', __('Description', 'pages')).
+ Form::textarea('page_description', $description_to_edit, array('class' => 'input-xxlarge'))
+ );
+
+ echo (
+ Html::br(2).
+ Form::label('robots', __('Search Engines Robots', 'pages')).
+ 'no Index'.Html::nbsp().Form::checkbox('robots_index', 'index', $post_robots_index).Html::nbsp(2).
+ 'no Follow'.Html::nbsp().Form::checkbox('robots_follow', 'follow', $post_robots_follow)
);
?>
-
-
-
- (isset($errors['pages_empty_title'])) ? 'span6 error-field' : 'span6'))
- );
- if (isset($errors['pages_empty_title'])) echo Html::nbsp(3).''.$errors['pages_empty_title'].'';
-
- if (Request::get('name') !== 'error404') {
- echo (
- Html::br(2).
- Form::label('page_name', __('Name (slug)', 'pages'))
- );
- }
-
- if (Request::get('name') == 'error404') {
- echo Form::hidden('page_name', $slug_to_edit);
- } else {
- echo (
- Form::input('page_name', $slug_to_edit, array('class' => (isset($errors['pages_empty_name'])) ? 'span6 error-field' : 'span6'))
- );
- }
-
- if (isset($errors['pages_empty_name'])) echo Html::nbsp(3).''.$errors['pages_empty_name'].'';
- if (isset($errors['pages_exists'])) echo Html::nbsp(3).''.$errors['pages_exists'].'';
- ?>
-
-
-
-
- 'span8')).
- Html::br(2).
- Form::label('page_description', __('Description', 'pages')).
- Form::textarea('page_description', $description_to_edit, array('class' => 'span8'))
- );
-
- echo (
- Html::br(2).
- Form::label('robots', __('Search Engines Robots', 'pages')).
- 'no Index'.Html::nbsp().Form::checkbox('robots_index', 'index', $post_robots_index).Html::nbsp(2).
- 'no Follow'.Html::nbsp().Form::checkbox('robots_follow', 'follow', $post_robots_follow)
- );
- ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
- 'btn')).Html::nbsp(2).
- Form::submit('edit_page', __('Save', 'pages'), array('class' => 'btn'))
- );
- ?>
+
+
+
-
-
: 'input-large')); ?>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+ 'btn')).Html::nbsp(2).
+ Form::submit('edit_page', __('Save', 'pages'), array('class' => 'btn'))
+ );
+ ?>
+
+
+
: 'input-large')); ?>
+
+
+
diff --git a/plugins/box/pages/views/backend/index.view.php b/plugins/box/pages/views/backend/index.view.php
index 756b912..48df27e 100755
--- a/plugins/box/pages/views/backend/index.view.php
+++ b/plugins/box/pages/views/backend/index.view.php
@@ -1,106 +1,100 @@
-
-
+
+
-
-
+
-
+ __('Create new page', 'pages'), 'class' => 'btn btn-small')). Html::nbsp(3).
+ Html::anchor(__('Edit 404 Page', 'pages'), 'index.php?id=pages&action=edit_page&name=error404', array('title' => __('Create new page', 'pages'), 'class' => 'btn btn-small'))
+ );
+?>
- __('Create new page', 'pages'), 'class' => 'btn default btn-small')). Html::nbsp(3).
- Html::anchor(__('Edit 404 page', 'pages'), 'index.php?id=pages&action=edit_page&name=error404', array('title' => __('Create new page', 'pages'), 'class' => 'btn default btn-small'))
- );
- ?>
+
-
-
-
-
-
- |
- |
- |
- |
- |
- |
- |
-
-
-
-
-
- select('[slug="'.(string)$page['parent'].'"]', null);
- if ($page['parent'] !== '' && isset($expand['expand']) && $expand['expand'] == '1') { $visibility = 'style="display:none;"'; } else { $visibility = ''; }
- ?>
- rel="children_" >
-
- select('[parent="'.(string)$page['slug'].'"]', 'all')) > 0) {
- if (isset($page['expand']) && $page['expand'] == '1') {
- echo '+';
- } else {
- echo '-';
- }
- }
- ?>
- |
-
- '_blank', 'rel' => 'children_'.$_parent));
- ?>
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
-
-
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+
+
+
+ select('[slug="'.(string)$page['parent'].'"]', null);
+ if ($page['parent'] !== '' && isset($expand['expand']) && $expand['expand'] == '1') { $visibility = 'style="display:none;"'; } else { $visibility = ''; }
+ ?>
+ rel="children_" >
+
+ select('[parent="'.(string)$page['slug'].'"]', 'all')) > 0) {
+ if (isset($page['expand']) && $page['expand'] == '1') {
+ echo '+';
+ } else {
+ echo '-';
}
+ }
+ ?>
+ |
+
+ '_blank', 'rel' => 'children_'.$_parent));
?>
- |
-
+
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+ 'btn btn-small')); ?>
+
+
+ 'btn btn-actions btn-small btn-actions-default', 'onclick' => "return confirmDelete('".__("Delete page: :page", 'pages', array(':page' => Html::toText($page['title'])))."')"));
+ ?>
+
+
+ |
+
-
+
+
+
+
-
-
\ No newline at end of file
+