NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:ersetzer_rts:frontend_render:article-menu-archiv:article-menu-archiv-counter [2010/03/10 11:20] Knut Heermann (flip-flop) |
deutsch:ersetzer_rts:frontend_render:article-menu-archiv:article-menu-archiv-counter [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 475: | Line 475: | ||
| **Mögliche Varianten:** Sind keine Parameter gesetzt wird folgendes angenommen: \\ | **Mögliche Varianten:** Sind keine Parameter gesetzt wird folgendes angenommen: \\ | ||
| - | - **{ARTICLE_MENU_ARCHIVE:,,,}** -> Fallback für die einzelnen Parameter: **{ARTICLE_MENU_ARCHIVE:0,0,100,2}** //(Einstellbar unter "%% ===== CUSTOM INPUT === %%")//. | + | - **{ARTICLE_MENU_ARCHIVE:,,,}** -> Fallback für die einzelnen Parameter: **{ARTICLE_MENU_ARCHIVE:0,0,100,2}** \\ //(Einstellbar unter "%% ===== CUSTOM INPUT === %%")//. |
| ---- | ---- | ||
| Line 566: | Line 566: | ||
| function my_article_menu_archive ($parameter='', $CNT_TMP = '') { | function my_article_menu_archive ($parameter='', $CNT_TMP = '') { | ||
| - | $parameter = explode(',', $parameter); | + | $parameter = explode(',', $parameter); |
| Line 679: | Line 679: | ||
| // Tag input parameter | // Tag input parameter | ||
| - | if (!empty($parameter[0])) $catid = intval($parameter[0]); // Tag input: Category-ID | + | if (!empty($parameter[0])) $catid = intval($parameter[0]); // Tag input: Category-ID |
| - | if (!empty($parameter[1])) $leading_article_hide = intval($parameter[1]); // Tag input: No. scriped articles | + | if (!empty($parameter[1])) $leading_article_hide = intval($parameter[1]); // Tag input: No. scriped articles |
| - | if (!empty($parameter[2])) $count_article = intval($parameter[2]); // Tag input: Max count articles | + | if (!empty($parameter[2])) $count_article = intval($parameter[2]); // Tag input: Max count articles |
| - | if (!empty($parameter[3])) $article_archive_status = intval($parameter[3]); // Tag input: archived [0|1] | + | if (!empty($parameter[3])) { |
| + | $article_archive_status = intval($parameter[3]); // Tag input: [0-6] | ||
| + | if ($article_archive_status < 0 AND | ||
| + | $article_archive_status > 6) // Fallback if out of range range | ||
| + | $article_archive_status = 2; | ||
| + | } | ||