adjust updater styles
authorGreg Gay <info@atutor.ca>
Mon, 9 Aug 2010 16:17:11 +0000 (16:17 -0000)
committerGreg Gay <info@atutor.ca>
Mon, 9 Aug 2010 16:17:11 +0000 (16:17 -0000)
docs/themes/default/updater/patch_create_edit.tmpl.php

index 4ff7531..3ae3daa 100644 (file)
@@ -14,7 +14,6 @@ require ('include/json.inc.php');
 require (TR_INCLUDE_PATH.'header.inc.php');\r
 ?>\r
 \r
-<h2 align="center"><?php echo _AT("create_edit_update"); ?></h2>\r
 \r
 <form enctype="multipart/form-data" action='<?php echo $this->url; ?>' method="post" name="form" target="messageIFrame">\r
 \r
@@ -89,7 +88,7 @@ if ($num_of_dependents == 0)
 {\r
 ?>\r
                <tr>\r
-                       <td><input id="dependent_patch" name="dependent_patch[]" type="text" maxlength="100" size="100" style="max-width:100%; display:block" /></td>\r
+                       <td><input id="dependent_patch" name="dependent_patch[]" type="text" maxlength="100" size="100" style="max-width:95%; display:block" /></td>\r
                </tr>\r
 <?php\r
 }\r
@@ -110,7 +109,7 @@ if ($num_of_dependents == 0)
        \r
        <br /><br />\r
        \r
-       <div class="row">\r
+       <div>\r
                <input type="submit" name="create" value=" <?php echo _AT('create_update'); ?> " accesskey="c" />\r
                <input type="submit" name="save" value=" <?php echo _AT('save'); ?> " accesskey="s" onclick="document.form.target=''; "/>\r
                <input type="button" name="cancel" value=" <?php echo _AT('cancel'); ?> " onclick="location.href='updater/myown_patches.php'" />\r
@@ -257,7 +256,7 @@ var ACTION_HTML_TEMPLATE = ' \
        </div> \\r
        <br /><br /> \\r
        <div> \\r
-       <table style="display:" width="100%"> \\r
+       <table style="display:" width="95%"> \\r
                <tr> \\r
                        <td width="150px"><?php echo addslashes(_AT("file_name")); ?></td> \\r
                        <td><input name="add_filename[{1}]" type="text"  /></td> \\r
@@ -269,32 +268,32 @@ var ACTION_HTML_TEMPLATE = ' \
                <tr style="display: none"> \\r
                        <td><?php echo addslashes(_AT("file")); ?></td> \\r
                        <td></td> \\r
-                       <td><INPUT TYPE="hidden" NAME="add_uploaded_file[{1}]" SIZE="40" style="max-width:100%" /></td> \\r
+                       <td><INPUT TYPE="hidden" NAME="add_uploaded_file[{1}]" SIZE="40" style="max-width:95%" /></td> \\r
                </tr> \\r
                <tr> \\r
                        <td><?php echo addslashes(_AT("upload_file")); ?></td> \\r
-                       <td><INPUT TYPE="file" NAME="add_upload_file[{1}]" SIZE="40" style="max-width:100%" /></td> \\r
+                       <td><INPUT TYPE="file" NAME="add_upload_file[{1}]" SIZE="40" style="max-width:95%" /></td> \\r
                </tr> \\r
        </table> \\r
-       <table style="display: none" width="100%"> \\r
+       <table style="display: none" width="95%"> \\r
                <tr> \\r
                        <td width="150px"><?php echo addslashes(_AT("file_name")); ?></td> \\r
                        <td><input name="alter_filename[{1}]" type="text" maxlength="100" size="100" /></td> \\r
                </tr> \\r
                <tr> \\r
                        <td><?php echo addslashes(_AT("directory")); ?></td> \\r
-                       <td><input name="alter_dir[{1}]" type="text" maxlength="100" size="100" style="max-width:100%" /></td> \\r
+                       <td><input name="alter_dir[{1}]" type="text" maxlength="100" size="100" style="max-width:95%" /></td> \\r
                </tr> \\r
                <tr> \\r
                        <td><?php echo addslashes(_AT("code_to_replace_from")); ?></td> \\r
-                       <td><textarea name="alter_code_from[{1}]" rows="5" cols="120" style="max-width:100%"></textarea></td> \\r
+                       <td><textarea name="alter_code_from[{1}]" rows="5" cols="120" style="max-width:95%"></textarea></td> \\r
                </tr> \\r
                <tr> \\r
                        <td><?php echo addslashes(_AT("code_to_replace_to")); ?></td> \\r
-                       <td><textarea name="alter_code_to[{1}]" rows="5" cols="120" style="max-width:100%"></textarea></td> \\r
+                       <td><textarea name="alter_code_to[{1}]" rows="5" cols="120" style="max-width:95%"></textarea></td> \\r
                </tr> \\r
        </table> \\r
-       <table style="display: none" width="100%"> \\r
+       <table style="display: none" width="95%"> \\r
                <tr> \\r
                        <td width="150px"><?php echo addslashes(_AT("file_name")); ?></td> \\r
                        <td><input name="delete_filename[{1}]" type="text" maxlength="100" size="100" /></td> \\r
@@ -304,7 +303,7 @@ var ACTION_HTML_TEMPLATE = ' \
                        <td><input name="delete_dir[{1}]" type="text" maxlength="100" size="100" /></td> \\r
                </tr> \\r
        </table> \\r
-       <table style="display: none" width="100%"> \\r
+       <table style="display: none" width="95%"> \\r
                <tr> \\r
                        <td width="150px"><?php echo addslashes(_AT("file_name")); ?></td> \\r
                        <td><input name="overwrite_filename[{1}]" type="text" /></td> \\r
@@ -316,15 +315,15 @@ var ACTION_HTML_TEMPLATE = ' \
                <tr id="overwrite_uploaded_file" style="display:none"> \\r
                        <td><?php echo addslashes(_AT("file")); ?></td> \\r
                        <td></td> \\r
-                       <td><INPUT type="hidden" NAME="overwrite_uploaded_file[{1}]" SIZE="40" style="max-width:100%" /></td> \\r
+                       <td><INPUT type="hidden" NAME="overwrite_uploaded_file[{1}]" SIZE="40" style="max-width:95%" /></td> \\r
                </tr> \\r
                <tr> \\r
                        <td><?php echo addslashes(_AT("upload_file")); ?></td> \\r
-                       <td><INPUT TYPE="file" NAME="overwrite_upload_file[{1}]" SIZE="40" style="max-width:100%" /></td> \\r
+                       <td><INPUT TYPE="file" NAME="overwrite_upload_file[{1}]" SIZE="40" style="max-width:95%" /></td> \\r
                </tr> \\r
        </table> \\r
        </div> \\r
-       <div class="row" style="float:left"> \\r
+       <div style="float:left"> \\r
                <input type="button" value="<?php echo addslashes(_AT("delete_this_file")); ?>" onclick="del_file(event)" /> \\r
        </div> \\r
        <br /><br /> \\r