/** * Plugin Name: Genel Ayarlar * Author Name: Batuhan AYDIN * Author Mail: batuhanyusufaydin[et]gmail[dot]com * Description: Bu eklenti aracılığı ile site ayarlarınızı düzenleyebilirsiniz. * URL: http://www.mysite.com/ */ // Eklenti aktif hale getiriliyorsa yapılacak işlem function my_install_plugin() { add_option('site_title', 'Site Başlığınız'); add_option('site_keywords', 'Site Etiketleri'); add_option('site_description', 'Site Açıklaması'); } active_plugin(__FILE__, 'my_install_plugin'); // Eklenti pasif hale getiriliyorsa yapılacak işlem function my_uninstall_plugin() { delete_option('site_title'); delete_option('site_keywords'); delete_option('site_description'); } deactive_plugin(__FILE__, 'my_uninstall_plugin'); /** * Örnek Filtreleme */ function my_title($title = '') { return 'Başlığı Değiştirdim - ' . $title; }
?> "></script> <?php if (active_plugin('rcarousel', $current)) { ?> <script src="<?php echo js_url('rys/circle') . "?v=" . $this->config->item('files_version'); ?> "></script> <?php } ?> <?php if (active_plugin('isotope', $current)) { ?> <script type="text/javascript" src="<?php echo js_lib('jquery-css-transform', 'rotate3Di') . "?v=" . $this->config->item('plugins_version'); ?> "></script> <script type="text/javascript" src="<?php echo js_lib('rotate3Di', 'rotate3Di') . "?v=" . $this->config->item('plugins_version'); ?> "></script> <script src="<?php echo js_lib('isotope.pkgd') . "?v=" . $this->config->item('plugins_version'); ?> "></script> <script src="<?php
<link href="<?php echo css_lib('ios7-switch', 'ios-switch') . "?v=" . $this->config->item('plugins_version'); ?> " rel="stylesheet" type="text/css" media="screen"> <?php if (active_plugin('jasny', $current)) { ?> <link href="<?php echo css_lib('css/jasny-bootstrap.min', 'jasny-bootstrap-3.1.0-dist') . "?v=" . $this->config->item('plugins_version'); ?> " rel="stylesheet" /> <?php } if (active_plugin('rcarousel', $current)) { ?> <link href="<?php echo css_lib('css/rcarousel', 'rcarousel') . "?v=" . $this->config->item('plugins_version'); ?> " rel="stylesheet" /> <?php } ?> <?php if (active_js('card', $current)) { ?> <link href="<?php echo css_lib('jquery.qtip', 'qtip2') . "?v=" . $this->config->item('plugins_version'); ?>