Help - Search - Members - Calendar
Full Version: [0.4.2] problems (edit.php) and suggestions
CyberiaPC.com Community > Technical Zone > Zenith Picture Gallery
funkkybebel
why this :

in edit.php

<form name='frmUpdate' enctype='multipart/form-data' action='<?php echo $_SERVER['PHP_SELF']; ?>' method='POST'>
<input type='hidden' name = 'id' value='<?php echo $row['pid'] ?>'>
<tr><td><b>{$lang['title']} </b></td><td><input type='text' name='title' value ='<?php echo $row['title'] ?>' size='50' maxlength='30'><br><span style='font-size:9px'>Title of uploaded file</span></td></tr>
<tr><td><b>{$lang['keywords']} </b></td><td><input type='text' name='keywords' value ='<?php echo $row['keywords'] ?>' size='50' maxlength='90'><br><span style='font-size:9px'>e.g. zone alarm, zonealarm, firewall</span></td></tr>

<tr><td><b>{$lang['category']} </b></td>
<td>
<select name='category'>

it displays that:
www.funkkybebel.com/bugzenith/wreid.jpg
(in bold)
is it an error ? (what do you mean so that i translate

where can i find the locale time (so that i change it to FR_fr to display french time format) ?

There is no warning when deleting albums or categories....
usr.c
My mistake, I'll upload v0.4.3 tonight, which will include an updated edit.php along with about 6 changes/fixes.

They should have been like this:

CODE
<?php echo $lang['title']; ?>


QUOTE
where can i find the locale time (so that i change it to FR_fr to display french time format) ?


Do you mean the dates that appear below thumbnails? If so, then I'll add an option to the Admin CP to allow for customization of the date format.
funkkybebel
thank you !

i finished to translate, except, the DATE_FORMAT stuff, but you said an option will exist so it's fine.

something i suggset:
when deleting (i didn't see for something else this way) an image, you should execute a refresh just after so that it clears the index page, because at this time, it is wrote that images were deleted with success but there is no button to go back to the index page....

see you soon
(great program AAScripter !!!)
funkkybebel
i've got another problem that i can't resolve (i don't know php)

here is some code from admincp.php:

CODE
//display thumb_align dropdown box
 foreach(array('gauche', 'centre', 'droite') as $value) {
       echo "<option value=\"$value\"";
       if(strcasecmp($value, $config['thumb_align'])==0) //if they're the same...
   echo " selected";
       echo ">$value";
 }
 echo "</select>
 </td></tr>";


how can i manage to translate "left" to "gauche", "right" to "droite" and ""center" to "centré" ?

we can't use $value because php doesn't works with french words.

Can you store these values in some inputs within the language file ermm.gif
funkkybebel
something else:

do you think it is possible to implement a news feed in the index page or elsewhere.

i mean in admin panel, there would be a news feeder (if you can you add the WYSIWYG capabilities to make easier news)
and on the same manner, users could also propose their news, that would go in the news pending tab .....

well well well, everything i say is what i need for my personal site, but you are not obliged to do everything i say if you think it is not good or if you can't do it.

bye
usr.c
QUOTE
how can i manage to translate "left" to "gauche", "right" to "droite" and ""center" to "centré" ?


Done in the v0.4.3 download that was just uploaded.

I've noted down the other suggestions. Keep them coming and let me know if you find any bugs in the latest release original.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.