first global commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 52
|
||||
/svn/mdld/!svn/ver/1/sites/all/modules/custom/jqplug
|
||||
END
|
||||
jqplug.module
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 66
|
||||
/svn/mdld/!svn/ver/1/sites/all/modules/custom/jqplug/jqplug.module
|
||||
END
|
||||
jqplug.info
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 64
|
||||
/svn/mdld/!svn/ver/1/sites/all/modules/custom/jqplug/jqplug.info
|
||||
END
|
||||
@@ -0,0 +1,102 @@
|
||||
9
|
||||
|
||||
dir
|
||||
1
|
||||
http://192.168.1.122/svn/mdld/sites/all/modules/custom/jqplug
|
||||
http://192.168.1.122/svn/mdld
|
||||
|
||||
|
||||
|
||||
2009-07-08T17:22:35.498919Z
|
||||
1
|
||||
|
||||
|
||||
|
||||
svn:special svn:externals svn:needs-lock
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
5345f8a9-ac18-4ae0-b042-0c8c2e191c0c
|
||||
|
||||
jqplug.module
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2009-07-08T17:23:12.000000Z
|
||||
0dfa07bd2886cfea2a55d0b5958aba65
|
||||
2009-07-08T17:22:35.498919Z
|
||||
1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3695
|
||||
|
||||
css
|
||||
dir
|
||||
|
||||
js
|
||||
dir
|
||||
|
||||
jqplug.info
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2009-07-08T17:23:12.000000Z
|
||||
7009b8a6c2bc6fa8b0bd2f4723db865c
|
||||
2009-07-08T17:22:35.498919Z
|
||||
1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
143
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
9
|
||||
@@ -0,0 +1,9 @@
|
||||
; $Id$
|
||||
name = "jqplug"
|
||||
description = loads plugins for jquery
|
||||
|
||||
package = gui-admintools
|
||||
project = "jquery"
|
||||
version = "6.x-0.dev"
|
||||
core = "6.x"
|
||||
|
||||
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
// $Id$
|
||||
//
|
||||
// jqplug.module
|
||||
//
|
||||
//
|
||||
//
|
||||
// Created by Bach on 2008-04.
|
||||
// Copyright 2008 gui. All rights reserved.
|
||||
//
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Loads plugins for jQuery
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* hook_perm()
|
||||
*
|
||||
*/
|
||||
|
||||
function jqplug_perm(){
|
||||
return array('administer jqplug');
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_init().
|
||||
*/
|
||||
function jqplug_init() {
|
||||
# Add the JS for this module.
|
||||
$mod_path = drupal_get_path('module', 'jqplug');
|
||||
|
||||
/*drupal_add_js($mod_path.'/js/jquery.dimensions.pack.js', 'module', 'header', FALSE, TRUE);*/
|
||||
|
||||
drupal_add_js($mod_path.'/js/jquery.mousewheel.pack.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
drupal_add_js($mod_path.'/js/jqem-compressed.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
drupal_add_js($mod_path.'/js/jScrollPane.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
drupal_add_css($mod_path.'/css/jScrollPane.css', 'module', 'all', FALSE);
|
||||
|
||||
// http://plugins.jquery.com/project/Easing
|
||||
drupal_add_js($mod_path.'/js/jquery.easing.1.2.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
drupal_add_js($mod_path.'/js/jquery.checkbox.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
drupal_add_js($mod_path.'/js/jquery.cookie.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
drupal_add_js($mod_path.'/js/jquery.color.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
// url = http://davecardwell.co.uk/javascript/jquery/plugins/jquery-minmax/
|
||||
drupal_add_js($mod_path.'/js/jqminmax-compressed.js', 'module', 'header', FALSE, TRUE);
|
||||
//
|
||||
drupal_add_js($mod_path.'/js/AC_OETags.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/swfobject.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* Implementation of hook_menu().
|
||||
*
|
||||
*/
|
||||
|
||||
function jqplug_menu($may_cache = false) {
|
||||
/*
|
||||
$items = array();
|
||||
|
||||
if ($may_cache) {
|
||||
#
|
||||
}
|
||||
else {
|
||||
# Add the JS for this module.
|
||||
$mod_path = drupal_get_path('module', 'jqplug');
|
||||
drupal_add_js($mod_path.'/js/jquery.dimensions.pack.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/jquery.mousewheel.pack.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/jqem-compressed.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/jScrollPane.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_css($mod_path.'/css/jScrollPane.css', 'module', 'all', FALSE);
|
||||
drupal_add_js($mod_path.'/js/jquery.easing.1.2.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/jquery.checkbox.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/jquery.cookie.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/AC_OETags.js', 'module', 'header', FALSE, TRUE);
|
||||
drupal_add_js($mod_path.'/js/swfobject.js', 'module', 'header', FALSE, TRUE);
|
||||
|
||||
|
||||
}
|
||||
return $items;
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* nouveaute_admin
|
||||
*
|
||||
* */
|
||||
|
||||
function jqplug_admin(){
|
||||
/*
|
||||
drupal_set_title('nouveaute administration');
|
||||
|
||||
$form = array();
|
||||
$form['nouveautes']['#tree'] = TRUE;
|
||||
|
||||
|
||||
$form['nouveautes']['nouveaute_bouton_ic_presetid'] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('image_bouton'),
|
||||
'#multiple' => FALSE,
|
||||
'#description' => t('Select the imageCache preset which will be choose for image bouton.'),
|
||||
'#options' => $presetsname,
|
||||
'#default_value' => array_search(variable_get('nouveaute_bouton_ic_presetid', 0), $presetsid),
|
||||
);
|
||||
$form['hidden'] = array('#type' => 'value', '#value' => $presetsid);
|
||||
return system_settings_form($form);
|
||||
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
function jqplug_admin_submit($form_id, $form_values){
|
||||
/*
|
||||
print('<pre>');
|
||||
print_r($form_values);
|
||||
print('</pre>');
|
||||
*/
|
||||
//
|
||||
/*
|
||||
foreach($form_values['nouveautes'] as $var => $pos){
|
||||
variable_set($var, $form_values['hidden'][$pos]);
|
||||
}
|
||||
drupal_set_message(t('nouveaute configuration has been saved.'));
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user