function halcyonic_favicon() { $settings = theme_settings(); if (strstr("http", $settings['favicon'])) { ?> <link rel="shortcut icon" href="<?php echo $settings['favicon']; ?> " /> <?php } else { ?> <link rel="shortcut icon" href="<?php qoolinfo('home'); ?> /<?php template_path(); ?> /<?php echo $settings['favicon']; ?> " /> <?php } }
?> '><i class=" icon-edit"> </i><?php t("Edit"); ?> </a></td> <td ><a class="btn btn-danger warnme" title="<?php t('Delete'); ?> " rel="<?php t('Please revise your action. Are you sure you want to do this?'); ?> " href='<?php qoolinfo('home'); ?> /admin/del<?php qoolinfo('theaction'); ?> ?id=<?php echo $v['id']; ?> '><i class=" icon-remove"> </i><?php t("Delete"); ?> </a></td> </tr> <?php } ?> </table> </div> </div><!--/span-->
// Drop lists for link/image/media/template dialogs //template_external_list_url : "<?php qoolinfo('home'); ?> /admin/ajaxgeteditortemplates", external_link_list_url : "<?php qoolinfo('home'); ?> /admin/ajaxgeteditorlinks", external_image_list_url : "<?php qoolinfo('home'); ?> /admin/ajaxgeteditorimages", //media_external_list_url : "<?php qoolinfo('home'); ?> /admin/ajaxgeteditormedia", setup : function(ed) { // Add all custom buttons <?php foreach ($btns = get_array('editorBtns') as $k => $v) { ?> ed.addButton('<?php echo $v['name']; ?> ', { title : '<?php echo $v['title']; ?> ',
function list_content($args = array('echo' => 1)) { try { $qool =& get_array('qool'); $content = $qool->getContentList(10); foreach ($content as $k => $v) { $id = $qool->getAllBySlug($v['slug']); $list .= "<li><a href='" . qoolinfo('home', 0) . "/" . $qool->getFullSlugById($id['id']) . "'>{$v['title']}</a></li>"; } if (!0 == $args['echo']) { return $list; } echo $list; } catch (Exception $e) { echo "No content"; } }
function plugins_url($path = '', $plugin = '') { $url = qoolinfo('home', 0) . "/"; return apply_filters('plugins_url', $url, $path, $plugin); }