jQuery Datepicker:

Readd resize for list of categories
Use include for double select list



git-svn-id: http://piwigo.org/svn/trunk@2718 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2008-10-11 20:18:49 +00:00
parent a06bada6e8
commit 21fc681302
9 changed files with 83 additions and 17 deletions
+1
View File
@@ -1,6 +1,7 @@
{* $Id$ *}
{include file='include/autosize.inc.tpl'}
{include file='include/resize.inc.tpl'}
<div class="titrePage">
<h2>{'title_edit_cat'|@translate}</h2>
+2
View File
@@ -1,5 +1,7 @@
{* $Id$ *}
{include file='include/resize.inc.tpl'}
<div class="titrePage">
<h2>{'Move categories'|@translate}</h2>
</div>
+1 -16
View File
@@ -1,21 +1,6 @@
{* $Id$ *}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
<script type="text/javascript">
jQuery().ready(function(){ldelim}
jQuery(".doubleSelect select.categoryList").resizable({ldelim}
handles: "w,e",
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,
preserveCursor: true,
autoHide: true,
ghost: true
});
});
</script>
{include file='include/dbselect.inc.tpl'}
<table class="doubleSelect">
<tr>
@@ -0,0 +1,23 @@
{* $Id$ *}
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
{* Resize possible *}
{literal}
<script type="text/javascript">
jQuery().ready(function(){
// Resize possible for double select list
jQuery(".doubleSelect select.categoryList").resizable({
handles: "w,e",
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,
preserveCursor: true,
autoHide: true,
ghost: true
});
});
</script>
{/literal}
@@ -0,0 +1,23 @@
{* $Id$ *}
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
{* Resize possible *}
{literal}
<script type="text/javascript">
jQuery().ready(function(){
// Resize possible for list
jQuery(".categoryList").resizable({
handles: "all",
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,
preserveCursor: true,
autoHide: true,
ghost: true
});
});
</script>
{/literal}
+1
View File
@@ -1,6 +1,7 @@
{* $Id$ *}
{include file='include/autosize.inc.tpl'}
{include file='include/dbselect.inc.tpl'}
{include file='include/datepicker.inc.tpl'}
{literal}
+2
View File
@@ -1,5 +1,7 @@
{* $Id$ *}
{include file='include/resize.inc.tpl'}
<div class="titrePage">
<h2>{'title_update'|@translate}: <a href="{$SITE_URL}">{$SITE_URL}</a></h2>
</div>
+23
View File
@@ -0,0 +1,23 @@
{* $Id$ *}
{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.resizable.packed.js"}
{* Resize possible *}
{literal}
<script type="text/javascript">
jQuery().ready(function(){
// Resize possible for list
jQuery(".categoryList").resizable({
handles: "all",
animate: true,
animateDuration: "slow",
animateEasing: "swing",
preventDefault: true,
preserveCursor: true,
autoHide: true,
ghost: true
});
});
</script>
{/literal}
+7 -1
View File
@@ -1,6 +1,12 @@
{* $Id$ *}
{* Example of datepicker
{* Example of resizeable *}
{*
{include file='include/resize.inc.tpl'}
*}
{* Example of datepicker *}
{*
{include file='include/datepicker.inc.tpl'}
{literal}