Skip to content

Instantly share code, notes, and snippets.

package WebGUIx::Asset::Data;
use base 'DBIx::Class';
__PACKAGE__->load_components(qw{ VirtualColumns Core });
__PACKAGE__->table( "assetData" );
__PACKAGE__->add_virtual_columns( "session" );
package WebGUIx::Asset::RawContent;
use base 'DBIx::Class';
/** oneCheckboxIsCheckedInForm( form, message, matchName )
* Returns true if at least one checkbox in the form is checked
* Will show an alert message otherwise
* Use in an onsubmit handler thus:
* return oneCheckboxIsCheckedInForm(this)
*/
function oneCheckboxIsCheckedInForm( form, message, matchName ) {
if ( !message ) {
message = "You must check at least one checkbox before printing";
}
package t::Destroy;
use Moose;
use Test::Sweet;
use Try::Tiny;
test something {
my $do;
try {
# Works, because DESTROY doesn't run
#!/usr/bin/env perl
# Report the status of various mysql stuff
use Getopt::Long;
use DBI;
use Pod::Usage;
my ( $user, $pass );
add objectClass:
groupOfNames
modifying entry "ou=Convicts,o=shawshank"
modify complete
ldapmodify: Object class violation (65)
additional info: invalid structural object class chain (organizationalUnit/groupOfNames)
<SPAN id="">&lt;div align="center" id="topLinks"&gt;&lt;a href="#"&gt;^a; &lt;/a&gt; &lt;img src="<A href="http://www.auburn.edu/includes/ddTopLinkDot.gif">http://www.auburn.edu/includes/ddTopLinkDot.gif</A>" width="2" height="9"&gt;^r("Print Page"); &lt;img src="<A href="http://www.auburn.edu/includes/ddTopLinkDot.gif">http://www.auburn.edu/includes/ddTopLinkDot.gif</A>" width="2" height="9"&gt; &lt;a href="<A href="http://www.auburn.edu/main/sitemap.php">http://www.auburn.edu/main/sitemap.php</A>" target="_blank"&gt;A-Z Index &lt;/a&gt; &lt;img src="<A href="http://www.auburn.edu/includes/ddTopLinkDot.gif">http://www.auburn.edu/includes/ddTopLinkDot.gif</A>" width="2" height="9"&gt; &lt;a href="<A href="http://www.auburn.edu/main/auweb_campus_directory.html">http://www.auburn.edu/main/auweb_campus_directory.html</A>" target="_blank"&gt;People Finder &lt;/a&gt; &lt;img src="<A href="http://www.auburn.edu/includes/ddTopLinkDot.gif">http://www.auburn.edu/includes/ddTopLinkDot.gif</A>" width="2" height="9"&gt;
diff --git a/www/extras/yui-webgui/build/code-editor/code-editor.js b/www/extras/yui-webgui/build/code-editor/code-editor.js
index 371de75..ac139c0 100755
--- a/www/extras/yui-webgui/build/code-editor/code-editor.js
+++ b/www/extras/yui-webgui/build/code-editor/code-editor.js
@@ -8,6 +8,7 @@
// Disable Editor configs that don't apply
cfg["animate"] = false;
cfg["dompath"] = false;
+ cfg["focusAtStart"] = false;
diff --git a/www/extras/yui-webgui/build/code-editor/code-editor.js b/www/extras/yui-webgui/build/code-editor/code-editor.js
index 371de75..df44542 100755
--- a/www/extras/yui-webgui/build/code-editor/code-editor.js
+++ b/www/extras/yui-webgui/build/code-editor/code-editor.js
@@ -1,3 +1,314 @@
+/*
+ * HTML Parser By John Resig (ejohn.org)
+ * Original code by Erik Arvidsson, Mozilla Public License
+ * http://erik.eae.net/simplehtmlparser/simplehtmlparser.js
+ *
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Editing [% asset.title %]</title>
<style type="text/css">
label, input, textarea {
display : block;
}
textarea {
[3/25/10 11:03:42 AM] Frank: hey
[3/25/10 11:03:49 AM] Frank: what is the link to see webstats for TGC again?
[3/25/10 11:03:52 AM] Frank: do you recall?
[3/25/10 11:04:10 AM] Frank: nm, I found it