Skip to content

Commit

Permalink
Request for update page position menu directly in page list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred89 committed Sep 10, 2015
1 parent ae656ec commit 10af51b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions admin/views/manage-pages.php
Expand Up @@ -5,8 +5,9 @@
<table class="table-bordered table-stripped">
<thead>
<tr>
<th><?php $Language->p('Title') ?></th>
<th><?php $Language->p('Parent') ?></th>
<th style="width: 30%"><?php $Language->p('Title') ?></th>
<th style="width: 40%"><?php $Language->p('Parent') ?></th>
<th style="width: 30%"><?php $Language->p('Position') ?></th>
</tr>
</thead>
<tbody>
Expand All @@ -26,6 +27,7 @@
echo '<tr>';
echo '<td>'.($Page->parentKey()?NO_PARENT_CHAR:'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'<span class="label label-outline label-red smaller">'.$Language->g('Draft').'</span> ').($Page->title()?$Page->title():'<span class="label label-outline label-blue smaller">'.$Language->g('Empty title').'</span> ').'</a></td>';
echo '<td>'.$parentTitle.'</td>';
echo '<td><input id="jsposition" name="position" type="text" class="width-20" value="' .$Page->position(). '"></td>';
echo '</tr>';
}
}
Expand Down

0 comments on commit 10af51b

Please sign in to comment.