-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
154 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
<?php | ||
/** | ||
* | ||
* Template for bibliogrphic data listing | ||
* Name of callback function MUST BE biblio_list_format | ||
* Template for Biblio List | ||
* name of memberID text field must be: memberID | ||
* name of institution text field must be: institution | ||
* | ||
* Copyright (C) 2015 Arie Nugraha ([email protected]) | ||
* Modified by Eddy Subratha ([email protected]) | ||
* | ||
* Create by Eddy Subratha ([email protected]) | ||
* | ||
* Slims 8 (Akasia) | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
|
@@ -20,7 +22,6 @@ | |
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
* | ||
*/ | ||
|
||
$label_cache = array(); | ||
|
@@ -71,7 +72,7 @@ function biblio_list_format($dbs, $biblio_detail, $n, $settings = array(), &$ret | |
} | ||
|
||
if (isset($label[1]) && $label[1]) { | ||
$title_link .= ' <a href="'.$label[1].'" target="_blank"><img src="'.SWB.IMAGES_DIR.'/labels/'.$label_cache[$label[0]]['image'].'" title="'.$label_cache[$label[0]]['desc'].'" alt="'.$label_cache[$label[0]]['desc'].'" align="middle" class="labels" border="0" /></a>'; | ||
$title_link .= ' <a itemprop="name" property="name" href="'.$label[1].'" target="_blank"><img src="'.SWB.IMAGES_DIR.'/labels/'.$label_cache[$label[0]]['image'].'" title="'.$label_cache[$label[0]]['desc'].'" alt="'.$label_cache[$label[0]]['desc'].'" align="middle" class="labels" border="0" /></a>'; | ||
} else { | ||
$title_link .= ' <img src="'.SWB.IMG.'/labels/'.$label_cache[$label[0]]['image'].'" title="'.$label_cache[$label[0]]['desc'].'" alt="'.$label_cache[$label[0]]['desc'].'" align="middle" class="labels" />'; | ||
} | ||
|
@@ -96,7 +97,7 @@ function biblio_list_format($dbs, $biblio_detail, $n, $settings = array(), &$ret | |
$images_loc = '../../images/docs/'.$biblio_detail['image']; | ||
if ($sysconf['tg']['type'] == 'minigalnano') { | ||
$thumb_url = './lib/minigalnano/createthumb.php?filename='.urlencode($images_loc).'&width=120'; | ||
$image_cover = '<img src="'.$thumb_url.'" class="img-thumbnail" itemprop="image" />'; | ||
$image_cover = '<img src="'.$thumb_url.'" class="img-thumbnail" itemprop="image" alt="'.$title.'" />'; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
<?php | ||
/*------------------------------------------------------------ | ||
Template : Slims Akasia Template | ||
Create Date : April, 2015 | ||
Author : Eddy Subratha (eddy.subratha{at}slims.web.id) | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
-------------------------------------------------------------*/ | ||
/** | ||
* Template for OPAC | ||
* | ||
* Copyright (C) 2015 Arie Nugraha ([email protected]) | ||
* Create by Eddy Subratha ([email protected]) | ||
* | ||
* Slims 8 (Akasia) | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
*/ | ||
|
||
// be sure that this file not accessed directly | ||
|
||
|
@@ -43,10 +44,8 @@ | |
<html lang="<?php echo substr($sysconf['default_lang'], 0, 2); ?>" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#"> | ||
<head> | ||
|
||
|
||
<?php | ||
<?php | ||
// Meta Template | ||
// ============================================= | ||
include "partials/meta.php"; | ||
?> | ||
|
||
|
@@ -60,19 +59,17 @@ | |
|
||
<?php | ||
// Header | ||
// ============================================= | ||
include "partials/header.php"; | ||
?> | ||
|
||
<?php | ||
// Navigation | ||
// ============================================= | ||
include "partials/nav.php"; | ||
?> | ||
|
||
<?php | ||
// Content | ||
// ============================================= ?> | ||
?> | ||
<?php if(isset($_GET['search']) || isset($_GET['p'])): ?> | ||
<main id="content" class="s-main-page" role="main"> | ||
|
||
|
@@ -207,13 +204,11 @@ | |
|
||
<?php | ||
// Footer | ||
// ============================================= | ||
include "partials/footer.php"; | ||
?> | ||
|
||
<?php | ||
// Chat | ||
// ============================================= | ||
if($sysconf['chat_system']['enabled']) : | ||
?> | ||
<a href="#" id="pchat-toggle" class="animated fadeInUp delay3"><i class="fa fa-comment-o"></i></a> | ||
|
@@ -228,7 +223,6 @@ | |
</aside> | ||
|
||
<script> | ||
// $.get('./chat_server.php', {}, function(){}); | ||
var Server; | ||
function log( text ) { | ||
$log = $('#log'); | ||
|
@@ -279,7 +273,6 @@ function send( text ) { | |
|
||
<?php | ||
// Background | ||
// ============================================= | ||
include "partials/bg.php"; | ||
?> | ||
|
||
|
@@ -303,33 +296,32 @@ function send( text ) { | |
$(this).attr('src','./template/default/img/avatar.jpg'); | ||
}); | ||
|
||
// Feature list slider | ||
// ============================================ | ||
function mycarousel_initCallback(carousel) | ||
{ | ||
// Disable autoscrolling if the user clicks the prev or next button. | ||
carousel.buttonNext.bind('click', function() { | ||
carousel.startAuto(0); | ||
}); | ||
//Feature list slider | ||
function mycarousel_initCallback(carousel) | ||
{ | ||
// Disable autoscrolling if the user clicks the prev or next button. | ||
carousel.buttonNext.bind('click', function() { | ||
carousel.startAuto(0); | ||
}); | ||
|
||
carousel.buttonPrev.bind('click', function() { | ||
carousel.startAuto(0); | ||
}); | ||
carousel.buttonPrev.bind('click', function() { | ||
carousel.startAuto(0); | ||
}); | ||
|
||
// Pause autoscrolling if the user moves with the cursor over the clip. | ||
carousel.clip.hover(function() { | ||
carousel.stopAuto(); | ||
}, function() { | ||
carousel.startAuto(); | ||
}); | ||
}; | ||
|
||
// Pause autoscrolling if the user moves with the cursor over the clip. | ||
carousel.clip.hover(function() { | ||
carousel.stopAuto(); | ||
}, function() { | ||
carousel.startAuto(); | ||
jQuery('#topbook').jcarousel({ | ||
auto: 5, | ||
wrap: 'last', | ||
initCallback: mycarousel_initCallback | ||
}); | ||
}; | ||
|
||
jQuery('#topbook').jcarousel({ | ||
auto: 5, | ||
wrap: 'last', | ||
initCallback: mycarousel_initCallback | ||
}); | ||
|
||
|
||
</script> | ||
|
||
</body> | ||
|
Oops, something went wrong.