CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

 Forum Rules Also hosted on SourceForge and FreshMeat
Reply to this topicStart new topic
> [0.4.2] problems (edit.php) and suggestions
funkkybebel
post Aug 9 2004, 04:55 PM
Post #1


Full Member
Group Icon

Group: +Zenith User
Posts: 50
Joined: 8-August 04
Member No.: 1,561

France




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....
Go to the top of the page
 
+Quote Post
usr.c
post Aug 9 2004, 05:33 PM
Post #2


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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.


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
funkkybebel
post Aug 9 2004, 05:53 PM
Post #3


Full Member
Group Icon

Group: +Zenith User
Posts: 50
Joined: 8-August 04
Member No.: 1,561

France




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 !!!)
Go to the top of the page
 
+Quote Post
funkkybebel
post Aug 9 2004, 06:23 PM
Post #4


Full Member
Group Icon

Group: +Zenith User
Posts: 50
Joined: 8-August 04
Member No.: 1,561

France




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
Go to the top of the page
 
+Quote Post
funkkybebel
post Aug 9 2004, 06:43 PM
Post #5


Full Member
Group Icon

Group: +Zenith User
Posts: 50
Joined: 8-August 04
Member No.: 1,561

France




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
Go to the top of the page
 
+Quote Post
usr.c
post Aug 9 2004, 10:18 PM
Post #6


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th May 2013 - 09:37 PM