|
#1
|
|||
|
|||
|
Mark all images in admin area
Hi @all,
itīs realy a pain to mark all images in the admin area if you have a lot of them. So here are a few lines of code which can help mark all images simultaneous: Code:
<script language="JavaScript" type="text/javascript">
<!--
function CheckAll() {
for (var i = 0; i < document.manageposts.elements.length; i++) {
if(document.manageposts.elements[i].type == 'checkbox'){
document.manageposts.elements[i].checked = !(document.manageposts.elements[i].checked);
}
}
}
//-->
</script><a href="javascript:void(0)" onClick="CheckAll();">Check all</a>
Chris |
|
#2
|
||||
|
||||
|
Thanks! I have just update my Pixelpost from 1.4.2 to 1.5, and this modification is very useful!
__________________
Klimin Andrew, Birsk photoblog: photoblog.birsk.info (PP 1.7.1) Pixelpost addons: Custom Fields 1.3 |
|
#3
|
|||
|
|||
|
Hello,
This javascript is in the admin folder : script.js no need to copy the javascript code a the "admin/images_edit.php" bottom file. In "admin/images_edit.php" Search this: PHP Code:
PHP Code:
Thierry |
|
#4
|
||||
|
||||
|
Thank you, but I had to make some modification:
PHP Code:
__________________
Klimin Andrew, Birsk photoblog: photoblog.birsk.info (PP 1.7.1) Pixelpost addons: Custom Fields 1.3 |
|
#5
|
||||
|
||||
|
I added this feature to the SVN version today and extended it with a delete all selected images and publish all selected images feature.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#6
|
||||
|
||||
|
Thanks! What is the 'SVN' version?
__________________
Klimin Andrew, Birsk photoblog: photoblog.birsk.info (PP 1.7.1) Pixelpost addons: Custom Fields 1.3 |
|
#7
|
||||
|
||||
|
The SVN is the development version we are currently working on as a team. This code isn't public since we're still making changes and test each others code.
In time a snapshot of the SVN version will be frozen and released as version 1.6.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#8
|
||||
|
||||
|
@Dennis: SVN code is public (but non of us gave a link to it on the forum) :P
BTW This slowly comming version (as slowly as all previous) should be huge step in PP development
|
|
#9
|
||||
|
||||
|
@Piotr: wouldn't that make SVN not available to the general public? So in a way public access is restricted :P
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
| Post Reply |
| Thread Tools | |
|
|