Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2848/include/admin
Modified Files:
category.inc.php entries.inc.php images.inc.php import.inc.php
installer.inc.php plugins.inc.php upgrader.inc.php
users.inc.php
Log Message:
- Fix remaining pretty buttons
Index: users.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/users.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- users.inc.php 26 Jan 2005 14:14:05 -0000 1.10
+++ users.inc.php 3 Feb 2005 18:55:19 -0000 1.11
@@ -183,8 +183,8 @@
<?php printf(DELETE_USER, $serendipity['GET']['userid'], $user[0]['username']); ?>
<br /><br />
<input type="hidden" name="serendipity[user]" value="<?php echo $serendipity['GET']['userid']; ?>" />
- <input type="submit" name="DELETE_YES" value="<?php echo DUMP_IT; ?>" />
- <input type="submit" name="NO" value="<?php echo NOT_REALLY; ?>" />
+ <input type="submit" name="DELETE_YES" value="<?php echo DUMP_IT; ?>" class="serendipityPrettyButton" />
+ <input type="submit" name="NO" value="<?php echo NOT_REALLY; ?>" class="serendipityPrettyButton" />
</div>
</form>
<?php
Index: upgrader.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/upgrader.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- upgrader.inc.php 3 Feb 2005 18:42:25 -0000 1.13
+++ upgrader.inc.php 3 Feb 2005 18:55:19 -0000 1.14
@@ -268,10 +268,10 @@
<hr noshade="noshade">
<?php if ($taskCount > 0 || sizeof($sqlfiles) > 0) { ?>
<strong><?php echo SERENDIPITY_UPGRADER_PROCEED_QUESTION ?></strong>
- <br /><input type="button" value="<?php echo SERENDIPITY_UPGRADER_PROCEED_DOIT ?>" onclick="location.href='<?php echo $upgradeLoc ?>'"> <?php if ($showAbort) { ?><input type="button" value="<?php echo SERENDIPITY_UPGRADER_PROCEED_ABORT ?>" onclick="location.href='<?php echo $abortLoc ?>'"> <?php } ?>
+ <br /><input type="button" value="<?php echo SERENDIPITY_UPGRADER_PROCEED_DOIT ?>" onclick="location.href='<?php echo $upgradeLoc ?>'" class="serendipityPrettyButton"> <?php if ($showAbort) { ?><input type="button" value="<?php echo SERENDIPITY_UPGRADER_PROCEED_ABORT ?>" onclick="location.href='<?php echo $abortLoc ?>'" class="serendipityPrettyButton"> <?php } ?>
<?php } else { ?>
<strong><?php echo SERENDIPITY_UPGRADER_NO_UPGRADES ?></strong>
- <br /><input type="button" value="<?php echo SERENDIPITY_UPGRADER_CONSIDER_DONE ?>" onclick="location.href='<?php echo $abortLoc ?>'">
+ <br /><input type="button" value="<?php echo SERENDIPITY_UPGRADER_CONSIDER_DONE ?>" onclick="location.href='<?php echo $abortLoc ?>'" class="serendipityPrettyButton">
<?php }
}
?>
Index: plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/plugins.inc.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- plugins.inc.php 1 Feb 2005 17:12:48 -0000 1.20
+++ plugins.inc.php 3 Feb 2005 18:55:19 -0000 1.21
@@ -484,7 +484,7 @@
</table>
<br />
<div style="padding-left: 20px">
- <input type="submit" name="SAVECONF" value="<?php echo SAVE; ?>" />
+ <input type="submit" name="SAVECONF" value="<?php echo SAVE; ?>" class="serendipityPrettyButton" />
</div>
<?php
if (method_exists($plugin, 'example') ) {
Index: category.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/category.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- category.inc.php 3 Feb 2005 18:04:41 -0000 1.13
+++ category.inc.php 3 Feb 2005 18:55:18 -0000 1.14
@@ -168,7 +168,7 @@
<td>
<script type="text/javascript" language="JavaScript" src="serendipity_editor.js"></script>
<input type="text" id="img_icon" name="serendipity[cat][icon]" value="<?php echo isset($this_cat['category_icon']) ? htmlspecialchars($this_cat['category_icon']) : ''; ?>" onchange="document.getElementById('imagepreview').src = this.value; document.getElementById('imagepreview').style.display = '';" />
- <input type="button" name="insImage" value="<?php echo IMAGE ; ?>" style="" onclick="window.open('serendipity_admin_image_selector.php?serendipity[htmltarget]=img_icon&serendipity[filename_only]=true', 'ImageSel', 'width=800,height=600,toolbar=no,scrollbars=1,scrollbars,resize=1,resizable=1');" />
+ <input type="button" name="insImage" value="<?php echo IMAGE ; ?>" onclick="window.open('serendipity_admin_image_selector.php?serendipity[htmltarget]=img_icon&serendipity[filename_only]=true', 'ImageSel', 'width=800,height=600,toolbar=no,scrollbars=1,scrollbars,resize=1,resizable=1');" class="serendipityPrettyButton" />
</td>
</tr>
Index: import.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/import.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- import.inc.php 3 Feb 2005 18:28:10 -0000 1.7
+++ import.inc.php 3 Feb 2005 18:55:19 -0000 1.8
@@ -63,7 +63,7 @@
</tr>
<?php } ?>
<tr>
- <td colspan="2" align="right"><input type="submit" value="<?php echo IMPORT_NOW ?>"></td>
+ <td colspan="2" align="right"><input type="submit" value="<?php echo IMPORT_NOW ?>" class="serendipityPrettyButton"></td>
</tr>
</table>
</form>
@@ -103,7 +103,7 @@
<option value="<?php echo $v ?>"><?php echo $k ?></option>
<?php } ?>
</select>
- <input type="submit" value="<?php echo GO ?>">
+ <input type="submit" value="<?php echo GO ?>" class="serendipityPrettyButton">
</form>
<?php
}
Index: images.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/images.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- images.inc.php 3 Feb 2005 18:04:42 -0000 1.14
+++ images.inc.php 3 Feb 2005 18:55:19 -0000 1.15
@@ -90,7 +90,7 @@
}
?>
<br />
- <input type="button" onclick="history.go(-1);" value="<?php echo BACK; ?>" />
+ <input type="button" onclick="history.go(-1);" value="<?php echo BACK; ?>" class="serendipityPrettyButton" />
<?php
}
break;
@@ -370,7 +370,7 @@
</tr>
<tr>
- <td align="right" colspan="2"><input type="checkbox" name="serendipity[all_authors]" value="true" checked="checked" id="all_authors" /><label for="all_authors"><?php echo ALL_AUTHORS; ?></label> <input type="submit" value="<?php echo GO; ?>" /></td>
+ <td align="right" colspan="2"><input type="checkbox" name="serendipity[all_authors]" value="true" checked="checked" id="all_authors" /><label for="all_authors"><?php echo ALL_AUTHORS; ?></label> <input type="submit" value="<?php echo GO; ?>" class="serendipityPrettyButton" /></td>
</tr>
</table>
</div>
@@ -478,7 +478,7 @@
<?php echo KEEP_PROPORTIONS; ?>:
<!-- <input type='button' value='preview'>-->
<input type="checkbox" name="auto" checked="checked" /><br />
- <input type="button" name="scale" value="<?php echo IMAGE_RESIZE; ?>" onclick="if (confirm('<?php echo REALLY_SCALE_IMAGE; ?>')) document.serendipityScaleForm.submit();" />
+ <input type="button" name="scale" value="<?php echo IMAGE_RESIZE; ?>" onclick="if (confirm('<?php echo REALLY_SCALE_IMAGE; ?>')) document.serendipityScaleForm.submit();" class="serendipityPrettyButton" />
</div>
</form>
Index: installer.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/installer.inc.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- installer.inc.php 31 Jan 2005 10:08:25 -0000 1.22
+++ installer.inc.php 3 Feb 2005 18:55:19 -0000 1.23
@@ -391,7 +391,7 @@
$config = serendipity_parseTemplate(S9Y_CONFIG_TEMPLATE, null, array('simpleInstall'));
serendipity_printConfigTemplate($config, $from, true, false, false);
?>
- <div align="center"><input name="submit" type="submit" value="<?php echo COMPLETE_INSTALLATION ?>"></div>
+ <div align="center"><input name="submit" type="submit" value="<?php echo COMPLETE_INSTALLATION ?>" class="serendipityPrettyButton"></div>
</form>
<?php } elseif ( $serendipity['GET']['step'] == '2b' ) { ?>
@@ -401,7 +401,7 @@
$config = serendipity_parseTemplate(S9Y_CONFIG_TEMPLATE);
serendipity_printConfigTemplate($config, $from, true, false, false);
?>
- <div align="center"><input name="submit" type="submit" value="<?php echo COMPLETE_INSTALLATION ?>"></div>
+ <div align="center"><input name="submit" type="submit" value="<?php echo COMPLETE_INSTALLATION ?>" class="serendipityPrettyButton"></div>
</form>
<?php } elseif ( (int)$serendipity['GET']['step'] == 3 ) { ?>
Index: entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/entries.inc.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- entries.inc.php 3 Feb 2005 18:04:41 -0000 1.19
+++ entries.inc.php 3 Feb 2005 18:55:18 -0000 1.20
@@ -136,7 +136,7 @@
</td>
</tr>
<tr>
- <td align="right" colspan="6"><input type="submit" name="go" value="<?php echo GO ?>" /></td>
+ <td align="right" colspan="6"><input type="submit" name="go" value="<?php echo GO ?>" class="serendipityPrettyButton" /></td>
</tr>
</table>
<table class="serendipity_admin_list" cellpadding="5" width="100%">
@@ -228,7 +228,7 @@
<table width="100%" cellspacing="0" cellpadding="3">
<tr>
<td>
- <?php echo EDIT_ENTRY . ': #<input type="text" size="3" name="serendipity[id]" /> <input type="submit" name="serendipity[editSubmit]" value="' . GO . '" />'; ?>
+ <?php echo EDIT_ENTRY ?>: #<input type="text" size="3" name="serendipity[id]" /> <input type="submit" name="serendipity[editSubmit]" value="<?php echo GO ?>" class="serendipityPrettyButton" />
</td>
</tr>
</table>
|