commit
d36338d4c4
@ -6,6 +6,7 @@ class HomeTheme extends Themelet {
|
|||||||
$page->add_auto_html_headers();
|
$page->add_auto_html_headers();
|
||||||
$hh = $page->get_all_html_headers();
|
$hh = $page->get_all_html_headers();
|
||||||
$page->set_data(<<<EOD
|
$page->set_data(<<<EOD
|
||||||
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>$sitename</title>
|
<title>$sitename</title>
|
||||||
|
@ -37,7 +37,7 @@ class ImageViewCounter extends Extension {
|
|||||||
$event->add_part(
|
$event->add_part(
|
||||||
"<tr><th>Views:</th><td>".
|
"<tr><th>Views:</th><td>".
|
||||||
$this->get_view_count($event->image->id) .
|
$this->get_view_count($event->image->id) .
|
||||||
"</th></tr>", 38);
|
"</tr>", 38);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Installs DB table
|
# Installs DB table
|
||||||
|
@ -214,7 +214,7 @@ class PoolsTheme extends Themelet {
|
|||||||
|
|
||||||
if($user->id == $pool['user_id'] || $user->is_admin()){
|
if($user->id == $pool['user_id'] || $user->is_admin()){
|
||||||
$editor .= "
|
$editor .= "
|
||||||
<script language='javascript' type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
<!--
|
<!--
|
||||||
function confirm_action() {
|
function confirm_action() {
|
||||||
return confirm('Are you sure that you want to delete this pool?');
|
return confirm('Are you sure that you want to delete this pool?');
|
||||||
@ -231,7 +231,7 @@ class PoolsTheme extends Themelet {
|
|||||||
|
|
||||||
if($check_all) {
|
if($check_all) {
|
||||||
$editor .= "
|
$editor .= "
|
||||||
<script language='javascript' type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
<!--
|
<!--
|
||||||
function setAll(value) {
|
function setAll(value) {
|
||||||
$('[name=\"check[]\"]').attr('checked', value);
|
$('[name=\"check[]\"]').attr('checked', value);
|
||||||
@ -257,7 +257,7 @@ class PoolsTheme extends Themelet {
|
|||||||
|
|
||||||
$this->display_top($pool, "Importing Posts", true);
|
$this->display_top($pool, "Importing Posts", true);
|
||||||
$pool_images = "
|
$pool_images = "
|
||||||
<script language='javascript' type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
<!--
|
<!--
|
||||||
function confirm_action() {
|
function confirm_action() {
|
||||||
return confirm('Are you sure you want to add selected posts to this pool?');
|
return confirm('Are you sure you want to add selected posts to this pool?');
|
||||||
|
@ -262,7 +262,7 @@ class Setup extends Extension {
|
|||||||
$full = (@$_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
$full = (@$_SERVER["HTTPS"] ? "https://" : "http://") . $host . $_SERVER["PHP_SELF"];
|
||||||
$test_url = str_replace("/index.php", "/nicetest", $full);
|
$test_url = str_replace("/index.php", "/nicetest", $full);
|
||||||
|
|
||||||
$nicescript = "<script language='javascript'>
|
$nicescript = "<script type='text/javascript'>
|
||||||
function getHTTPObject() {
|
function getHTTPObject() {
|
||||||
if (window.XMLHttpRequest){
|
if (window.XMLHttpRequest){
|
||||||
return new XMLHttpRequest();
|
return new XMLHttpRequest();
|
||||||
|
@ -24,7 +24,7 @@ class TagEditTheme extends Themelet {
|
|||||||
$html = make_form(make_link("tag_edit/mass_source_set"), "POST") . "
|
$html = make_form(make_link("tag_edit/mass_source_set"), "POST") . "
|
||||||
<input type='hidden' name='tags' value='$h_terms'>
|
<input type='hidden' name='tags' value='$h_terms'>
|
||||||
<input type='text' name='source' value=''>
|
<input type='text' name='source' value=''>
|
||||||
<input type='submit' value='Set Source For All' onclick='return confirm(\"This will mass-edit all sources on the page.\nAre you sure you want to do this?\")'>
|
<input type='submit' value='Set Source For All' onclick='return confirm(\"This will mass-edit all sources on the page.\\nAre you sure you want to do this?\")'>
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
return $html;
|
return $html;
|
||||||
|
@ -59,7 +59,7 @@ class UploadTheme extends Themelet {
|
|||||||
$upload_list .= "
|
$upload_list .= "
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2'><input type='file' name='data$i'></td>
|
<td colspan='2'><input type='file' name='data$i'></td>
|
||||||
<td colspan='2'><input type='text' name='url$i'</td>
|
<td colspan='2'><input type='text' name='url$i'></td>
|
||||||
<td colspan='2'><input type='text' name='tags$i' class='autocomplete_tags' autocomplete='off'></td>
|
<td colspan='2'><input type='text' name='tags$i' class='autocomplete_tags' autocomplete='off'></td>
|
||||||
</tr>
|
</tr>
|
||||||
";
|
";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user