All pastes #749216 Raw Edit

Untitled

public text v1 · immutable
#749216 ·published 2007-10-25 15:02 UTC
rendered paste body
my :

<?php
$elements['displayname']="DISA "._("name:")."<span>"._("Give this DISA a brief name to help you identify it.");
$elements['pin']=_("PIN")."<span>". _("The user will be prompted for this number.")." "._("If you wish to have multiple PIN's, seperate them with commas");
$elements['jakasnowosc']="JAKISOPIS"."<span>"."a to jego dalszaczesc";
foreach ($elements as $k=>$v){
echo "
<tr>
        <td><a href=\"#\" class=\"info\">".$v."</span></a></td>
        <td><input type=\"text\" name=\"".$k."\" value=\"".htmlspecialchars(isset($thisItem[$k]) ? $thisItem[$k] : '')."\"></td>
</tr>
";
}
?>

ORGINAL:

        <tr>
                <td><a href="#" class="info"><?php echo "DISA "._("name:")?><span><?php echo _("Give this DISA a brief name to help you identify it.")?></span></a></td>

                <td><input type="text" name="displayname" value="<?php echo htmlspecialchars(isset($thisItem['displayname']) ? $thisItem['displayname'] : ''); ?>"></td>
        </tr>
        <tr>
                <td><a href="#" class="info"><?php echo _("PIN"); ?><span><?php echo _("The user will be prompted for this number.")." "._("If you wish to have multiple PIN's, seperate them with commas"); ?></span></a></td>
                <td><input type="text" name="pin" value="<?php echo htmlspecialchars(isset($thisItem['pin']) ? $thisItem['pin'] : ''); ?>"></td>
        </tr>
        <tr>
                <td><a href="#" class="info"><?php echo _("Response Timeout"); ?><span><?php echo _("The maximum amount of time it will wait before hanging up if the user has dialled an incomplete or invalid number. Default of 10 seconds"); ?></span></a></td>
                <td><input type="text" name="resptimeout" value="<?php echo htmlspecialchars(isset($thisItem['resptimeout']) ? $thisItem['resptimeout'] : '10'); ?>"></td>
        </tr>
        <tr>
                <td><a href="#" class="info"><?php echo _("Digit Timeout"); ?><span><?php echo _("The maximum amount of time permitted between digits when the user is typing in an extension. Default of 5"); ?></span></a></td>
                <td><input type="text" name="digittimeout" value="<?php echo htmlspecialchars(isset($thisItem['digittimeout']) ? $thisItem['digittimeout'] : '5'); ?>"></td>
        </tr>