minor whitespace and code cleanup
and a small github docnote fix and added a todo for transforming a filename into a valid upload path
This commit is contained in:
parent
9e49ecc8c3
commit
d7b1e7d23d
@ -8,6 +8,7 @@ if (!serendipity_checkPermission('adminEntries')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$per_page = array('12', '16', '50', '100');
|
||||
$sort_order = array('timestamp' => DATE,
|
||||
'isdraft' => PUBLISH . '/' . DRAFT,
|
||||
'a.realname' => AUTHOR,
|
||||
@ -15,7 +16,6 @@ $sort_order = array('timestamp' => DATE,
|
||||
'last_modified' => LAST_UPDATED,
|
||||
'title' => TITLE,
|
||||
'id' => 'ID');
|
||||
$per_page = array('12', '16', '50', '100');
|
||||
|
||||
$data = array();
|
||||
|
||||
|
@ -1360,7 +1360,7 @@ function serendipity_resize_image_gd($infilename, $outfilename, $newwidth, $newh
|
||||
* @param int Image height
|
||||
* @param int Target dimension size
|
||||
* @param string Dimension to constrain ('width', 'height', 'largest',
|
||||
'smallest'; defaults to original behavior, 'largest')
|
||||
* 'smallest'; defaults to original behavior, 'largest')
|
||||
* @return array An array with the scaled width and height
|
||||
*/
|
||||
function serendipity_calculate_aspect_size($width, $height, $size, $constraint = null) {
|
||||
@ -1938,6 +1938,7 @@ function serendipity_deletePath($dir) {
|
||||
|
||||
/**
|
||||
* Transform a filename into a valid upload path
|
||||
* ToDO: Rewrite to use converted Umlauts, eg -> ae!
|
||||
*
|
||||
* @access public
|
||||
* @param string The input filename
|
||||
|
@ -30,6 +30,7 @@
|
||||
</div>
|
||||
</header>
|
||||
{/if}
|
||||
|
||||
<main id="workspace" class="clearfix">
|
||||
{if NOT $admin_vars.is_logged_in}
|
||||
{$admin_vars.out|@serendipity_refhookPlugin:'backend_login_page'}
|
||||
@ -160,8 +161,10 @@
|
||||
{$admin_vars.main_content}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</main>
|
||||
{if NOT $admin_vars.no_footer}
|
||||
|
||||
<footer id="meta">
|
||||
<p>{$admin_vars.version_info}</p>
|
||||
</footer>
|
||||
|
Loading…
x
Reference in New Issue
Block a user