Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Форуми / Craftwork / Client-side / jQuery Uniform

A nicely way to style checkboxes, drop down menus, radio buttons, and file upload inputs!

Kaan
#26798 29.10.2010 01:54

Added plugins models

<head>.....</head> add header.tpl {HEADER_FORM}
3 pieces of original own theme

uniform.header.php

<?PHP
/* ====================
[BEGIN_SED_EXTPLUGIN]
Code=uniform
Part=header
File=uniform.header
Hooks=header.tags
Tags=header.tpl:{HEADER_FORM}
Order=10
[END_SED_EXTPLUGIN]
==================== */
defined('SED_CODE') or die('Wrong URL');
	$form .= '	
    <!-- jQuery - the core -->
<script src="plugins/uniform/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="plugins/uniform/js/jquery.uniform.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
      $(function(){
        $("input, textarea, select, button, radio").uniform();
      });
    </script>
<!-- stylesheets -->
<link rel="stylesheet" href="plugins/uniform/css/uniform.'.$cfg['plugin']['uniform']['theme'].'.css" type="text/css" media="screen">';
$t->assign(array(
"HEADER_FORM" => $form
));

?>

uniform.setup.php

<?PHP
/* ====================
Seditio - Website engine
Copyright Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=plugins/uniform/uniform.setup.php
Version=v1.0
Updated=2010
Type=Plugin
Author=Kaan
Description=JQuery Uniform Sexy forms 
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=uniform
Name=Uniform Sexy forms v1.0
Description=JQuery Uniform Sexy forms 
Version=v1.0
Date=2010
Author=Kaan
Copyright=https://seditiocms.com - www.ntka.org [by Kaan]
Notes=
SQL=
Auth_guests=R
Lock_guests=W12345A
Auth_members=R
Lock_members=W12345A
[END_SED_EXTPLUGIN]

[BEGIN_SED_EXTPLUGIN_CONFIG]
theme=01:select:default,agent,aristo:default:Theme Select.
[END_SED_EXTPLUGIN_CONFIG]
==================== */
if (!defined('SED_CODE')) { die('Wrong URL.'); }
?>

Download plugins: http://www.cotonti.com/datas/users/uniform_180.rar


Відредаговано: Kaan (24.09.2018 06:50, 3 року тому)