* adjust code for size of colorbox of extension.

This commit is contained in:
shiyangyangwork@yahoo.cn
2012-02-22 06:26:09 +00:00
parent 3b8b357fce
commit 64c7870d5d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
if($('a.iframe').size()) $("a.iframe").colorbox({width:800, height:400, iframe:true, transition:'elastic', speed:350, scrolling:true});
if($('a.manual').size()) $("a.manual").colorbox({width:1024, height:600, iframe:true, transition:'elastic', speed:350, scrolling:false});
if($('a.extension').size()) $("a.extension").colorbox({width:600, height:320, iframe:true, transition:'elastic', speed:350, scrolling:true});
if($('a.extension').size()) $("a.extension").colorbox({width:1024, height:480, iframe:true, transition:'elastic', speed:350, scrolling:true});
+2 -2
View File
@@ -26,7 +26,7 @@
</td>
<td class='w-220px a-right'>
<?php
$structureCode = html::a(inlink('structure', "extension=$extension->code"), $lang->extension->structure, '', "class='button-c extension'");
$structureCode = html::a(inlink('structure', "extension=$extension->code"), $lang->extension->structure, '', "class='button-c iframe'");
$deactivateCode = html::a(inlink('deactivate', "extension=$extension->code"), $lang->extension->deactivate, '', "class='button-c iframe'");
$activateCode = html::a(inlink('activate', "extension=$extension->code"), $lang->extension->activate, '', "class='button-c iframe'");
$uninstallCode = html::a(inlink('uninstall', "extension=$extension->code"), $lang->extension->uninstall, '', "class='button-c iframe'");
@@ -35,7 +35,7 @@
if(isset($extension->viewLink))
{
echo html::a($extension->viewLink, $lang->extension->view, '', "class='button-c iframe'");
echo html::a($extension->viewLink, $lang->extension->view, '', "class='button-c extension'");
}
if($extension->status == 'installed')
{