<?php foreach ($articles as $article) { ?> <?php $title = $article['title'] != '' ? $article['title'] : $article['name']; $rel = $article['id_page'] . '.' . $article['id_article']; $flat_rel = $article['id_page'] . 'x' . $article['id_article']; $status = !$article['online_in_page'] ? 'offline' : 'online'; // Content for each existing language $content_html = ''; // Array of status $content = array(); foreach ($article['languages'] as $lang_content) { if (!empty($lang_content['content'])) { $content[] = '<img class="left pl5 pt3" src="' . admin_style_url() . 'images/world_flags/flag_' . $lang_content['lang'] . '.gif" />'; } } // HTML $content_html = implode('', $content); ?> <li id="articleinpage<?php echo $article['id_article']; ?> " class="sortme article<?php echo $article['id_article']; ?> article<?php echo $flat_rel; ?>
echo $language['lang']; ?> " <?php if ($context_data['lang_display'] == $language['lang']) { ?> checked="checked"<?php } ?> /><label for="display_<?php echo $language['lang']; ?> "><img alt="<?php echo $language['lang']; ?> " src="<?php echo admin_style_url(); ?> /images/world_flags/flag_<?php echo $language['lang']; ?> .gif" /></label> <?php } ?> </dd> </dl> <?php } ?> <!-- Copyright -->
var staticItemManager = new ION.StaticItemManager(); // If user's theme has a tinyMCE.css content CSS file, load it. // else, load the standard tinyMCE content CSS file <?php if (is_file(FCPATH . 'themes/' . Settings::get('theme') . '/assets/css/tinyMCE.css')) { ?> var tinyCSS = '<?php echo base_url() . 'themes/' . Settings::get('theme') . '/assets/css/tinyMCE.css'; ?> '; <?php } else { ?> var tinyCSS = '<?php echo admin_style_url() . 'css/tinyMCE.css'; ?> '; <?php } ?> var tinyButtons1 = '<?php echo Settings::get('tinybuttons1'); ?> '; var tinyButtons2 = '<?php echo Settings::get('tinybuttons2'); ?> '; var tinyButtons3 = '<?php