NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:ersetzer_rts:frontend_render:lighbox-prev-next-verbinden:lightbox-bilder-verbinden [2011/08/07 09:41] Knut Heermann (flip-flop) |
deutsch:ersetzer_rts:frontend_render:lighbox-prev-next-verbinden:lightbox-bilder-verbinden [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 31: | Line 31: | ||
| **Version:** V1.1 \\ | **Version:** V1.1 \\ | ||
| **Update 05.08.2011 KH:** Fehler behoben "Wenn keine Kategorie im Array angegeben wurde" //("If no category is specified in the array").// \\ | **Update 05.08.2011 KH:** Fehler behoben "Wenn keine Kategorie im Array angegeben wurde" //("If no category is specified in the array").// \\ | ||
| + | **Update 19.01.2012 KH:** Fehler behoben in "all image CPs and no gallery images:" RegEx %%[^gallery]%% ersetzt durch %%(?!gallery)%% \\ | ||
| Line 81: | Line 82: | ||
| Z.B. ##<!%%--%% bbbbbbbb %%//--%%>{RIGHT}<!%%--%% eeeeeee %%//--%%>## | Z.B. ##<!%%--%% bbbbbbbb %%//--%%>{RIGHT}<!%%--%% eeeeeee %%//--%%>## | ||
| - | "bbbbbbbb" bzw. "eeeeeee" stehen für die angegebenen Markierungstexte z.B. "bbbbbbbb" = "content-begin" und "eeeeeee" = "content-end" also \\ | + | "bbbbbbbb" bzw. "eeeeeee" stehen für die angegebenen Markierungstexte z.B. \\ |
| + | "bbbbbbbb" = "content-begin" und "eeeeeee" = "content-end" also z.B. \\ | ||
| ##<!%%--%% content-begin %%//--%%>{LEFT}<!%%--%% content-end %%//--%%>##. | ##<!%%--%% content-begin %%//--%%>{LEFT}<!%%--%% content-end %%//--%%>##. | ||
| Line 110: | Line 112: | ||
| Where XX is the current category ID. | Where XX is the current category ID. | ||
| Update 05.08.2011 KH: If no category is specified in the array | Update 05.08.2011 KH: If no category is specified in the array | ||
| + | Update 19.01.2012 KH: Bug correction at "all image CPs and no gallery images:" | ||
| + | RegEx [^gallery] changed to (?!gallery) | ||
| Filename: rt_lighbox_prev_next_all01.php | Filename: rt_lighbox_prev_next_all01.php | ||
| Line 184: | Line 188: | ||
| else // all image CPs and no gallery images | else // all image CPs and no gallery images | ||
| - | $text = preg_replace('/rel="lightbox\[[^gallery](.*?)\]"/i', | + | $text = preg_replace('/rel="lightbox\[(?!gallery).*?\]"/i', |
| 'rel="lightbox[catid-'.$cat_id.']"', $text); // fill content | 'rel="lightbox[catid-'.$cat_id.']"', $text); // fill content | ||