1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +02:00

add some value and FIXME comments

This commit is contained in:
marj 2009-08-15 15:53:44 +00:00
parent 9151ee491b
commit c034a74e82
4 changed files with 15 additions and 13 deletions

View File

@ -10,8 +10,8 @@
* With code from Izydor and Lolo.
*
* $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
* $Revision: 1.15 $
* $Date: 2009-08-15 15:44:37 $
* $Revision: 1.16 $
* $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $
*
*/
@ -649,9 +649,10 @@ function edit_lanfiles($dir1,$dir2,$f1,$f2){
//Check if directory is writable
if($writable)
{
//FIXME place of LAN_SAVE
$text .="
<div class='buttons-bar center'>
<button class='update' type='submit' name='submit' value='".LAN_SAVE." ".str_replace($dir2,"",$root_file)."'><span>".LAN_SAVE." ".str_replace($dir2,"",$root_file)."</span></button>
<button class='update' type='submit' name='submit' value='sprintf'><span>".LAN_SAVE." ".str_replace($dir2, "", $root_file)."</span></button>
".(($root_file) ? "<input type='hidden' name='root' value='".$root_file."' />" : "")."
</div>
";

View File

@ -9,8 +9,8 @@
* Administration Area - Languages
*
* $Source: /cvs_backup/e107_0.8/e107_admin/language.php,v $
* $Revision: 1.16 $
* $Date: 2009-08-15 15:44:37 $
* $Revision: 1.17 $
* $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $
*
*/
@ -510,6 +510,7 @@ function multilang_db(){
";
if ($installed)
{
//FIXME sprintf
$text .= "
<button class='edit' type='submit' name='edit_existing' value='no-value'><span>".LAN_EDIT."</span></button>
<button class='delete' type='submit' name='del_existing' value='no-value' title='".sprintf(LANG_LAN_33, $lanlist[$i]).' '.LANG_LAN_09."'><span>".LAN_DELETE."</span></button>

View File

@ -9,8 +9,8 @@
* Administration Area - Meta Tags
*
* $Source: /cvs_backup/e107_0.8/e107_admin/meta.php,v $
* $Revision: 1.8 $
* $Date: 2009-08-05 06:30:24 $
* $Revision: 1.9 $
* $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $
*
*/
@ -123,7 +123,7 @@ $text = "
</tbody>
</table>
<div class='buttons-bar center'>
<button class='create' type='submit' name='metasubmit'><span>".METLAN_3."</span></button>
<button class='create' type='submit' name='metasubmit' value='no-value'><span>".METLAN_3."</span></button>
</div>
</fieldset>
</form>

View File

@ -9,14 +9,14 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
* $Revision: 1.38 $
* $Date: 2009-08-14 23:22:37 $
* $Author: bugrain $
* $Revision: 1.39 $
* $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $
*
*/
if (!defined('e107_INIT')) { exit; }
//FIXME hardcoded text
/**
* Automate Form fields creation. Produced markup is following e107 CSS/XHTML standards
* If options argument is omitted, default values will be used (which OK most of the time)
@ -798,7 +798,7 @@ class e_form
$text .= "
</select>
<button class='update e-hide-if-js' type='submit'><span>Go</span></button>
<button class='update e-hide-if-js' type='submit' value='no-value'><span>Go</span></button>
</div>
<span class='clear'>&nbsp;</span>";
return $text;