1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-10 01:26:29 +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. * With code from Izydor and Lolo.
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
* $Revision: 1.15 $ * $Revision: 1.16 $
* $Date: 2009-08-15 15:44:37 $ * $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $ * $Author: marj_nl_fr $
* *
*/ */
@ -649,9 +649,10 @@ function edit_lanfiles($dir1,$dir2,$f1,$f2){
//Check if directory is writable //Check if directory is writable
if($writable) if($writable)
{ {
//FIXME place of LAN_SAVE
$text .=" $text .="
<div class='buttons-bar center'> <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."' />" : "")." ".(($root_file) ? "<input type='hidden' name='root' value='".$root_file."' />" : "")."
</div> </div>
"; ";

View File

@ -9,8 +9,8 @@
* Administration Area - Languages * Administration Area - Languages
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/language.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/language.php,v $
* $Revision: 1.16 $ * $Revision: 1.17 $
* $Date: 2009-08-15 15:44:37 $ * $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $ * $Author: marj_nl_fr $
* *
*/ */
@ -510,6 +510,7 @@ function multilang_db(){
"; ";
if ($installed) if ($installed)
{ {
//FIXME sprintf
$text .= " $text .= "
<button class='edit' type='submit' name='edit_existing' value='no-value'><span>".LAN_EDIT."</span></button> <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> <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 * Administration Area - Meta Tags
* *
* $Source: /cvs_backup/e107_0.8/e107_admin/meta.php,v $ * $Source: /cvs_backup/e107_0.8/e107_admin/meta.php,v $
* $Revision: 1.8 $ * $Revision: 1.9 $
* $Date: 2009-08-05 06:30:24 $ * $Date: 2009-08-15 15:53:44 $
* $Author: marj_nl_fr $ * $Author: marj_nl_fr $
* *
*/ */
@ -123,7 +123,7 @@ $text = "
</tbody> </tbody>
</table> </table>
<div class='buttons-bar center'> <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> </div>
</fieldset> </fieldset>
</form> </form>

View File

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