1st commit for syncing own Jlog developments with master
This commit is contained in:
parent
2ae67af572
commit
517c58344d
54 changed files with 1784 additions and 1062 deletions
|
@ -5,11 +5,12 @@
|
|||
require(JLOG_BASEPATH.'admin'.DIRECTORY_SEPARATOR.'blog.func.php');
|
||||
|
||||
$get = strip($_GET);
|
||||
$yl = new Year_Links($get['y'], JLOG_START_YEAR, add_session_id_to_url(JLOG_PATH."/admin/"), $l['admin']);
|
||||
$yl = new Year_Links($get['y'] ?? null, JLOG_START_YEAR, add_session_id_to_url(JLOG_PATH."/admin/"), $l['admin']);
|
||||
|
||||
if(isset($get['show']) AND $get['show'] == 'page') {
|
||||
$show_section = "<a href='".add_session_id_to_url("?show=weblog")."'>".$l['admin']['section_weblog']."</a> | <strong>".$l['admin']['section_page']."</strong>";
|
||||
$where = "section = 'page'";
|
||||
$year_menu = '';
|
||||
}
|
||||
else {
|
||||
$show_section = "<strong>".$l['admin']['section_weblog']."</strong> | <a href='".add_session_id_to_url("?show=page")."'>".$l['admin']['section_page']."</a>";
|
||||
|
@ -23,6 +24,8 @@
|
|||
|
||||
$c['meta']['title'] = $l['admin']['index_headline'];
|
||||
|
||||
if (!isset($c['main'])) $c['main'] = '';
|
||||
|
||||
$c['main'] .= output_admin_menu()."
|
||||
<h2>".$l['admin']['admin_headline']."</h2>
|
||||
<p><strong>»»</strong> <a href='".add_session_id_to_url("new.php")."'>".$l['admin']['new_post']."</a></p>
|
||||
|
@ -72,4 +75,4 @@
|
|||
require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php');
|
||||
echo $body;
|
||||
|
||||
// eof
|
||||
// eof
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue