Article previous html
Jump to navigation
Jump to search
| Line 334: | Line 334: | ||
// && will not work correctly ! | // && will not work correctly ! | ||
// if(month && year) | // if(month && year) | ||
| − | + | ||
var month_year = false; | var month_year = false; | ||
if(month) { | if(month) { | ||
| Line 341: | Line 341: | ||
} | } | ||
} | } | ||
| − | + | ||
if(month_year) { | if(month_year) { | ||
pagename += obj_months[month] + ' ' + year + ' - ' + title; | pagename += obj_months[month] + ' ' + year + ' - ' + title; | ||
| Line 367: | Line 367: | ||
{{{info|page name={{#switch: <Article[Type]> | news = news/<Article[Title]> | post = posts/<Article[Title] | article = articles/<Article[Authors]> - <Article[Title]> | <Article[Type]>/<Article[Authors]> - <Article[Title]> }} }}} | {{{info|page name={{#switch: <Article[Type]> | news = news/<Article[Title]> | post = posts/<Article[Title] | article = articles/<Article[Authors]> - <Article[Title]> | <Article[Type]>/<Article[Authors]> - <Article[Title]> }} }}} | ||
*/ | */ | ||
| − | + | ||
// return false; | // return false; | ||
Revision as of 08:42, 12 March 2020